Exemple #1
0
def setup():
    # Remove local copies for system libs
    for directory in ["expat", "freetype", "jasper", "jpeg", "lcms", "lcms2", "libpng", "openjpeg", "tiff", "zlib"]:
        shelltools.unlinkDir(directory)

    shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())

    autotools.autoreconf("-fi")
    
    options = "--disable-compile-inits \
               --disable-gtk \
               --enable-dynamic \
               --with-system-libtiff \
               --with-ijs \
               --with-drivers=ALL \
               --with-libpaper \
               --with-jbig2dec \
               --with-jasper \
               --enable-fontconfig \
               --enable-freetype \
               --without-luratech \
               --with-system-libtiff \
               --with-omni \
               --with-x \
               --with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1:/usr/share/poppler/cMap/*"
    options += " --disable-cups" if get.buildTYPE() == "emul32" else " --enable-cups"

    autotools.configure(options)

    shelltools.cd("ijs/")
    shelltools.system("./autogen.sh \
                       --prefix=/usr \
                       --mandir=/usr/share/man \
                       --disable-static \
                       --enable-shared")
Exemple #2
0
def setup():
    pisitools.dosed("dist/clementine.desktop", "Icon=application-x-clementine", "Icon=clementine")
    for i in ["libprojectm", "qxt", "qtiocompressor", "libechonest"]:
        shelltools.unlinkDir("3rdparty/%s" % (i))

    # QTSINGLEAPPLICATION is builtin since we need to patch Qt just for this package and Gökçen has given OK
    # for using built-in qtsingleapplication.
    cmaketools.configure("-DUSE_SYSTEM_QXT=ON \
                          -Werror=OFF \
                          -DENABLE_LIBLASTFM=ON \
                          -DUSE_SYSTEM_QTSINGLEAPPLICATION=OFF \
                          -DENABLE_SPOTIFY=OFF\
                          -DENABLE_SPOTIFY_BLOB=OFF\
                          -DUSE_SYSTEM_GMOCK=ON \
                          -DSTATIC_SQLITE=OFF \
                          -DUSE_SYSTEM_PROJECTM=ON \
                          -DENABLE_WIIMOTEDEV=ON \
                          -DENABLE_LIBGPOD=ON \
                          -DENABLE_IMOBILEDEVICE=ON \
                          -DENABLE_LIBMTP=ON \
                          -DENABLE_GIO=ON \
                          -DENABLE_VISUALISATIONS=ON \
                          -DENABLE_SCRIPTING_PYTHON=ON \
                          -DENABLE_SCRIPTING_ARCHIVES=ON \
                          -DENABLE_REMOTE=OFF \
                          -DBUNDLE_PROJECTM_PRESETS=OFF", sourceDir=".")
Exemple #3
0
def install():
    for directory in ["data","lib","modules","plugins","scripts"]:
        pisitools.insinto("/usr/lib/metasploit",directory)

    for executable in ["msfcli","msfconsole","msfd", "msfencode","msfopcode","msfpayload","msfpescan","msfweb"]:
        pisitools.insinto("/usr/lib/metasploit",executable)

    for executable in shelltools.ls("msf*"):
        pisitools.dosym("/usr/bin/metasploit", "/usr/bin/%s" % executable)

    # Cleanup crap
    pisitools.removeDir("/usr/lib/metasploit/data/meterpreter")
    pisitools.removeDir("/usr/lib/metasploit/data/msfgui")
    pisitools.removeDir("/usr/lib/metasploit/data/templates")
    pisitools.remove("/usr/bin/msfgui")

    # .exe, .dll and .svn crap
    for root, dirs, files in os.walk(get.installDIR()):
        for name in dirs:
            if name == ".svn":
                shelltools.unlinkDir(os.path.join(root, name))
        for name in files:
            if name.endswith(".dll") or name.endswith(".exe"):
                shelltools.unlink(os.path.join(root, name))

    # msfweb disabled until Rails is packaged
    pisitools.remove("/usr/bin/msfweb")
    pisitools.remove("/usr/lib/metasploit/msfweb")
    pisitools.removeDir("/usr/lib/metasploit/data/msfweb")

    pisitools.dodoc("documentation/*.txt","documentation/*.pdf","documentation/ChangeLog","documentation/COPYING")
Exemple #4
0
def install():
    xbmcDir = "/usr/share/xbmc"

    pisitools.dodir(xbmcDir)
    for fl in ["xbmc.bin", "xbmc-xrandr"]:
        shelltools.copy(fl, "%s/usr/share/xbmc/" % get.installDIR())
    pisitools.dodir("/usr/bin")
    shelltools.copy("tools/Linux/xbmc.sh", "%s/usr/bin/xbmc" % get.installDIR())
    shelltools.chmod("%s/usr/bin/xbmc" % get.installDIR())

    #copy data files
    for dir in ["language", "media", "screensavers", "scripts", "skin", "sounds", "userdata", "visualisations", "system"]:
        shelltools.copytree(dir, "%s/usr/share/xbmc" % get.installDIR())

    #install web server
    pisitools.dodir("/usr/share/xbmc/web")
    shelltools.system("/usr/bin/unzip -oq web/Project_Mayhem_III_webserver_v1.0.zip -d %s/usr/share/xbmc/web" % get.installDIR())

    #remove .so and .dlls
    shelltools.unlinkDir("%s/usr/share/xbmc/system/players" % get.installDIR())
    shelltools.unlinkDir("%s/usr/share/xbmc/system/cdrip" % get.installDIR())
    for root, dirs, files in os.walk(get.installDIR()):
        for name in files:
            lname = name.lower()
            if lname.endswith(".so") or lname.endswith(".dll") or lname.endswith(".a"):
                shelltools.unlink(os.path.join(root, name))

    pisitools.dodoc("*.txt", "README.linux", "LICENSE.GPL")
Exemple #5
0
def setup():
    for i in ["libprojectm", "qxt", "qtiocompressor", "libechonest"]:
        shelltools.unlinkDir("3rdparty/%s" % (i))

    # Upstream supports only gstreamer engine, other engines are unstable and lacking features.
    # QTSINGLEAPPLICATION is builtin since we need to patch Qt just for this package and  Gökçen has given OK
    # for using builtin qtsingleapplication.
    cmaketools.configure("-DHAVE_LIBNOTIFY=ON \
                          -DENGINE_GSTREAMER_ENABLED=ON \
                          -DENGINE_QT_PHONON_ENABLED=OFF \
                          -DENGINE_LIBVLC_ENABLED=OFF \
                          -DENGINE_LIBXINE_ENABLED=OFF \
                          -DUSE_SYSTEM_QXT=ON \
                          -DUSE_SYSTEM_QTSINGLEAPPLICATION=OFF \
                          -DUSE_SYSTEM_GMOCK=OFF \
                          -DSTATIC_SQLITE=OFF \
                          -DUSE_SYSTEM_PROJECTM=ON \
                          -DENABLE_WIIMOTEDEV=ON \
                          -DENABLE_LIBGPOD=ON \
                          -DENABLE_IMOBILEDEVICE=ON \
                          -DENABLE_LIBMTP=ON \
                          -DENABLE_GIO=ON \
                          -DENABLE_VISUALISATIONS=ON \
                          -DENABLE_SCRIPTING_PYTHON=OFF \
                          -DENABLE_SCRIPTING_ARCHIVES=OFF \
                          -DENABLE_REMOTE=OFF \
                          -DBUNDLE_PROJECTM_PRESETS=ON", sourceDir=".")
Exemple #6
0
def setup():
    # Drop bundled libraries
    for d in ["glew", "libopenjpeg", "Eigen2"]:
        shelltools.unlinkDir("extern/%s" % d)

    shelltools.unlinkDir("scons")

    shelltools.makedirs("build")
    shelltools.cd("build")

    # it seems new blender requires ffmpeg 0.7 or newer
    cmaketools.configure(
        "-DCMAKE_SKIP_RPATH=ON \
                          -DBUILD_SHARED_LIBS=OFF \
                          -DWITH_FFTW3=ON \
                          -DWITH_JACK:BOOL=ON \
                          -DWITH_CODEC_SNDFILE:BOOL=ON \
                          -DWITH_IMAGE_OPENJPEG:BOOL=ON \
                          -DWITH_PYTHON:BOOL=ON \
                          -DWITH_PYTHON_INSTALL:BOOL=OFF \
                          -DWITH_CODEC_FFMPEG:BOOL=OFF \
                          -DWITH_GAMEENGINE:BOOL=ON \
                          -DWITH_CXX_GUARDEDALLOC:BOOL=OFF \
                          -DWITH_BUILTIN_GLEW=OFF \
                          -DWITH_INSTALL_PORTABLE=OFF \
                          -DWITH_PYTHON_SAFETY=ON \
                          -DWITH_PLAYER=ON",
        sourceDir="..",
    )
Exemple #7
0
def setup():
    shelltools.echo("config.layout", config_layout())
    pisitools.dosed("config.layout", "version", get.srcNAME())

    for d in ["apr","apr-util","pcre"]:
        shelltools.unlinkDir("srclib/%s" % d)

    autotools.rawConfigure('--with-mpm=prefork \
                            --enable-layout=Pardus \
                            --with-ssl=/usr \
                            --enable-ssl=shared \
                            %s \
                            --with-z=/usr \
                            --with-port=80 \
                            --with-program-name=apache2 \
                            --with-apr=/usr/bin/apr-1-config \
                            --with-apr-util=/usr/bin/apu-1-config \
                            --with-suexec-safepath="/usr/bin:/bin" \
                            --with-suexec-logfile=/var/log/apache2/suexec_log \
                            --with-suexec-bin=/usr/sbin/suexec2 \
                            --with-suexec-userdir="public_html" \
                            --with-suexec-caller=apache \
                            --with-suexec-docroot=/var/www \
                            --with-suexec-uidmin=1000 \
                            --with-suexec-gidmin=100 \
                            --with-suexec-umask=077 \
                            --enable-suexec=shared \
                            --enable-pie \
                            --with-pcre=/usr/bin/pcre-config' % modules_config())

    pisitools.dosed("include/ap_config_auto.h", "apache2\.conf", "httpd.conf")
Exemple #8
0
def setup():
    # Remove local copies for system libs
    for directory in ["lcms2", "libpng", "openjpeg", "tiff", "zlib"]:
        shelltools.unlinkDir(directory)

    #pisitools.flags.add("-fno-strict-aliasing")

    autotools.autoreconf("-fi")

    options = "--disable-compile-inits \
               --disable-gtk \
               --enable-dynamic \
               --with-system-libtiff \
               --with-ijs \
               --with-drivers=ALL \
               --with-libpaper \
               --with-jbig2dec \
               --enable-fontconfig \
               --enable-freetype \
               --without-luratech \
               --without-omni \
               --with-x \
               --with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1:/usr/share/poppler/cMap/*"
    options += " --disable-cups --includedir=/usr/include --libdir=/usr/lib32" if get.buildTYPE() == "emul32" else " --enable-cups"

    autotools.configure(options)

    shelltools.cd("ijs/")
    pisitools.dosed("configure.ac", "AM_PROG_CC_STDC", "AC_PROG_CC")
    shelltools.system("./autogen.sh \
                       --prefix=/usr \
                       --mandir=/usr/share/man \
                       --disable-static \
                       --enable-shared")
Exemple #9
0
def setup():
    pisitools.flags.add("-fno-strict-aliasing")
    shelltools.export("OPT", "%s -fPIC -fwrapv" % get.CFLAGS())

    pisitools.dosed("Lib/cgi.py", r"/usr/local/bin/", r"/usr/bin/")

    for dir in ["expat","zlib","_ctypes/libffi_arm_wince","_ctypes/libffi_msvc",
                "_ctypes/libffi_osx","_ctypes/libffi","_ctypes/darwin"]:
        shelltools.unlinkDir("Modules/%s" % dir)

    shelltools.export("CPPFLAGS", "%s" % os.popen("pkg-config --cflags-only-I libffi").read().strip())

    # Bump required autoconf version
#    pisitools.dosed("configure.in", r"\(2.65\)", "(2.68)")

    pisitools.dosed("setup.py","ndbm_libs =.*","ndbm_libs = ['gdbm', 'gdbm_compat']")

    autotools.autoreconf("-vif")
    autotools.configure("--with-fpectl \
                         --enable-shared \
                         --enable-ipv6 \
                         --with-threads \
                         --with-libc='' \
                         --enable-unicode=ucs4 \
                         --with-wctype-functions \
                         --with-system-expat \
                         --with-system-ffi")
Exemple #10
0
def setup():
    shelltools.unlinkDir("examples/Demo")
    shelltools.unlinkDir("examples/14.Win32Window")

    for files in ["examples/buildAllExamples.sh", "examples/BuildAllExamples.sln",
                  "examples/BuildAllExamples_v7.sln", "examples/whereAreTheBinaries.txt", "bin/Linux/readme.txt"]:
        shelltools.unlink(files)
Exemple #11
0
def setup():
    # Remove local copies for system libs
    for directory in ["jpeg", "libpng", "zlib", "jasper", "expat"]:
        shelltools.unlinkDir(directory)

    shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())

    autotools.autoreconf("-fi")

    autotools.configure("--disable-compile-inits \
                         --disable-gtk \
                         --enable-dynamic \
                         --enable-cups \
                         --with-system-libtiff \
                         --with-ijs \
                         --with-drivers=ALL \
                         --with-libpaper \
                         --with-jbig2dec \
                         --with-jasper \
                         --with-omni \
                         --with-x \
                         --with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1")

    shelltools.cd("ijs/")
    shelltools.system("./autogen.sh \
                       --prefix=/usr \
                       --mandir=/usr/share/man \
                       --disable-static \
                       --enable-shared")
Exemple #12
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")
Exemple #13
0
def setup():
    pisitools.cflags.add("-fwrapv")

    # no rpath
    pisitools.dosed("configure.ac", "-rpath \$\(LIBDIR\) ")

    pisitools.dosed("Lib/cgi.py", r"/usr/local/bin/", r"/usr/bin/")
    pisitools.dosed("setup.py", "SQLITE_OMIT_LOAD_EXTENSION", deleteLine=True)
    pisitools.dosed("setup.py","ndbm_libs =.*","ndbm_libs = ['gdbm', 'gdbm_compat']")

    for dir in ["expat","zlib","_ctypes/libffi_arm_wince","_ctypes/libffi_msvc",
                "_ctypes/libffi_osx","_ctypes/libffi","_ctypes/darwin"]:
        shelltools.unlinkDir("Modules/%s" % dir)

    autotools.autoreconf("-vif")

    # disable bsddb
    pisitools.dosed("setup.py", "^(disabled_module_list = \[)\]", r"\1'_bsddb', 'dbm']")
    # no rpath
    pisitools.dosed("Lib/distutils/command/build_ext.py", "self.rpath.append\(user_lib\)", "pass")

    autotools.configure("--with-fpectl \
                         --enable-shared \
                         --enable-ipv6 \
                         --with-threads \
                         --with-libc='' \
                         --enable-unicode=ucs4 \
                         --with-wctype-functions \
                         --with-system-expat \
                         --with-system-ffi \
                         --with-dbmliborder=gdbm \
                        ")
Exemple #14
0
def setup():
    for i in ["libprojectm", "qxt"]:
        shelltools.unlinkDir("3rdparty/%s" % (i))

    # Upstream supports only gstreamer engine, other engines are unstable and lacking features.
    # QTSINGLEAPPLICATION is builtin since we need to patch Qt just for this package and Gökçen has given OK
    # for using builtin qtsingleapplication.
    cmaketools.configure("-DHAVE_LIBNOTIFY=ON \
                          -DENGINE_GSTREAMER_ENABLED=ON \
                          -DENGINE_QT_PHONON_ENABLED=OFF \
                          -DENGINE_LIBVLC_ENABLED=OFF \
                          -DENGINE_LIBXINE_ENABLED=OFF \
                          -DUSE_SYSTEM_QXT=ON \
                          -DUSE_SYSTEM_QTSINGLEAPPLICATION=OFF \
                          -DSTATIC_SQLITE=OFF \
                          -DUSE_SYSTEM_PROJECTM=ON \
                          -DENABLE_WIIMOTEDEV=ON \
                          -DENABLE_LIBGPOD=ON \
                          -DENABLE_IMOBILEDEVICE=ON \
                          -DENABLE_LIBMTP=ON \
                          -DENABLE_GIO=ON \
                          -DENABLE_VISUALISATIONS=ON \
                          -DQXTCORE_INCLUDE_DIRS=/usr/qt/4/include/QxtCore \
                          -DQXTGUI_INCLUDE_DIRS=/usr/qt/4/include/QxtGui \
                          -DQXT_LIBRARIES=/usr/qt/4/lib/libQxtGui.so \
                          -DBUNDLE_PROJECTM_PRESETS=OFF", sourceDir=".")
Exemple #15
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodir("/etc/dhcp")
    pisitools.dodir("/var/run/dhcp")
    shelltools.touch("%s/var/lib/dhcp/dhcpd.leases" % get.installDIR())
    shelltools.unlinkDir("doc/ja_JP.eucJP/")
    pisitools.dodoc("README", "RELNOTES", "doc/*")
Exemple #16
0
def setup():
    pisitools.dosed("Makefile.in", "\$\(gsdatadir\)/lib", "/usr/share/ghostscript/%s/lib" % get.srcVERSION())
    pisitools.dosed("Makefile.in", "$(gsdir)/fonts", "/usr/share/fonts/default/ghostscript/")

    # Remove local copies for system libs
    for directory in ["jpeg","libpng","zlib"]:
        shelltools.unlinkDir(directory)

    shelltools.system("./autogen.sh \
                       --disable-maintainer-mode \
                       --enable-dynamic \
                       --disable-compile-inits \
                       --with-jbig2dec \
                       --with-jasper \
                       --prefix=/usr \
                       --mandir=/usr/share/man \
                       --infodir=/usr/share/info \
                       --with-ijs \
                       --with-omni \
                       --with-x \
                       --enable-cups \
                       --with-drivers=ALL,gdi \
                       --with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1 \
                       --disable-gtk")

    shelltools.cd("ijs/")
    shelltools.system("./autogen.sh \
                       --prefix=/usr \
                       --mandir=/usr/share/man \
                       --disable-static \
                       --disable-maintainer-mode \
                       --enable-shared")
Exemple #17
0
def install():
    autotools.rawInstall("DESTDIR=%s distro-pack-install -o build -o check" % get.installDIR())
    
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/base.png", "libreoffice-base.png")
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/calc.png", "libreoffice-calc.png")
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/draw.png", "libreoffice-draw.png")
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/impress.png", "libreoffice-impress.png")
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/main.png", "libreoffice-main.png")
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/math.png", "libreoffice-math.png")
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/startcenter.png", "libreoffice-startcenter.png")
    pisitools.insinto("/usr/share/pixmaps/", "android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/res/drawable-hdpi/writer.png", "libreoffice-writer.png")

    if not shelltools.isDirectory(langpackpath): shelltools.makedirs(langpackpath)
    else: shelltools.unlinkDir(langpackpath)
    for l in langs.split(" "):
        if l == "en-US": continue
        print("processing: %s" % l)
        for ld in ldirs:
            srcd = "%s%s" % (get.installDIR(), ld % l)
            dstd = "%s%s" % (langpackpath, ld % l)
            if shelltools.isDirectory(srcd):
                if not shelltools.isDirectory(dstd): shelltools.makedirs(dstd)
                shelltools.move(srcd, dstd)

        srcf = "%s/usr/share/doc/libreoffice/README_%s" % (get.installDIR(), l)
        dstd = "%s/usr/share/doc/libreoffice" % langpackpath
        dstf = "%s/README_%s" % (dstd, l)
        if shelltools.isFile(srcf):
            if not shelltools.isDirectory(dstd): shelltools.makedirs(dstd)
            shelltools.move(srcf, dstf)

        srcd = "%s/usr/lib/libreoffice/program/resource" % get.installDIR()
        dstd = "%s/usr/lib/libreoffice/program/resource" % langpackpath
        for f in os.listdir(srcd):
            if l == "id" and f.endswith("s%s.res" % l): continue
            elif l == "st" and f.endswith("a%s.res" % l): continue
            elif f.endswith("%s.res" % l):
                if not shelltools.isDirectory(dstd): shelltools.makedirs(dstd)
                shelltools.move("%s/%s" % (srcd, f), dstd)

        for path in ("/usr/lib/libreoffice/share/registry", "/usr/lib/libreoffice/share/registry/res"):
            srcd = "%s%s" % (get.installDIR(), path)
            dstd = "%s%s" % (langpackpath, path)
            for f in os.listdir(srcd):
                if l == "id" and f.endswith("s%s.xcd" % l): continue
                elif l == "ss" and f == "impress.xcd": continue
                elif l == "st" and f.endswith("a%s.xcd" % l): continue
                elif l == "th" and f == "math.xcd": continue
                elif f.endswith("%s.xcd" % l):
                    if not shelltools.isDirectory(dstd): shelltools.makedirs(dstd)
                    shelltools.move("%s/%s" % (srcd, f), dstd)

    for i in ["readmes/README_*", "CREDITS*", "LICENSE*", "NOTICE*"]:
        pisitools.domove("/usr/lib/libreoffice/%s" % i, "/usr/share/doc/libreoffice")
    pisitools.removeDir("/usr/lib/libreoffice/readmes")

    print("creating: %s.tar.xz" % langpackdir)
    shelltools.cd("%s/../" % get.installDIR())
    shelltools.system("tar c %s | xz -9 > %s.tar.xz" % ((langpackdir, )*2))
Exemple #18
0
def setup():
    for d in ["kuser", "knetworkconf"]:
        shelltools.unlinkDir(d)

    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure('-DICON_INSTALL_DIR="/usr/share/icons"', installPrefix="/usr/kde/4", sourceDir="..")
Exemple #19
0
def setup():
    for d in ["ksysv", "lilo-config", "kuser", "kpackage", "knetworkconf"]:
        shelltools.unlinkDir(d)

    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DCMAKE_BUILD_TYPE=release", installPrefix="/usr/kde/4", sourceDir="..")
Exemple #20
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())
Exemple #21
0
def fixperms(d):
    for root, dirs, files in os.walk(d):
        for name in dirs:
            shelltools.chmod(os.path.join(root, name), 0755)
            if name == "CVS":
                shelltools.unlinkDir(os.path.join(root, name))
        for name in files:
            shelltools.chmod(os.path.join(root, name), 0644)
Exemple #22
0
def setup():
    # Remove source files
    shelltools.unlink("usbdux/*dux")
    shelltools.unlink("*/*.asm")

    # These + a lot of other firmware are shipped within alsa-firmware
    for fw in ("ess", "korg", "sb16", "yamaha"):
        shelltools.unlinkDir(fw)
Exemple #23
0
def setup():
    for d in ["ksysv","lilo-config","kuser","kpackage","knetworkconf"]:
        shelltools.unlinkDir(d)

    shelltools.makedirs("build")
    shelltools.cd("build")

    cmaketools.configure("-DICON_INSTALL_DIR=\"/usr/share/icons\"", installPrefix="/usr/kde/4",sourceDir="..")
Exemple #24
0
def cleanUP(target):
    # .exe, .dll and .svn crap
    for root, dirs, files in os.walk(target):
        for name in dirs:
            if name ==".svn":
                shelltools.unlinkDir(os.path.join(root, name))
        for name in files:
            if name.endswith(".dll") or name.endswith(".exe"):
                shelltools.unlink(os.path.join(root, name))
def install():
    autotools.install ()

    #Remove setuid and move mtr from /usr/sbin to /usr/bin
    pisitools.domove("/usr/sbin/mtr", "/usr/bin/", "mtr")
    shelltools.chmod(get.installDIR() + "/usr/bin/mtr", 0755)
    shelltools.unlinkDir(get.installDIR() + "/usr/sbin")

    pisitools.dodoc ("COPYING", "AUTHORS", "README", "SECURITY")
Exemple #26
0
def setup():
    pisitools.dosed("src/scripts/gcc.mak.in", "prefix=/usr/local", "prefix=/usr")

    #Ensure using system libraries
    shelltools.unlinkDir("lib/libpng")
    shelltools.unlinkDir("lib/zlib")

    autotools.rawConfigure("--with-system-zlib \
                         --with-system-libpng")
Exemple #27
0
def setup():
    shelltools.unlinkDir("libltdl")
    libtools.libtoolize("-c -f --ltdl")
    autotools.autoreconf("-fi")

    autotools.configure("--sysconfdir=/etc/unixODBC \
                         --enable-gui=no \
                         --disable-stats \
                         --x-libraries=/usr/lib")
Exemple #28
0
def setup():
    #make sure we don't use them
    for d in ('libjpeg', 'freetype', 'libpng', 'zlib'):
        shelltools.unlinkDir("src/3rdparty/%s" % d)

    """filteredCFLAGS = get.CFLAGS().replace("-g3", "-g")
    filteredCXXFLAGS = get.CXXFLAGS().replace("-g3", "-g")

    vars = {"PARDUS_CC" :       get.CC(),
            "PARDUS_CXX":       get.CXX(),
            "PARDUS_CFLAGS":    filteredCFLAGS,
            "PARDUS_LDFLAGS":   get.LDFLAGS()}

    for k, v in vars.items():
        pisitools.dosed("mkspecs/common/g++-base.conf", k, v)
        pisitools.dosed("mkspecs/common/g++-unix.conf", k, v)

    shelltools.export("CFLAGS", filteredCFLAGS)
    shelltools.export("CXXFLAGS", filteredCXXFLAGS)"""

    #-no-pch makes build ccache-friendly
    autotools.rawConfigure("-pch \
                            -v \
                            -fast \
                            -glib \
                            -no-sql-sqlite2 \
                            -system-sqlite \
                            -system-zlib \
                            -system-libpng \
                            -system-libjpeg \
                            -plugin-sql-sqlite \
                            -plugin-sql-odbc \
                            -plugin-sql-mysql \
                            -plugin-sql-psql \
                            -plugin-sql-ibase \
                            -I/usr/include/mysql/ \
                            -I/usr/include/firebird/ \
                            -I/usr/include/postgresql/server/ \
                            -release \
                            -icu \
                            -no-separate-debug-info \
                            -no-rpath \
                            -openssl-linked \
                            -dbus-linked \
                            -opensource \
                            -reduce-relocations \
                            -prefix %s \
                            -libdir %s \
                            -docdir /usr/share/doc/qt \
                            -examplesdir /usr/lib/qt/examples \
                            -plugindir /usr/lib/qt/plugins \
                            -translationdir /usr/share/qt/translations \
                            -sysconfdir %s \
                            -datadir /usr/share/qt \
                            -importdir /usr/lib/qt/imports \
                            -headerdir %s \
                            -confirm-license " % (qt4.prefix, qt4.libdir, qt4.sysconfdir, qt4.includedir))
Exemple #29
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("README", "ChangeLog", "AUTHORS", "COPYING", "LICENSE", "TODO")

    doc_dir = "%s/usr/share/doc/meanwhile-doc-%s" % (get.installDIR(), get.srcVERSION())
    shelltools.copytree("%s/samples" % doc_dir,
                        "%s/usr/share/doc/%s" % (get.installDIR(),
                                                 get.srcTAG()))
    shelltools.unlinkDir(doc_dir)
Exemple #30
0
def setup():
    for i in ["jpeglib", "zlib", "libpng", "aesGladman"]:
        unwanteddir = "%s/%s" % (mainsrcdir, i)
        if shelltools.isDirectory(unwanteddir):
            shelltools.unlinkDir(unwanteddir)

    for i in ["include/*.h", "doc/upgrade-guide.txt", "%s/*.cpp" % mainsrcdir, "%s/*.h" % mainsrcdir]:
        pisitools.dosed(i, "\r")
        shelltools.chmod(i, 0644)
Exemple #31
0
def install():
    shelltools.system(
        "awk '$1 ~ /Version:/ { print gensub(/([0-9]+)\.([0-9]+).*/, \"\\\\1\\\\2\", \"g\", $2) }' /usr/lib/pkgconfig/xorg-server.pc > XorgVersion"
    )
    with open("XorgVersion", "r") as f:
        XorgVersion = f.readline().strip()
    pisitools.insinto("/etc/vbox", "vbox.cfg")
    shelltools.chmod("src/VBox/Additions/x11/Installer/98vboxadd-xclient",
                     0755)
    pisitools.insinto("/usr/bin",
                      "src/VBox/Additions/x11/Installer/98vboxadd-xclient",
                      "VBoxClient-all")
    #pisitools.insinto("/lib/udev/rules.d", "src/VBox/Additions/linux/installer/70-xorg-vboxmouse.rules")
    pisitools.insinto("/usr/share/X11/pci",
                      "src/VBox/Additions/x11/Installer/vboxvideo.ids")
    #pisitools.insinto("/usr/share/X11/xorg.conf.d", "src/VBox/Additions/x11/Installer/50-vboxmouse.conf")

    arch = "amd64" if get.ARCH() == "x86_64" else "x86"
    shelltools.cd("out/linux.%s/release/bin" % arch)

    # libraries installation. The files below are unnecessary files.
    # TODO: change loop and make it more discrete (i.e copying each single file)
    exclude = ("additions", "icons", "nls", "scm", "sdk", "src", "SUP",
               "vboxkeyboard", "VBox.sh", "VBoxSysInfo.sh",
               "VBoxCreateUSBNode.sh", "VBoxTunctl", "testcase", "tst",
               "xpidl")

    for _file in shelltools.ls("."):
        if _file.startswith(exclude):
            continue

        print "Installing %s ..." % _file
        pisitools.insinto(VBoxLibDir, _file)

    pisitools.dobin("VBox*.sh", VBoxDataDir)
    pisitools.insinto(VBoxDataDir, "nls")

    # TODO: Add vboxwebsrv when ready
    # Binaries and Wrapper with Launchers
    apps = ("VBoxHeadless", "VBoxManage", "VBoxSDL", "VBoxVRDP", "VirtualBox",
            "VBoxBalloonCtrl")
    for link in apps:
        pisitools.dosym("../share/virtualbox/VBox.sh", "/usr/bin/%s" % link)

    pisitools.dobin("VBoxTunctl")

    # Desktop file, mimetype file for xml and icon
    pisitools.domove("%s/*.desktop" % VBoxLibDir, "/usr/share/applications")
    pisitools.domove("%s/*.png" % VBoxLibDir, "/usr/share/pixmaps")
    pisitools.domove("%s/*.xml" % VBoxLibDir, "/usr/share/mime/packages")

    # Mimetypes icons
    for size in ["16", "20", "24", "32", "48", "64", "72", "96", "128", "256"]:
        pisitools.insinto(
            "/usr/share/icons/hicolor/%sx%s/mimetypes" % (size, size),
            "icons/%sx%s/*.png" % (size, size))

    # Guest additions
    pisitools.dobin("additions/VBoxClient")
    pisitools.dobin("additions/VBoxControl")

    pisitools.dosbin("additions/VBoxService")
    pisitools.dosbin("additions/mount.vboxsf", "/sbin")

    pisitools.insinto("/lib/security", "additions/pam_vbox.so")

    pisitools.dolib("additions/VBoxOGL*")
    pisitools.dosym("../../../VBoxOGL.so",
                    "/usr/lib/xorg/modules/dri/vboxvideo_dri.so")

    #pisitools.insinto("/usr/lib/xorg/modules/drivers", "additions/vboxvideo_drv_system.so", "vboxvideo.so")
    #pisitools.insinto("/usr/lib/xorg/modules/input",   "additions/vboxmouse_drv_%s.so" % XorgVersion, "vboxmouse_drv.so")

    # Python bindings
    pisitools.insinto("%s/sdk/bindings/xpcom" % VBoxLibDir,
                      "sdk/bindings/xpcom/python")

    shelltools.cd("sdk/installer")
    shelltools.copy("vboxapisetup.py", "setup.py")
    shelltools.export("VBOX_INSTALL_PATH", VBoxLibDir)
    pythonmodules.install()

    shelltools.cd("../..")
    mvb_name = "module-virtualbox-%s" % get.srcVERSION()
    mvbg_name = "module-virtualbox-guest-%s" % get.srcVERSION()

    shelltools.copy("src", "%s/%s" % (get.workDIR(), mvb_name))
    shelltools.copy("additions/src", "%s/%s" % (get.workDIR(), mvbg_name))
    shelltools.cd(get.workDIR())
    shelltools.system("tar c %s | xz -9 > %s.tar.xz" % ((mvb_name, ) * 2))
    shelltools.unlinkDir(mvb_name)
    shelltools.system("tar c %s | xz -9 > %s.tar.xz" % ((mvbg_name, ) * 2))
    shelltools.unlinkDir(mvbg_name)
Exemple #32
0
def setup():
    shelltools.unlinkDir("ext/openssl")

    # create directories for apache, fcgi and fpm's Makefiles
    shelltools.makedirs("fcgi")
    shelltools.makedirs("apache")
    shelltools.makedirs("fpm")

    # link configure script
    shelltools.sym("../configure", "fcgi/configure")
    shelltools.sym("../configure", "apache/configure")
    shelltools.sym("../configure", "fpm/configure")

    shelltools.export("LC_ALL", "C")
    shelltools.export("CFLAGS",
                      "%s -fwrapv -lkrb5 -lgssapi_krb5 -lpam" % get.CFLAGS())
    shelltools.export("NO_INTERACTION", "1")
    shelltools.export("EXTENSION_DIR", "/usr/lib/php/modules")

    pisitools.dosed("configure.in", "PHP_UNAME=.*",
                    'PHP_UNAME="%s"' % get.lsbINFO()["DISTRIB_DESCRIPTION"])
    pisitools.dosed("ext/pgsql/config.m4", "include/postgresql",
                    " include/postgresql/pgsql")

    # Don't touch apache.conf
    for i in pisitools.ls("sapi/*/config.m4"):
        pisitools.dosed(i, "\\-i \\-a \\-n php5", "-i -n php5")
        pisitools.dosed(i, "\\-i \\-A \\-n php5", "-i -n php5")

    autotools.autoconf()

    # workaround for pkg-config 0.28
    pisitools.dosed("configure", " && test -n \"\$OPENSSL_INCS\"")

    common_options = "--sysconfdir=/etc \
                      --cache-file=./config.cache \
                      --with-zlib-dir=/usr/lib \
                      --with-libxml-dir=/usr/lib \
                      --with-jpeg-dir=/usr/lib/ \
                      --with-png-dir=/usr/lib/ \
                      --with-freetype-dir=/usr \
                      --without-pear \
                      --with-zend-vm=GOTO \
                      --with-zend-vm=SWITCH \
                      --with-pic \
                      --with-gnu-ld \
                      --with-system-tzdata=/usr/share/zoneinfo \
                      --with-mcrypt=/usr/bin/mcrypt \
                      --with-imap=shared \
                      --with-openssl=shared \
                      --with-imap-ssl \
                      --with-mysql-sock=/run/mysqld/mysqld.sock \
                      --disable-rpath \
                     "

    # Enable FastCGI and CGI
    shelltools.cd("fcgi")
    autotools.configure("--enable-cgi \
                         --disable-cli \
                         --with-config-file-path=/etc/php/cli \
                         --with-config-file-scan-dir=/etc/php/cli/ext \
                         %s \
                         %s" % (common_options, extensions()))

    # Enable Apache
    shelltools.cd("../apache")
    autotools.configure("--with-apxs2=/usr/bin/apxs \
                         --disable-cli \
                         --with-config-file-path=/etc/php/apache2 \
                         --with-config-file-scan-dir=/etc/php/apache2/ext \
                         %s \
                         %s" % (common_options, extensions()))
    # Enable FPM
    shelltools.cd("../fpm")
    autotools.configure("--enable-fpm \
                         --disable-cli \
                         --with-fpm-user=apache \
                         --with-fpm-group=apache \
                         --with-config-file-path=/etc/php/apache2 \
                         --with-config-file-scan-dir=/etc/php/apache2/ext \
                         %s \
                         %s" % (common_options, extensions()))
Exemple #33
0
def setup():
    checkdeletepath="%s/qtbase/src/3rdparty"  % absoluteWorkDir
    for dir in ('libjpeg', 'freetype', 'libpng', 'zlib', "xcb", "sqlite"):
        if os.path.exists(checkdeletepath+dir):
            shelltools.unlinkDir(checkdeletepath+dir)

    filteredCFLAGS = get.CFLAGS().replace("-g3", "-g")
    filteredCXXFLAGS = get.CXXFLAGS().replace("-g3", "-g")

    vars = {"PISILINUX_CC" :       get.CC() + (" -m32" if get.buildTYPE() == "emul32" else ""),
            "PISILINUX_CXX":       get.CXX() + (" -m32" if get.buildTYPE() == "emul32" else ""),
            "PISILINUX_CFLAGS":    filteredCFLAGS + (" -m32" if get.buildTYPE() == "emul32" else ""),
            "PISILINUX_LDFLAGS":   get.LDFLAGS() + (" -m32" if get.buildTYPE() == "emul32" else "")}

    for k, v in vars.items():
        pisitools.dosed("mkspecs/common/g++-base.conf", k, v)
        pisitools.dosed("mkspecs/common/g++-unix.conf", k, v)

    shelltools.export("CFLAGS", filteredCFLAGS)
    shelltools.export("CXXFLAGS", filteredCXXFLAGS)
    #check that dosed commands without releated patches
    pisitools.dosed("mkspecs/common/gcc-base-unix.conf", "\-Wl,\-rpath,")
    pisitools.dosed("mkspecs/common/gcc-base.conf", "\-O2", filteredCFLAGS)
    pisitools.dosed("mkspecs/common/gcc-base.conf", "^(QMAKE_LFLAGS\s+\+=)", r"\1 %s" % get.LDFLAGS())

    if not get.buildTYPE() == "emul32":
        #-no-pch makes build ccache-friendly
        options = "-v \
                   -no-pch \
                   -confirm-license \
                   -opensource \
                   -optimized-qmake \
                   -nomake tests \
                   -no-rpath \
                   -release \
                   -shared \
                   -accessibility \
                   -dbus-linked \
                   -fontconfig \
                   -glib \
                   -gtkstyle \
                   -icu \
                   -c++11 \
                   -system-harfbuzz \
                   -openssl-linked \
                   -system-libjpeg \
                   -system-libpng \
                   -system-sqlite \
                   -system-zlib \
                   -plugin-sql-sqlite \
                   -plugin-sql-odbc \
                   -plugin-sql-psql \
                   -plugin-sql-ibase \
                   -no-sql-tds \
                   -I/usr/include/firebird/ \
                   -I/usr/include/postgresql/server/ \
                   -no-separate-debug-info \
                   -no-strip \
                   -prefix %s \
                   -bindir %s \
                   -archdatadir %s\
                   -libdir %s \
                   -docdir %s \
                   -examplesdir %s \
                   -plugindir %s \
                   -translationdir %s \
                   -sysconfdir %s \
                   -datadir %s \
                   -importdir %s \
                   -headerdir %s \
                   -reduce-relocations" % (qt5.prefix, bindirQt5, qt5.archdatadir, qt5.libdir, qt5.docdir, qt5.examplesdir, qt5.plugindir, qt5.translationdir, qt5.sysconfdir, qt5.datadir, qt5.importdir, qt5.headerdir)
    else:
        pisitools.dosed("mkspecs/linux-g++-64/qmake.conf", "-m64", "-m32")
        shelltools.export("LDFLAGS", "-m32 %s" % get.LDFLAGS())
        options = "-no-pch \
                   -v \
                   -platform linux-g++-32 \
                   -prefix /usr \
                   -libdir /usr/lib32 \
                   -plugindir /usr/lib32/qt5/plugins \
                   -importdir /usr/lib32/qt5/imports \
                   -datadir /usr/share/qt5 \
                   -translationdir /usr/share/qt5/translations \
                   -sysconfdir /etc \
                   -qt-zlib \
                   -qt-libjpeg \
                   -qt-libpng \
                   -qt-xcb \
                   -qt-xkbcommon \
                   -qt-freetype \
                   -qt-pcre \
                   -qt-harfbuzz \
                   -nomake tests \
                   -openssl-linked \
                   -nomake examples \
                   -nomake tools \
                   -optimized-qmake \
                   -no-rpath \
                   -no-strip \
                   -dbus-linked \
                   -no-openvg \
                   -no-sse2 \
                   -confirm-license \
                   -reduce-relocations  \
                   -no-use-gold-linker \
                   -opensource "

    autotools.rawConfigure(options)
Exemple #34
0
def setup():
    shelltools.unlinkDir("win32build")
    cmaketools.configure(sourceDir=".")
Exemple #35
0
def setup():
    pisitools.flags.add("-I/usr/include/gtk-2.0/gdk")
    #make sure we don't use them
    checkdeletepath = "%s/qtbase/src/3rdparty" % absoluteWorkDir
    for dir in ('libjpeg', 'freetype', 'libpng', 'zlib', "libtiff"):
        if os.path.exists(checkdeletepath + dir):
            shelltools.unlinkDir(checkdeletepath + dir)

    filteredCFLAGS = get.CFLAGS().replace("-g3", "-g")
    filteredCXXFLAGS = get.CXXFLAGS().replace("-g3", "-g")

    vars = {
        "PISILINUX_CC":
        get.CC() + (" -m32" if get.buildTYPE() == "emul32" else ""),
        "PISILINUX_CXX":
        get.CXX() + (" -m32" if get.buildTYPE() == "emul32" else ""),
        "PISILINUX_CFLAGS":
        filteredCFLAGS + (" -m32" if get.buildTYPE() == "emul32" else ""),
        "PISILINUX_LDFLAGS":
        get.LDFLAGS() + (" -m32" if get.buildTYPE() == "emul32" else "")
    }

    for k, v in vars.items():
        pisitools.dosed("mkspecs/common/g++-base.conf", k, v)
        pisitools.dosed("mkspecs/common/g++-unix.conf", k, v)

    shelltools.export("CFLAGS", filteredCFLAGS)
    shelltools.export("CXXFLAGS", filteredCXXFLAGS)
    #check that dosed commands without releated patches
    pisitools.dosed("mkspecs/common/gcc-base-unix.conf", "\-Wl,\-rpath,")
    pisitools.dosed("mkspecs/common/gcc-base.conf", "\-O2", filteredCFLAGS)
    pisitools.dosed("mkspecs/common/gcc-base.conf", "^(QMAKE_LFLAGS\s+\+=)",
                    r"\1 %s" % get.LDFLAGS())

    if not get.buildTYPE() == "emul32":
        #-no-pch makes build ccache-friendly
        options = "-no-pch \
                   -v \
                   -stl \
                   -fast \
                   -qdbus \
                   -qvfb \
                   -glib \
                   -no-sql-sqlite2 \
                   -system-sqlite \
                   -system-zlib \
                   -system-libpng \
                   -system-libjpeg \
                   -system-libtiff \
                   -system-libmng \
                   -no-sql-sqlite \
                   -no-sql-odbc \
                   -no-sql-psql \
                   -no-sql-ibase \
                   -release \
                   -no-separate-debug-info \
                   -phonon \
                   -no-phonon-backend \
                   -no-webkit \
                   -no-xinerama \
                   -no-rpath \
                   -openssl-linked \
                   -dbus-linked \
                   -xmlpatterns \
                   -opensource \
                   -nomake demos \
                   -nomake examples \
                   -nomake docs \
                   -reduce-relocations \
                   -prefix %s \
                   -bindir %s \
                   -libdir %s \
                   -plugindir %s \
                   -translationdir %s \
                   -sysconfdir %s \
                   -datadir %s \
                   -importdir %s \
                   -headerdir %s \
                   -confirm-license " % (qt4.prefix, bindirQt4, qt4.libdir,
                                         qt4.plugindir, qt4.translationdir,
                                         qt4.sysconfdir, qt4.datadir,
                                         qt4.importdir, qt4.includedir)
    else:
        pisitools.dosed("mkspecs/linux-g++-64/qmake.conf", "-m64", "-m32")
        shelltools.export("LDFLAGS", "-m32 %s" % get.LDFLAGS())
        options = "-no-pch \
                   -v \
                   -prefix /usr \
                   -libdir /usr/lib32 \
                   -plugindir /usr/lib32/qt/plugins \
                   -importdir /usr/lib32/qt/imports \
                   -datadir /usr/share/qt \
                   -translationdir /usr/share/qt/translations \
                   -sysconfdir /etc \
                   -system-sqlite \
                   -no-phonon \
                   -no-phonon-backend \
                   -webkit \
                   -graphicssystem raster \
                   -openssl-linked \
                   -nomake demos \
                   -nomake examples \
                   -nomake docs \
                   -nomake tools \
                   -optimized-qmake \
                   -no-rpath \
                   -dbus-linked \
                   -reduce-relocations \
                   -no-openvg \
                   -confirm-license \
                   -opensource "

    autotools.rawConfigure(options)