Beispiel #1
0
def setup():
    shelltools.system("sed -i 's|$(datadir)/pkgconfig|$(libdir)/pkgconfig|g' Makefile.in")
    shelltools.system("sed -i 's|$(datadir)/pkgconfig|$(libdir)/pkgconfig|g' Makefile.am")
    
    autotools.autoreconf("-vif")
    autotools.configure("--prefix=/usr \
                         --docdir=/usr/share/doc/xorg-proto")
Beispiel #2
0
def setup():
    autotools.autoreconf("-vfi")
    autotools.configure('PYTHON=/usr/bin/python \
                         --enable-shared \
                         --disable-static \
                         --without-rpm \
                         --with-sys-location=Unknown \
                         --with-sys-contact=root@Unknown \
                         --with-default-snmp-version=3 \
                         --with-logfile=/var/log/snmpd.log \
                         --with-persistent-directory=/var/lib/net-snmp \
                         --with-mib-modules="%s" \
                         --enable-ipv6 \
                         --enable-ucd-snmp-compatibility \
                         --with-openssl \
                         --with-pic \
                         --enable-embedded-perl \
                         --with-libwrap \
                         --enable-as-needed \
                         --without-root-access \
                         --enable-mfd-rewrites \
                         --with-temp-file-pattern="/run/net-snmp/snmp-tmp-XXXXXX" \
                         --enable-local-smux' % MIBS)

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #3
0
def setup():
    autotools.autoreconf("-vfi")
    autotools.configure("--prefix=/usr \
                         --disable-dependency-tracking \
                         --disable-static ")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #4
0
def setup():
    shelltools.export("CFLAGS","%s -fpie" % get.CFLAGS())
    shelltools.export("LDFLAGS","%s -pie" % get.LDFLAGS())

    #inarytools.dosed("pathnames.h", "/usr/X11R6/bin/xauth", r"/usr/bin/xauth")
    #inarytools.dosed("sshd_config", "(?m)^(^#UsePAM ).*", r"UsePAM yes")
    #inarytools.dosed("sshd_config", "(?m)^(^#PasswordAuthentication ).*", r"PasswordAuthentication no")
    #inarytools.dosed("sshd_config", "(?m)^(^#X11Forwarding ).*", r"X11Forwarding yes")
    #inarytools.dosed("sshd_config", "(?m)^(^#UseDNS ).*", r"UseDNS no")
    #inarytools.dosed("sshd_config", "(?m)^(^#PermitRootLogin ).*", r"PermitRootLogin no")

    autotools.autoreconf("-fi")

    # Kerberos support is a must, libedit is optional
    # Update configure parameters when both are ready
    autotools.configure("--sysconfdir=/etc/ssh \
                         --libexecdir=/usr/libexec/openssh \
                         --datadir=/usr/share/openssh \
                         --disable-strip \
                         --with-pam \
                         --with-libedit \
                         --with-kerberos5 \
                         --with-tcp-wrappers \
                         --with-md5-passwords \
                         --with-ipaddr-display \
                         --with-privsep-user=sshd \
                         --with-privsep-path=/var/empty \
                         --without-zlib-version-check \
                         --without-ssl-engine")
Beispiel #5
0
def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--disable-static")
    inarytools.dosed("libtool", "^(hardcode_libdir_flag_spec=).*", '\\1""')
    inarytools.dosed("libtool", "^(runpath_var=)LD_RUN_PATH",
                     "\\1DIE_RPATH_DIE")
    inarytools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
Beispiel #6
0
def setup():
    autotools.autoreconf("-fi")

    autotools.configure("--disable-dependency-tracking \
                --disable-static --with-extra-only")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #7
0
def setup():
    # force to use python2.x
    #inarytools.dosed("configure.ac", "(python)3", "\\1")

    autotools.autoreconf("-fi")
    autotools.configure("--prefix=/usr \
                         --with-udevdir=/lib/udev")
Beispiel #8
0
def setup():
    shelltools.system("./legal.sh")
    autotools.autoreconf("-vif")
    autotools.configure("--disable-static")

    # for fix unused dependency
    inarytools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
Beispiel #9
0
def setup():
    autotools.autoreconf("-vfi")
    autotools.configure("--enable-shared \
                         --disable-static\
                         --with-x")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #10
0
def setup():
    autotools.autoreconf("-fiv")
    autotools.configure("--disable-static \
                         --enable-gtk \
                         --with-gtk=3.0 \
                         --disable-orbit \
                         --enable-silent-rules")
Beispiel #11
0
def setup():
    #inarytools.dosed("libfaad/Makefile.am", "iquote ", "I")
    autotools.autoreconf("-vfi")

    autotools.configure("--without-xmms \
                         --with-drm \
                         --disable-static")
Beispiel #12
0
def setup():
    shelltools.cd("src")
    shelltools.system(
        "sed -i -e 's/^YYSTYPE yylval/&={0}/' lib/krb5/krb/deltat.c")
    inarytools.dosed("util/ac_check_krb5.m4", "(KRB5ROOT=\/usr)\/local", r"\1")

    autotools.autoreconf("-fi")

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

    autotools.configure("--localstatedir=/var/lib \
                         --without-tcl \
                         --without-hesiod \
                         --enable-shared \
                         --enable-kdc-lookaside-cache \
                         --without-system-verto \
                         --disable-rpath \
                         --with-system-et \
                         --with-system-ss \
                         --enable-dns-for-realm")

    # Fix krb5-config script to remove rpaths and CFLAGS
    #inarytools.dosed("krb5-config", "^CC_LINK=.*", "CC_LINK='$(CC) $(PROG_LIBPATH)'")
    # Fix unused dependency
    inarytools.dosed("config/shlib.conf", " -shared ",
                     " -Wl,--as-needed -shared ")
Beispiel #13
0
def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--enable-shared \
                         --disable-dependency-tracking \
                         --disable-static \
                         --disable-sdl \
                         --without-x")
Beispiel #14
0
def setup():
    inarytools.dosed("configure.ac", "gen4asm=yes", "gen4asm=no")
    autotools.autoreconf("-vif")
    autotools.configure("\
                         --disable-silent-rules \
                         --disable-wayland \
                        ")
Beispiel #15
0
def setup():
    shelltools.makedirs("build-gtk2")
    shelltools.makedirs("build-gtk3")
    autotools.autoreconf("-fi")

    shelltools.cd("build-gtk2")
    shelltools.system("../configure \
                         --prefix=/usr \
                         --sysconfdir=/etc \
                         --enable-debug \
                         --enable-udisks \
                         --enable-demo \
                         --with-gtk=2")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
    shelltools.cd("..")
    shelltools.cd("build-gtk3")
    shelltools.system("../configure \
                         --prefix=/usr \
                         --sysconfdir=/etc \
                         --enable-debug \
                         --enable-udisks \
                         --enable-demo \
                         --with-gtk=3")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #16
0
def setup():
    autotools.autoreconf()
    autotools.configure("--disable-static \
                         --sysconfdir=/etc/aspell \
                         --enable-docdir=/usr/share/doc/%s" % get.srcNAME())

    inarytools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
Beispiel #17
0
def setup():
    shelltools.system("./autogen.sh")
    autotools.autoreconf("-fi")
    autotools.configure("--prefix=/usr \
                         --libexecdir=/usr/lib")
    
    inarytools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
Beispiel #18
0
def setup():
    autotools.autoreconf("-fiv")
    autotools.configure("--enable-imlib2 \
                         --enable-xinerama \
                         --enable-xft \
                         --enable-nls \
                         --with-style=/usr/share/fluxbox/styles/green_tea")
Beispiel #19
0
def setup():
    inarytools.cflags.add("-fwrapv")

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

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

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

    autotools.autoreconf("-vif")

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

    autotools.configure("--with-fpectl \
                         --enable-shared \
                         --enable-ipv6 \
                         --with-threads \
                         --with-libc='' \
                         --enable-unicode=ucs4 \
                         --with-wctype-functions \
                         --with-system-expat \
                         --with-system-ffi \
                         --with-dbmliborder=gdbm \
                        ")
Beispiel #20
0
def setup():
    #shelltools.unlink("py-compile")
    #shelltools.sym("/bin/true", "%s/py-compile" % get.curDIR())

    autotools.autoreconf("-fi")
    autotools.configure("--disable-static \
                         --with-python")
Beispiel #21
0
def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--disable-static \
                         --enable-theora \
                         --enable-speex")
    inarytools.dosed("src/tls.c", 'SSLeay_add_all_algorithms',
                     'OpenSSL_add_all_algorithms')
Beispiel #22
0
def setup():
    inarytools.dosed("configure.ac", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS")
    autotools.autoreconf("-fiv")

    autotools.configure()

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #23
0
def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--prefix=/usr \
                         --disable-static \
                         --enable-arrow-scrollbars \
                         --enable-gray-stipples \
                         --enable-multiplane-bitmaps")
Beispiel #24
0
def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--disable-static \
                         --with-cd-paranoia-name=libcdio-paranoia \
                         --disable-vcd-info \
                         --enable-cpp-progs \
                         --disable-rpath")
Beispiel #25
0
def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--enable-glx \
                         --enable-wayland \
                         --disable-static")
    
    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #26
0
def setup():
    options = "--prefix=/usr             \
               --sysconfdir=/etc         \
               --enable-x11-backend \
               --enable-broadway-backend \
               --disable-wayland-backend \
              "

    shelltools.export("CFLAGS",
                      get.CFLAGS().replace("-fomit-frame-pointer", ""))

    if get.buildTYPE() == "emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/usr/bin32 \
                     --sbindir=/usr/sbin32 \
                     --enable-colord=no \
                   "

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CC())
        shelltools.export(
            "CFLAGS",
            "%s -m32" % get.CFLAGS().replace("-fomit-frame-pointer", ""))
        shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS())
        shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

        inarytools.dosed("configure.ac", "cups-config", "cups-config-32bit")

    autotools.autoreconf("-fiv")
    autotools.configure(options)

    inarytools.dosed("libtool", "( -shared )", r" -Wl,-O1,--as-needed\1")
Beispiel #27
0
def setup():
    for tool in alsa_tools:
        shelltools.cd(tool)
        if tool in ["hdspconf", "ld10k1"]:
            autotools.autoreconf("-fi")
        autotools.configure()
        shelltools.cd("..")
Beispiel #28
0
def setup():

    #shelltools.system("sed -i -e '/SystemdService/d' obexd/src/org.bluez.obex.service")
    inarytools.dosed("obexd/src/org.bluez.obex.service",
                     "SystemdService",
                     deleteLine=True)
    autotools.autoreconf("-fi")
    autotools.configure("--prefix=/usr \
                         --sysconfdir=/etc \
                         --localstatedir=/var \
                         --libexecdir=/usr/libexec/ \
                         --enable-sixaxis \
                         --enable-experimental \
                         --disable-android \
                         --enable-datafiles \
                         --enable-optimization \
                         --enable-pie \
                         --enable-threads \
                         --enable-library \
                         --enable-tools \
                         --enable-manpages \
                         --enable-monitor \
                         --enable-udev \
                         --enable-test \
                         --disable-systemd")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #29
0
def setup():
    autotools.autoreconf("-fisv")
    inarytools.dosed("src/psl-make-dafsa", "env python", "env python3")

    autotools.configure("--disable-static")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Beispiel #30
0
def setup():
    inarytools.dosed("Makefile.am", "libevent_extra_la_LIBADD =",
                     "libevent_extra_la_LIBADD = libevent.la ")
    autotools.autoreconf("-fi")
    autotools.configure("--disable-static")

    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")