Example #1
0
def setup():
    autotools.rawConfigure("--libdir=/lib%s \
                            --sysconfdir=/etc \
                            --disable-static  \
                            --mandir=/usr/share/man \
                            --libexecdir=/lib%s \
                            --bindir=%s" % (suffix, suffix, bindir))
Example #2
0
def setup():
    pisitools.dosed("doc/*", "http://www.lisp.org/HyperSpec/", "http://www.lispworks.com/documentation/HyperSpec/")
    pisitools.dosed("src/*.d", "http://www.lisp.org/HyperSpec/", "http://www.lispworks.com/documentation/HyperSpec/")
    pisitools.dosed("src/*.lisp", "http://www.lisp.org/HyperSpec/", "http://www.lispworks.com/documentation/HyperSpec/")

    autotools.rawConfigure("--prefix=/usr \
                            --fsstnd=Pardus \
                            --hyperspec=http://www.lispworks.com/documentation/HyperSpec/ \
                            --with-dynamic-ffi \
                            --with-module=bindings/glibc \
                            --with-module=clx/new-clx \
                            --with-module=dbus \
                            --with-module=fastcgi \
                            --with-module=gdbm \
                            --with-module=gtk2 \
                            --with-module=i18n \
                            --with-module=pari \
                            --with-module=pcre \
                            --with-module=postgresql \
                            --with-module=rawsock \
                            --with-module=readline \
                            --with-module=regexp \
                            --with-module=syscalls \
                            --with-module=wildcard \
                            --with-module=zlib")
Example #3
0
def setup():
    #shelltools.system("CFLAGS= \
    #                   sb2 ./configure")
    autotools.rawConfigure("--libdir=/lib \
                            --mandir=/usr/share/man \
                            --libexecdir=/lib \
                            --bindir=/bin")
Example #4
0
def setup():
	shelltools.export ("CFLAGS", "-g -O2 -DSQLITE_ENABLE_FTS3=1 \
            -DSQLITE_ENABLE_COLUMN_METADATA=1     \
            -DSQLITE_ENABLE_UNLOCK_NOTIFY=1       \
            -DSQLITE_SECURE_DELETE=1")

	autotools.rawConfigure ("--prefix=/usr --disable-static")
Example #5
0
def setup():
    shelltools.export("AUTOPOINT", "/bin/true")

    autotools.rawConfigure("--prefix=/usr \
                            --disable-static \
                            --disable-rpath \
                            --enable-activity-bookstore \
                            --enable-activity-configuration \
                            --enable-activity-music \
                            --enable-activity-photo \
                            --enable-activity-tv \
                            --enable-activity-video \
                            --enable-activity-weather \
                            --enable-browser-cdda \
                            --enable-browser-dvd \
                            --enable-browser-localfiles \
                            --enable-browser-valhalla \
                            --enable-browser-shoutcast \
                            --enable-browser-podcasts \
                            --enable-browser-netstreams \
                            --enable-browser-upnp \
                            --enable-input-keyboard \
                            --enable-libcurl \
                            --enable-libxml2 \
                            --enable-libxrandr")
Example #6
0
def setup():
    shelltools.export("CFLAGS","") # Use FFmpeg's CFLAGS

    # Setup version.h
    shelltools.unlink("version.sh")
    shelltools.echo("version.sh",'echo "#define FFMPEG_VERSION \\"SVN-r%s\\"" > version.h' % Revision)
    shelltools.chmod("version.sh")

    # CPU thing is just used for CMOV detection
    autotools.rawConfigure("--cpu=i686 \
                            --prefix=/usr \
                            --mandir=/usr/share/man \
                            --enable-gpl \
                            --enable-pthreads \
                            --enable-pp \
                            --enable-liba52 \
                            --enable-x264 \
                            --enable-xvid \
                            --enable-libfaad \
                            --enable-libfaac \
                            --enable-libvorbis \
                            --enable-libmp3lame \
                            --enable-libogg \
                            --enable-libamr-nb \
                            --enable-libamr-wb \
                            --enable-dc1394 \
                            --enable-libtheora \
                            --enable-shared \
                            --enable-x11grab \
                            --enable-libgsm \
                            --disable-static \
                            --disable-debug")
Example #7
0
def setup():
    shelltools.system('export DISTRIBUTION_PATCHES="patches/fontconfig-paths.diff \
                               patches/openjdk7_nonreparenting-wm.diff"')
                             
    autotools.rawConfigure("\
                            --disable-tests \
                            --disable-Werror \
                            --disable-downloading \
                            --with-parallel-jobs=%s \
                            --enable-pulse-java \
                            --enable-nss \
                            --with-rhino \
                            --enable-bootstrap \
                            --with-ecj-jar=/usr/share/java/ecj.jar \
                            --with-jdk-home=/usr/lib/jvm/java-7-openjdk \
                            --with-openjdk-src-zip=13970e76b784.tar.gz \
                            --with-hotspot-src-zip=69b542696e5b.tar.gz \
                            --with-corba-src-zip=e6ad5b912691.tar.gz \
                            --with-jaxp-src-zip=94b7e8e0d96f.tar.gz \
                            --with-jaxws-src-zip=bd9a50a78d04.tar.gz \
                            --with-jdk-src-zip=9448fff93286.tar.gz \
                            --with-langtools-src-zip=8c26a3c39128.tar.gz \
                            --with-abs-install-dir=/usr/lib/jvm/java-7-openjdk \
                            --with-pkgversion='PisiLinux build 7.u51_2.4.6' \
                           " % get.makeJOBS().replace("-j", ""))
Example #8
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --datadir=/share/cmake \
                            --docdir=/share/doc \
                            --mandir=/share/man \
                            --system-libs \
                            --no-qt-gui")
Example #9
0
def setup():
    pisitools.dosed("src/Makefile.in", "-O2", get.CFLAGS())
    pisitools.dosed("src/Makefile.in", "install -s", "install")

    autotools.rawConfigure("--prefix=/usr \
                            --mandir=/usr/share/man \
                            --datadir=/usr/share")
Example #10
0
def setup():
    shelltools.system("sed -i 's/ memfd_create/ qemu_memfd_create/' util/memfd.c")
    
    # disable fdt until dtc is in repo
    # pisitools.dosed("configure", 'fdt="yes"', 'fdt="no"')

    shelltools.export("CFLAGS", cflags)
    shelltools.export("LDFLAGS", extraldflags)

    # different build dir setups are not supported yet, so we build kvm by hand for now
    printfancy("configuring kvm")
    autotools.rawConfigure('%s \
                            --target-list="%s" \
                            ' % (cfgParamsCommon, targetListKvm))

    printfancy("building kvm")
    autotools.make("V=1 -j1 config-host.h %s" % buildldflags)
    autotools.make("V=1 %s" % buildldflags)
    shelltools.copy("x86_64-softmmu/qemu-system-x86_64", "qemu-kvm")
    autotools.make("clean")


    # kvmtest stuff is not in upstream tarball anymore, but they may put it back, be ready
    #printfancy("configuring kvmtest")
    #shelltools.cd(builddirkvmtest)
    #autotools.rawConfigure("--prefix=/usr \
    #                        --kerneldir=../../kernel")
    #shelltools.cd("../..")


    printfancy("configuring qemu")
    autotools.rawConfigure('%s \
                            --target-list="%s" \
                            --disable-kvm \
                            ' % (cfgParamsCommon, targetList))
Example #11
0
def setup():
    autotools.rawConfigure("--user=nginx \
                            --group=nginx \
                            --prefix=%(html)s \
                            --sbin-path=/usr/sbin/nginx \
                            --conf-path=%(conf)s \
                            --pid-path=%(pid)s \
                            --lock-path=%(lock)s \
                            --error-log-path=%(error)s \
                            --http-log-path=%(access)s \
                            --http-client-body-temp-path=%(home)s/client_body \
                            --http-proxy-temp-path=%(home)s/proxy \
                            --http-fastcgi-temp-path=%(home)s/fastcgi \
                            --with-ipv6 \
                            --with-http_ssl_module \
                            --with-http_realip_module \
                            --with-http_addition_module \
                            --with-http_xslt_module \
                            --with-http_image_filter_module \
                            --with-http_geoip_module \
                            --with-http_sub_module \
                            --with-http_dav_module \
                            --with-http_flv_module \
                            --with-http_gzip_static_module \
                            --with-http_stub_status_module \
                            --with-http_perl_module \
                            --with-mail \
                            --with-mail_ssl_module" % {'html': NGINX_HTML, \
                                                       'conf': NGINX_CONF, \
                                                       'pid': NGINX_PID, \
                                                       'lock': NGINX_LOCK, \
                                                       'error': ERROR_LOG, \
                                                       'access': ACCESS_LOG, \
                                                       'home': NGINX_HOME})
Example #12
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --docdir=/usr/share/doc/pcre \
                            --enable-utf \
                            --enable-unicode-properties \
                            --enable-pcregrep-libz \
                            --enable-pcregrep-libbz2")
Example #13
0
def setup():
    autotools.rawConfigure("--enable-elf-shlibs \
                            --disable-e2initrd-helper \
                            --disable-libblkid \
                            --disable-libuuid \
                            --disable-fsck \
                            --disable-uuidd")
Example #14
0
def setup():
    shelltools.export("CC", get.CC())
    shelltools.export("CXX", get.CXX())

    # many fun sandbox errors, phhh
    autotools.rawConfigure("--host=%s --prefix=/usr --mandir=/usr/share/man \
                           --infodir=%s/usr/share/info" % (get.HOST(), get.installDIR()))
Example #15
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --mandir=/usr/share/man \
                            --enable-everything \
                            --enable-perl \
                            --disable-iso14755 \
                            --enable-mousewheel \
                            --enable-slipwheeling \
                            --enable-xft \
                            --enable-pixbuf \
                            --enable-font-styles \
                            --enable-xpm-background \
                            --enable-transparency \
                            --enable-tinting \
                            --enable-fading \
                            --enable-smart-resize \
                            --enable-text-blink \
                            --enable-pointer-blank \
                            --enable-utmp \
                            --enable-wtmp \
                            --enable-rxvt-scroll \
                            --enable-next-scroll \
                            --enable-xterm-scroll \
                            --enable-frills \
                            --enable-keepscrolling \
                            --enable-selectionscrolling \
                            --enable-font-styles \
                            --enable-256-color \
                            --enable-combining")
Example #16
0
def setup():
    pisitools.flags.add("-fwrapv")

    pisitools.dosed("Lib/cgi.py","^#.* /usr/local/bin/python","#!/usr/bin/python")

    shelltools.unlinkDir("Modules/expat")
    shelltools.unlinkDir("Modules/zlib")
    shelltools.unlinkDir("Modules/_ctypes/darwin")
    shelltools.unlinkDir("Modules/_ctypes/libffi")
    shelltools.unlinkDir("Modules/_ctypes/libffi_arm_wince")
    shelltools.unlinkDir("Modules/_ctypes/libffi_msvc")
    shelltools.unlinkDir("Modules/_ctypes/libffi_osx")

    autotools.rawConfigure("\
                            --prefix=/usr \
                            --enable-ipv6 \
                            --enable-loadable-sqlite-extensions \
                            --enable-shared \
                            --with-computed-gotos \
                            --with-dbmliborder=gdbm:ndbm \
                            --with-fpectl \
                            --with-system-expat \
                            --with-system-ffi \
                            --with-system-libmpdec \
                            --with-threads \
                            --with-valgrind \
                            --without-ensurepip \
                           ")
Example #17
0
def setup():
    autotools.rawConfigure ("-opensource \
                             -eglfs \
                             -opengl es2 \
                             -xcb \
                             -no-pch \
                             -dbus-linked \
                             -icu \
                             -cups \
                             -nis \
                             -widgets \
                             -gui \
                             -qt-xcb \
                             -system-xkbcommon \
                             -openssl-linked \
                             -system-libjpeg \
                             -system-libpng \
                             -system-zlib \
                             -largefile \
                             -c++11 \
                             -shared \
                             -no-static \
                             -confirm-license \
                             -release \
                             -prefix /usr \
                             -archdatadir /usr/lib/qt5 \
                             -datadir /usr/share/qt5 \
                             -docdir /usr/share/doc/qt5 \
                             -sysconfdir /etc/xdg \
                             -nomake tests \
                             -examplesdir /usr/lib/qt5/examples")
Example #18
0
def setup():
    # CPU thing is just used for CMOV detection
    autotools.rawConfigure("--cpu=i686 \
                            --prefix=/usr \
                            --mandir=/usr/share/man \
                            --enable-gpl \
                            --enable-pthreads \
                            --enable-pp \
                            --enable-liba52 \
                            --enable-x264 \
                            --enable-xvid \
                            --enable-libfaad \
                            --enable-libfaac \
                            --enable-libvorbis \
                            --enable-libmp3lame \
                            --enable-libogg \
                            --enable-libdts \
                            --enable-amr_nb-fixed \
                            --enable-amr_wb \
                            --enable-dc1394 \
                            --enable-libtheora \
                            --enable-shared \
                            --enable-x11grab \
                            --enable-libgsm \
                            --disable-static \
                            --disable-ffserver \
                            --disable-debug")
Example #19
0
def setup():
    # qemu's configure script did not like other arguments
    autotools.rawConfigure("--prefix=/usr")

    # generated after configure
    pisitools.dosed("qemu/config-host.h",  "CONFIG_QEMU_SHAREDIR \"/usr/share/qemu\"", "CONFIG_QEMU_SHAREDIR \"/usr/share/kvm\"")
    pisitools.dosed("qemu/config-host.mak", "datadir=/usr/share/qemu", "datadir=/usr/share/kvm")
Example #20
0
def setup():
    autotools.rawConfigure('--prefix-dir="/%s" \
                            --binary-dir="bin" \
                            --data-dir="share/%s" \
                            --icon-dir="share/pixmaps" \
                            --icon-theme-dir="share/icons/hicolor" \
                            --man-dir="share/man/man6" \
                            --menu-dir="share/applications" \
                            --doc-dir="share/doc/%s" \
                            --install-dir="%s" \
                            --disable-strip \
                            --enable-lto \
                            --menu-group="Game;StrategyGame;" \
                            --without-allegro \
                            --with-sdl \
                            --with-zlib \
                            --with-liblzo2 \
                            --with-png \
                            --with-freetype \
                            --with-fontconfig \
                            --with-icu \
                            --without-iconv \
                            ' % (get.defaultprefixDIR(),
                                 get.srcNAME(),
                                 get.srcNAME(),
                                 get.installDIR()
                            ))
Example #21
0
def setup():
    pisitools.dosed("tmake/lib/linux-g++/tmake.conf", "TMAKE_CFLAGS_RELEASE\s*=.*", "TMAKE_CFLAGS_RELEASE = %s" % get.CFLAGS())
    pisitools.dosed("tmake/lib/linux-g++/tmake.conf", "TMAKE_CXXFLAGS_RELEASE\s*=.*", "TMAKE_CXXFLAGS_RELEASE = %s" % get.CXXFLAGS())
    pisitools.dosed("tmake/lib/linux-g++/tmake.conf", "TMAKE_LFLAGS_RELEASE\s*=.*", "TMAKE_LFLAGS_RELEASE = %s" % get.LDFLAGS())

    autotools.rawConfigure("--prefix %s/usr \
                            --with-doxywizard" % get.installDIR())
Example #22
0
def setup():
    shelltools.cd("vnc_unixsrc")
    shelltools.system("xmkmf -a")

    shelltools.cd("Xvnc")
    shelltools.export("IMAKECPP",  "/usr/bin/cpp")
    autotools.rawConfigure()
Example #23
0
def setup():
    shelltools.export("CFLAGS","%s -DRUNTIME_CPUDETECT" % get.CFLAGS())

    # to keep the source tarball small, write svn version by hand
    shelltools.unlink("version.sh")
    shelltools.echo("version.sh", '#!/bin/bash\necho "#define FFMPEG_VERSION  \\\"SVN-r%s\\\"" > version.h' % version)
    shelltools.chmod("version.sh", 0755)

    # CPU thing is just used for CMOV detection
    autotools.rawConfigure("--cpu=i686 \
                            --prefix=/usr \
                            --mandir=/usr/share/man \
                            --enable-gpl \
                            --enable-swscale \
                            --enable-pthreads \
                            --enable-postproc \
                            --enable-x11grab \
                            --enable-liba52 \
                            --enable-libx264 \
                            --enable-libxvid \
                            --enable-libfaad \
                            --enable-libfaac \
                            --enable-libvorbis \
                            --enable-libmp3lame \
                            --enable-libamr-nb \
                            --enable-libamr-wb \
                            --enable-libdc1394 \
                            --enable-libtheora \
                            --enable-libgsm \
                            --enable-shared \
                            --disable-stripping \
                            --disable-static \
                            --disable-debug")
Example #24
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")
Example #25
0
def setup():
    shelltools.cd('midori-%s' %(get.srcVERSION()) )
    autotools.rawConfigure("--prefix=/usr --enable-gtk3")
    cmaketools.configure("-DUSE_GTK2=OFF -DUSE_GTK3=1 -DCMAKE_SKIP_RPATH=ON -DCMAKE_SKIP_INSTALL_RPATH=ON")
    
    pisitools.dosed("CMakeCache.txt", "lib64", "lib")
    pisitools.dosed(".", "lib64", "lib", filePattern="cmake_install.cmake")
Example #26
0
def setup():
    autotools.rawConfigure(
        "--with-diffutils \
                            --prefix=/%s \
                            --host=%s \ "
        % (get.defaultprefixDIR(), get.HOST())
    )
Example #27
0
def setup():
#    for f in ["configure", "libmpdemux/demux_rtp.cpp", "libmpdemux/demux_rtp_internal.h"]:
#        pisitools.dosed(f, "([\"<])(liveMedia|BasicUsageEnvironment)(\.hh)([\">])", "\\1\\2/\\2\\3\\4")
#    pisitools.dosed("libmpdemux/demux_rtp.cpp", "GroupsockHelper.hh", "groupsock/GroupsockHelper.hh")
    shelltools.copytree("../ffmpeg-2.4.2", "ffmpeg")
    autotools.rawConfigure(' \
                            --prefix=/usr \
                            --enable-runtime-cpudetection \
                            --enable-gui \
                            --disable-arts \
                            --disable-liblzo \
                            --disable-speex \
                            --disable-openal \
                            --disable-libdv \
                            --disable-musepack \
                            --disable-esd \
                            --disable-mga \
                            --disable-ass-internal \
                            --disable-cdparanoia \
                            --enable-xvmc \
                            --enable-radio \
                            --enable-radio-capture \
                            --enable-smb \
                            --language=all \
                            --enable-ffmpeg_a \
                            --confdir=/etc/mplayer \
                            ')
Example #28
0
def setup():
    autotools.rawConfigure("-prefix %s \
                        -libdir %s \
                        -plugindir %s \
                        -examplesdir %s \
                        -demosdir %s \
                        " % (qt4.prefix, qt4.libdir, qt4.plugindir, qt4.examplesdir, qt4.demosdir))
Example #29
0
def setup():
    autotools.rawConfigure("--nointeractive \
                            --with-DIR_BIN=/usr/bin \
                            --with-DIR_SBIN=/usr/sbin \
                            --with-DIR_LIB=/usr/lib \
                            --with-DIR_LIBEXEC=/usr/sbin \
                            --with-DIR_LIBDATA=/usr/lib/fax \
                            --with-DIR_LOCKS=/var/lock \
                            --with-DIR_MAN=/usr/share/man \
                            --with-DIR_SPOOL=/var/spool/fax \
                            --with-FAXGID=dialout \
                            --with-FAXUID=dialout \
                            --with-DIR_HTML=/usr/share/doc/%s/html \
                            --with-DIR_CGI=%s \
                            --with-HTML=yes \
                            --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax \
                            --with-PATH_IMPRIP=\"\" \
                            --with-SYSVINIT=no \
                            --with-LIBTIFF=\"-ltiff -ljpeg -lz\" \
                            --with-OPTIMIZER=\"%s\" \
                            --with-DSO=auto \
                            --with-REGEX=yes \
                            --with-PATH_EGETTY=/bin/false \
                            --with-PATH_VGETTY=/bin/false \
                            --with-PAGESIZE=A4" % (get.srcTAG(), get.curDIR(), get.CFLAGS()))
Example #30
0
def setup():
    pisitools.dosed("etc/faxsetup.sh.in", "ALIASES=/usr/lib/aliases", "ALIASES=/etc/mail/aliases")
    autotools.rawConfigure("--nointeractive \
                            --with-DIR_BIN=/usr/bin \
                            --with-DIR_SBIN=/usr/sbin \
                            --with-DIR_LIB=/usr/lib \
                            --with-DIR_LIBEXEC=/usr/sbin \
                            --with-DIR_LIBDATA=/usr/lib/fax \
                            --with-DIR_LOCALE=/usr/share/locale \
                            --with-DIR_LOCKS=/var/lock \
                            --with-DIR_MAN=/usr/share/man \
                            --with-DIR_SPOOL=/var/spool/fax \
                            --with-FAXGID=dialout \
                            --with-FAXUID=dialout \
                            --with-DIR_HTML=/usr/share/doc/%s/html \
                            --with-DIR_CGI=%s \
                            --with-HTML=yes \
                            --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax \
                            --with-PATH_IMPRIP=\"\" \
                            --with-SYSVINIT=no \
                            --with-FONTMAP=/usr/share/fonts/default/ghostscript \
                            --with-LIBTIFF=\"-ltiff -ljpeg -lz\" \
                            --with-OPTIMIZER=\"%s\" \
                            --with-DSO=auto \
                            --with-REGEX=yes \
                            --with-PATH_EGETTY=/bin/false \
                            --with-PATH_VGETTY=/bin/false \
                            --with-PAGESIZE=A4" % (get.srcNAME(), get.curDIR(), get.CFLAGS()))
Example #31
0
def setup():
    autotools.rawConfigure()
Example #32
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --disable-bundled-qca")
Example #33
0
def setup():
    unset()

    shelltools.system("./bootstrap")
    autotools.rawConfigure("--with-pspdev=/opt/psp")
Example #34
0
def setup():
    autotools.rawConfigure("--prefix=/usr")
Example #35
0
def setup():
    #make sure we don't use them
    for d in ('libjpeg', 'freetype', 'libpng', 'zlib', 'libtiff'):
        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)

    # Enable webkit and phonon to successfully build assistant and webkit demos/examples
    #-no-pch makes build ccache-friendly
    autotools.rawConfigure("-no-pch \
                            -v \
                            -stl \
                            -fast \
                            -qdbus \
                            -qvfb \
                            -glib \
                            -no-sql-sqlite2 \
                            -system-sqlite \
                            -system-zlib \
                            -system-libpng \
                            -system-libjpeg \
                            -system-libtiff \
                            -system-libmng \
                            -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 \
                            -no-separate-debug-info \
                            -phonon \
                            -no-phonon-backend \
                            -webkit \
                            -no-rpath \
                            -openssl-linked \
                            -dbus-linked \
                            -xmlpatterns \
                            -opensource \
                            -reduce-relocations \
                            -prefix %s \
                            -libdir %s \
                            -docdir %s \
                            -examplesdir %s \
                            -demosdir %s\
                            -plugindir %s \
                            -translationdir %s \
                            -sysconfdir %s \
                            -datadir %s \
                            -importdir %s \
                            -headerdir %s \
                            -confirm-license " % (qt4.prefix, qt4.libdir, qt4.docdir, qt4.examplesdir, qt4.demosdir, qt4.plugindir, qt4.translationdir, qt4.sysconfdir, qt4.datadir, qt4.importdir, qt4.includedir))
Example #36
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --libdir=/usr/lib \
                            --includedir=/usr/include")
Example #37
0
def setup():
    fixPermissions("DOCS")
    shelltools.export("LINGUAS", "tr")

    shelltools.unlink("version.sh")
    shelltools.echo("version.sh", '#!/bin/bash\necho "#define VERSION \\\"dev-SVN-r%s\\\"" > version.h' % mp_version)
    shelltools.echo("version.sh", 'echo "#define MP_TITLE \\\"MPlayer dev-SVN-r%s (C) 2000-2008 MPlayer Team\\\" " >> version.h' % mp_version)
    shelltools.chmod("version.sh", 0755)

    shelltools.export("CFLAGS", "%s -ffast-math -fomit-frame-pointer" % get.CFLAGS())
    shelltools.export("CXXFLAGS", "%s -ffast-math -fomit-frame-pointer" % get.CXXFLAGS())

    autotools.rawConfigure('--prefix=/usr \
                            --confdir=/usr/share/mplayer \
                            --datadir=/usr/share/mplayer \
                            --disable-3dfx \
                            --disable-altivec \
                            --disable-bitmap-font \
                            --disable-debug \
                            --disable-dvdread-internal \
                            --disable-ssse3 \
                            --disable-faad-external \
                            --disable-fribidi \
                            --disable-ggi \
                            --disable-jack \
                            --disable-libdvdcss-internal \
                            --disable-mga \
                            --disable-svga \
                            --disable-tdfxfb \
                            --disable-tdfxvid \
                            --enable-aa \
                            --enable-alsa \
                            --enable-ass \
                            --enable-arts \
                            --enable-bl \
                            --enable-caca \
                            --enable-cdparanoia \
                            --enable-dvb \
                            --enable-dvdnav \
                            --enable-dvdread \
                            --enable-fbdev \
                            --enable-freetype \
                            --enable-ftp \
                            --enable-gif \
                            --enable-gl \
                            --enable-gui \
                            --enable-inet6 \
                            --enable-joystick \
                            --enable-jpeg \
                            --enable-langinfo \
                            --enable-largefiles \
                            --enable-libamr_nb \
                            --enable-libamr_wb \
                            --enable-libcdio \
                            --enable-liblzo \
                            --enable-lirc \
                            --enable-mad \
                            --enable-mencoder \
                            --enable-menu \
                            --enable-mmx \
                            --enable-mmxext \
                            --enable-network \
                            --enable-ossaudio \
                            --enable-pulse \
                            --enable-png \
                            --enable-radio \
                            --enable-radio-capture \
                            --enable-radio-v4l2 \
                            --enable-real \
                            --enable-rtc \
                            --enable-runtime-cpudetection \
                            --enable-cmov \
                            --enable-sdl \
                            --enable-shm \
                            --enable-smb \
                            --enable-sse \
                            --enable-tga \
                            --enable-tv \
                            --enable-tv-v4l1 \
                            --enable-tv-v4l2 \
                            --enable-tv-teletext \
                            --enable-unrarexec \
                            --enable-libvorbis \
                            --enable-v4l2 \
                            --enable-v4lw \
                            --enable-win32dll \
                            --enable-x11 \
                            --enable-xf86keysym \
                            --enable-xinerama \
                            --enable-xshape \
                            --enable-xv \
                            --enable-xvmc \
                            --with-xvmclib=XvMCW \
                            --language=tr \
                            --charset=UTF-8 \
                            --codecsdir=/usr/lib/%(esdir)s \
                            --win32codecsdir=/usr/lib/%(esdir)s \
                            --xanimcodecsdir=/usr/lib/%(esdir)s \
                            --realcodecsdir=/usr/lib/%(esdir)s \
                            --disable-rpath \
                            --disable-esd \
                            --disable-nas' \
                            % {"esdir": "essential"})
Example #38
0
def setup():
    autotools.rawConfigure("--without-klibc \
                            --with-x86emu")
Example #39
0
def setup():
    autotools.rawConfigure("--enable-elf-shlibs \
                            --disable-e2initrd-helper \
                            --disable-libblkid")
Example #40
0
def setup():
	autotools.rawConfigure('--prefix=/usr --distro=pardus')
Example #41
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --qt-dir=/usr/qt/3 \
                            --build-qplayer \
                            --build-qslideshow")
Example #42
0
def setup():
    # Make it build with libtool 1.5
    #shelltools.system("rm -rf m4/lt* m4/libtool.m4")
    shelltools.system(
        "sed -i '/DEPRECATED/s:^://:'  modules/text_renderer/freetype/text_layout.c"
    )
    shelltools.system("export CFLAGS+=-I/usr/include/samba-4.0")
    shelltools.system("export CPPFLAGS+=-I/usr/include/samba-4.0")
    shelltools.system("export CXXFLAGS+=-std=c++11")

    shelltools.export("AUTOPOINT", "true")
    shelltools.system("./bootstrap")
    autotools.autoreconf("-vfi")
    autotools.rawConfigure("\
                            --prefix=/usr \
                            --libdir=/usr/lib \
                            --sysconfdir=/etc \
                            --with-default-font-family=Sans \
                            --with-default-monospace-font-family=Monospace \
                            --with-default-font=/usr/share/fonts/dejavu/DejaVuSans.ttf \
                            --with-default-monospace-font=/usr/share/fonts/dejavu/DejaVuSansMono.ttf \
                            --with-x \
                              BUILDCC=gcc \
                              LUAC=luac  LUA_LIBS='`pkg-config --libs lua`' \
                              RCC=/usr/bin/rcc-qt5 \
                            --disable-asdcp \
                            --disable-coverage \
                            --disable-cprof \
                            --disable-crystalhd \
                            --disable-decklink \
                            --disable-goom \
                            --disable-kai \
                            --disable-kva \
                            --disable-maintainer-mode \
                            --disable-opensles \
                            --disable-rpi-omxil \
                            --disable-shine \
                            --disable-sndio \
                            --disable-vsxu \
                            --disable-wasapi \
                            --disable-altivec \
                            --disable-dependency-tracking \
                            --disable-optimizations \
                            --disable-jack \
                            --disable-oss \
                            --disable-opencv \
                            --disable-rpath \
                            --disable-static \
                            --disable-update-check \
                            --disable-silent-rules \
                            --disable-mfx \
                            --enable-ncurses \
                            --enable-a52 \
                            --enable-aa \
                            --enable-alsa \
                            --enable-bluray \
                            --enable-dc1394 \
                            --enable-dbus \
                            --enable-dca \
                            --enable-dvbpsi \
                            --enable-dvdnav \
                            --enable-dvdread \
                            --enable-faad \
                            --enable-fast-install \
                            --enable-flac \
                            --enable-freetype \
                            --enable-fribidi \
                            --enable-gnutls \
                            --enable-libcddb \
                            --enable-libmpeg2 \
                            --enable-libxml2 \
                            --enable-lirc \
                            --enable-libva \
                            --enable-live555 \
                            --enable-lua \
                            --enable-mad \
                            --enable-mod \
                            --enable-mpc \
                            --enable-nls \
                            --enable-ogg \
                            --enable-opus \
                            --enable-png \
                            --enable-projectm \
                            --enable-pulse \
                            --enable-realrtsp \
                            --enable-screen \
                            --enable-sftp \
                            --enable-schroedinger \
                            --enable-shared \
                            --enable-smbclient \
                            --enable-sout \
                            --enable-speex \
                            --enable-svg \
                            --enable-theora \
                            --enable-twolame \
                            --enable-upnp \
                            --enable-v4l2 \
                            --enable-vlc \
                            --enable-vcd \
                            --enable-mtp \
                            --enable-vlm \
                            --enable-vorbis \
                            --enable-x264 \
                            --enable-x265 \
                            --enable-xvideo \
                           ")
    #enable-skins2 \ --disable-qt4 \
    #shelltools.export("CFLAGS", "%s -fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_1" % get.CFLAGS())

    # for fix unused dependency
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Example #43
0
def setup():
    shelltools.export("AUTOPOINT", "/bin/true")
    shelltools.system("./autogen.sh")
    autotools.autoreconf("-vfi")
    autotools.rawConfigure("--libdir=/usr/lib \
                            --prefix=/usr")
Example #44
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --bindir=/bin")
Example #45
0
def setup():
    autotools.autoreconf("-vfi")
    autotools.rawConfigure("--disable-static \
                            --libdir=/usr/lib \
                            --prefix=/usr")
Example #46
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --bindir=/usr/bin \
                            --datadir=/usr/share \
                            --qtdir=/usr/qt/4")
Example #47
0
def setup():
    autotools.rawConfigure("--with-diffutils \
                            --prefix=/%s \
                            --host=%s \ "                                          %
                            (get.defaultprefixDIR(), \
                             get.HOST()))
Example #48
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --system-libs \
                            --docdir=/share/doc/cmake-%s-%s \
                            --mandir=/share/man" %
                           (get.srcVERSION(), get.srcRELEASE()))
Example #49
0
def setup():
    fixPermissions("DOCS")
    shelltools.export("LINGUAS", "tr")

    shelltools.unlink("version.sh")
    shelltools.echo(
        "version.sh",
        '#!/bin/bash\necho "#define VERSION \\\"dev-SVN-r%s\\\"" > version.h' %
        version)
    shelltools.echo(
        "version.sh",
        'echo "#define MP_TITLE \\\"MPlayer dev-SVN-r%s (C) 2000-2007 MPlayer Team\\\" " >> version.h'
        % version)
    shelltools.chmod("version.sh", 0755)

    # let's try these flags and see if it borks
    # shelltools.export("CFLAGS", "%s -ffast-math -fomit-frame-pointer -D__STDC_LIMIT_MACROS" % get.CFLAGS())
    # shelltools.export("CXXFLAGS", "%s -ffast-math -fomit-frame-pointer -D__STDC_LIMIT_MACROS" % get.CXXFLAGS())
    shelltools.export("CFLAGS",
                      "%s -ffast-math -fomit-frame-pointer" % get.CFLAGS())
    shelltools.export("CXXFLAGS",
                      "%s -ffast-math -fomit-frame-pointer" % get.CXXFLAGS())

    autotools.rawConfigure('--prefix=/usr \
                         --confdir=/usr/share/mplayer \
                         --datadir=/usr/share/mplayer \
                         --disable-3dfx \
                         --disable-3dnow \
                         --disable-3dnowext \
                         --disable-altivec \
                         --disable-bitmap-font \
                         --disable-debug \
                         --disable-dvdread-internal \
                         --disable-faad-external \
                         --disable-fribidi \
                         --disable-gcc-check \
                         --disable-ggi \
                         --disable-jack \
                         --disable-libdvdcss-internal \
                         --disable-mga \
                         --disable-svga \
                         --disable-tdfxfb \
                         --disable-tdfxvid \
                         --enable-aa \
                         --enable-alsa \
                         --enable-ass \
                         --enable-amr_nb-fixed \
                         --enable-amr_wb \
                         --enable-arts \
                         --enable-bl \
                         --enable-caca \
                         --enable-cdparanoia \
                         --enable-color-console \
                         --enable-dvb \
                         --enable-dvdnav \
                         --enable-dvdread \
                         --enable-esd \
                         --enable-fbdev \
                         --enable-freetype \
                         --enable-ftp \
                         --enable-gif \
                         --enable-gl \
                         --enable-gui \
                         --enable-inet6 \
                         --enable-joystick \
                         --enable-jpeg \
                         --enable-langinfo \
                         --enable-largefiles \
                         --enable-libcdio \
                         --enable-libdts \
                         --enable-liblzo \
                         --enable-lirc \
                         --enable-mad \
                         --enable-mencoder \
                         --enable-menu \
                         --enable-mmx \
                         --enable-mmxext \
                         --enable-nas \
                         --enable-network \
                         --enable-ossaudio \
                         --enable-png \
                         --enable-radio \
                         --enable-radio-capture \
                         --enable-real \
                         --enable-rtc \
                         --enable-runtime-cpudetection \
                         --enable-cmov \
                         --enable-sdl \
                         --enable-shm \
                         --enable-smb \
                         --enable-sse \
                         --enable-tga \
                         --enable-tv \
                         --enable-tv-v4l1 \
                         --enable-tv-v4l2 \
                         --enable-unrarlib \
                         --enable-libvorbis \
                         --enable-win32 \
                         --enable-x11 \
                         --enable-xf86keysym \
                         --enable-xinerama \
                         --enable-xshape \
                         --enable-xv \
                         --enable-xvmc \
                         --with-xvmclib=XvMCW \
                         --language=tr \
                         --charset=UTF-8 \
                         --codecsdir=/usr/lib/%(esdir)s \
                         --win32codecsdir=/usr/lib/%(esdir)s \
                         --xanimcodecsdir=/usr/lib/%(esdir)s \
                         --realcodecsdir=/usr/lib/%(esdir)s \
                         --disable-rpath' \
                         % {"esdir": "essential"})

    # stuff that fail hede=yes check, but working with hede=auto
    # --enable-directfb \
    # --enable-fontconfig \
    # --enable-xvid \
    # --enable-theora \

    pisitools.dosed("config.mak", "GIF_LIB =", "GIF_LIB = -lungif")
Example #50
0
def setup():
    autotools.rawConfigure("--prefix=/usr \
                            --sysconfdir=/etc \
                            --enable-dlna")
Example #51
0
def setup():
	autotools.rawConfigure ("--prefix=%(ROOT)s/usr --bindir=%(ROOT)s/bin --libdir=%(ROOT)s/lib --libexecdir=%(ROOT)s/lib --includedir=%(ROOT)s/usr/include --datadir=%(ROOT)s/usr/share --mandir=%(ROOT)s/usr/share/man" % { 'ROOT': get.installDIR()} )
Example #52
0
def setup():
    langs = "en-US af ar as bg bn br ca cs cy da de dz el es et eu fa fi fr ga gl gu he hr hu it ja ko kn lt lv mai ml mr nb nl nn nr nso or pa-IN pl pt pt-BR ro ru sh si sk sl sr ss st sv ta te th tn tr ts uk ve xh zh-CN zh-TW zu"
    vars = {"lang": langs, "jobs": "1", "etar": get.workDIR()}
    #            "jobs": get.makeJOBS().replace("-j", ""),

    autotools.aclocal("-I m4")
    autotools.autoconf()
    shelltools.touch("autogen.lastrun")
    autotools.rawConfigure('--with-vendor="Pardus Anka" \
                       --with-unix-wrapper="libreoffice" \
                       --with-ant-home="/usr/share/ant" \
                       --with-jdk-home="/opt/sun-jdk" \
                       --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
                       --libdir=/usr/lib --mandir=/usr/share/man \
                       --enable-release-build \
                       --enable-verbose \
                       --disable-dependency-tracking \
                       --disable-rpath \
                       --disable-crashdump \
                       --disable-ccache \
                       --disable-epm \
                       --disable-online-update \
                       --disable-pch \
                       --with-system-jars \
                       --with-system-libs \
                       --with-system-mythes \
                       --with-system-headers \
                       --with-lang="%(lang)s" \
                       --enable-graphite \
                       --enable-cups \
                       --enable-dbus \
                       --enable-evolution2 \
                       --enable-gio \
                       --disable-gnome-vfs \
                       --disable-kde \
                       --enable-kde4 \
                       --enable-gtk3 \
                       --enable-largefile \
                       --enable-lockdown \
                       --enable-mergelibs \
                       --enable-opengl \
                       --enable-odk \
                       --enable-randr \
                       --enable-randr-link \
                       --enable-extension-integration \
                       --enable-scripting-beanshell \
                       --enable-scripting-javascript \
                       --enable-ext-wiki-publisher \
                       --enable-ext-nlpsolver \
                       --disable-ext-report-builder \
                       --disable-ext-mysql-connector \
                       --with-system-mysql \
                       --enable-python=system \
                       --enable-cairo-canvas \
                       --with-system-cairo \
                       --without-fonts \
                       --without-afms \
                       --without-ppds \
                       --with-system-libexttextcat \
                       --without-system-jfreereport \
                       --without-system-apache-commons \
                       --with-helppack-integration \
                       --with-system-beanshell \
                       --with-system-clucene \
                       --with-system-cppunit \
                       --with-system-graphite \
                       --with-system-libcmis \
                       --with-system-libwpg \
                       --with-system-libwps \
                       --with-system-libvisio \
                       --with-system-mdds \
                       --with-system-redland \
                       --with-system-ucpp \
                       --with-system-dicts \
                       --with-system-libexttextcat \
                       --with-system-nss \
                       --without-system-hsqldb \
                       --without-system-mozilla \
                       --without-myspell-dicts \
                       --without-system-npapi-headers \
                       --with-external-dict-dir=/usr/share/hunspell \
                       --with-external-hyph-dir=/usr/share/hyphen \
                       --with-external-thes-dir=/usr/share/mythes \
                       --with-alloc=system \
                       --without-system-sane \
                       --without-system-servlet-api \
                       --without-system-vigra \
                       --without-sun-templates \
                       --disable-fetch-external \
                       --with-parallelism=%(jobs)s \
                       --with-external-tar="%(etar)s"' % vars)
Example #53
0
def setup():
    autotools.rawConfigure("--prefix=/usr --enable-dbus --enable-nls --enable-sm --disable-rpath")
Example #54
0
def setup():
    autotools.rawConfigure("--prefix=/usr")
    cmaketools.configure("-DUSE_GTK2=OFF -DUSE_GTK3=1 -DCMAKE_SKIP_RPATH=ON -DCMAKE_SKIP_INSTALL_RPATH=ON")
    
    pisitools.dosed("CMakeCache.txt", "lib64", "lib")
    pisitools.dosed(".", "lib64", "lib", filePattern="cmake_install.cmake")
Example #55
0
def setup():
    autotools.rawConfigure(
        "-disable-gtk -disable-gtk2 -disable-tcl -disable-ssl -disable-apache -without-nethttpd -without-rpc-auth-dh -bindir /usr/bin -datadir /usr/share/ocamlnet"
    )
Example #56
0
def setup():
    shelltools.system("ulimit -c unlimited")
    shelltools.system("ccache -M 1025")
    vars = {"lang": langs, "jobs": psutil.NUM_CPUS, "etar": get.workDIR()}
    shelltools.system("./autogen.sh")
    autotools.aclocal("-I m4")
    autotools.autoconf()
    pisitools.dosed(
        "sysui/desktop/menus/draw.desktop",
        "Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;",
        "Categories=Office;")
    # avoid running autogen.sh on make
    shelltools.touch("autogen.lastrun")
    autotools.rawConfigure('--with-vendor="PisiLinux" \
                       --with-ant-home="/usr/share/ant" \
                       --with-lang="%(lang)s" \
                       --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
                       --libdir=/usr/lib --mandir=/usr/share/man \
                       --with-jdk-home="/usr/lib/jvm/java-7-openjdk" \
                       --enable-release-build \
                       --enable-crashdump \
                       --enable-dbus \
                       --enable-evolution2 \
                       --enable-gio \
                       --enable-kde4 \
                       --enable-lockdown \
                       --enable-opengl \
                       --enable-odk \
                       --enable-scripting-beanshell \
                       --enable-scripting-javascript \
                       --enable-ext-wiki-publisher \
                       --enable-ext-nlpsolver \
                       --enable-python=system \
                       --enable-split-app-modules \
                       --enable-avahi \
                       --enable-gtk3 \
                       --enable-gstreamer \
                       --enable-opencl \
                       --enable-openssl \
                       --enable-lockdown \
                       --enable-orcus \
                       --disable-kde \
                       --disable-gstreamer-0-10 \
                       --disable-verbose \
                       --disable-gnome-vfs \
                       --disable-dependency-tracking \
                       --disable-telepathy \
                       --without-system-apache-commons \
                       --without-system-libexttextcat \
                       --without-system-jfreereport \
                       --without-system-liblangtag \
                       --without-system-boost \
                       --without-system-hsqldb \
                       --without-myspell-dicts \
                       --without-system-orcus \
                       --without-system-npapi-headers \
                       --without-ppds \
                       --without-afms \
                       --without-fonts \
                       --without-doxygen \
                       --with-system-libs \
                       --with-system-headers \
                       --with-system-cairo \
                       --with-system-mythes \
                       --with-system-coinmp \
                       --with-system-libabw \
                       --with-system-libebook \
                       --with-system-libfreehand \
                       --with-system-libpagemaker \
                       --with-system-icu \
                       --with-system-libcdr \
                       --with-system-libwpg \
                       --with-system-libwps \
                       --with-system-redland \
                       --with-system-clucene \
                       --with-system-libmspub \
                       --with-system-cppunit \
                       --with-system-libmwaw \
                       --with-system-mdds \
                       --with-system-libodfgen \
                       --with-system-libgltf \
                       --with-system-libetonyek \
                       --with-system-librevenge \
                       --with-system-libatomic_ops \
                       --with-system-libcmis \
                       --with-system-beanshell \
                       --with-system-graphite \
                       --with-system-dicts \
                       --with-system-libvisio \
                       --with-system-harfbuzz \
                       --with-system-firebird \
                       --with-external-dict-dir=/usr/share/hunspell \
                       --with-external-hyph-dir=/usr/share/hyphen \
                       --with-external-thes-dir=/usr/share/mythes \
                       --with-helppack-integration \
                       --with-alloc=system \
                       --with-parallelism=%(jobs)s \
                       --with-external-tar="%(etar)s" \
                       --disable-fetch-external' % vars)
Example #57
0
def setup():
    shelltools.makedirs("m4")

    autotools.rawConfigure("--libdir=/usr/lib32 \
                            --includedir=/usr/include \
                            --prefix=/usr")
Example #58
0
def setup():
    autotools.rawConfigure('--prefix=/usr \
                            --enable-slirp \
                            --enable-alsa')
Example #59
0
def setup():
    # qemu's configure script did not like other arguments
    autotools.rawConfigure('--prefix=/usr \
                            --audio-drv-list="alsa pa"')
Example #60
0
def setup():
    autotools.rawConfigure("--prefix=/usr/qt/3")
    pisitools.dosed("Makefile", "^(CXXFLAGS .*)$", r"\1 -fPIC ")