Esempio n. 1
0
def install():
    autotools.install("DESTDIR={}".format(get.installDIR()))
    inarytools.dohtml("doc/")
    inarytools.domove("/usr/local/share/*", "/usr/share/")
    inarytools.domove("/usr/local/*", "/usr")
    inarytools.removeDir("/usr/local/")
    inarytools.removeDir("/usr/share/share")
Esempio n. 2
0
def install():
    autotools.install()
    # fix conflict with exo
    inarytools.removeDir("/usr/share/xfce4/helpers/")
    inarytools.remove("/etc/xdg/xfce4/helpers.rc")
    inarytools.remove("/usr/share/icons/hicolor/icon-theme.cache")
    inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "TODO")
Esempio n. 3
0
def install():
    autotools.install()

    # remove static lib
    inarytools.remove("/usr/lib/libnewt.a")

    inarytools.dodoc("CHANGES", "COPYING")
Esempio n. 4
0
def install():
    if get.buildTYPE() == "emul32":
        autotools.rawInstall("DESTDIR={}".format(get.installDIR()))
        return
    autotools.install()

    inarytools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
Esempio n. 5
0
def install():
    autotools.install()

    inarytools.remove("/usr/share/icons/hicolor/icon-theme.cache")

    inarytools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README",
                     "TODO")
Esempio n. 6
0
def install():
    autotools.install("prefix=%s/usr" % get.installDIR())

    inarytools.dosym("../gdbm.h", "/usr/include/gdbm/gdbm.h")
    inarytools.dosym("../dbm.h", "/usr/include/gdbm/dbm.h")
    inarytools.dosym("../ndbm.h", "/usr/include/gdbm/ndbm.h")

    inarytools.dodoc("ChangeLog", "NEWS", "README")
Esempio n. 7
0
def install():
    shelltools.cd("build-gtk2")
    autotools.install()
    shelltools.cd("..")
    shelltools.cd("build-gtk3")
    autotools.install()
    shelltools.cd("..")
    inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
Esempio n. 8
0
def install():
    autotools.install()

    inarytools.dohtml("doc/*.html")

    inarytools.remove("/usr/share/doc/gperf.html")

    inarytools.dodoc("AUTHORS", "COPYING", "NEWS", "README")
Esempio n. 9
0
def install():
    autotools.install()

    inarytools.insinto("/etc/bash_completion.d/",
                       "extra/bash-completion-atool_0.1-1", "atool")

    inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "NEWS",
                     "TODO")
Esempio n. 10
0
def install():
    autotools.install()
    #lxpolkit only start with lxde
    f = open("{}/etc/xdg/autostart/lxpolkit.desktop".format(get.installDIR()),
             "a")
    f.write("OnlyShowIn=LXDE;")
    f.close()
    inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
Esempio n. 11
0
def install():
    autotools.install()

    dirs = ["/usr/share/doc", "/usr/share/devhelp"]
    for dir in dirs:
        inarytools.removeDir(dir)

    inarytools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README")
Esempio n. 12
0
def install():
    autotools.install('INSTALL_PLUGINS_DIR="/usr/lib/ladspa" \
                       MKDIR_P="mkdir -p" \
                       DESTDIR="%s"' % get.installDIR())

    shelltools.cd("..")
    inarytools.dohtml("doc/*.html")
    inarytools.dodoc("doc/COPYING", "doc/ladspa.h.txt")
Esempio n. 13
0
def install():
    autotools.install()

    inarytools.domove("/usr/share/doc/%s-1.6/*" % get.srcNAME(),
                      "/usr/share/gtk-doc/html/atkmm")
    inarytools.removeDir("/usr/share/doc/%s-1.6" % get.srcNAME())
    inarytools.removeDir("/usr/share/devhelp")

    inarytools.dodoc("ChangeLog", "COPYING", "NEWS", "README")
Esempio n. 14
0
def install():
    autotools.install()

    #verMINOR = getMinorVersion()
    inarytools.dosym("libx264.so.%s" % (verMAJOR), "/usr/lib/libx264.so.%s" % (verMINOR))

    # No static libs
    if shelltools.isFile("%s/%s" % (get.installDIR(), staticlibfile)):
        inarytools.remove(staticlibfile)
Esempio n. 15
0
def install():
    autotools.install()

    for lang in shelltools.ls("debian/po/*.po"):
        inarytools.domo(lang,
                        shelltools.baseName(lang).replace(".po", ""),
                        "libpaper.mo")

    inarytools.dodoc("README", "ChangeLog")
Esempio n. 16
0
def install():
    autotools.install()

    # Don't conflict with emacs
    inarytools.rename("/usr/bin/ctags", "exuberant-ctags")
    inarytools.rename("/usr/share/man/man1/ctags.1", "exuberant-ctags.1")

    inarytools.dohtml("EXTENDING.html", "ctags.html")
    inarytools.dodoc("COPYING", "FAQ", "NEWS", "README")
Esempio n. 17
0
def install():
    autotools.install()

    # default root certs location
    shelltools.echo("%s/etc/wgetrc" % get.installDIR(),
                    "ca_certificate=/etc/ssl/certs/ca-certificates.crt")

    inarytools.dodoc("AUTHORS", "COPYING", "ChangeLog*", "NEWS", "README",
                     "MAILING-LIST")
Esempio n. 18
0
def install():
    autotools.install("DESTDIR=%s %s" % (get.installDIR(), args))
    shelltools.unlink("{}/sbin/rc-sstat".format(get.installDIR()))
    shelltools.unlink("{}/etc/init.d/functions.sh".format(get.installDIR()))
    inarytools.dosym("../../usr/lib/openrc/sh/functions.sh",
                     "/etc/init.d/functions.sh")
    inarytools.dosym("../usr/lib/openrc/bin/rc-sstat", "/sbin/rc-sstat")

    inarytools.dodoc("LICENSE*", "*guide.*", "AUTHORS", "ChangeLog",
                     "README.*")
Esempio n. 19
0
def install():
    autotools.install()
    # fix conflict garcon
    shelltools.system("rm -rf {}/etc/xdg/menus".format(get.installDIR()))
    shelltools.system("rm -rf {}/usr/share/desktop-directories".format(
        get.installDIR()))
    shelltools.system("rm -rf {}/usr/share/gtk-doc".format(get.installDIR()))
    shelltools.system("rm -rf {}/usr/include/".format(get.installDIR()))
    inarytools.dodoc('AUTHORS', 'ChangeLog', 'COPYING', 'HACKING', 'NEWS',
                     'STATUS', 'THANKS', 'TODO')
Esempio n. 20
0
def install():
    autotools.install()

    major = ".".join(get.srcVERSION().split(".")[:2])
    inarytools.dodir("/etc/env.d")
    shelltools.echo("%s/etc/env.d/50guile" % get.installDIR(), 'GUILE_LOAD_PATH="/usr/share/guile/%s"' % major)
    
    inarytools.domove("/usr/lib/libguile-2.0.so.22.*.scm", "/usr/share/gdb/auto-load")

    inarytools.dodoc("AUTHORS", "ChangeLog", "HACKING", "NEWS", "README", "THANKS")
Esempio n. 21
0
def install():
    autotools.install()

    # We're using pinentry-wrapper as additional file instead of upstream pinentry symlink.
    inarytools.remove("/usr/bin/pinentry")

    inarytools.dosym("pinentry-gtk-2", "/usr/bin/pinentry-gtk")
    #inarytools.dosym("pinentry-qt4", "/usr/bin/pinentry-qt")

    inarytools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "THANKS")
Esempio n. 22
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    autotools.rawInstall("DESTDIR=%s -C fluid " % get.installDIR(),
                         " install-linux")

    if get.buildTYPE() == "emul32": return

    autotools.install("-C documentation")
    inarytools.dodoc("ANNOUNCEMENT", "CHANGES", "COPYING", "CREDITS", "README")
Esempio n. 23
0
def install(args=''):
    """Autobuilder install"""
    if can_access_file("autogen.sh"):
        autotools.install(args)
    if can_access_file("Makefile"):
        autotools.install(args)
    if can_access_file("meson.build"):
        mesontools.install(args)
    if can_access_file("CmakeLists.txt"):
        cmaketools.install(args)
Esempio n. 24
0
def install():
    autotools.install()
    shelltools.cd("python")
    pythonmodules.install(pyVer="3")
    shelltools.cd("..")

    inarytools.insinto("/usr/share/vim/vimfiles/syntax/", "editors/proto.vim")
    inarytools.insinto("/usr/share/emacs/site-lisp/",
                       "editors/protobuf-mode.el")

    inarytools.dodoc("CHANGES.txt", "CONTRIBUTORS.txt", "LICENSE", "README.md")
Esempio n. 25
0
def install():

    autotools.install("DESTDIR=%s install" % get.installDIR())
    for f in ["opentmpfiles-dev", "opentmpfiles-setup"]:
        shelltools.system(
            "install -Dm755 openrc/{0}.confd {1}/etc/conf.d/{0}".format(
                f, get.installDIR()))
        shelltools.system(
            "install -Dm755 openrc/{0}.initd {1}/etc/init.d/{0}".format(
                f, get.installDIR()))

    inarytools.dodoc("README.md")
Esempio n. 26
0
def install():
    if get.buildTYPE() == "emul32":
        autotools.rawInstall("PREFIX=%s/emul32/usr" % get.installDIR())
        inarytools.dosym("libunistring.so.2.1.0",
                         "/usr/lib32/libunistring.so.0")
        return

    autotools.install()

    inarytools.dosym("libunistring.so.2.1.0", "/usr/lib/libunistring.so.0")
    inarytools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "COPYING.LIB",
                     "HACKING", "NEWS", "README", "THANKS")
Esempio n. 27
0
def install():
    autotools.install()
    #inarytools.dobin("mkfs/mkexfatfs")
    #inarytools.dobin("dump/dumpexfat")
    #inarytools.dobin("fsck/exfatfsck")
    #inarytools.dobin("label/exfatlabel")

    #inarytools.doman("mkfs/mkexfatfs.8")
    #inarytools.doman("dump/dumpexfat.8")
    #inarytools.doman("fsck/exfatfsck.8")
    #inarytools.doman("label/exfatlabel.8")

    inarytools.dodoc("ChangeLog", "COPYING", "README")
Esempio n. 28
0
def install():
    inarytools.dodir("usr/share/ca-certificates/mozilla")
    inarytools.dodir("usr/sbin")

    autotools.install("SUBDIRS=mozilla DESTDIR=%s" % get.installDIR())
    inarytools.doman("sbin/update-ca-certificates.8")

    shelltools.cd("%s/usr/share/ca-certificates" % get.installDIR())
    shelltools.system("find . -name '*.crt' | sort | cut -b3- > ca-certificates.conf")
    inarytools.insinto("/etc/", "ca-certificates.conf")

    inarytools.dodir("/etc/ca-certificates/update.d")
    inarytools.dodir("etc/ssl/certs")
Esempio n. 29
0
def install():
    autotools.install()

    inarytools.domove("/usr/bin/bash", "/bin")
    inarytools.dosym("/bin/bash","/bin/sh")
    inarytools.dosym("/bin/bash","/bin/rbash")

    # Compatibility with old skels
    # inarytools.dosym("/etc/bash/bashrc", "/etc/bashrc")

    inarytools.dosym("bash.info", "/usr/share/info/bashref.info")
    inarytools.doman("doc/bash.1", "doc/bashbug.1", "doc/builtins.1", "doc/rbash.1")
    inarytools.dodoc("README", "NEWS", "AUTHORS", "CHANGES", "COMPAT", "Y2K", "doc/FAQ", "doc/INTRO")
Esempio n. 30
0
def install():
    autotools.install()

    # Conflicts with openTTS
    inarytools.remove("/usr/share/info/ssip.info")

    # Set executable bit
    #shelltools.chmod("%s/usr/lib/python3.6/site-packages/speechd/_test.py" % get.installDIR(), 0o755)

    # Create log directory, it should be world unreadable
    inarytools.dodir("/var/log/speech-dispatcher")
    shelltools.chmod("%s/var/log/speech-dispatcher" % get.installDIR(), 0o700)

    inarytools.dodoc("AUTHORS", "COPYING", "README")