Ejemplo n.º 1
0
def setup():
    autotools.autoconf()
    autotools.configure("--prefix=/usr \
		--without-zenmap\
		--libexecdir=/usr/libexec \
		--mandir=/usr/share/man \
		--with-libpcap=included ")
Ejemplo n.º 2
0
def setup():
    autotools.autoconf()
    autotools.configure("--enable-locking \
                         --disable-root-passwd \
                         --with-x-app-defaults=/usr/share/X11/app-defaults \
                         --with-dpms-ext \
                         --with-xinerama-ext \
                         --with-xf86vmode-ext \
                         --with-xf86gamma-ext \
                         --with-randr-ext \
                         --with-proc-interrupts \
                         --with-pam \
                         --without-kerberos \
                         --without-shadow \
                         --without-passwd-helper \
                         --without-login-manager \
                         --with-gtk \
                         --without-motif \
                         --with-gl \
                         --with-gle \
                         --without-pixbuf \
                         --with-xpm \
                         --with-jpeg \
                         --with-xshm-ext \
                         --with-xdbe-ext \
                         --without-readdisplay \
                         --with-browser=xdg-open \
                         --without-setuid-hacks")
Ejemplo n.º 3
0
def setup():
    options = "--prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --with-xinput=yes \
        --enable-gtk-doc \
        --enable-test-print-backend"

    #shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer",""))
    #gtk2 needs -DGTK_COMPILATION CPPFLAG when compiling itself
    #Avoid "Only <gtk/gtk.h> can be included directly error"
    shelltools.export("CPPFLAGS", "-DGTK_COMPILATION")

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

        shelltools.export("CC","%s -m32" % get.CC())
        shelltools.export("CXX","%s -m32" % get.CC())
        shelltools.export("CXXFLAGS","-m32")
        shelltools.export("LDFLAGS","-m32")
    else:
        shelltools.export("CFLAGS","")
        shelltools.export("CXXFLAGS","")
        shelltools.export("LDFLAGS","")
        
    autotools.autoconf()
    autotools.configure(options)

    inarytools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ")
Ejemplo n.º 4
0
def setup():
    inarytools.flags.add("-fPIC")
    inarytools.dosed("makeinclude.in", "^(docdir.*)$", r"\1/html")

    autotools.autoconf()

    options = "\
               --enable-gl \
               --enable-shared \
               --enable-threads \
               "

    if get.buildTYPE() == "emul32":

        shelltools.export("CFLAGS", "-m32")
        shelltools.export("CXXFLAGS", "-m32")

        options += "--prefix=/emul32 \
                    --libdir=/usr/lib32 \
                    --with-optim='%s' \
                    " % get.CFLAGS()

    elif get.ARCH() == "x86_64":

        options += "--with-optim='%s' \
                   " % get.CFLAGS()

    autotools.configure(options)
Ejemplo n.º 5
0
def setup():
    autotools.aclocal()
    autotools.autoconf()
    autotools.configure("--prefix=/usr \
                         --datarootdir=/usr/share \
                         --with-linux-headers=/usr/include \
                         --sbindir=/usr/bin \
                         --sysconfdir=/etc")
Ejemplo n.º 6
0
def setup():
    #inarytools.flags.add("-fstack-protector-all", "-DLDAP_DEPRECATED=1")
    inarytools.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)
Ejemplo n.º 7
0
def setup():
    shelltools.cd("unix")
    autotools.autoconf()
    autotools.configure("--enable-threads \
                         --enable-man-compression=gzip \
                         --enable-man-symlinks \
                         --enable-64bit \
                         --with-x \
                         --enable-xft")
Ejemplo n.º 8
0
def setup():
    autotools.autoconf()
    autotools.configure("--with-x-app-defaults=/usr/share/X11/app-defaults \
    --with-pam \
    --with-login-manager \
    --with-gtk \
    --with-gl \
    --without-gle \
    --with-pixbuf \
    --with-jpeg")
Ejemplo n.º 9
0
def setup():
    inarytools.flags.add("-Wno-unused-but-set-variable")
    autotools.autoreconf()
    autotools.autoconf()

    autotools.configure("--disable-static \
                         --disable-gcc-warnings")
    inarytools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
    inarytools.dosed("libtool", "^(runpath_var=)LD_RUN_PATH",
                     "\\1DIE_RPATH_DIE")
Ejemplo n.º 10
0
def setup():
    options = "--with-pic \
                --enable-ogg \
                --enable-sse \
                --disable-doxygen-docs \
                --disable-dependency-tracking \
                --disable-xmms-plugin \
                --disable-static"

    autotools.autoconf()
    autotools.configure(options)
Ejemplo n.º 11
0
def setup():
    # Recycles pids is neccessary. When bash's last fork's pid was X and new fork's pid is also X,
    # bash has to wait for this same pid. Without Recycles pids bash will not wait.
    shelltools.export("CFLAGS", "%s -D_GNU_SOURCE -DRECYCLES_PIDS %s " % (get.CFLAGS(), cfgsettings))

    autotools.autoconf()
    autotools.configure("--without-installed-readline \
                         --disable-profiling \
                         --without-gnu-malloc \
                         --disable-rpath \
                         --with-curses")
Ejemplo n.º 12
0
def setup():
    autotools.autoconf("-f")
    options = "--with-data-packaging=library \
               --disable-samples \
               --disable-silent-rules"

    if get.buildTYPE() == "_emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/_emul32/bin \
                     --sbindir=/_emul32/sbin"

        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CXX())
    autotools.configure(options)
    inarytools.dosed("config/mh-linux", "-nodefaultlibs -nostdlib")
Ejemplo n.º 13
0
def setup():
    libtools.libtoolize("-fc")
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake("--add-missing --copy")
    autotools.configure()
Ejemplo n.º 14
0
def setup():
    autotools.autoconf("-f")
    autotools.configure("--with-jobdir=/var/spool/at \
                         --with-atspool=/var/spool/at/spool \
                         --with-daemon_username=root \
                         --with-daemon_groupname=root")