Exemplo n.º 1
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")
Exemplo 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 ")
Exemplo n.º 3
0
def setup():
    shelltools.touch("README")
    libtools.libtoolize("--force --copy")
    autotools.autoreconf("-fi")
    autotools.configure("--disable-static \
                         --disable-gnutls \
                         --disable-rpath")
Exemplo n.º 4
0
def setup():
    pisitools.dosed("autogen.sh", "aclocal-1.9", "aclocal")
    shelltools.system("./autogen.sh")

    libtools.libtoolize("--force --copy")
    autotools.configure("--enable-events \
                         --enable-cpuinfo \
                         --enable-cdrom \
                         --enable-threads \
                         --enable-timers \
                         --enable-file \
                         --enable-alsa \
                         --enable-oss \
                         --enable-nasm \
                         --enable-video-aalib \
                         --enable-video-caca \
                         --enable-video-directfb \
                         --enable-video-fbcon \
                         --enable-video-dummy \
                         --enable-video-opengl \
                         --enable-video-x11 \
                         --enable-video-x11-xv \
                         --enable-video-x11-xinerama \
                         --enable-video-x11-xrandr \
                         --with-x \
                         --disable-rpath \
                         --disable-arts \
                         --disable-dga \
                         --disable-esd \
                         --disable-nas \
                         --disable-video-dga \
                         --disable-video-ggi \
                         --disable-video-svga \
                         --disable-video-x11-xme \
                         --disable-static")
Exemplo 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"
    )

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Exemplo n.º 6
0
def setup():
    # seems mjpegtools does not play nicely with sse2 in gcc 3.x
    shelltools.export("CFLAGS", "%s -mno-sse2 -fno-strict-aliasing" % get.CFLAGS())
    shelltools.export("LDFLAGS", "%s -lpthread" % get.LDFLAGS())

    # all mighty strong m4 macros
    shelltools.export("AT_M4DIR", "m4")
    autotools.autoreconf()
    libtools.libtoolize("--force --copy")

    pisitools.dosed("configure", "ARCHFLAGS=.*", "ARCHFLAGS=")
    autotools.configure("--with-x \
                        --enable-cmov-extension \
                        --enable-largefile \
                        --enable-simd-accel \
                        --enable-xfree-ext \
                        --disable-static \
                        --with-dv-yv12 \
                        --with-quicktime \
                        --with-libpng \
                        --with-v4l \
                        --with-sdl \
                        --with-dv=/usr \
                        --with-libdv=/usr \
                        --with-jpeg-mmx=/usr/include/jpeg-mmx \
                        --without-gtk")
Exemplo n.º 7
0
def setup():
    shelltools.unlink("config.guess")
    shelltools.unlink("config.sub")
    shelltools.unlink("ltmain.sh")
    shelltools.unlink("ltconfig")

    shelltools.copy("/usr/share/aclocal/libtool.m4", "aclocal.m4")
    shelltools.system("cat /usr/share/aclocal/ltoptions.m4 \
                           /usr/share/aclocal/ltversion.m4 \
                           /usr/share/aclocal/ltsugar.m4 \
                           /usr/share/aclocal/lt~obsolete.m4 \
                           >>./aclocal.m4")

    libtools.libtoolize("--install")
    libtools.libtoolize()

    autotools.autoconf()

    options = "--enable-shared \
               --disable-static"

    if get.buildTYPE() == "emul32":
        # options += " --prefix=/emul32 --libdir=/usr/lib32"
        shelltools.export("CC", "%s -m32" % get.CC())
        shelltools.export("CXX", "%s -m32" % get.CC())
        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
        shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS())
        shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())

    autotools.configure(options)
Exemplo n.º 8
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 ")
Exemplo n.º 9
0
def setup():
    exportEnv()

    shelltools.cd("%s/src" % GetWorkdir)
    libtools.libtoolize("--copy --force")

    shelltools.makedirs("%s/build" % GetWorkdir)
    shelltools.cd("%s/build" % GetWorkdir)

    shelltools.system(" %s/src/configure \
                        --without-cxx-runtime-hack \
                        --without-aleph     \
                        --without-bibtex8   \
                        --without-cjkutils  \
                        --without-detex     \
                        --without-dialog    \
                        --without-dtl       \
                        --without-dvi2tty   \
                        --without-dvidvi    \
                        --without-dviljk    \
                        --without-dvipdfm   \
                        --without-dvipdfmx  \
                        --without-dvipng    \
                        --without-dvipos    \
                        --without-dvipsk    \
                        --without-etex      \
                        --without-gsftopk   \
                        --without-lacheck   \
                        --without-lcdf-typetools  \
                        --without-makeindexk      \
                        --without-mkocp-default   \
                        --without-mkofm-default   \
                        --without-musixflx  \
                        --without-omega     \
                        --without-pdfopen   \
                        --without-ps2eps    \
                        --without-ps2pkm    \
                        --without-psutils   \
                        --without-sam2p     \
                        --without-seetexk   \
                        --without-t1utils   \
                        --without-tetex     \
                        --without-tex4htk   \
                        --without-texi2html \
                        --without-texinfo   \
                        --without-texlive   \
                        --without-ttf2pk    \
                        --without-tth       \
                        --without-xdv2pdf   \
                        --without-xdvik     \
                        --without-xdvipdfmx \
                        --without-xetex     \
                        --disable-largefile \
                        --with-system-zlib \
                        --with-system-pnglib \
                        --with-system-ncurses --with-system-pnglib --with-system-zlib \
                        --with-system-gd --with-system-tifflib --with-system-wwwlib --with-system-t1lib \
                        --with-system-freetype --with-system-freetype2 \
                        --with-freetype2-include=/usr/include/freetype2 \
                        --prefix=/usr" % GetWorkdir)
Exemplo n.º 10
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.configure("--enable-static=no \
                         --with-cd-paranoia-name=libcdio-paranoia \
                         --disable-vcd-info \
                         --disable-dependency-tracking \
                         --disable-cddb")
Exemplo n.º 11
0
def setup():
    libtools.libtoolize("--force --install")
    autotools.autoreconf("-fi")
    
    autotools.configure("--disable-static")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Exemplo n.º 12
0
def setup():
    shelltools.export(
        "CFLAGS",
        "%s -fno-strict-aliasing -fno-force-addr -ffunction-sections -frename-registers -fomit-frame-pointer"
        % get.CFLAGS(),
    )
    shelltools.export(
        "CXXFLAGS",
        "%s -fno-strict-aliasing -fno-force-addr -ffunction-sections -frename-registers -fomit-frame-pointer"
        % get.CXXFLAGS(),
    )
    shelltools.export("CCASFLAGS", "-Wa,--noexecstack")
    # to get rid of cvs
    shelltools.export("AUTOPOINT", "/bin/true")

    libtools.libtoolize("--force --copy")
    autotools.autoreconf("-vfi")
    autotools.configure(
        " \
                      --prefix=/usr \
                      --mandir=/usr/share/man \
                      --disable-altivec \
                      --disable-artstest \
                      --disable-dxr3 \
                      --disable-vidix \
                      --enable-aalib \
                      --enable-asf \
                      --enable-directfb \
                      --enable-faad \
                      --enable-fb \
                      --enable-ffmpeg-popular-codecs \
                      --enable-ffmpeg-uncommon-codecs \
                      --enable-ipv6 \
                      --enable-mmap \
                      --enable-mng \
                      --enable-modplug \
                      --enable-opengl \
                      --enable-samba \
                      --enable-xinerama \
                      --with-external-a52dec \
                      --with-external-ffmpeg \
                      --with-external-libmad \
                      --with-internal-vcdlibs \
                      --with-real-codecs-path=/usr/lib/essential \
                      --with-vorbis \
                      --with-wavpack \
                      --with-w32-path=/usr/lib/essential \
                      --with-x \
                      --with-xcb \
                      --with-xv-path=/usr/lib \
                      --without-esound \
                      --without-imagemagick \
                      --without-jack \
                      --disable-gdkpixbuf \
                      --disable-nls \
                      --disable-rpath \
                      --disable-syncfb \
                      --disable-optimizations \
                      --disable-dependency-tracking"
    )
Exemplo n.º 13
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("-ac")
    autotools.configure("--disable-static")
Exemplo n.º 14
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 ")
Exemplo n.º 15
0
def setup():
    autotools.automake()
    libtools.libtoolize()
    autotools.configure("--with-libwrap \
                         --enable-alsa \
                         --enable-ipv6 \
                         --sysconfdir=/etc/esd")
Exemplo n.º 16
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")
Exemplo n.º 17
0
def setup():
    libtools.libtoolize("--copy --force")

    autotools.autoconf()
    autotools.aclocal()
    autotools.configure("--disable-static \
                         --enable-opt")
Exemplo n.º 18
0
def setup():
    shelltools.export("AT_M4DIR", "admin/autotools/m4")
    autotools.autoreconf()
    libtools.libtoolize("--copy --force")

    autotools.configure("--libdir=/usr/lib\
                         --disable-static")
Exemplo n.º 19
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")
Exemplo n.º 20
0
def setup():
    libtools.libtoolize("--copy --force")

    autotools.configure(
        "--disable-nls \
                         --disable-static"
    )
Exemplo n.º 21
0
def setup():
    libtools.libtoolize("--force --install")
    autotools.autoreconf("-fi")
    
    autotools.configure("--with-x \
                         --disable-gl \
                         --disable-static")
Exemplo n.º 22
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")
Exemplo n.º 23
0
def configure(parameters = ''):
    '''configure source with given parameters = "--with-nls --with-libusb --with-something-usefull"'''

    if can_access_file('ltmain.sh'):
        libtoolize("--copy --force")

    if can_access_file('configure'):
        gnuconfig_update()

        args = './configure \
                --prefix=/%s \
                --build=%s \
                --mandir=/%s \
                --infodir=/%s \
                --datadir=/%s \
                --sysconfdir=/%s \
                --localstatedir=/%s \
                --libexecdir=/%s \
                %s' % (get.defaultprefixDIR(), \
                       get.HOST(), get.manDIR(), \
                       get.infoDIR(), get.dataDIR(), \
                       get.confDIR(), get.localstateDIR(), get.libexecDIR(), parameters)

        if system(args):
            raise ConfigureError(_('Configure failed.'))
    else:
        raise ConfigureError(_('No configure script found.'))
Exemplo n.º 24
0
def setup():
    shelltools.export("LDFLAGS", get.LDFLAGS() + "-Wl,-z,now")
    libtools.libtoolize("--copy --force")
    autotools.configure("--enable-music \
                         --enable-dfl-baud=57600 \
                         --enable-resmgr \
                         --sysconfdir=/etc/minicom")
Exemplo n.º 25
0
def setup():
    # filter-flags -Wl,-O1
    pisitools.dosed("configure", "-O2 -g", get.CFLAGS())
    pisitools.dosed("configure.in", "-O2 -g", get.CFLAGS())

    # fix bz878 compilation
    pisitools.dosed("configure", "lircd.conf.pixelview_bt878", "lircd.conf.playtv_bt878")
    pisitools.dosed("configure.in", "lircd.conf.pixelview_bt878", "lircd.conf.playtv_bt878")

   
    # Patch bad configure for /usr/src/linux
    libtools.libtoolize("--copy --force")
    
    pisitools.dosed("acinclude.m4", "/usr/src/kernel\-source\-\`uname \-r\` /usr/src/linux\-\`uname \-r\`")
    pisitools.dosed("aclocal.m4", "/usr/src/kernel\-source\-\`uname \-r\` /usr/src/linux\-\`uname \-r\`")
    pisitools.dosed("configure", "/usr/src/kernel\-source\-\`uname \-r\` /usr/src/linux\-\`uname \-r\`")

    pisitools.dosed("configure", "\`uname \-r\`", get.curKERNEL())
    pisitools.dosed("configure.in", "\`uname \-r\`", get.curKERNEL())
    pisitools.dosed("setup.sh", "\`uname \-r\`", get.curKERNEL())

    shelltools.export("WANT_AUTOCONF", "2.5")
    autotools.configure("--disable-manage-devices \
                         --localstatedir=/var \
                         --with-syslog=LOG_DAEMON \
                         --enable-sandboxed \
                         --with-x \
                         --with-driver=any \
                         --with-kerneldir=%s/usr/src/linux \
                         --with-moduledir=%s/lib/modules/linux-%s/extra" % (get.installDIR(), get.installDIR(), get.curKERNEL()))
Exemplo n.º 26
0
def setup():
    shelltools.echo("docs/gtk-doc.make", "EXTRA_DIST=")
    autotools.autoreconf("-fi")
    libtools.libtoolize("--force")
    options = " ac_cv_header_sys_capability_h=yes \
                --bindir=/bin \
                --sbindir=/sbin \
                --docdir=/usr/share/doc/udev \
                --libdir=/usr/lib \
                --libexecdir=/lib/udev \
                --with-distro=other \
                --with-firmware-path=/lib/firmware/updates:/lib/firmware \
                --with-html-dir=/usr/share/doc/udev/html \
                --with-rootlibdir=/lib \
                --with-rootprefix= \
                --disable-coredump \
                --disable-hostnamed \
                --disable-ima \
                --disable-libcryptsetup \
                --disable-localed \
                --disable-logind \
                --disable-nls \
                --disable-quotacheck \
                --disable-readahead \
                --enable-split-usr \
                --disable-timedated \
                --disable-xz \
                --enable-gudev \
                --disable-selinux \
                --disable-static \
                --disable-introspection"

    autotools.configure(options)
Exemplo n.º 27
0
def setup():
    for dir in ["bfd/po", "binutils/po", "gas/po", "gprof/po", "ld/po", "opcodes/po"]:
        pisitools.dosed("%s/Make-in" % dir, "(?m)^(datadir = )$(prefix)/@DATADIRNAME@", r"@datadir@")
        pisitools.dosed("%s/Make-in" % dir, "(?m)^(gnulocaledir = )$(prefix)/share", r"$(datadir)")

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

    config_parameter = (
        "--without-included-gettext \
                         --disable-nls \
                         --host=%s \
                         --target=%s\
                         --datadir=%s \
                         --infodir=%s/info \
                         --mandir=%s/man \
                         --bindir=%s \
                         --libdir=%s \
                         --libexecdir=%s \
                         --includedir=%s \
                         --enable-shared \
                         --disable-werror"
        % (get.HOST(), get.HOST(), datapath, datapath, datapath, binpath, libpath, libpath, incpath)
    )

    autotools.rawConfigure(config_parameter)
Exemplo n.º 28
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoconf()
    autotools.automake()

    autotools.configure()
Exemplo n.º 29
0
def setup():
    shelltools.cd(xorgserver)

    libtools.libtoolize("--copy --force")
    autotools.autoreconf()
    autotools.automake()

    autotools.configure("--enable-ipv6 \
                        --enable-xvfb \
                        --enable-xnest \
                        --enable-install-libxf86config \
                        --enable-dri \
                        --enable-xorg \
                        --enable-glx-tls \
                        --disable-xorgcfg \
                        --disable-xprint \
                        --disable-static \
                        --with-pic \
                        --enable-composite \
                        --with-mesa-source=%s/xorg-server-7.2/%s/ \
                        --with-dri-driver-path=/usr/lib/xorg/modules/dri \
                        --with-os-name=\"Pardus\" \
                        --with-os-vendor=\"TÜBİTAK, UEKAE\" \
                        --sysconfdir=/etc/X11 \
                        --localstatedir=/var \
                        --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/dejavu,/usr/share/fonts/100dpi,/usr/share/fonts/75dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1" % (get.workDIR(), mesa))
Exemplo n.º 30
0
def setup():
    flags = "-O2 \
             -pipe \
             -mno-sse \
             -ffunction-sections"

    # shelltools.export("CFLAGS", "%s %s" % (get.CFLAGS(), flags))
    # shelltools.export("CXXFLAGS", "%s %s" % (get.CXXFLAGS(), flags))
    shelltools.export("CFLAGS", "%s -fno-strict-aliasing -fno-force-addr" % get.CFLAGS())
    shelltools.export("CXXFLAGS", "%s -fno-strict-aliasing -fno-force-addr" % get.CXXFLAGS())
    shelltools.export("CCASFLAGS","-Wa,--noexecstack")

    libtools.libtoolize("--force --copy")
    autotools.autoreconf("-fi")
    autotools.configure(" \
                      --prefix=/usr \
                      --mandir=/usr/share/man \
                      --disable-altivec \
                      --disable-artstest \
                      --disable-dxr3 \
                      --disable-gnome \
                      --disable-vidix \
                      --enable-aalib \
                      --enable-antialiasing \
                      --enable-asf \
                      --enable-directfb \
                      --enable-faad \
                      --enable-fb \
                      --enable-ffmpeg-popular-codecs \
                      --enable-ffmpeg-uncommon-codecs \
                      --enable-fpic \
                      --enable-ipv6 \
                      --enable-mmap \
                      --enable-mng \
                      --enable-modplug \
                      --enable-opengl \
                      --enable-samba \
                      --enable-xinerama \
                      --with-external-a52dec \
                      --with-external-ffmpeg \
                      --with-external-libmad \
                      --with-freetype \
                      --with-fontconfig \
                      --with-internal-vcdlibs \
                      --with-real-codecs-path=/usr/lib/essential \
                      --with-vorbis \
                      --with-wavpack \
                      --with-w32-path=/usr/lib/essential \
                      --with-x \
                      --with-xcb \
                      --with-xv-path=/usr/lib \
                      --without-esound \
                      --without-imagemagick \
                      --without-jack \
                      --disable-gdkpixbuf \
                      --disable-rpath \
                      --disable-syncfb \
                      --disable-optimizations \
                      --disable-dependency-tracking")
Exemplo n.º 31
0
def setup():
    shelltools.move("texmf", "%s/texmf" % CoreSource)
    shelltools.move("texmf-dist", "%s/texmf-dist" % CoreSource)

    shelltools.cd(CoreSource)
    libtools.libtoolize("--copy --force")

    shelltools.cd("libs/teckit/")
    shelltools.export("AT_M4DIR", ".")
    autotools.autoreconf("-fi")

    shelltools.cd("%s/%s/%s" % (get.workDIR(), WorkDir, CoreSource))

    autotools.configure(" --bindir=/usr/bin \
                          --with-system-freetype2 \
                          --with-freetype2-include=/usr/include \
                          --with-system-zlib \
                          --with-system-pnglib \
                          --without-texinfo \
                          --without-dialog \
                          --without-texi2html \
                          --disable-multiplatform \
                          --with-epsfwin \
                          --with-mftalkwin \
                          --with-regiswin \
                          --with-tektronixwin \
                          --with-unitermwin \
                          --with-ps=gs \
                          --without-psutils \
                          --without-sam2p \
                          --without-t1utils \
                          --enable-ipc \
                          --without-etex \
                          --with-xetex \
                          --without-dvipng \
                          --without-dvipdfm \
                          --without-dvipdfmx \
                          --with-xdvipdfmx \
                          --without-lcdf-typetools \
                          --without-pdfopen \
                          --without-ps2eps \
                          --without-detex \
                          --without-ttf2pk \
                          --without-tex4htk \
                          --without-cjkutils \
                          --without-xdvik \
                          --without-oxdvik \
                          --without-xindy \
                          --without-luatex \
                          --without-dvi2tty \
                          --without-vlna \
                          --disable-largefile \
                          --enable-shared \
                          --disable-static")
Exemplo n.º 32
0
def setup():
    shelltools.export("CC", get.CC())
    shelltools.export("LD", get.LD())

    shelltools.unlink("acinclude.m4")
    autotools.autoreconf("-fi")
    libtools.libtoolize("-fic")

    autotools.configure("--enable-nls \
                         --without-included-gettext \
                         --disable-static")
Exemplo n.º 33
0
def setup():
    # Don't use zlib from source
    pisitools.dosed("configure.in", "zlib/Makefile dnl", "dnl zlib/Makefile")

    # Plain autoconf doesn't work here...
    shelltools.export("WANT_AUTOCONF", "2.59")

    autotools.autoreconf("--force")
    libtools.libtoolize("--copy --force")
    libtools.gnuconfig_update()

    shelltools.cd("innobase/")
    autotools.autoreconf("--force")
    libtools.libtoolize("--copy --force")
    libtools.gnuconfig_update()
    shelltools.cd("../")

    # Export flags
    shelltools.export("CFLAGS", "%s -DHAVE_ERRNO_AS_DEFINE=1" % get.CFLAGS())
    shelltools.export(
        "CXXFLAGS", "%s \
                                   -felide-constructors \
                                   -fno-exceptions \
                                   -fno-rtti \
                                   -fno-implicit-templates" % get.CXXFLAGS())

    # Configure!
    autotools.configure("--libexecdir=/usr/sbin \
                         --sysconfdir=/etc/mysql \
                         --localstatedir=/var/lib/mysql \
                         --with-low-memory \
                         --enable-local-infile \
                         --with-mysqld-user=mysql \
                         --with-client-ldflags=-lstdc++ \
                         --enable-thread-safe-client \
                         --with-comment=\"Pardus Linux\" \
                         --with-unix-socket-path=/var/run/mysqld/mysqld.sock \
                         --with-lib-ccflags=\"-fPIC\" \
                         --with-readline \
                         --without-docs \
                         --enable-shared \
                         --disable-static \
                         --without-libwrap \
                         --with-openssl \
                         --without-debug \
                         --with-charset=utf8 \
                         --with-collation=utf8_general_ci \
                         --with-extra-charsets=all \
                         --with-berkeley-db=./bdb \
                         --with-geometry \
                         --with-big-tables \
                         --without-bench \
                         --with-max-indexes=128 \
                         --enable-assembler")
Exemplo n.º 34
0
def setup():
    shelltools.unlinkDir("libltdl")
    libtools.libtoolize("-c -f --ltdl")
    autotools.autoreconf("-fi")

    autotools.configure("--sysconfdir=/etc/unixODBC \
                         --disable-gui \
                         --enable-threads \
                         --enable-drivers \
                         --disable-stats \
                         --x-libraries=/usr/lib")
Exemplo n.º 35
0
def setup():
    shelltools.export("AT_M4DIR", get.curDIR())
    libtools.libtoolize("--copy --force")
    autotools.autoreconf("-fi")

    shelltools.makedirs("libmp3lame/i386/.libs")
    autotools.configure("--disable-mp3x \
                         --disable-static \
                         --enable-shared \
                         --disable-mp3rtp \
                         --enable-nasm")
Exemplo n.º 36
0
def setup():
    shelltools.export("WANT_AUTOMAKE", "1.8")
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--force --copy --automake")
    autotools.autoheader()
    autotools.aclocal()
    autotools.automake("-a -f -c")
    autotools.autoconf()

    autotools.configure("--enable-shared --disable-djbfft")
Exemplo n.º 37
0
def setup():
    autotools.aclocal()
    libtools.libtoolize("--copy --force")
    autotools.automake()
    autotools.autoconf()

    autotools.configure("--enable-shared \
                        --enable-part-static \
                        --enable-pc98=no \
                        --enable-Werror=no \
                        --disable-dynamic-loading")
Exemplo n.º 38
0
def setup():
    autotools.autoreconf()
    libtools.libtoolize("--copy --force")

    # These flags do not bork on x86 ! Try and find out
    # shelltools.export("CFLAGS", "")
    # shelltools.export("CXXFLAGS", "")

    autotools.configure("--disable-static \
                         --disable-doc \
                         --disable-dependency-tracking")
Exemplo n.º 39
0
def setup():
    shelltools.export(
        "CFLAGS",
        "%s -fno-strict-aliasing -fno-force-addr -ffunction-sections -frename-registers -fomit-frame-pointer"
        % get.CFLAGS())
    shelltools.export(
        "CXXFLAGS",
        "%s -fno-strict-aliasing -fno-force-addr -ffunction-sections -frename-registers -fomit-frame-pointer"
        % get.CXXFLAGS())
    shelltools.export("CCASFLAGS", "-Wa,--noexecstack")

    libtools.libtoolize("--force --copy")
    autotools.autoreconf("-fi")
    autotools.configure(" \
                      --prefix=/usr \
                      --mandir=/usr/share/man \
                      --disable-altivec \
                      --disable-artstest \
                      --disable-dxr3 \
                      --disable-vidix \
                      --enable-aalib \
                      --enable-asf \
                      --enable-directfb \
                      --enable-faad \
                      --enable-fb \
                      --enable-ffmpeg-popular-codecs \
                      --enable-ffmpeg-uncommon-codecs \
                      --enable-ipv6 \
                      --enable-mmap \
                      --enable-mng \
                      --enable-modplug \
                      --enable-opengl \
                      --enable-samba \
                      --enable-xinerama \
                      --with-external-a52dec \
                      --with-external-ffmpeg \
                      --with-external-libmad \
                      --with-internal-vcdlibs \
                      --with-real-codecs-path=/usr/lib/essential \
                      --with-vorbis \
                      --with-wavpack \
                      --with-w32-path=/usr/lib/essential \
                      --with-x \
                      --with-xcb \
                      --with-xv-path=/usr/lib \
                      --without-esound \
                      --without-imagemagick \
                      --without-jack \
                      --disable-gdkpixbuf \
                      --disable-nls \
                      --disable-rpath \
                      --disable-syncfb \
                      --disable-optimizations \
                      --disable-dependency-tracking")
Exemplo n.º 40
0
def setup():
    libtools.gnuconfig_update()
    shelltools.export("ALLOWED_FLAGS", "-O -O1 -O2 -pipe -g")
    shelltools.sym("config/configure.in", "configure.in")
    libtools.libtoolize()
    shelltools.export("SGML_PREFIX", "/usr/share/sgml")
    autotools.configure("--enable-http \
                         --enable-default-catalog=/etc/sgml/catalog \
                         --enable-default-search-path=/usr/share/sgml \
                         --disable-static \
                         --libdir=/usr/lib \
                         --datadir=/usr/share/sgml/%s" % get.srcTAG())
Exemplo n.º 41
0
def setup():
    pisitools.removeDir("test/unit")
    pisitools.dosed("test/Makefile.am", " unit", "")
    pisitools.dosed("configure.ac", "test/unit/Makefile", "")

    for filename in ["README", "NEWS", "AUTHORS"]:
        filename = shelltools.join_path(get.workDIR(), WorkDir, filename)
        shelltools.touch(filename)

    autotools.autoreconf()
    libtools.libtoolize("--copy --force")
    autotools.configure("--enable-static=no")
Exemplo n.º 42
0
def setup():
    shelltools.export("CFLAGS", "%s -fPIC -D_GNU_SOURCE" % get.CFLAGS())

    libtools.libtoolize("-f")
    autotools.autoreconf("-fi")
    autotools.rawConfigure("--disable-prelude \
                            --disable-dependency-tracking \
                            --enable-audit=no \
                            --enable-db=no \
                            --enable-nls \
                            --enable-securedir=/lib/security \
                            --enable-isadir=/lib/security")
Exemplo n.º 43
0
def install():
    libtools.libtoolize()

    shelltools.cd("%s/%s/build" % (get.workDIR(), WorkDir))
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    #install plugin
    pisitools.insinto("/usr/lib/qt4/plugins/designer/",
                      "../src/Tools/plugins/widget/*.so")

    shelltools.cd("..")
    pisitools.dodoc("README", "ChangeLog.*", "copying.*")
Exemplo n.º 44
0
def setup():
    shelltools.export("WANT_AUTOMAKE", "1.6")
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.automake()
    autotools.autoconf()

    shelltools.export("CPPFLAGS", "%s -Wno-deprecated" % get.CFLAGS())
    
    autotools.configure()
Exemplo n.º 45
0
def setup():
    libtools.libtoolize()
    autotools.configure("-prefix=/usr \
                         --sbindir=/usr/bin \
                         --with-systemd=/usr/lib/systemd/system/ \
                         --with-openssl \
                         --sysconfdir=/etc/bacula \
                         --enable-smartalloc \
                         --enable-bat \
                         --with-mysql \
                         --with-smtp-host=localhost \
                         --with-scriptdir=/etc/bacula/scripts")
Exemplo n.º 46
0
def setup():
    shelltools.export("CFLAGS", "%s -fPIC -D_GNU_SOURCE" % get.CFLAGS())

    libtools.libtoolize()
    # needed by pam-0.99.10.0-unix-audit-failed.patch
    autotools.autoreconf()
    autotools.rawConfigure("--disable-prelude \
                            --enable-audit \
                            --enable-db=no \
                            --enable-nls \
                            --disable-dependency-tracking \
                            --enable-securedir=/lib/security \
                            --enable-isadir=/lib/security")
Exemplo n.º 47
0
def setup():
    # Use system libtool instead of bundled one
    shelltools.unlinkDir("libltdl")
    libtools.libtoolize("-c -f --ltdl")
    autotools.autoreconf("-fi")

    autotools.configure("--sysconfdir=/etc/unixODBC \
                         --disable-dependency-tracking \
                         --disable-gui \
                         --enable-threads \
                         --enable-drivers \
                         --enable-driver-conf \
                         --disable-stats ")
Exemplo n.º 48
0
def setup():
    libtools.libtoolize()
    autotools.aclocal()
    autotools.autoconf()

    autotools.configure("--with-freetype-bytecode=no \
                         --with-regular-link \
                         --enable-pyextension")

    pisitools.dosed('libtool', '^hardcode_libdir_flag_spec=.*',
                    'hardcode_libdir_flag_spec=""')
    pisitools.dosed('libtool', '^runpath_var=LD_RUN_PATH',
                    'runpath_var=DIE_RPATH_DIE')
Exemplo n.º 49
0
def setup():
    #Make sure the system regenerates src/fcobjshash.h.
    shelltools.system("rm -rf src/fcobjshash.h")
    # Do not rebuild docs
    shelltools.export("HASDOCBOOK", "no")

    libtools.libtoolize("-f")
    autotools.autoreconf("-fi")
    autotools.configure("--disable-static \
                         --disable-docs \
                         --with-cache-dir=/var/cache/fontconfig \
                         --with-default-fonts=/usr/share/fonts \
                         --with-add-fonts=/usr/local/share/fonts")
Exemplo n.º 50
0
def setup():
    crosstools.environment[
        "CFLAGS"] = "%(CFLAGS)s -fPIC -D_GNU_SOURCE" % crosstools.environment

    libtools.libtoolize("-f")
    crosstools.autoreconf()
    crosstools.rawConfigure("--disable-prelude \
                             --disable-dependency-tracking \
                             --disable-audit \
                             --enable-db=no \
                             --enable-nls \
                             --enable-securedir=/lib/security \
                             --enable-isadir=/lib/security")
Exemplo n.º 51
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()
    autotools.configure("--disable-static")

    # Remove rpath
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*",
                    "hardcode_libdir_flag_spec=\"\"")
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH",
                    "runpath_var=DIE_RPATH_DIE")
Exemplo n.º 52
0
def setup():
    autotools.autoreconf("-fi")
    libtools.libtoolize("--force --install")
    autotools.configure("--disable-doc \
                         --disable-static \
                         --disable-ruby \
                         --disable-csharp \
                         --enable-ncurses \
                         --enable-slang \
                         --enable-imlib2 \
                         --enable-x11 \
                         --with-x \
                         --x-libraries=/usr/lib")
Exemplo n.º 53
0
def setup():
    #shelltools.echo("docs/gtk-doc.make", "EXTRA_DIST=")
    autotools.autoreconf("-fi")
    libtools.libtoolize("--force")

    options = " ac_cv_header_sys_capability_h=yes \
                --bindir=/sbin%s \
                --sbindir=/sbin%s \
                --docdir=/usr/share/doc/udev \
                --libdir=/usr/lib%s \
                --libexecdir=/lib%s/udev \
                --with-firmware-path=/lib%s/firmware/updates:/lib%s/firmware \
                --with-html-dir=/usr/share/doc/udev/html \
                --with-rootlibdir=/lib%s \
                --with-rootprefix= \
                --without-python \
                --disable-audit \
                --disable-coredump \
                --disable-hostnamed \
                --disable-ima \
                --disable-libcryptsetup \
                --disable-localed \
                --disable-logind \
                --disable-myhostname \
                --disable-nls \
                --disable-pam \
                --disable-quotacheck \
                --disable-readahead \
                --enable-split-usr \
                --disable-tcpwrap \
                --disable-timedated \
                --disable-xz \
                --enable-gudev \
                --disable-selinux \
                --enable-acl \
                --enable-kmod \
                --enable-introspection \
                --enable-static \
               " % ((suffix, ) * 7)

    options += "--disable-acl \
                --disable-kmod \
                --disable-qrencode \
                --disable-static \
                --disable-microhttpd \
               " if get.buildTYPE() == "emul32" else ""

    shelltools.system(
        "sed -i -e '/--enable-static is not supported by systemd/s:as_fn_error:echo:' configure"
    )
    autotools.configure(options)
Exemplo n.º 54
0
def setup():
    shelltools.move("texmf", "%s/texmf" % CoreSource)
    shelltools.move("texmf-dist", "%s/texmf-dist" % CoreSource)

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

    shelltools.cd("%s/%s/%s" % (get.workDIR(), WorkDir, CoreSource))

    autotools.configure(" --bindir=/usr/bin \
                          --datadir=/usr/share \
                          --prefix=/usr \
                          --with-system-freetype2 \
                          --with-freetype2-include=/usr/include \
                          --with-system-zlib \
                          --with-system-pnglib \
                          --with-system-xpdf \
                          --with-system-teckit \
                          --without-texinfo \
                          --with-xdvipdfmx \
                          --with-teckit-includes=/usr/include/teckit \
                          --disable-detex \
                          --disable-dvi2tty \
                          --disable-dvipng \
                          --disable-dvipdfmx \
                          --disable-luatex \
                          --disable-ps2eps \
                          --disable-psutils \
                          --disable-t1utils \
                          --enable-xetex \
                          --disable-xdvik \
                          --disable-xindy \
                          --disable-dialog \
                          --disable-multiplatform \
                          --with-epsfwin \
                          --with-mftalkwin \
                          --with-regiswin \
                          --with-tektronixwin \
                          --with-unitermwin \
                          --with-ps=gs \
                          --enable-ipc \
                          --disable-lcdf-typetools \
                          --disable-pdfopen \
                          --disable-ttf2pk \
                          --disable-tex4htk \
                          --disable-cjkutils \
                          --disable-vlna \
                          --disable-largefile \
                          --enable-shared \
                          --disable-native-texlive-build")
Exemplo n.º 55
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")
    autotools.autoreconf()
    libtools.libtoolize("--copy --force")

    autotools.configure("--localstatedir=/var \
                         --enable-sandboxed \
                         --disable-debug \
                         --with-transmitter \
                         --with-x \
                         --with-driver=all \
                         --with-syslog=LOG_DAEMON \
                         --with-kerneldir=/usr/src/linux-%s \
                         --with-moduledir=/lib/modules/%s/extra" %
                        (get.curKERNEL(), get.curKERNEL()))
Exemplo n.º 56
0
def setup():
    libtools.libtoolize("--force --install")
    autotools.autoreconf("-fi")

    options = "--with-x \
               --disable-gl \
               --disable-static"

    if get.buildTYPE() == "emul32":
        options += " --prefix=/emul32 \
                     --libdir=/usr/lib32"

        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())

    autotools.configure(options)
Exemplo n.º 57
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.50")

    libtools.libtoolize("-c -f")

    autotools.aclocal()
    autotools.autoconf()

    autotools.configure("--without-mysql \
                         --enable-shared \
                         --enable-static \
                         --with-zlib \
                         --with-md5 \
                         --with-expat \
                         --with-ssl")
Exemplo n.º 58
0
def setup():
    # Pardus-ARM preparation
    prepare()

    shelltools.export("AT_M4DIR", get.curDIR())
    libtools.libtoolize("--copy --force")
    autotools.autoreconf("-fi")

    shelltools.makedirs("libmp3lame/i386/.libs")
    autotools.configure("--disable-mp3x \
                         --disable-static \
                         --enable-shared \
                         --disable-mp3rtp \
                         --enable-nasm\
                         --build=%s --host=%s \
                         " % (_build, _host))
Exemplo n.º 59
0
def setup():
    # Pardus-ARM preparation
    prepare()

    autotools.autoreconf("-fi")
    libtools.libtoolize("--force --install")
    autotools.configure("--enable-alsa09 \
                         --enable-alsa09-mmap \
                         --disable-arts \
                         --disable-pulse \
                         --disable-esd \
                         --disable-nas \
                         --enable-shared \
                         --disable-static \
                         --build=%s --host=%s \
                         " % (_build, _host))
Exemplo n.º 60
0
def setup():
    libtools.libtoolize("--force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoconf()

    shelltools.makedirs("%s/temp" % get.curDIR())
    shelltools.export("VARTEXFONTS", "%s/temp" % get.curDIR())

    autotools.configure("--disable-doc \
                        --enable-ncurses \
                        --enable-slang \
                        --enable-imlib2 \
                        --enable-x11 \
                        --with-x \
                        --x-libraries=/usr/lib")