Пример #1
0
def setup():
    shelltools.system("sh NVIDIA-Linux-%s-%s.run -x --target tmp" %
                      (arch, get.srcVERSION()))

    shelltools.move("tmp/*", ".")

    # Our libc is TLS enabled so use TLS library
    shelltools.unlink("*-tls.so*")
    shelltools.move("tls/*", ".")

    # xorg-server provides libwfb.so
    shelltools.unlink("libnvidia-wfb.so.*")

    shelltools.echo("ld.so.conf", nvlibdir)
    shelltools.echo("XvMCConfig", "%s/libXvMCNVIDIA.so" % nvlibdir)
    shelltools.system("patch -p0 < kernel-4.11.patch")
    shelltools.system("patch -p1 < kernel-5.1.patch")
    shelltools.system("patch -p0 < kernel-5.3.patch")
    shelltools.system("patch -p0 < nv_patch_340.107_linux_kernel_5.0")
    shelltools.system("patch -p1 < kmem_cache_create_usercopy.patch")
    shelltools.system("patch -p1 < unregister_procfs_on_failure.patch")

    shelltools.system("rm -f kernel/Makefile")
    shelltools.system("rm -f kernel/uvm/Makefile")
    shelltools.system("cp Makefile-kernel kernel/Makefile")
    shelltools.system("cp Makefile-uvm kernel/uvm/Makefile")
Пример #2
0
def install():
    # following directories needed for install!
    pisitools.dodir("/usr/lib")
    pisitools.dodir("/usr/sbin")
    pisitools.dodir("/usr/include")
    pisitools.dodir("/usr/lib")
    
    autotools.rawInstall("DESTDIR=%s LIBDIR=/usr/lib/" % get.installDIR())
    
    # correct permissions on static lib
    shelltools.chmod("%s/usr/lib/libcrack.a" % get.installDIR(), 0644)

    # put libcrack.so.2.7 in /lib for cases where /usr isn't available yet
    pisitools.domove("/usr/lib/libcrack.so.2.7", "/lib/")

    # This link is needed and not created
    pisitools.dosym("libcrack.so.2.7", "/lib/libcrack.so.2")
    pisitools.dosym("libcrack.so.2.7", "/lib/libcrack.so")

    shelltools.move("cracklib/packer.h", get.installDIR() + "/usr/include")

    #fix the permissions on it as they may be wrong in some cases
    shelltools.chmod(get.installDIR() + "/usr/include/packer.h", 0644)
    
    libtools.preplib("/usr/lib")
    libtools.preplib("/lib")
    
    libtools.gen_usr_ldscript("libcrack.so")

    pisitools.dodoc("HISTORY", "MANIFEST", "POSTER", "README")
Пример #3
0
def install():
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
    
    shelltools.move("%s/com" % get.installDIR(), "%s/usr/lib/qt5/qml/com" % get.installDIR())
    shelltools.move("%s/io" % get.installDIR(), "%s/usr/lib/qt5/qml" % get.installDIR())

    pisitools.dodoc("COPYING", "README*")
Пример #4
0
def install():
    # Setup files in /etc
    pisitools.dodir("/etc")
    shelltools.move("etc/", "%s/etc" % get.installDIR())

    shelltools.chmod("%s/etc/shadow" % get.installDIR(), 0600)

    shelltools.echo("%s/etc/pardus-release" % get.installDIR(), "Pardus 2007")

    # Install some files to /usr/share/baselayout instead of /etc to keep from overwriting the user's settings,
    for file in ("passwd", "shadow", "group", "fstab", "hosts", "ld.so.conf",
                 "resolv.conf", "inittab.live"):
        pisitools.domove("/etc/%s" % file, "/usr/share/baselayout")

    # Install baselayout documentation
    pisitools.doman("man/*.*")

    # Install baselayout utilities
    shelltools.cd("src/")
    autotools.rawInstall("DESTDIR=\"%s\"" % get.installDIR())

    pisitools.dosbin("update-grub", "/sbin")

    # Create needed directories !!!
    create_directories()
Пример #5
0
def install():
    if get.buildTYPE() == "emul32":
        qt5.install("INSTALL_ROOT=%s32" % get.installDIR())
        shelltools.move("%s32/usr/lib32" % get.installDIR(), "%s/usr" % get.installDIR())
        return

    pisitools.dodir(qt5.libdir)
    qt5.install("INSTALL_ROOT=%s" % get.installDIR())

    #I hope qtchooser will manage this issue
    #for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
        #pisitools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)

    # We should work on Turkish translations :)
    shelltools.export("LD_LIBRARY_PATH", "%s%s" % (get.installDIR(), qt5.libdir))
    shelltools.system("%s%s/lrelease l10n-tr/*.ts" % (get.installDIR(), bindirQt5))
    pisitools.insinto(qt5.translationdir, "l10n-tr/*.qm")

    # Fix all occurances of WorkDir in pc files
    pisitools.dosed("%s%s/pkgconfig/*.pc" % (get.installDIR(), qt5.libdir), "%s/qt-x11-opensource-src-%s" % (get.workDIR(), get.srcVERSION()), qt5.prefix)

    mkspecPath = "%s/mkspecs" %  qt5.archdatadir

    for root, dirs, files in os.walk("%s%s" % (get.installDIR(),  qt5.archdatadir)):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in ["common","qws","features","default"]:
                    pisitools.removeDir(os.path.join(mkspecPath,dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name), "^QMAKE_PRL_BUILD_DIR.*", "")

    pisitools.dodoc("LGPL_EXCEPTION.txt", "LICENSE.*")
Пример #6
0
def setup():
    shelltools.cd("%s" % get.workDIR())
    shelltools.move("tg_owt-*", "tg-owt-%s" % get.srcVERSION())
    shelltools.cd("tg-owt-%s" % get.srcVERSION())

    #shelltools.system("git clone https://chromium.googlesource.com/webm/libvpx")
    shelltools.system(
        "git clone https://chromium.googlesource.com/libyuv/libyuv")
    #shelltools.system("git clone https://github.com/PipeWire/pipewire")

    #shelltools.move("libvpx/*", "src/third_party/libvpx/source/libvpx")
    shelltools.move("libyuv/*", "src/third_party/libyuv")
    #shelltools.move("pipewire/*", "src/third_party/pipewire")

    #shelltools.export("CPPFLAGS", "-DNDEBUG")
    pisitools.cflags.add(" -ffat-lto-objects")
    pisitools.cxxflags.add(" -ffat-lto-objects -I/usr/include/libdrm")
    cmaketools.configure("-B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
                                    -DCMAKE_INSTALL_PREFIX=/usr \
                                    -DBUILD_SHARED_LIBS=OFF \
                                    -DTG_OWT_LIBJPEG_INCLUDE_PATH=/usr/include \
                                    -DTG_OWT_OPENSSL_INCLUDE_PATH=/usr/include \
                                    -DTG_OWT_OPUS_INCLUDE_PATH=/usr/include/opus \
                                    -DTG_OWT_LIBVPX_INCLUDE_PATH=/usr/include \
                                    -DTG_OWT_FFMPEG_INCLUDE_PATH=/usr/include")
Пример #7
0
def install():
    kde4.install()

    shelltools.move("../pics/*.png",
                    "%s/usr/share/kde4/apps/kdm/pics/users" % get.installDIR())
    #this file exceeds 20K limit of kdm, and KDM cannot display that.
    pisitools.remove("/usr/share/kde4/apps/kdm/pics/users/Happy.png")
Пример #8
0
def setup():
    shelltools.makedirs("%s/src" % get.workDIR())
    shelltools.move("org", "%s/src/" % get.workDIR())
    pisitools.dosed(
        "make_linux.mak",
        "AWT\_LIBS\ \=\ \-L\$\(AWT\_LIB\_PATH\)\ \-ljawt\ \-shared",
        "AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared -L/usr/lib/X11 -lX11")
Пример #9
0
def install():
    if get.buildTYPE() == "emul32":
        qt5.install("INSTALL_ROOT=%s32" % get.installDIR())
        shelltools.move("%s32/usr/lib32" % get.installDIR(), "%s/usr" % get.installDIR())
        return

    pisitools.dodir(qt5.libdir)
    qt5.install("INSTALL_ROOT=%s" % get.installDIR())



    # Fix wrong qmake path in pri file
     #shelltools.system('sed -i "s|${srcdir}/${_pkgfqn}/qtbase|/usr|" /usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri')
    #shelltools.system('sed -e "s:$PWD/qtbase:/usr/lib/qt5:g" -i /usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri &&')

    #I hope qtchooser will manage this issue
    for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
        pisitools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)

    mkspecPath = "%s/mkspecs" %  qt5.archdatadir

    # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
    #pisitools.remove("/usr/lib/qt5/lib/*.prl")

    for root, dirs, files in os.walk("%s%s" % (get.installDIR(),  qt5.archdatadir)):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in ["common","qws","features","default"]:
                    pisitools.removeDir(os.path.join(mkspecPath,dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name), "^QMAKE_PRL_BUILD_DIR.*", "")

    pisitools.dodoc("LGPL_EXCEPTION.txt", "LICENSE.*")
Пример #10
0
def setup():
    if not shelltools.can_access_directory("tools/clang"):
        shelltools.system("tar xf ../cfe-%s.src.tar.xz -C tools" %
                          get.srcVERSION())
        shelltools.move("tools/cfe-%s.src" % get.srcVERSION(), "tools/clang")
    if not shelltools.can_access_directory("projects/compiler-rt"):
        shelltools.system("tar xf ../compiler-rt-%s.src.tar.xz -C projects" %
                          get.srcVERSION())
        shelltools.move("projects/compiler-rt-%s.src" % get.srcVERSION(),
                        "projects/compiler-rt")

    shelltools.export("LD_LIBRARY_PATH", "%s/Release/lib/" % os.getcwd())

    shelltools.export("CC", "gcc")
    shelltools.export("CXX", "g++")
    autotools.rawConfigure("--prefix=/usr              \
                            --sysconfdir=/etc          \
                            --libdir=/usr/lib/llvm     \
                            --enable-libffi            \
                            --enable-optimized         \
                            --enable-shared            \
                            --disable-assertions       \
                            --disable-debug-runtime    \
                            --host=%s \
                            --build=%s \
                            --with-gcc-toolchain=/usr \
                            --disable-expensive-checks" %
                           (get.HOST(), get.HOST()))
Пример #11
0
def build():
    shelltools.cd("cnijfilter")
    for model in printer_models:
        shelltools.system("./autogen.sh --prefix=/%s --program-suffix=%s" % (get.defaultprefixDIR(), model))
        autotools.make()
        shelltools.move("src/cif", "src/cif%s" % model)
        autotools.make("clean")
Пример #12
0
def install():
    installdir = get.installDIR() + datadir
    pisitools.dodir(datadir)
    pisitools.dodir("%s/applications" % datadir)

    shelltools.copytree("%s/playonlinux" % get.workDIR(), "%s/" % installdir)

    pisitools.dobin("%s/playonlinux/playonlinux" % installdir)

    pisitools.domo("%s/playonlinux/lang/po/tr.po" % installdir, "tr", "pol.mo")

    #    pisitools.domove("usr/share/locale/tr/LC_MESSAGES", "/usr/share/playonlinux/lang/locale/tr")

    pisitools.dodoc("%s/playonlinux/LICENCE" % installdir,
                    "%s/playonlinux/CHANGELOG.*" % installdir)

    shelltools.move(
        "%s/etc/PlayOnLinux.desktop" %
        (get.installDIR() + "/usr/share/playonlinux"),
        "%s/usr/share/applications/PlayOnLinux.desktop" % get.installDIR())

    shelltools.unlink("%s/usr/bin/playonlinux" % get.installDIR())

    shelltools.sym("%s/usr/share/playonlinux/playonlinux" % get.installDIR(),
                   "%s/usr/bin/playonlinux" % get.installDIR())

    pisitools.dosed("playonlinux", "python2.6 mainwindow.py",
                    "python2.8 mainwindow.py")
Пример #13
0
def setup():
    if not shelltools.isDirectory("tools/clang"):
        shelltools.move("tools/clang-%s.src" % get.srcVERSION(), "tools/clang")

    pisitools.dosed("utils/llvm-build/llvm-build", "python", "python2.7")
    pisitools.dosed("bindings/ocaml/Makefile.ocaml", '\$\(PROJ_libdir\)', "/usr/lib/llvm")
    pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/etc/llvm", "/etc/llvm")
    pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/lib", "$(PROJ_prefix)/lib/llvm")
    pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/docs/llvm", "$(PROJ_prefix)/share/doc/llvm")
    pisitools.dosed("tools/llvm-config/llvm-config.cpp", '(ActiveLibDir\s=\sActivePrefix\s\+\s\"\/lib)(.*)', r'\1/llvm\2')
    pisitools.dosed("autoconf/configure.ac", '\LLVM_LIBDIR="\$\{prefix\}/lib"', 'LLVM_LIBDIR="${prefix}/lib/llvm"')

    pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ExmplDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)")
    pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ToolDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)")

    shelltools.export("CPPFLAGS","%s %s" % (get.CXXFLAGS(),pkgconfig.getLibraryCFLAGS("libffi")))

    pic_option = "enable" if get.ARCH() == "x86_64" else "disable"

    options = "--libdir=%s \
               --datadir=/usr/share/llvm \
               --sysconfdir=/etc \
               --enable-jit \
               --enable-threads \
               --disable-assertions \
               --%s-pic \
               " % (libdir, pic_option)

    autotools.configure(options)
Пример #14
0
def setup():

    shelltools.export("WANT_AUTOCONF", "2.5")
    shelltools.export("WANT_AUTOMAKE", "1.9")

    pisitools.dosed("libtool.m4", "@_LT_VERSION@", get.srcVERSION())

    # Fetching revision info (same as "dateinfo = srcDIR/.mkstamp < srcDIR/ChangeLog")
    revinfo = (coreutils.cat("ChangeLog") | coreutils.grep("\s\$Revision")
               | coreutils.join).split()
    dateinfo = " (%s %s %s)" % (revinfo[1], revinfo[4], revinfo[5])

    shelltools.copy("ltmain.in", "ltmain.shT")
    pisitools.dosed("ltmain.shT", "@VERSION@", get.srcVERSION())
    pisitools.dosed("ltmain.shT", "@PACKAGE@", get.srcNAME())
    pisitools.dosed("ltmain.shT", "@TIMESTAMP@", dateinfo)
    shelltools.move("ltmain.shT", "ltmain.sh")

    #Two steps just to be *really* sure :)
    shelltools.copy("libtool.m4", "acinclude.m4T")
    shelltools.move("acinclude.m4T", "acinclude.m4")

    shelltools.touch("libltdl/acinclude.m4")

    for d in [".", "libltdl"]:
        shelltools.cd(d)
        shelltools.touch("acinclude.m4")
        autotools.aclocal()
        autotools.automake("-c -a")
        autotools.autoconf()

    shelltools.cd("..")

    autotools.configure()
Пример #15
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.system("install -d %s/lib" % get.installDIR())
    shelltools.move("%s/usr/lib/libnss_wins.so*" % get.installDIR(), "%s/lib" % get.installDIR())
    shelltools.move("%s/usr/lib/libnss_winbind.so*" % get.installDIR(), "%s/lib" % get.installDIR())
    pisitools.dosym("/lib/libnss_winbind.so.2", "/usr/lib/libnss_winbind.so")
    pisitools.dosym("/lib/libnss_wins.so.2", "/usr/lib/libnss_wins.so")

    shelltools.system("install -v -m644 examples/smb.conf.default %s/etc/samba/smb.conf.default" % get.installDIR())

    pisitools.dodir("/etc/openldap/schema")
    shelltools.system("install -v -m644 examples/LDAP/README \
                       %s/etc/openldap/schema/README.LDAP" % get.installDIR())
    shelltools.system("install -v -m644 examples/LDAP/samba* \
                       %s/etc/openldap/schema" % get.installDIR())
    shelltools.system("install -v -m755 examples/LDAP/{get*,ol*} \
                       %s/etc/openldap/schema" % get.installDIR())

    shelltools.system("install -d %s/usr/lib/cups/backend" % get.installDIR())
    pisitools.dosym("/usr/bin/smbspool", "/usr/lib/cups/backend/smb")

    pisitools.remove("/usr/lib/python3.9/site-packages/_tdb_text.py")
    pisitools.remove("/usr/lib/python3.9/site-packages/tdb.cpython-39-x86_64-linux-gnu.so")
    pisitools.remove("/usr/lib/python3.9/site-packages/tevent.py")
    pisitools.remove("/usr/lib/python3.9/site-packages/_tevent.cpython-39-x86_64-linux-gnu.so")
Пример #16
0
def install():
    pisitools.insinto("/usr/lib/misc", "x11-ssh-askpass")
    pisitools.dosym("/usr/lib/misc/x11-ssh-askpass", "/usr/lib/misc/ssh-askpass")

    pisitools.dodoc("ChangeLog", "README", "TODO")
    shelltools.move("x11-ssh-askpass.man", "x11-ssh-askpass.1")
    pisitools.doman("x11-ssh-askpass.1")
Пример #17
0
def install():
    pisitools.dodir("/usr/share/foomatic/db/source")
    pisitools.dodir("/usr/share/cups/model/foo2zjs")
    autotools.install("DESTDIR=%s" % get.installDIR())
    autotools.install("DESTDIR=%s install-udev" % get.installDIR())

    shelltools.move("%s/usr/share/cups/model/*.ppd.gz" % get.installDIR(), "%s/usr/share/cups/model/foo2zjs/" % get.installDIR())
Пример #18
0
def setup():
    # Rebuild configure scripts
    shelltools.cd("src")
    autotools.autoheader()
    autotools.autoconf()

    # Rename man pages to regenerate them
    for manpage in open("../manpaths.txt", "r"):
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    shelltools.export("CFLAGS", "-I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all %s" % get.CFLAGS())

    # Fix pthread linking
    pisitools.dosed("configure", "-lthread", "-lpthread")
    pisitools.dosed("configure", "-pthread", "-lpthread")

    # dirsrv or ldap?
    autotools.configure(
        "--with-system-et \
                         --with-system-ss \
                         --with-pam \
                         --with-ldap \
                         --with-netlib=-lresolv \
                         --without-selinux \
                         --without-tcl \
                         --localstatedir=/var/kerberos \
                         --disable-rpath \
                         --enable-shared \
                         --enable-pkinit \
                         --enable-dns-for-realm"
    )

    # Fix krb5-config script to remove rpaths and CFLAGS
    pisitools.dosed("krb5-config", "^CC_LINK=.*", "CC_LINK='$(CC) $(PROG_LIBPATH)'")
Пример #19
0
def install():
    installdir = get.installDIR() + datadir
    pisitools.dodir(datadir)
    pisitools.dodir("%s/applications" % datadir)

    shelltools.copytree("%s/playonlinux" % get.workDIR(), "%s/" % installdir)

    pisitools.dobin("%s/playonlinux/playonlinux" % installdir)

    pisitools.domo("%s/playonlinux/lang/po/tr.po" % installdir, "tr", "pol.mo")

    #    pisitools.domove("usr/share/locale/tr/LC_MESSAGES", "/usr/share/playonlinux/lang/locale/tr")

    pisitools.dodoc("%s/playonlinux/LICENCE" % installdir, "%s/playonlinux/CHANGELOG" % installdir)

    shelltools.move(
        "%s/etc/PlayOnLinux.desktop" % (get.installDIR() + "/usr/share/playonlinux"),
        "%s/usr/share/applications/PlayOnLinux.desktop" % get.installDIR(),
    )

    shelltools.unlink("%s/usr/bin/playonlinux" % get.installDIR())

    shelltools.sym(
        "%s/usr/share/playonlinux/playonlinux" % get.installDIR(), "%s/usr/bin/playonlinux" % get.installDIR()
    )
Пример #20
0
def setup():
    shelltools.system("sh NVIDIA-Linux-%s-%s.run -x --target tmp" %
                      (arch, get.srcVERSION()))
    shelltools.move("tmp/*", ".")

    #5.5 patch icin
    #shelltools.move("tmp/.manifest", ".")
    #shelltools.system("patch -p1 < kernel-5.5.patch")
    shelltools.system("patch -p1 < kernel-5.8.patch")

    #if get.buildTYPE() != 'emul32':
    #shelltools.system("patch -p1 < linux-5.1.patch")

    # Our libc is TLS enabled so use TLS library
    #shelltools.unlink("*-tls.so*")
    #shelltools.move("tls/*", ".")

    # xorg-server provides libwfb.so
    shelltools.unlink("libnvidia-wfb.so.*")

    shelltools.echo("ld.so.conf", nvlibdir)
    shelltools.echo("XvMCConfig", "%s/libXvMCNVIDIA.so" % nvlibdir)

    # dkms
    shelltools.copytree("kernel", "kernel-dkms")
    shelltools.unlink("kernel-dkms/dkms.conf")
    shelltools.move("dkms.conf", "kernel-dkms/")
    pisitools.dosed("kernel-dkms/Makefile", "CC \?= cc", "CC = /usr/bin/cc")
    pisitools.dosed("kernel-dkms/dkms.conf", "%VERSION%", version)
Пример #21
0
def install():
    pisitools.dodir("/usr/share/foomatic/db/source")
    pisitools.dodir("/usr/share/cups/model/foo2zjs")
    autotools.install("DESTDIR=%s" % get.installDIR())
    autotools.install("DESTDIR=%s install-udev" % get.installDIR())

    shelltools.move("%s/usr/share/cups/model/*.ppd.gz" % get.installDIR(), "%s/usr/share/cups/model/foo2zjs/" % get.installDIR())
Пример #22
0
def setup():
    # Fix all linkage problems :(((
    shelltools.export("CC", "gcc")

    # Change LT_VERSION to our version
    pisitools.dosed("libtool.m4", "@_LT_VERSION@", get.srcVERSION())

    # Fetching revision info (same as "dateinfo = srcDIR/.mkstamp < srcDIR/ChangeLog")
    revinfo = (coreutils.cat("ChangeLog") | coreutils.grep("\s\$Revision") | coreutils.join).split()
    dateinfo = " (%s %s %s)" % (revinfo[1], revinfo[4], revinfo[5])

    shelltools.copy("ltmain.in", "ltmain.shT")
    pisitools.dosed("ltmain.shT", "@VERSION@", get.srcVERSION())
    pisitools.dosed("ltmain.shT", "@PACKAGE@", get.srcNAME())
    pisitools.dosed("ltmain.shT", "@TIMESTAMP@", dateinfo)
    shelltools.move("ltmain.shT", "ltmain.sh")

    # Now let's run all our autotool stuff so that files we patch
    # below don't get regenerated on us later
    # Two steps just to be *really* sure :)
    shelltools.copy("libtool.m4", "acinclude.m4T")
    shelltools.move("acinclude.m4T", "acinclude.m4")

    for d in [".", "libltdl"]:
        shelltools.cd(d)
        shelltools.touch("acinclude.m4")
        autotools.aclocal()
        autotools.automake("-c -a")
        autotools.autoconf()

    shelltools.cd("../")

    autotools.configure("--enable-static=no")
Пример #23
0
def setup():
    shelltools.system("sh NVIDIA-Linux-x86_64-%s.run -x --target tmp"
                      % get.srcVERSION())
    shelltools.move("tmp/*", ".")
    
    #shelltools.system("patch -p1 < NVIDIA-Linux-x86_64-390.87-kernel-4.19.patch")
    #shelltools.system("patch -p1 < NVIDIA-Linux-x86_64-390.87-kernel-4.20.patch")
    
    #shelltools.system("patch -p1 < header-fix.patch")
    
    # Our libc is TLS enabled so use TLS library
    #shelltools.unlink("*-tls.so*")
    #shelltools.move("tls/*", ".")

    # xorg-server provides libwfb.so
    #shelltools.unlink("libnvidia-wfb.so.*")

    shelltools.echo("ld.so.conf", nvlibdir)
    shelltools.echo("XvMCConfig", "%s/libXvMCNVIDIA.so" % nvlibdir)

    # dkms    
    shelltools.copytree("kernel", "kernel-dkms")
    shelltools.unlink("kernel-dkms/dkms.conf")
    shelltools.move("dkms.conf", "kernel-dkms/")
    pisitools.dosed("kernel-dkms/Makefile", "CC \?= cc", "CC = /usr/bin/cc")
    pisitools.dosed("kernel-dkms/dkms.conf", "%VERSION%", version)
Пример #24
0
def install():
    # following directories needed for install!
    pisitools.dodir("/usr/lib")
    pisitools.dodir("/usr/sbin")
    pisitools.dodir("/usr/include")
    pisitools.dodir("/usr/lib")

    autotools.rawInstall("DESTDIR=%s LIBDIR=/usr/lib/" % get.installDIR())

    # correct permissions on static lib
    shelltools.chmod("%s/usr/lib/libcrack.a" % get.installDIR(), 0644)

    # put libcrack.so.2.7 in /lib for cases where /usr isn't available yet
    pisitools.domove("/usr/lib/libcrack.so.2.7", "/lib/")

    # This link is needed and not created
    pisitools.dosym("libcrack.so.2.7", "/lib/libcrack.so.2")
    pisitools.dosym("libcrack.so.2.7", "/lib/libcrack.so")

    shelltools.move("cracklib/packer.h", get.installDIR() + "/usr/include")

    #fix the permissions on it as they may be wrong in some cases
    shelltools.chmod(get.installDIR() + "/usr/include/packer.h", 0644)

    libtools.preplib("/usr/lib")
    libtools.preplib("/lib")

    libtools.gen_usr_ldscript("libcrack.so")

    pisitools.dodoc("HISTORY", "MANIFEST", "POSTER", "README")
Пример #25
0
def setup():
    shelltools.move("vendor", "src")
    
    shelltools.makedirs("src/github.com/docker")
        
    shelltools.cd("src/github.com/docker")
    shelltools.system("ln -rsf %s/libnetwork ./libnetwork" % get.workDIR())
Пример #26
0
def setup():
    shelltools.move("vendor", "src")

    shelltools.makedirs("src/github.com/docker")

    shelltools.cd("src/github.com/docker")
    shelltools.system("ln -rsf %s/libnetwork ./libnetwork" % get.workDIR())
Пример #27
0
def setup():

    shelltools.export("WANT_AUTOCONF", "2.5")
    shelltools.export("WANT_AUTOMAKE", "1.9")

    pisitools.dosed("libtool.m4", "@_LT_VERSION@", get.srcVERSION())

    # Fetching revision info (same as "dateinfo = srcDIR/.mkstamp < srcDIR/ChangeLog") 
    revinfo = (coreutils.cat("ChangeLog") | coreutils.grep("\s\$Revision") | coreutils.join).split()
    dateinfo = " (%s %s %s)" % (revinfo[1], revinfo[4], revinfo[5])

    shelltools.copy("ltmain.in", "ltmain.shT")
    pisitools.dosed("ltmain.shT", "@VERSION@", get.srcVERSION())
    pisitools.dosed("ltmain.shT", "@PACKAGE@", get.srcNAME())
    pisitools.dosed("ltmain.shT", "@TIMESTAMP@", dateinfo)
    shelltools.move("ltmain.shT", "ltmain.sh")

    #Two steps just to be *really* sure :)
    shelltools.copy("libtool.m4", "acinclude.m4T")
    shelltools.move("acinclude.m4T", "acinclude.m4")

    shelltools.touch("libltdl/acinclude.m4")

    for d in [".", "libltdl"]:
        shelltools.cd(d)
        shelltools.touch("acinclude.m4")
        autotools.aclocal()
        autotools.automake("-c -a")
        autotools.autoconf()

    shelltools.cd("..")

    autotools.configure()
Пример #28
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.doman("%s/usr/share/gc/gc.man" % get.installDIR())
    shelltools.move("%s/usr/share/gc/" % get.installDIR(), "%s/usr/share/doc/bdwgc/" % get.installDIR())
    pisitools.rename("/usr/share/doc/bdwgc/README.linux", "README")
    pisitools.remove("/usr/share/doc/bdwgc/README.*")
    pisitools.dodoc ("ChangeLog")
Пример #29
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    shelltools.move("%s/lib/udev" % get.installDIR(),
                    "%s/usr/lib/udev" % get.installDIR())
    pisitools.removeDir("/lib")

    pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README")
Пример #30
0
def setup():
    # make sure python links against the current libmagic
    pisitools.dosed("python/setup.py", "(?m)^(library_dirs.*)../src", r"\1../src/.libs")

    # dont let python README kill main README
    shelltools.move("python/README", "python/README.python")
    autotools.configure("--datadir=/usr/share/misc")
Пример #31
0
def install():
    autotools.rawInstall("-j1 DESTDIR=%s%s" % (get.installDIR(), suffix))
    #autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    
    # emul32 stop here
    if get.buildTYPE() == "emul32":
        shelltools.move("%s%s/lib" % (get.installDIR(), suffix), "%s/lib%s" % (get.installDIR(), suffix))
        shelltools.move("%s%s/usr/lib" % (get.installDIR(), suffix), "%s/usr/lib%s" % (get.installDIR(), suffix))
        #for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()):
        #    pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32", "usr")
        #shelltools.unlinkDir("%s%s" % (get.installDIR(), suffix))
        shelltools.unlink("%s/usr/lib%s/libudev.so" % (get.installDIR(), suffix))
        pisitools.dosym("/lib%s/libudev.so.1.6.0" % suffix, "/usr/lib%s/libudev.so" % suffix)
        shelltools.unlinkDir("%s/usr/lib%s/pkgconfig" % (get.installDIR(), suffix))
        shelltools.unlinkDir("%s/lib%s/udev" % (get.installDIR(), suffix))
        return
    
    #add link
    pisitools.dosym("/sbin/udevadm", "/bin/udevadm")
    
    # Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools
    pisitools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id")

    # Create /sbin/systemd-udevd -> /sbin/udevd sysmlink, we need it for MUDUR, do not touch this sysmlink.
    # pisitools.dosym("/lib/systemd/systemd-udevd", "/sbin/systemd-udevd")

    # Create /etc/udev/rules.d for backward compatibility
    pisitools.dodir("/etc/udev/rules.d")
    pisitools.dodir("/run/udev")

    # Add man files
    pisitools.doman("man/*.5", "man/*.7", "man/*.8")

    pisitools.dodoc("README*", "NOTES")
Пример #32
0
def setup():
    # Fix all linkage problems :(((
    shelltools.export("CC", "gcc")

    # Change LT_VERSION to our version
    pisitools.dosed("libtool.m4", "@_LT_VERSION@", get.srcVERSION())

    # Fetching revision info (same as "dateinfo = srcDIR/.mkstamp < srcDIR/ChangeLog")
    revinfo = (coreutils.cat("ChangeLog") | coreutils.grep("\s\$Revision")
               | coreutils.join).split()
    dateinfo = " (%s %s %s)" % (revinfo[1], revinfo[4], revinfo[5])

    shelltools.copy("ltmain.in", "ltmain.shT")
    pisitools.dosed("ltmain.shT", "@VERSION@", get.srcVERSION())
    pisitools.dosed("ltmain.shT", "@PACKAGE@", get.srcNAME())
    pisitools.dosed("ltmain.shT", "@TIMESTAMP@", dateinfo)
    shelltools.move("ltmain.shT", "ltmain.sh")

    # Now let's run all our autotool stuff so that files we patch
    # below don't get regenerated on us later
    # Two steps just to be *really* sure :)
    shelltools.copy("libtool.m4", "acinclude.m4T")
    shelltools.move("acinclude.m4T", "acinclude.m4")

    for d in [".", "libltdl"]:
        shelltools.cd(d)
        shelltools.touch("acinclude.m4")
        autotools.aclocal()
        autotools.automake("-c -a")
        autotools.autoconf()

    shelltools.cd("../")

    autotools.configure("--enable-static=no")
Пример #33
0
def install():
    pisitools.dodir("/usr/bin")
    pisitools.dodir("/etc/profile.d")
    pisitools.dodir("/usr/share/java/maven/lib")
    pisitools.dodir("/usr/share/java/maven/boot")
    pisitools.dodir("/usr/share/java/maven/conf")
    pisitools.dodir("/usr/share/java/maven/bin")
    shelltools.export("JAVA_HOME", "/usr/lib/jvm/java-7-openjdk")
    shelltools.system(
        "sed '38i <property name=\"maven.home\" value=\"%s/usr/share/java/maven-%s\"\/>' build.xml > build2.xml"
        % (get.installDIR(), get.srcVERSION()))
    shelltools.export("M2_HOME", "$maven.home")
    shelltools.export(
        "PATH",
        "$PATH:$M2_HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
    )
    shelltools.export("MAVEN_OPTS", "-Xmx512m")
    shelltools.move("build2.xml", "build.xml")
    shelltools.system(
        "/usr/bin/ant -Dmaven.repo.local=%s/usr/share/java/maven/repo" %
        get.installDIR())
    pisitools.dosym("/usr/share/java/maven-3.0.5/bin/mvn", "/usr/bin/mvn")
    pisitools.dosym("/usr/share/java/maven-3.0.5/bin/mvnDebug",
                    "/usr/bin/mvnDebug")
    pisitools.dosym("/usr/share/java/maven-3.0.5/bin/mvnyjp",
                    "/usr/bin/mvnyjp")
    pisitools.domove("/usr/share/java/maven/repo/",
                     "/usr/share/java/maven-%s/" % get.srcVERSION())
    pisitools.removeDir("/usr/share/java/maven")
Пример #34
0
def install():
    if get.buildTYPE() == "emul32":
        qt5.install("INSTALL_ROOT=%s32" % get.installDIR())
        shelltools.move("%s32/usr/lib32" % get.installDIR(),
                        "%s/usr" % get.installDIR())

    # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
    #pisitools.remove("/usr/lib/*.prl")

    # Fix wrong qmake path in pri file
    #shelltools.system('sed -i "s|${srcdir}/${_pkgfqn}/qtbase|/usr|" /usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri')

    mkspecPath = "%s/mkspecs" % qt5.archdatadir

    for root, dirs, files in os.walk("%s%s" %
                                     (get.installDIR(), qt5.archdatadir)):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in [
                        "common", "qws", "features", "default"
                ]:
                    pisitools.removeDir(os.path.join(mkspecPath, dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name),
                                "^QMAKE_PRL_BUILD_DIR.*", "")

    pisitools.dodoc("LGPL_EXCEPTION.txt", "LICENSE.*")
Пример #35
0
def install():
    autotools.rawInstall("-j1 DESTDIR=%s%s" % (get.installDIR(), suffix))
    #autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    
    # emul32 stop here
    if get.buildTYPE() == "emul32":
        shelltools.move("%s%s/lib" % (get.installDIR(), suffix), "%s/lib%s" % (get.installDIR(), suffix))
        shelltools.move("%s%s/usr/lib" % (get.installDIR(), suffix), "%s/usr/lib%s" % (get.installDIR(), suffix))
        #for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()):
        #    pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32", "usr")
        #shelltools.unlinkDir("%s%s" % (get.installDIR(), suffix))
        shelltools.unlink("%s/usr/lib%s/libudev.so" % (get.installDIR(), suffix))
        pisitools.dosym("/lib%s/libudev.so.1.6.0" % suffix, "/usr/lib%s/libudev.so" % suffix)
        shelltools.unlinkDir("%s/usr/lib%s/pkgconfig" % (get.installDIR(), suffix))
        shelltools.unlinkDir("%s/lib%s/udev" % (get.installDIR(), suffix))
        return
    
    #add link
    pisitools.dosym("/sbin/udevadm", "/bin/udevadm")
    
    # Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools
    pisitools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id")

    # Create /sbin/systemd-udevd -> /sbin/udevd sysmlink, we need it for MUDUR, do not touch this sysmlink.
    # pisitools.dosym("/lib/systemd/systemd-udevd", "/sbin/systemd-udevd")

    # Create /etc/udev/rules.d for backward compatibility
    pisitools.dodir("/etc/udev/rules.d")
    pisitools.dodir("/run/udev")

    # Add man files
    pisitools.doman("man/*.5", "man/*.7", "man/*.8")

    pisitools.dodoc("README*", "NOTES")
Пример #36
0
def setup():
    # Fixup version
    shelltools.echo(".version", get.srcVERSION().split("_")[0])

    # Disable emacs scripts
    shelltools.export("EMACS", "no")
    shelltools.move("autoconf.texi", "autoconf213.texi")
    autotools.configure("--infodir=/usr/share/info --program-suffix=-2.13")
Пример #37
0
def build():
    shelltools.cd("cnijfilter")
    for model in printer_models:
        shelltools.system("./autogen.sh --prefix=/%s --program-suffix=%s" %
                          (get.defaultprefixDIR(), model))
        autotools.make()
        shelltools.move("src/cif", "src/cif%s" % model)
        autotools.make("clean")
Пример #38
0
def setup():
    shelltools.cd("config")
    autotools.autoconf() # buggy mktime() check

    shelltools.move("configure","..")
    shelltools.cd("..")

    autotools.configure("--disable-static")
Пример #39
0
def install():
    pisitools.insinto("/usr/lib/misc", "x11-ssh-askpass")
    pisitools.dosym("/usr/lib/misc/x11-ssh-askpass",
                    "/usr/lib/misc/ssh-askpass")

    pisitools.dodoc("ChangeLog", "README", "TODO")
    shelltools.move("x11-ssh-askpass.man", "x11-ssh-askpass.1")
    pisitools.doman("x11-ssh-askpass.1")
Пример #40
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.doman("%s/usr/share/gc/gc.man" % get.installDIR())
    shelltools.move("%s/usr/share/gc/" % get.installDIR(),
                    "%s/usr/share/doc/bdwgc/" % get.installDIR())
    pisitools.rename("/usr/share/doc/bdwgc/README.linux", "README")
    pisitools.remove("/usr/share/doc/bdwgc/README.*")
    pisitools.dodoc("ChangeLog")
Пример #41
0
def setup():
    # make sure python links against the current libmagic
    pisitools.dosed("python/setup.py", "(?m)^(library_dirs.*)../src",
                    r"\1../src/.libs")

    # dont let python README kill main README
    shelltools.move("python/README", "python/README.python")
    autotools.configure("--datadir=/usr/share/misc")
Пример #42
0
def setup():
    # Fixup version
    shelltools.echo(".version", get.srcVERSION().split("_")[0])

    # Disable emacs scripts
    shelltools.export("EMACS", "no")
    shelltools.move("autoconf.texi", "autoconf213.texi")
    autotools.configure("--infodir=/usr/share/info --program-suffix=-2.13")
Пример #43
0
def setup():
    shelltools.system("sh NVIDIA-Linux-%s-%s-pkg0.run -x --target tmp" % (arch, get.srcVERSION()))
    shelltools.move("tmp/*", ".")

    # Remove VDPAU headers and wrapper library
    shelltools.unlinkDir("usr/include/vdpau")
    shelltools.unlink("usr/lib/libvdpau.so.%s" % get.srcVERSION())
    shelltools.unlink("usr/lib/vdpau/libvdpau_trace.so.%s" % get.srcVERSION())
Пример #44
0
def setup():
    shelltools.cd("config")
    autotools.autoconf()  # buggy mktime() check

    shelltools.move("configure", "..")
    shelltools.cd("..")

    autotools.configure("--disable-static")
Пример #45
0
def setup():
    # getting ready for autoreconf
    for f in ["NEWS", "ChangeLog", "AUTHORS"]:
        shelltools.touch(f)
    shelltools.move("sq/sq.c", "sq/sq.cpp")

    autotools.autoreconf("-vif")
    autotools.configure("--disable-static")
Пример #46
0
def setup():
    shelltools.move("configure.guess", "config.guess")
    shelltools.move("configure.sub", "config.sub")

    autotools.autoreconf("-vfi")
    libtools.gnuconfig_update()
    libtools.libtoolize("--force --install")
    autotools.configure()
Пример #47
0
def setup():
    # getting ready for autoreconf
    for f in ["NEWS", "ChangeLog", "AUTHORS"]:
        shelltools.touch(f)
    shelltools.move("sq/sq.c", "sq/sq.cpp")

    autotools.autoreconf("-vif")
    autotools.configure("--disable-static")
Пример #48
0
def setup():
    #Skip broken PNG/GIF tests in make check
    #http://www.mail-archive.com/[email protected]/msg63124.html

    shelltools.move("t/png.t", "t/png.t.broken")
    shelltools.move("t/gif.t", "t/gif.t.broken")

    perlmodules.configure()
Пример #49
0
def setup():
    #Skip broken PNG/GIF tests in make check
    #http://www.mail-archive.com/[email protected]/msg63124.html

    shelltools.move("t/png.t", "t/png.t.broken")
    shelltools.move("t/gif.t", "t/gif.t.broken")

    perlmodules.configure()
Пример #50
0
def setup():
    shelltools.move("configure.guess", "config.guess")
    shelltools.move("configure.sub", "config.sub")

    autotools.autoreconf("-vfi")
    libtools.gnuconfig_update()
    libtools.libtoolize("--force --install")
    autotools.configure()
Пример #51
0
def install():
    targets = " install-libLTLIBRARIES \
                install-includeHEADERS \
                install-libgudev_includeHEADERS \
                install-rootbinPROGRAMS \
                install-rootlibexecPROGRAMS \
                install-udevlibexecPROGRAMS \
                install-dist_udevconfDATA \
                install-dist_udevrulesDATA \
                install-girDATA \
                install-pkgconfiglibDATA \
                install-sharepkgconfigDATA \
                install-typelibsDATA \
                install-dist_docDATA \
                libudev-install-hook \
                install-directories-hook \
                install-dist_bashcompletionDATA \
                install-dist_networkDATA \
                rootlibexec_PROGRAMS='systemd-udevd' \
                rootbin_PROGRAMS='udevadm' \
                lib_LTLIBRARIES='libudev.la \
                                 libgudev-1.0.la' \
                pkgconfiglib_DATA='src/libudev/libudev.pc \
                                   src/gudev/gudev-1.0.pc' \
                dist_bashcompletion_DATA='shell-completion/bash/udevadm' \
                dist_network_DATA='network/99-default.link' \
                pkginclude_HEADERS='src/libudev/libudev.h' \
              "

    autotools.make("-j1 DESTDIR=%s%s %s" % (get.installDIR(), suffix, targets))
    if get.buildTYPE() == "emul32":
        shelltools.move("%s%s/lib%s" % (get.installDIR(), suffix, suffix), "%s/lib%s" % (get.installDIR(), suffix))
        shelltools.move("%s%s/usr/lib%s" % (get.installDIR(), suffix, suffix), "%s/usr/lib%s" % (get.installDIR(), suffix))
        for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()):
            pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32", "usr")
        #shelltools.unlinkDir("%s%s" % (get.installDIR(), suffix))
        return
    # Create needed directories
    #for d in ("", "net", "pts", "shm", "hugepages"):
         #pisitools.dodir("/lib/udev/devices/%s" % d)

    # Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools
    pisitools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id")

    # Create /sbin/systemd-udevd -> /sbin/udevd sysmlink, we need it for MUDUR, do not touch this sysmlink.
    pisitools.dosym("/sbin/systemd-udevd", "/sbin/udevd")
    pisitools.dosym("/lib/systemd/systemd-udevd", "/sbin/systemd-udevd")
    # Mudur needs this symlink as well
    pisitools.dosym("/bin/udevadm", "/sbin/udevadm")

    # Create /etc/udev/rules.d for backward compatibility
    pisitools.dodir("/etc/udev/rules.d")

    pisitools.dodir("/run/udev")
    pisitools.dodoc("README", "TODO")

    # Add man files
    pisitools.doman("man/systemd.link.5", "man/udev.7", "man/udevadm.8", "man/systemd-udevd.service.8")
Пример #52
0
def install():
    shelltools.cd("cmake")
    cmaketools.install()

    pisitools.dodir("/usr/bin")
    # In future check arch
    shelltools.move("%s/usr/lz4c32" % get.installDIR(), "%s/usr/bin/lz4c32" % get.installDIR())

    pisitools.dosym ("/usr/bin/lz4c32", "/usr/bin/lz4c")
Пример #53
0
def setup():
    shelltools.move("GPL", "COPYING")
    shelltools.touch("NEWS")
    shelltools.touch("README")
    shelltools.touch("mkxincludes.in")

    autotools.autoreconf("-vif")
    autotools.configure("--disable-static \
                         --enable-dlloader \
                         --without-tk \
                         --without-tcl")
Пример #54
0
def setup():
    for manpage in open("manpaths.txt", "r").readlines():
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    autotools.autoheader()
    autotools.autoconf()

    shelltools.export("CFLAGS", "%s -I/usr/include/et -fPIE -fno-strict-aliasing" % get.CFLAGS())
    shelltools.export("LDFLAGS", "%s -pie" % get.LDFLAGS())

    autotools.configure("--with-pam")
Пример #55
0
def setup():
    shelltools.move("texmf", "%s/texmf" % CoreSource)
    shelltools.move("texmf-dist", "%s/texmf-dist" % CoreSource)

    shelltools.cd(CoreSource)
    libtools.libtoolize("--copy --force")

    shelltools.cd("libs/teckit/")
    shelltools.export("AT_M4DIR", ".")
    autotools.autoreconf("-fi")

    shelltools.cd("%s/%s/%s" % (get.workDIR(), WorkDir, CoreSource))

    autotools.configure(" --bindir=/usr/bin \
                          --with-system-freetype2 \
                          --with-freetype2-include=/usr/include \
                          --with-system-zlib \
                          --with-system-pnglib \
                          --without-texinfo \
                          --without-dialog \
                          --without-texi2html \
                          --disable-multiplatform \
                          --with-epsfwin \
                          --with-mftalkwin \
                          --with-regiswin \
                          --with-tektronixwin \
                          --with-unitermwin \
                          --with-ps=gs \
                          --without-psutils \
                          --without-sam2p \
                          --without-t1utils \
                          --enable-ipc \
                          --without-etex \
                          --with-xetex \
                          --without-dvipng \
                          --without-dvipdfm \
                          --without-dvipdfmx \
                          --with-xdvipdfmx \
                          --without-lcdf-typetools \
                          --without-pdfopen \
                          --without-ps2eps \
                          --without-detex \
                          --without-ttf2pk \
                          --without-tex4htk \
                          --without-cjkutils \
                          --without-xdvik \
                          --without-oxdvik \
                          --without-xindy \
                          --without-luatex \
                          --without-dvi2tty \
                          --without-vlna \
                          --disable-largefile \
                          --enable-shared \
                          --disable-static")
Пример #56
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    if get.buildTYPE()=="emul32":
        shelltools.move("pango/.libs/pango-querymodules", "pango/.libs/pango-querymodules-32")
        pisitools.dobin("pango/.libs/pango-querymodules-32")
        return

    pisitools.dodir("/etc/pango")
    shelltools.touch(get.installDIR() +"/etc/pango/pango.modules")

    pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING", "README", "NEWS")
Пример #57
0
def setup():
    shelltools.system(" tar xJvf pisi-azur.tar.xz")
    shelltools.move("pisi-azur", "razorqt-resources/themes/")
    #pisitools.dosed("cmake/RazorLibSuffix.cmake","lib64","lib")
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_INSTALL_LIBDIR=/usr/lib \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DENABLE_POLICYKIT=ON \
                          -DBUNDLE_XDG_UTILS=Yes \
                          -DENABLE_LIGHTDM_GREETER=OFF \
                          -DSYSCONF_INSTALL_DIR=/etc \
                          -DCMAKE_SKIP_RPATH=ON")
Пример #58
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.doman("doc/*.[1-8]")
    pisitools.dodir("/var/lib/lxc")

    # Install management tools
    shelltools.unlink("lxc-management-tools/lxc-management-tools.spec")
    for script in shelltools.ls("lxc-management-tools/lxc-*"):
        pisitools.dobin(script)

    shelltools.move("%s/usr/lib/lxc/templates" % get.installDIR(), "%s/%s/lxc/" % (get.installDIR(), get.docDIR()))