Ejemplo n.º 1
0
def setup():
    #inarytools.dosed("configure.ac", '(AS_AC_EXPAND\(EXPANDED_LOCALSTATEDIR, )"\$localstatedir"\)', r'\1 "")')
    #for f in ["bus/Makefile.am", "bus/Makefile.in"]:
    #    inarytools.dosed(f, "\$\(localstatedir\)(\/run\/dbus)", "\\1")
    options = "PYTHON=/usr/bin/python3 \
        --disable-xml-docs\
        --disable-selinux \
        --enable-verbose-mode \
        --libexecdir=/usr/lib/dbus-1.0 \
        --with-dbus-user=dbus \
        --with-system-pid-file=/run/dbus/pid \
        --with-system-socket=/run/dbus/system_bus_socket \
        --with-console-auth-dir=/run/console/ \
        --enable-inotify \
        --enable-elogind \
        --disable-static \
        --disable-asserts \
        --without-systemdsystemunitdir \
        --disable-systemd \
        --disable-user-session \
        --enable-x11-autolaunch"

    if get.buildTYPE() == "emul32":
        os.environ.clear()
        os.environ.update(env)
        shelltools.export("CC", "gcc -m32 -mstackrealign")
        shelltools.export("CXX", "g++ -m32 -mstackrealign")
        shelltools.export("HOST", "x86_64")
        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
        options += "\
                    --libdir=/usr/lib32 \
                    --disable-doxygen-docs"

    autotools.autogen()
    autotools.configure(options)
Ejemplo n.º 2
0
def configure(args=''):
    """Autobuilder setup"""
    if can_access_file("autogen.sh"):
        autotools.autogen(args)
    if can_access_file("configure"):
        autotools.configure(args)
    if can_access_file("meson.build"):
        mesontools.configure(args)
    if can_access_file("CmakeLists.txt"):
        cmaketools.configure(args)
Ejemplo n.º 3
0
def setup():
    autotools.autogen()
    autotools.configure("--prefix=/usr --enable-gtk-doc")
Ejemplo n.º 4
0
def setup():
    autotools.autogen()
    autotools.configure("")
Ejemplo n.º 5
0
def setup():
    autotools.autogen()
    autotools.configure("--disable-static")
Ejemplo n.º 6
0
def setup():
    autotools.autogen()
    #autotools.autoreconf("-vif")
    autotools.configure("--disable-static")
Ejemplo n.º 7
0
def setup():
    tools.autogen()
    tools.configure()