Esempio n. 1
0
def setup():
    shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS())
    # autoheader fails when we "autoreconf -vif -Imacros" the package.
    #autotools.autoreconf("-vif -Imacros")
    autotools.aclocal("--force -Imacros")
    libtools.libtoolize("--copy --force")
    autotools.autoconf("--force -Imacros")

    autotools.configure("--with-readline \
                         --disable-sse2 \
                         --disable-rpath \
                         --disable-static \
                         --disable-openmp \
                         --enable-gui \
                         --without-gnome \
                         --with-gtksourceview \
                         --with-pic \
                         --with-audio \
                         --with-mpfr")

                         #Disable doc for now
                         # config.status: error: cannot find input file: `doc/commands/Makefile.in'
                         #--enable-build-doc \
    
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 2
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")
    
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 3
0
def setup():
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()

    autotools.configure()
Esempio n. 4
0
def setup():
    shelltools.makedirs("m4")
    # Fix PATHs in manpages
    pisitools.dosed("bin/named/named.8", "/etc/named.conf", "/etc/bind/named.conf")
    pisitools.dosed("bin/check/named-checkconf.8", "/etc/named.conf", "/etc/bind/named.conf")
    pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.conf", "/etc/bind/rndc.conf")
    pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.key", "/etc/bind/rndc.key")

    # Adjust version
    pisitools.dosed("version", "^RELEASEVER=.*$", "RELEASEVER=Pisi Linux-1.0")

    libtools.libtoolize("-cf")
    autotools.aclocal("-I m4")
    autotools.autoreconf("-vfi")

    autotools.configure(
        "--localstatedir=/var \
                         --sysconfdir=/etc/bind \
                         --with-openssl=/usr \
                         --with-libtool \
                         --with-pic \
                         --with-randomdev=/dev/urandom \
                         --enable-linux-caps \
                         --enable-threads \
                         --enable-exportlib \
                         --with-export-libdir=/usr/lib \
                         --with-export-includedir=/usr/include \
                         --includedir=/usr/include/bind9 \
                         --enable-ipv6 \
                         --enable-largefile \
                         --disable-static"
    )

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 5
0
def setup():
    shelltools.makedirs("m4")
    # Fix PATHs in manpages
    pisitools.dosed("bin/named/named.8", "/etc/named.conf", "/etc/bind/named.conf")
    pisitools.dosed("bin/check/named-checkconf.8", "/etc/named.conf", "/etc/bind/named.conf")
    pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.conf", "/etc/bind/rndc.conf")
    pisitools.dosed("bin/rndc/rndc.8", "/etc/rndc.key", "/etc/bind/rndc.key")

    # Adjust version
    pisitools.dosed("version", "^RELEASEVER=.*$", "RELEASEVER=Pisi Linux-1.0")

    libtools.libtoolize("-cf")
    autotools.aclocal("-I m4")
    autotools.autoreconf("-vfi")

    autotools.configure("--localstatedir=/var \
                         --sysconfdir=/etc/bind \
                         --with-openssl=/usr \
                         --with-libtool \
                         --with-pic \
                         --with-randomdev=/dev/urandom \
                         --enable-linux-caps \
                         --enable-threads \
                         --enable-exportlib \
                         --with-export-libdir=/usr/lib \
                         --with-export-includedir=/usr/include \
                         --includedir=/usr/include/bind9 \
                         --enable-ipv6 \
                         --enable-largefile \
                         --disable-static")
Esempio n. 6
0
def setup():
    shelltools.export("R_HOME_DIR", "/usr/lib/R")
    shelltools.export("BLAS_LIBS","/usr/lib")
    shelltools.export("LAPACK_LIBS","-L/usr/lib -llapack -lblas")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    autotools.configure("--prefix=/usr \
                         --libdir=/usr/lib \
                         --sysconfdir=/etc/R \
                         --datarootdir=/usr/share \
                         --with-recommended-packages \
                         --enable-R-profiling \
                         --enable-R-shlib \
                         --enable-shared \
                         --enable-prebuilt-html \
                         --disable-openmp \
                         --with-blas=-lblas \
                         --with-lapack \
                         --without-tcltk \
                         --with-readline \
                         rsharedir=/usr/share/R/ \
                         rdocdir=/usr/share/doc/R \
                         rincludedir=/usr/include/R \
                         --with-x")
Esempio n. 7
0
def setup():
    libtools.libtoolize("--copy --force")

    autotools.autoconf()
    autotools.aclocal()
    autotools.configure("--disable-static \
                         --enable-opt")
Esempio n. 8
0
def setup():
    libtools.libtoolize()
    autotools.aclocal("-I m4")
    autotools.autoreconf("-vif")
    autotools.configure("--sysconfdir=/etc/snort \
                         --enable-sourcefire \
                         --enable-zlib \
                         --enable-gre \
                         --enable-mpls \
                         --enable-targetbased \
                         --enable-ppm \
                         --enable-perfprofiling \
                         --enable-active-response \
                         --enable-normalizer \
                         --enable-reload \
                         --enable-react \
                         --enable-flexresp3 \
                         --enable-shared-rep \
                         --disable-react \
                         --enable-non-ether-decoders \
                         --enable-ha \
                         --disable-corefiles \
                         --with-daq-libraries=/usr/lib/ \
                         --with-daq-includes=/usr/include \
                         --enable-gdb \
                         --enable-inline-init-failopen \
                         --enable-linux-smp-stats \
                         --enable-side-channel \
                         --enable-control-socket")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 9
0
def setup():
    autotools.aclocal("-I /usr/share/xfce4/dev-tools/m4macros")
    autotools.autoconf()
    autotools.automake()
    libtools.libtoolize()

    autotools.configure()
Esempio n. 10
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize("--force --copy")
    autotools.autoheader()
    autotools.automake("--add-missing --copy -Wno-portability")
    autotools.autoconf()
    autotools.rawConfigure("--prefix=/usr --enable-threads")
Esempio n. 11
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize("--force --copy")
    autotools.autoreconf()
    autotools.configure("--with-gtk=2.0 \
                        PYTHON=/usr/bin/python2.7 \
                        --with-python")
Esempio n. 12
0
def setup():
    shelltools.export("DSOFLAGS", get.LDFLAGS())
    shelltools.export("CFLAGS", "%s -DLDAP_DEPRECATED" % get.CFLAGS())

    autotools.aclocal()
    autotools.autoconf()
    autotools.configure('--with-cups-user=pnp \
                         --with-cups-group=pnp \
                         --with-system-groups=pnpadmin \
                         --with-docdir=/usr/share/cups/html \
                         --localstatedir=/var \
                         --enable-pam \
                         --enable-ssl \
                         --enable-gnutls \
                         --enable-slp \
                         --enable-nls \
                         --enable-dbus \
                         --enable-png \
                         --enable-jpeg \
                         --enable-tiff \
                         --enable-pie \
                         --enable-relro \
                         --enable-dnssd \
                         --without-rcdir \
                         --enable-threads \
                         --enable-ldap \
                         --enable-libpaper \
                         --with-optim="%s -fstack-protector-all" \
                         --without-php' % get.CFLAGS())
Esempio n. 13
0
def setup():

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

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

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

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

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

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

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

    shelltools.cd("..")

    autotools.configure()
Esempio n. 14
0
def setup():
	autotools.aclocal("-I m4")
	libtools.libtoolize("--force --copy")
	autotools.autoheader()
	autotools.automake("--add-missing --copy -Wno-portability")
	autotools.autoconf()
	autotools.rawConfigure("--prefix=/usr --enable-threads --disable-dependency-tracking")
Esempio n. 15
0
def setup():
    shelltools.cd("lib-src/portmixer")
    autotools.autoreconf("-vi")
    shelltools.cd("../..")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    shelltools.export("LIBS", "-lavcodec")
    #shelltools.export("WX_CONFIG=wx-config-gtk3 ./configure", "/usr/bin/wxconfig")
    autotools.configure("--enable-unicode \
                         WX_CONFIG=wx-config-gtk3 \
                         --enable-nyquist \
                         --enable-ladspa \
                         --with-lib-preference='system local' \
                         --with-libsndfile=system \
                         --prefix=/usr \
                         --docdir=/usr/share/doc/audacity \
                         --with-expat=system \
                         --with-libsamplerate \
                         --with-lame=system \
                         --with-libvorbis \
                         --with-libmad \
                         --with-libflac \
                         --without-libid3tag \
                         --with-sbsms \
                         --with-soundtouch \
                         --with-libvamp \
                         --with-libtwolame \
                         --with-ffmpeg=system \
                         --with-midi \
                         --with-taglib \
                         --without-lv2 \
                         --with-portmixer")
Esempio n. 16
0
def setup():
    # Fix all linkage problems :(((
    shelltools.export("CC", "gcc")

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

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

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

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

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

    shelltools.cd("../")

    autotools.configure("--enable-static=no")
Esempio n. 17
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake()

    autotools.configure()
Esempio n. 18
0
def setup():
    autotools.aclocal()
    autotools.autoconf()

    # no svga dep. yet
    #FIXME svgalibs dep.
    autotools.configure("--without-svga --with-x COMPILED_BY=\"Pardus\"")
Esempio n. 19
0
def setup():
    shelltools.cd("lib-src/portmixer")
    autotools.autoreconf()
    shelltools.cd("../..")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    shelltools.export("LIBS", "-lavcodec")
    shelltools.export("WX_CONFIG", "/usr/bin/wxconfig")
    autotools.configure("--enable-unicode \
                         --enable-nyquist \
                         --enable-ladspa \
                         --with-lib-preference='system local' \
                         --with-libsndfile=system \
                         --prefix=/usr \
                         --docdir=/usr/share/doc/audacity \
                         --with-expat=system \
                         --with-libsamplerate \
                         --with-libvorbis \
                         --with-libmad \
                         --with-libflac \
                         --with-libid3tag \
                         --with-sbsms \
                         --with-soundtouch \
                         --with-libvamp \
                         --with-libtwolame \
                         --without-ffmpeg \
                         --with-midi \
                         --with-taglib \
                         --without-lv2 \
                         --with-portmixer")
Esempio n. 20
0
def setup():
    shelltools.export("R_HOME_DIR", "/usr/lib/R")
    shelltools.export("BLAS_LIBS", "/usr/lib")
    shelltools.export("LAPACK_LIBS", "-L/usr/lib -llapack -lblas")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    autotools.configure(
        "--prefix=/usr \
                         --with-recommended-packages \
                         --enable-R-profiling \
                         --enable-R-shlib \
                         --enable-shared \
                         --with-blas=-lblas \
                         --with-lapack \
                         --without-tcltk \
                         --with-readline \
                         --with-system-pcre \
                         --with-system-zlib \
                         --with-system-bzlib \
                         --with-system-xz \
                         rdocdir=/usr/share/doc/R \
                         rincludedir=/usr/include \
                         --with-x"
    )
Esempio n. 21
0
def setup():
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()

    autotools.configure()
Esempio n. 22
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("-ac")
    autotools.configure("--disable-static")
Esempio n. 23
0
def setup():
    pisitools.dosed("saslauthd/auth_rimap.c", "(?m)^(define DEFAULT_REMOTE_SERVICE.*)imap", r"\1 imap2")

    shelltools.export("WANT_AUTOCONF", "2.5")
    
    pisitools.remove("configure")
    pisitools.remove("config.h.in")
    pisitools.remove("autom4te.cache")
    
    autotools.aclocal("-I cmulocal -I config")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure("--with-saslauthd=/var/lib/sasl2 \
                        --with-pwcheck=/var/lib/sasl2  \
                        --with-configdir=/etc/sasl2 \
                        --with-plugindir=/usr/lib/sasl2 \
                        --with-dbpath=/etc/sasl2/sasldb2 \
                        --enable-login \
                        --enable-ntlm \
                        --disable-krb4 \
                        --disable-otp \
                        --disable-static \
                        --with-openssl \
                        --with-pam \
                        --without-ldap \
                        --disable-gssapi \
                        --without-mysql \
                        --disable-mysql \
                        --without-pgsql \
                        --disable-postgres \
                        --disable-java \
                        --without-authdaemond \
                        --disable-sql \
                        --with-dblib=gdbm")
Esempio n. 24
0
def setup():
    libtools.libtoolize()
    autotools.aclocal("-I m4")
    autotools.autoreconf("-vif")
    autotools.configure("--sysconfdir=/etc/snort \
                         --enable-zlib \
                         --enable-gre \
                         --enable-mpls \
                         --enable-targetbased \
                         --enable-ppm \
                         --enable-perfprofiling \
                         --enable-active-response \
                         --enable-normalizer \
                         --enable-reload \
                         --enable-react \
                         --enable-flexresp3 \
                         --enable-shared-rep \
                         --enable-intel-soft-cp \
                         --disable-react \
                         --enable-non-ether-decoders \
                         --enable-ha \
                         --disable-corefiles \
                         --enable-gdb \
                         --enable-inline-init-failopen \
                         --enable-linux-smp-stats \
                         --enable-side-channel \
                         --enable-control-socket")
Esempio n. 25
0
def setup():
    shelltools.export("R_HOME_DIR", "/usr/lib/R")
    shelltools.export("BLAS_LIBS", "/usr/lib")
    shelltools.export("LAPACK_LIBS", "-L/usr/lib -llapack -lblas")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    autotools.configure("--prefix=/usr \
                         --with-recommended-packages \
                         --enable-R-profiling \
                         --enable-R-shlib \
                         --enable-shared \
                         --enable-prebuilt-html \
                         --disable-openmp \
                         --with-blas=-lblas \
                         --with-lapack \
                         --without-tcltk \
                         --with-readline \
                         --with-system-pcre \
                         --with-system-zlib \
                         --with-system-bzlib \
                         --with-system-xz \
                         rdocdir=/usr/share/doc/R \
                         rincludedir=/usr/include \
                         --with-x")
Esempio n. 26
0
def setup():
    shelltools.cd("lib-src/portmixer")
    autotools.autoreconf()
    shelltools.cd("../..")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    shelltools.export("LIBS", "-lavcodec")
    autotools.configure("--enable-unicode \
                         --enable-nyquist \
                         --enable-ladspa \
                         --with-lib-preference='system local' \
                         --with-libsndfile=system \
                         --with-expat=system \
                         --with-libsamplerate \
                         --with-libvorbis \
                         --with-libmad \
                         --with-libflac \
                         --with-libid3tag \
                         --with-sbsms \
                         --with-soundtouch \
                         --with-libvamp \
                         --with-libtwolame \
                         --with-ffmpeg \
                         --with-midi \
                         --with-taglib \
                         --with-portmixer")
Esempio n. 27
0
def setup():
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake()
    libtools.libtoolize("--copy --force")

    autotools.configure("--enable-largefile \
                         --enable-glib2 \
                         --enable-gconf \
                         --enable-oss \
                         --enable-alsa \
                         --enable-avahi \
                         --enable-bluez \
                         --enable-hal \
                         --enable-tcpwrap \
                         --enable-jack \
                         --enable-lirc \
                         --with-caps \
                         --with-x \
                         --disable-asyncns \
                         --disable-solaris \
                         --disable-ltdl-install \
                         --disable-static \
                         --disable-rpath \
                         --localstatedir=/var \
                         --with-system-user=pulse \
                         --with-system-group=pulse \
                         --with-realtime-group=pulse-rt \
                         --with-access-group=pulse-access")
Esempio n. 28
0
def setup():
    shelltools.export("DSOFLAGS", get.LDFLAGS())
    shelltools.export("CFLAGS", "%s -DLDAP_DEPRECATED" % get.CFLAGS())

    autotools.aclocal()
    autotools.autoconf()
    autotools.configure('--with-cups-user=pnp \
                         --with-cups-group=pnp \
                         --with-system-groups=pnpadmin \
                         --with-docdir=/usr/share/cups/html \
                         --localstatedir=/var \
                         --enable-pam \
                         --enable-ssl \
                         --enable-gnutls \
                         --enable-slp \
                         --enable-nls \
                         --enable-dbus \
                         --enable-png \
                         --enable-jpeg \
                         --enable-tiff \
                         --enable-pie \
                         --enable-relro \
                         --enable-dnssd \
                         --without-rcdir \
                         --enable-threads \
                         --enable-ldap \
                         --enable-libpaper \
                         --with-optim="%s -fstack-protector-all" \
                         --without-php' % get.CFLAGS())
Esempio n. 29
0
def setup():
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake()
    libtools.libtoolize("--copy --force")

    autotools.configure("--enable-largefile \
                         --enable-glib2 \
                         --enable-gconf \
                         --enable-oss \
                         --enable-alsa \
                         --enable-avahi \
                         --enable-bluez \
                         --enable-hal \
                         --enable-tcpwrap \
                         --enable-jack \
                         --enable-lirc \
                         --with-caps \
                         --with-x \
                         --disable-asyncns \
                         --disable-solaris \
                         --disable-ltdl-install \
                         --disable-static \
                         --disable-rpath \
                         --localstatedir=/var \
                         --with-system-user=pulse \
                         --with-system-group=pulse \
                         --with-realtime-group=pulse-rt \
                         --with-access-group=pulse-access")
Esempio n. 30
0
def setup():
    libtools.libtoolize()
    autotools.aclocal("-I m4")
    autotools.autoreconf("-vif")
    autotools.configure("--sysconfdir=/etc/snort \
                         --enable-zlib \
                         --enable-gre \
                         --enable-mpls \
                         --enable-targetbased \
                         --enable-ppm \
                         --enable-perfprofiling \
                         --enable-active-response \
                         --enable-normalizer \
                         --enable-reload \
                         --enable-react \
                         --enable-flexresp3 \
                         --enable-shared-rep \
                         --disable-react \
                         --enable-non-ether-decoders \
                         --enable-ha \
                         --disable-corefiles \
                         --with-daq-libraries=/usr/lib/ \
                         --with-daq-includes=/usr/include \
                         --enable-gdb \
                         --enable-inline-init-failopen \
                         --enable-linux-smp-stats \
                         --enable-side-channel \
                         --enable-control-socket")
    
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 31
0
def setup():
    shelltools.cd("lib-src/portmixer")
    autotools.autoreconf()
    shelltools.cd("../..")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    autotools.configure("--enable-unicode \
                         --enable-nyquist \
                         --enable-ladspa \
                         --with-lib-preference='system local' \
                         --with-libsndfile=system \
                         --with-libexpat=system \
                         --with-libsamplerate \
                         --with-libvorbis \
                         --with-libmad \
                         --with-libflac \
                         --with-id3tag \
                         --with-soundtouch \
                         --with-libvamp \
                         --with-libtwolame \
                         --with-ffmpeg \
                         --with-redland \
                         --without-slv2 \
                         --with-liblrdf \
                         --with-midi \
                         --with-portmixer \
                         --with-portaudio=v19 \
                         --with-alsa \
                         --with-jack")
Esempio n. 32
0
def setup():

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

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

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

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

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

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

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

    shelltools.cd("..")

    autotools.configure()
Esempio n. 33
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("-ac")
    autotools.configure("--disable-static")
Esempio n. 34
0
def setup():
    shelltools.cd("lib-src/portmixer")
    autotools.autoreconf()
    shelltools.cd("../..")

    autotools.aclocal("-I m4")
    autotools.autoconf()
    shelltools.export("LIBS", "-lavcodec")
    autotools.configure("--enable-unicode \
                         --enable-nyquist \
                         --enable-ladspa \
                         --with-lib-preference='system local' \
                         --with-libsndfile=system \
                         --with-expat=system \
                         --with-libsamplerate \
                         --with-libvorbis \
                         --with-libmad \
                         --with-libflac \
                         --with-libid3tag \
                         --with-sbsms \
                         --with-soundtouch \
                         --with-libvamp \
                         --with-libtwolame \
                         --with-ffmpeg \
                         --with-midi \
                         --with-taglib \
                         --with-portmixer")
Esempio n. 35
0
def setup():
    # Fix all linkage problems :(((
    shelltools.export("CC", "gcc")

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

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

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

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

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

    shelltools.cd("../")

    autotools.configure("--enable-static=no")
Esempio n. 36
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 37
0
def setup():
    autotools.aclocal()
    autotools.autoconf()

    # no svga dep. yet
    # FIXME svgalibs dep.
    autotools.configure('--without-svga --with-x COMPILED_BY="Pardus"')
Esempio n. 38
0
def setup():
    # pisitools.flags.add("-fstack-protector-all", "-DLDAP_DEPRECATED=1")
    pisitools.dosed("config-scripts/cups-sharedlibs.m4", "( -shared )", " -Wl,--as-needed\\1")

    # For --enable-avahi
    autotools.aclocal("-I config-scripts")
    autotools.autoconf("-I config-scripts")

    options = (
        '--with-cups-user=daemon \
               --with-cups-group=lp \
               --with-system-groups=lpadmin \
               --with-docdir=/usr/share/cups/html \
               --with-dbusdir=/etc/dbus-1 \
               --with-optim="%s" \
               --with-php=/usr/bin/php-cgi \
               --with-cupsd-file-perm=0755 \
               --with-log-file-perm=0600 \
               --without-java \
               --enable-acl \
               --enable-ssl=yes \
               --enable-libpaper \
               --enable-libusb=yes \
               --enable-debug \
               --enable-gssapi \
               --enable-dbus \
               --enable-pam=yes \
               --enable-relro \
               --enable-dnssd \
               --enable-browsing \
               --enable-threads \
               --enable-raw-printing \
               --enable-avahi \
               --disable-gnutls \
               --disable-launchd \
               --without-rcdir \
               --libdir=/usr/lib \
               --without-perl \
               --with-logdir=/var/log/cups \
               KRB5CONFIG=/usr/bin/krb5-config \
               --localstatedir=/var \
               --with-rundir=/run/cups \
               --with-xinetd=/etc/xinetd.d \
              '
        % get.CFLAGS()
    )

    if get.buildTYPE() == "emul32":
        options += "  \
                     --enable-libusb=no \
                     --disable-avahi \
                     --disable-dnssd \
                     --disable-gssapi \
                     --disable-dbus \
                     --bindir=/usr/bin32 \
                     --sbindir=/usr/sbin32 \
                     --libdir=/usr/lib32"

    autotools.configure(options)
Esempio n. 39
0
def setup():
    # Re-generate ltmain.sh, configure and friends, since the upstream tarball
    # was built with a buggy libtool (missing 'so' extension in binaries).
    shelltools.export("WANT_AUTOMAKE", "1.7")
    libtools.libtoolize("--copy --force")
    autotools.aclocal("-I .")
    autotools.autoconf()
    autotools.configure("--disable-gtk-doc")
Esempio n. 40
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("--add-missing --copy --gnu")

    autotools.configure("--sbindir=/sbin --libdir=/lib")
Esempio n. 41
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoconf()
    autotools.autoheader()
    autotools.automake("--copy --foreign --add-missing")

    autotools.configure()
Esempio n. 42
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("--add-missing --copy --gnu")
                        
    autotools.configure("--sbindir=/sbin --libdir=/lib")
Esempio n. 43
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake()

    autotools.configure("--enable-ps \
                         --enable-pdf")
Esempio n. 44
0
def setup():
    libtools.libtoolize("--force")
    autotools.aclocal()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    autotools.configure("--disable-static \
                         --with-pf_packet=yes")
Esempio n. 45
0
def setup():
    shelltools.system("NOCONFIGURE=1 ./autogen.sh")
    autotools.autoreconf("-vfi")
    autotools.automake("-afc")
    libtools.libtoolize("--automake")
    autotools.aclocal()
    autotools.autoconf()
    autotools.configure("--disable-static --enable-shared")
Esempio n. 46
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake()

    autotools.configure("--enable-ps \
                         --enable-pdf")
Esempio n. 47
0
def setup():
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake()
    libtools.libtoolize("--copy --force")
    autotools.configure("--disable-static \
                         --disable-gtk-doc \
                         --enable-nautilus-extension=no")
Esempio n. 48
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure()
Esempio n. 49
0
def setup():
    # Re-generate ltmain.sh, configure and friends, since the upstream tarball
    # was built with a buggy libtool (missing 'so' extension in binaries).
    shelltools.export("WANT_AUTOMAKE", "1.7")
    libtools.libtoolize("--copy --force")
    autotools.aclocal("-I .")
    autotools.autoconf()
    autotools.configure("--disable-gtk-doc")
Esempio n. 50
0
def setup():
    autotools.aclocal("-I mk/autoconf")
    autotools.automake()
    autotools.autoconf()

    autotools.configure("--disable-static\
                         --disable-rpath \
                         --enable-nls")
Esempio n. 51
0
def setup():
    #pisitools.flags.add("-fstack-protector-all", "-DLDAP_DEPRECATED=1")
    pisitools.dosed("config-scripts/cups-sharedlibs.m4", "( -shared )",
                    " -Wl,--as-needed\\1")

    # For --enable-avahi
    autotools.aclocal("-I config-scripts")
    autotools.autoconf("-I config-scripts")

    options = '--with-cups-user=daemon \
               --with-cups-group=lp \
               --with-system-groups=lpadmin \
               --with-docdir=/usr/share/cups/html \
               --with-dbusdir=/etc/dbus-1 \
               --with-optim="%s" \
               --with-php=/usr/bin/php-cgi \
               --with-cupsd-file-perm=0755 \
               --with-log-file-perm=0600 \
               --without-java \
               --enable-acl \
               --enable-ssl=yes \
               --enable-libpaper \
               --enable-debug \
               --enable-gssapi \
               --enable-dbus \
               --enable-pam=yes \
               --enable-relro \
               --enable-dnssd \
               --enable-browsing \
               --enable-threads \
               --enable-raw-printing \
               --enable-avahi \
               --disable-gnutls \
               --disable-launchd \
               --disable-libusb \
               --without-rcdir \
               --libdir=/usr/lib \
               --without-perl \
               --with-logdir=/var/log/cups \
               KRB5CONFIG=/usr/bin/krb5-config \
               --localstatedir=/var \
               --with-rundir=/run/cups \
               --with-xinetd=/etc/xinetd.d \
              ' % get.CFLAGS()

    if get.buildTYPE() == "emul32":
        options += '  \
                     --prefix=/usr \
                     --enable-libusb=no \
                     --disable-avahi \
                     --disable-dnssd \
                     --disable-gssapi \
                     --disable-dbus \
                     --bindir=/usr/bin32 \
                     --sbindir=/usr/sbin32 \
                     --libdir=/usr/lib32'

    autotools.configure(options)
Esempio n. 52
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")
    shelltools.export("WANT_AUTOMAKE", "1.7")

    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.automake("-afc")
    autotools.autoconf()

    libtools.libtoolize("--copy --force")

    flags = "-mcpu=i686 \
             -O2 \
             -pipe \
             -frename-registers \
             -fomit-frame-pointer \
             -mno-sse \
             -ffunction-sections"

    shelltools.export("CFLAGS", "%s %s" % (get.CFLAGS(), flags))
    shelltools.export("CXXFLAGS", "%s %s" % (get.CXXFLAGS(), flags))

    autotools.configure(
        "--enable-nls \
                         --disable-gnome \
                         --disable-altivec \
                         --disable-speex \
                         --enable-ipv6 \
                         --enable-samba \
                         --enable-mng \
                         --enable-png \
                         --enable-faad \
                         --enable-flac \
                         --with-ogg \
                         --with-vorbis \
                         --with-x \
                         --enable-xinerama \
                         --disable-vidix \
                         --disable-dxr3 \
                         --enable-directfb \
                         --enable-fb \
                         --enable-opengl \
                         --enable-aalib \
                         --enable-caca \
                         --enable-sdl \
                         --enable-libmad --with-external-libmad \
                         --disable-oss \
                         --disable-vcd \
                         --enable-alsa \
                         --enable-arts \
                         --disable-esd \
                         --with-ffmpeg \
                         --with-xv-path=/usr/lib \
                         --disable-optimizations \
                         --disable-optimizations \
                         --disable-dependency-tracking"
    )
Esempio n. 53
0
def setup():
    autotools.autoreconf("-vif")
    autotools.autoconf()
    libtools.libtoolize("--copy --force")
    libtools.libtoolize("--automake")
    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.configure("--disable-static \
						 --docdir=/usr/share/doc/maloc")
Esempio n. 54
0
def setup():
    for it in ["Project/GNU/CLI",  "../GUI"]:
        configure_args = " --with-wxwidgets --with-wx-gui" if it.endswith('GUI') else ""
        shelltools.cd(it)
        libtools.libtoolize("--automake")
        autotools.aclocal()
        autotools.automake("-afc")
        autotools.autoconf()
        autotools.configure("--disable-static%s" % configure_args)
Esempio n. 55
0
def setup():
    autotools.autoreconf("-vfi")
    autotools.aclocal()
    pisitools.cflags.add("-fno-strict-aliasing")

    autotools.configure("--disable-static \
                         --enable-shared \
                         --datadir=/usr/share/gdal \
                         --with-ogdi \
                         --with-threads \
                         --with-jasper \
                         --with-odbc=/usr/lib/unixODBC \
                         --with-expat \
                         --with-cfitsio \
                         --with-hdf5 \
                         --with-netcdf \
                         --with-png \
                         --with-geos \
                         --without-mysql \
                         --with-curl \
                         --with-perl \
                         --with-jpeg \
                         --with-jpeg12=no \
                         --with-libtiff \
                         --with-sqlite3 \
                         --with-geotiff=external \
                         --with-podofo \
                         --with-spatialite \
                         --with-ogr \
                         --with-grib \
                         --with-curl \
                         --with-webp \
                         --with-python \
                         --without-poppler \
                         --with-xerces \
                         --without-openjpeg \
                         --without-libtool \
                         --without-hdf4 \
                         --without-fme \
                         --without-pcraster \
                         --without-kakadu \
                         --without-mrsid \
                         --without-jp2mrsid \
                         --without-msg \
                         --without-bsb \
                         --without-dods-root \
                         --without-oci \
                         --without-ingres \
                         --without-spatialite \
                         --without-dwgdirect \
                         --without-epsilon \
                         --without-idb \
                         --without-sde \
                         --without-ruby")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 56
0
def setup():
    autotools.aclocal("-I config")
    autotools.autoconf("-f")

    autotools.configure("--enable-threads \
                         --disable-desktopfiles \
                         --enable-xmltools \
                         --enable-i18n \
                         --with-jpeg \
                         --with-tiff")