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")
def setup(): shelltools.export("PTHREAD_LIBS", "-lpthread") shelltools.system("./autogen.sh") autotools.autoreconf("-vif") autotools.configure("--disable-static") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): #shelltools.system("sed -i -e '/SystemdService/d' obexd/src/org.bluez.obex.service.in") pisitools.dosed("obexd/src/org.bluez.obex.service.in", "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") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): autotools.autoreconf("-vif") shelltools.system("./autogen.sh") autotools.configure("--libexecdir=/usr/lib/cinnamon-desktop \ --disable-schemas-compile") pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def setup(): shelltools.export("CFLAGS", "%s -D_GNU_SOURCE -fPIC" % get.CFLAGS()) for i in ["dhclient.conf.5", "dhclient.leases.5", "dhclient-script.8", "dhclient.8"]: pisitools.dosed("client/%s" % i, "CLIENTBINDIR", "/sbin") pisitools.dosed("client/%s" % i, "RUNDIR", "/var/run") pisitools.dosed("client/%s" % i, "DBDIR", "/var/lib/dhcpd") pisitools.dosed("client/%s" % i, "ETCDIR", "/etc/dhcp") for i in ["dhcpd.conf.5", "dhcpd.leases.5", "dhcpd.8"]: pisitools.dosed("server/%s" % i, "CLIENTBINDIR", "/sbin") pisitools.dosed("server/%s" % i, "RUNDIR", "/var/run") pisitools.dosed("server/%s" % i, "DBDIR", "/var/lib/dhcpd") pisitools.dosed("server/%s" % i, "ETCDIR", "/etc/dhcp") pisitools.dosed("client/scripts/linux", "/etc/dhclient-exit-hooks", "/etc/dhcp/dhclient-exit-hooks") pisitools.dosed("client/scripts/linux", "/etc/dhclient-enter-hooks", "/etc/dhcp/dhclient-enter-hooks") autotools.autoreconf("-vfi") autotools.configure("--with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcpd/dhcpd6.leases \ --with-cli-lease-file=/var/lib/dhclient/dhclient.leases \ --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases \ --with-srv-pid-file=/var/run/dhcpd.pid \ --with-srv6-pid-file=/var/run/dhcpd6.pid \ --with-cli-pid-file=/var/run/dhclient.pid \ --with-cli6-pid-file=/var/run/dhclient6.pid \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-ldap \ --with-ldapcrypto")
def setup(): autotools.autoreconf("-vfi") autotools.configure("--disable-static \ --enable-mod-ogg \ --enable-mod-gl \ --disable-nls \ --disable-rpath")
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 ")
def setup(): shelltools.export("CFLAGS","%s -fpie" % get.CFLAGS()) shelltools.export("LDFLAGS","%s -pie" % get.LDFLAGS()) pisitools.dosed("pathnames.h", "/usr/X11R6/bin/xauth", r"/usr/bin/xauth") pisitools.dosed("sshd_config", "(?m)^(^#Protocol ).*", r"Protocol 2") pisitools.dosed("sshd_config", "(?m)^(^#UsePAM ).*", r"UsePAM yes") pisitools.dosed("sshd_config", "(?m)^(^#PasswordAuthentication ).*", r"PasswordAuthentication no") pisitools.dosed("sshd_config", "(?m)^(^#X11Forwarding ).*", r"X11Forwarding yes") pisitools.dosed("sshd_config", "(?m)^(^#UseDNS ).*", r"UseDNS no") pisitools.dosed("sshd_config", "(?m)^(^#PermitRootLogin ).*", r"PermitRootLogin no") autotools.autoreconf("-fi") autotools.configure("--sysconfdir=/etc/ssh \ --disable-strip \ --libexecdir=/usr/lib/misc \ --datadir=/usr/share/openssh \ --with-privsep-path=/var/empty \ --with-privsep-user=sshd \ --with-md5-passwords \ --without-kerberos5 \ --with-tcp-wrappers \ --without-skey \ --without-opensc \ --with-pam \ --with-consolekit")
def setup(): # For 32bit machines: # * It get compiled with the normal options below. The emul32 are ignored # on 32bit machines. Nothing is added to options variable. # # For 64bit machines: # * First we compile for 64bit with the option --enable-win64. These build # files are stored in the normal "work" dir # * In the second run (for emul32 buildType), the 32bit part is compiled # with the spesific libdir and the --with-wine64 options that is pointing # to the 64bit files that was compiled in the first step (files in the work) # # More info can be obtained here: http://wiki.winehq.org/Wine64 autotools.autoreconf("-vif") options = "--without-capi \ --with-curses \ --without-esd \ --with-opengl \ --with-pulse \ --with-x" if get.buildTYPE() == "emul32": options += ( "--libdir=/usr/lib32 \ --with-wine64=%s/work/%s" % (get.pkgDIR(), get.srcDIR()) ) elif get.ARCH() == "x86_64": options += " --enable-win64" autotools.configure(options)
def setup(): shelltools.touch("%s/ChangeLog" % get.curDIR()) autotools.autoreconf("-fi") autotools.configure("--disable-static \ --disable-libQgpsmm \ --enable-dbus")
def setup(): pisitools.dosed("src/Makefile.am", "sis_drv", "sisimedia_drv") pisitools.dosed("src/sis.h", '"sis"', '"sisimedia"') pisitools.dosed("src/sis_driver.c", "sisModuleData", "sisimediaModuleData") autotools.autoreconf("-vif") autotools.configure()
def setup(): autotools.autoreconf("-vfi") autotools.configure("conf_dir=/etc/conf.d --enable-yesterday \ --enable-install-isag \ --enable-install-cron \ --enable-copy-only \ --disable-man-group")
def setup(): shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS()) for i in ["NEWS", "AUTHORS", "COPYING"]: shelltools.touch(i) autotools.autoreconf("-fi") autotools.configure("--disable-static --prefix=/opt/enet12")
def setup(): autotools.autoreconf() autotools.configure("--disable-static \ --sysconfdir=/etc/aspell \ --enable-docdir=/usr/share/doc/%s" % get.srcNAME()) pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def setup(): shelltools.export("AUTOPOINT", "true") autotools.autoreconf("-vfi") #shelltools.system("./autogen.sh --disable-gtk-doc --disable-docbook") options = '--with-package-name="GStreamer package for PisiLinux" \ --with-package-origin="http://www.pisilinux.org" \ --enable-nls \ --disable-dependency-tracking \ --disable-examples \ --disable-tests \ --disable-failing-tests \ --enable-introspection \ --disable-static \ --disable-rpath \ --disable-valgrind \ --disable-gtk-doc' if get.buildTYPE() == "emul32": options += " --bindir=/usr/bin32 \ --libexecdir=/usr/libexec32 \ --disable-introspection" shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") autotools.configure(options)
def setup(): shelltools.export("AUTOPOINT", "true") autotools.autoreconf("-fi") autotools.configure("--disable-static \ --with-ui \ --with-readline \ --enable-nls")
def setup(): autotools.autoreconf("-fis") autotools.configure("--enable-udev \ --enable-twinserial \ --disable-static \ --disable-dependency-tracking")
def setup(): autotools.autoreconf("-fvi") options = "--disable-static \ --with-system-data-files \ --bindir=%s" % (demos_dir_emul32 if get.buildTYPE() == "emul32" else demos_dir) autotools.configure(options)
def setup(): autotools.autoreconf("-fi") autotools.configure("--disable-aload") # rpath fix pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"") pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
def setup(): for tool in alsa_tools: shelltools.cd(tool) if tool in ["hdspconf", "ld10k1"]: autotools.autoreconf("-fi") autotools.configure() shelltools.cd("..")
def setup(): autotools.autoreconf("-vif") autotools.configure("--disable-static") pisitools.dosed("libtool", "^(hardcode_libdir_flag_spec=).*", '\\1""') pisitools.dosed("libtool", "^(runpath_var=)LD_RUN_PATH", "\\1DIE_RPATH_DIE") pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def setup(): shelltools.export("CFLAGS", "%s -DNDEBUG" % get.CFLAGS()) autotools.autoreconf("-vif") autotools.configure("--enable-pic \ --disable-xcb \ --enable-glx-tls \ --disable-gl-osmesa \ --disable-egl \ --disable-glw \ --disable-glut \ --enable-gallium \ --enable-gallium-llvm \ --disable-gallium-svga \ --disable-gallium-i915 \ --disable-gallium-i965 \ --enable-gallium-radeon \ --disable-gallium-r600 \ --disable-gallium-nouveau \ --with-driver=dri \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-dri-drivers=i810,i915,i965,mach64,r128,r200,r600,radeon,sis,tdfx \ --with-state-trackers=dri,glx") pisitools.dosed("configs/autoconf", "(PYTHON_FLAGS) = .*", r"\1 = -t")
def setup(): shelltools.system("install=wine.keyring") # For 32bit machines: # * It get compiled with the normal options below. The emul32 are ignored # on 32bit machines. Nothing is added to options variable. # # For 64bit machines: # * First we compile for 64bit with the option --enable-win64. These build # files are stored in the normal "work" dir # * In the second run (for emul32 buildType), the 32bit part is compiled # with the spesific libdir and the --with-wine64 options that is pointing # to the 64bit files that was compiled in the first step (files in the work) # # More info can be obtained here: http://wiki.winehq.org/Wine64 # shelltools.export("CPPFLAGS", "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0") autotools.autoreconf("-vif") options = "--without-capi \ --with-curses \ --without-hal \ --without-gstreamer \ --with-dbus \ --with-opengl \ --with-alsa \ --with-x" if get.buildTYPE() == "emul32": options += " --with-wine64=%s/work/wine-%s" % (get.pkgDIR(), get.srcVERSION()) elif get.ARCH() == "x86_64": options += " --enable-win64" autotools.configure(options)
def setup(): autotools.autoreconf("-vfi") autotools.configure("--disable-static \ --enable-shared \ --enable-curl \ --enable-largefile \ --enable-messages")
def setup(): #shelltools.export("AUTOPOINT", "/bin/true") autotools.autoreconf("-vfi") autotools.configure("--disable-static \ --disable-rpath") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): pisitools.dosed("configure.ac", "AC_PATH_XTRA") autotools.autoreconf("-vif") pisitools.dosed("configure", "DOCUMENTATION_RELATIVE_PATH=.*", "DOCUMENTATION_RELATIVE_PATH=%s/html" % get.srcNAME()) autotools.configure("--with-gs-font-dir=/usr/share/fonts/default/ghostscript \ --docdir=/usr/share/doc/imagemagick \ --enable-hdri \ --enable-shared \ --disable-static \ --with-modules \ --with-perl \ --with-perl-options='INSTALLDIRS=vendor' \ --with-x \ --with-threads \ --with-magick_plus_plus \ --with-gslib \ --with-wmf \ --with-lcms \ --with-rsvg \ --with-xml \ --with-djvu \ --with-bzlib \ --with-zlib \ --with-fpx \ --with-tiff \ --with-jp2 \ --with-jpeg \ --without-jbig \ --without-fpx \ --without-dps")
def setup(): autotools.autoreconf("-fi") pisitools.dosed("docs/Makefile.in", "share/gtk-doc/html/gegl", "share/doc/%s/html" % get.srcNAME()) autotools.configure("--enable-mmx \ --enable-sse \ --with-cairo \ --with-graphviz \ --with-gtk \ --with-gdk-pixbuf \ --with-libjpeg \ --with-libopenraw \ --with-libpng \ --with-librsvg \ --with-libspiro \ --with-libv4l \ --with-lua \ --with-openexr \ --with-pango \ --with-pangocairo \ --with-sdl \ --disable-static \ --disable-gtk-doc \ --enable-workshop") # libtool fixes for underlinking problems for op in ["affine", "core", "common", "external", "generated", "workshop/generated", "workshop/external", "workshop"]: pisitools.dosed("operations/%s/Makefile" % op, "^#(libgegl.*)$", "\\1") pisitools.dosed("operations/%s/Makefile" % op, "^AVFORMAT_LIBS = (.*)$", "AVFORMAT_LIBS = \\1 -lavutil")
def setup(): # Remove local copies for system libs for directory in ["jpeg", "libpng", "zlib", "jasper", "expat"]: shelltools.unlinkDir(directory) shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS()) autotools.autoreconf("-fi") autotools.configure("--disable-compile-inits \ --disable-gtk \ --enable-dynamic \ --enable-cups \ --with-system-libtiff \ --with-ijs \ --with-drivers=ALL \ --with-libpaper \ --with-jbig2dec \ --with-jasper \ --with-omni \ --with-x \ --with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1") shelltools.cd("ijs/") shelltools.system("./autogen.sh \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-static \ --enable-shared")
def setup(): autotools.autoreconf("-vif") autotools.configure("--enable-static=no \ --disable-scrollkeeper \ --disable-gtkunique \ --disable-libopenraw \ --disable-schemas-install")
def setup(): autotools.autoreconf("-vfi") autotools.configure("--enable-ffcall \ --enable-gnutls \ --enable-tls \ --enable-zeroconf \ --with-default-config=%s/GNUstep.conf" % WorkPath)
def setup(): autotools.autoreconf("-fi") autotools.configure("--disable-static")
def setup(): autotools.autoreconf("-fiv") autotools.configure()
def setup(): autotools.autoreconf("-fi") autotools.configure("--disable-static \ --enable-python \ --with-html-dir=/%s/%s/html" % (get.docDIR(), get.srcNAME()))
def setup(): autotools.autoreconf("-vif") autotools.configure("--with-libcap-ng=yes \ --enable-gssapi-krb5=no \ --enable-systemd=no \ --disable-static")
def setup(): autotools.autoreconf("-vfi") autotools.configure("--disable-fd-passing \ --disable-static \ --disable-gpgsm-test")
def setup(): autotools.autoreconf("-fi") autotools.configure("--enable-sound \ --enable-SDL \ --enable-nvidia=no")
def setup(): autotools.autoreconf("-fi") autotools.configure("--disable-server \ --disable-dependency-tracking")
def setup(): autotools.autoreconf("-fi") autotools.configure() pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): autotools.autoreconf("-fi") autotools.automake() autotools.configure("--enable-zlib")
def setup(): autotools.autoreconf("-vfi") autotools.configure("--includedir=/usr/include/gpgme \ --with-gpg=/usr/bin/gpg2 \ --with-pth=yes \ --with-gpgsm=/usr/bin/gpgsm")
def setup(): shelltools.cd(minizip_dir) shelltools.makedirs("m4") autotools.autoreconf("-vif") autotools.configure()
def setup(): autotools.autoreconf() autotools.configure("--program-prefix=\"eu-\" \ --enable-shared")
def setup(): autotools.autoreconf("-fiv") autotools.configure("--sysconfdir=/etc/X11/ \ --with-pam-prefix=/etc \ --disable-scrollkeeper \ --disable-static")
def setup(): autotools.autoreconf("-vfi") autotools.configure("--disable-static \ --disable-ldconfig")
def setup(): autotools.autoreconf("-vif") autotools.configure("--with-gtk=2")
def setup(): shelltools.export("CFLAGS", "%s -fwrapv" % get.CFLAGS()) autotools.autoreconf("-vfi") autotools.configure("--disable-static")
def setup(): autotools.autoreconf("-vfi") autotools.configure("--enable-curses")
def setup(): autotools.autoreconf("-fiv") autotools.configure("--enable-linux-multiformat --prefix=/usr")
def setup(): pisitools.dosed("configure.ac", "libsoup-2.2", "libsoup-2.4") autotools.autoreconf("-fi") pisitools.dosed("src/Makefile.in", "-Werror") autotools.configure()
def setup(): autotools.autoreconf("-fi") autotools.configure("--with-x86emu")
def setup(): autotools.autoreconf("-fi") autotools.configure("--disable-static \ --disable-dependency-tracking \ --enable-slpv1 \ --enable-slpv2-security")
def setup(): pisitools.dosed("include/ldap_defaults.h", "(#define LDAPI_SOCK).*", '\\1 "/run/openldap/slapd.sock"') pisitools.dosed("servers/slapd/Makefile.in", "(\$\(DESTDIR\))\$\(localstatedir\)(\/run)", r"\1\2") pisitools.flags.add( "-D_REENTRANT -D_GNU_SOURCE -fPIC -Wl,--as-needed -DLDAP_CONNECTIONLESS" ) #pisitools.ldflags.add("-pie") options = "--prefix=/usr \ --enable-bdb \ --enable-hdb=mod \ --enable-slapd \ --enable-passwd=mod \ --enable-dnssrv=mod \ --enable-ldap \ --enable-wrappers \ --enable-meta=mod \ --enable-monitor=mod \ --enable-null=mod \ --enable-shell=mod \ --enable-rewrite \ --enable-rlookups \ --enable-aci \ --enable-modules \ --enable-cleartext \ --enable-lmpasswd \ --enable-spasswd \ --enable-slapi \ --enable-dyngroup \ --enable-proxycache \ --enable-perl \ --enable-syslog \ --enable-dynamic \ --enable-local \ --enable-proctitle \ --enable-overlays=mod \ --with-pic \ --with-cyrus-sasl \ --with-threads \ --without-fetch \ --enable-crypt \ --enable-ipv6 \ --enable-dynacl \ --enable-shared \ --disable-static \ --disable-slp \ --localstatedir=/var/lib" if get.buildTYPE() == "emul32": options += " --prefix=/emul32 \ --libdir=/usr/lib32 \ --libexecdir=/emul32/libexec \ --disable-bdb \ --disable-hdb \ --disable-wrappers \ --disable-spasswd \ --disable-perl \ --with-tls \ --without-cyrus-sasl" else: options += " --with-tls=moznss" shelltools.export("AUTOMAKE", "/bin/true") autotools.autoreconf("-fi") autotools.configure(options) pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def setup(): autotools.autoreconf("-vif") autotools.configure("--disable-static \ --enable-profiling \ --libexecdir=/usr/lib/cinnamon-settings-daemon \ --disable-systemd")
def setup(): autotools.autoreconf("-fi") autotools.configure("--enable-static=no")
def setup(): autotools.autoreconf("-fiv") autotools.configure("--with-gtkmozembed=mozilla")
def setup(): autotools.autoreconf("-vfi") autotools.configure("--disable-static \ --enable-introspection=yes")
def setup(): autotools.autoreconf() autotools.configure("--with-tmpdir=/tmp")
def setup(): autotools.autoreconf("-vfi") autotools.rawConfigure("--prefix=%(qt)s \ --includedir=%(qt)s/include \ --libdir=%(qt)s/lib \ --disable-static" % QTDIR)
def setup(): autotools.autoreconf("-vif") autotools.configure("--disable-static \ --libdir=/usr/lib32")
def setup(): autotools.autoreconf("-fi") autotools.configure("--enable-gc=system \ --with-latex=/usr/share/texmf-dist/tex/latex")