예제 #1
0
def setup():
    cache = [
        "ac_cv_lib_jpeg_jpeg_destroy_decompress=yes",
        "ac_cv_lib_jpeg_jpeg_simple_progression=yes",
        "LIBJPEG='-ljpeg'",
        "gio_can_sniff=yes",
    ]

    autotools.autoreconf("-fvi")
    autotools.configure(
        "--with-libjpeg \
                         --with-libtiff \
                         --with-libjasper\
                         --with-libpng \
                         --with-gdktarget=x11 \
                         --enable-xinerama \
                         --with-xinput=yes \
                         --enable-xkb \
                         --enable-shm \
                         --disable-introspection \
                         --with-included-loaders=png \
                         --disable-glibtest \
                         --x-includes=%(SysRoot)s/usr/include/X11 \
                         --x-libraries=%(SysRoot)s/usr/lib \
                         --with-gnu-ld \
                         --disable-cups \
                         "
        % autotools.environment,
        cache=cache,
    )
    # FIXME: --disable-cups will be fixed.
    pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
예제 #2
0
def setup():
    cache = [
        "am_cv_func_iconv_works=yes", "gl_cv_func_wcwidth_works=yes",
        "gt_cv_func_printf_posix=yes", "gt_cv_int_divbyzero_sigfpe=yes"
    ]

    # FIXME: optimization flags
    crosstools.environment[
        "CFLAGS"] = "-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfpu=vfp -mfloat-abi=softfp -I%(SysRoot)s/usr/include" % crosstools.environment
    crosstools.environment[
        "CXXFLAGS"] = "-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfpu=vfp -mfloat-abi=softfp -I%(SysRoot)s/usr/include" % crosstools.environment

    #crosstools.environment["CFLAGS"] = "%(CFLAGS)s -Dgcc_is_lint" % crosstools.environment
    #crosstools.environment["CXXFLAGS"] = "%(CXXFLAGS)s -Dgcc_is_lint" % crosstools.environment

    # Build with --without-included-gettext (will use that of glibc), as we
    # need preloadable_libintl.so for new help2man
    crosstools.autoreconf("-fiv")
    crosstools.configure("--disable-java \
                          --disable-csharp \
                          --without-included-gettext \
                          --with-included-libcroco \
                          --with-included-glib \
                          --with-included-libxml \
                          --without-emacs \
                          --disable-openmp \
                          --enable-nls \
                          --enable-shared \
                          --disable-rpath \
                          --disable-static",
                         cache=cache)
예제 #3
0
def setup():
    autotools.autoreconf("-fi")

    shelltools.copytree("../fftw-%s" % get.srcVERSION(), "../fftw-%s-double" % get.srcVERSION())
    shelltools.copytree("../fftw-%s" % get.srcVERSION(), "../fftw-%s-long-double" % get.srcVERSION())

    # FIXME --enable-sse may be used for other archs
    autotools.configure("--enable-shared \
                         --disable-static \
                         --disable-dependency-tracking \
                         --enable-threads \
                         --enable-single")

    # The only difference here is that there is no --enable-float
    # FIXME --enable-sse2 may be used for other archs

    shelltools.cd("../fftw-%s-double" % get.srcVERSION())
    autotools.configure("--enable-shared \
                         --disable-static \
                         --disable-dependency-tracking \
                         --enable-threads")

    # The only difference here is --enable-long-double
    shelltools.cd("../fftw-%s-long-double" % get.srcVERSION())
    autotools.configure("--enable-shared \
                         --disable-static \
                         --disable-dependency-tracking \
                         --enable-threads \
                         --enable-long-double")
예제 #4
0
def setup():
    #shelltools.export("PKG_CONFIG_SYSROOT_DIR", "%(RootDir)s" % autotools.environment)
    # pkg-config problem
    autotools.environment[
        "CFLAGS"] = "%(CFLAGS)s -I%(RootDir)s/usr/include/libdrm" % autotools.environment
    autotools.autoreconf("-vif")
    autotools.configure("--enable-dummy-driver")
예제 #5
0
def setup():
    crosstools.autoreconf("-fi")

    crosstools.configure("--disable-static \
                          --enable-pam-module \
                          --localstatedir=/var \
                          --with-pid-file=/var/run/ConsoleKit/pid")
예제 #6
0
def setup():
    autotools.autoreconf("-fiv")

    # FIXME --enable-introspection=no will be removed after
    # programming.library.gobject-introspection is built properly.
    autotools.configure("--disable-gtk-doc \
                         --enable-introspection=no")
예제 #7
0
def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--enable-txt \
                         --enable-pdf \
                         --disable-ps \
                         --disable-html \
                         --with-x11docdir=%s" % x11docdir)
예제 #8
0
def setup():
    shelltools.export("OPT",
                      "%(CFLAGS)s -fPIC -D__SOFTFP__" % crosstools.environment)

    crosstools.autoconf()
    crosstools.autoreconf()
    crosstools.autoreconf(
        "-Wcross --verbose --install --force Modules/_ctypes/libffi")
    # pisitools.dosed("Modules/_ctypes/libffi/Makefile.in", r"(^CFLAGS\s*=.*)", "\\1 FFI_DEFAULT_ABI")
    crosstools.configure("--with-fpectl \
                          --enable-shared \
                          --disable-ipv6 \
                          --with-threads \
                          --with-libc='' \
                          --enable-unicode=ucs4 \
                          --with-wctype-functions \
                          --with-pymalloc \
                          --with-cyclic-gc \
                          --with-signal-module \
                          --without-system-ffi")
    # FIXME: --enable-ipv6
    pisitools.dosed("Makefile", r"\$\{includedir\}",
                    "%(SysRoot)s/usr/include" % crosstools.environment)
    pisitools.dosed("Makefile", r"\$\{libdir\}",
                    "%(SysRoot)s/usr/lib" % crosstools.environment)
예제 #9
0
def setup():
    pisitools.dosed("test-suite/tests/popen.test", "sleep 999", "sleep 1")

    cache = [ "ac_cv_sys_restartable_syscalls=yes",
              "ac_cv_func_pthread_key_delete=yes",
              "glib_cv_sys_pthread_mutex_trylock_posix=yes",
              "glib_cv_sys_pthread_getspecific_posix=yes",
              "glib_cv_sys_pthread_cond_timedwait_posix=yes",
              "ac_cv_func_pthread_attr_getstack=yes" ]

    autotools.autoreconf("-vif")
    autotools.configure("--disable-error-on-warning \
                         --disable-static \
                         --enable-posix \
                         --enable-networking \
                         --enable-regex \
                         --enable-elisp \
                         --enable-nls \
                         --disable-rpath \
                         --with-threads \
                         --with-modules", cache=cache)

    # Put flags in front of the libs. Needed for --as-needed.
    replace = (r"(\\\$deplibs) (\\\$compiler_flags)", r"\2 \1")
    pisitools.dosed("libtool", *replace)
    pisitools.dosed("*/libtool", *replace)
예제 #10
0
def setup():
    cache = [
        "ac_cv_lib_jpeg_jpeg_destroy_decompress=yes",
        "ac_cv_lib_jpeg_jpeg_simple_progression=yes", "LIBJPEG='-ljpeg'",
        "gio_can_sniff=yes"
    ]

    autotools.autoreconf("-fvi")
    autotools.configure("--with-libjpeg \
                         --with-libtiff \
                         --with-libjasper\
                         --with-libpng \
                         --with-gdktarget=x11 \
                         --enable-xinerama \
                         --with-xinput=yes \
                         --enable-xkb \
                         --enable-shm \
                         --disable-introspection \
                         --with-included-loaders=png \
                         --disable-glibtest \
                         --x-includes=%(SysRoot)s/usr/include/X11 \
                         --x-libraries=%(SysRoot)s/usr/lib \
                         --with-gnu-ld \
                         --disable-cups \
                         " % autotools.environment,
                        cache=cache)
    # FIXME: --disable-cups will be fixed.
    pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
예제 #11
0
def setup():
    crosstools.autoreconf("-fi")

    crosstools.configure("--disable-static \
                          --enable-pam-module \
                          --localstatedir=/var \
                          --with-pid-file=/var/run/ConsoleKit/pid")
예제 #12
0
def setup():
    autotools.autoreconf("-vfi")
    autotools.configure("--with-gnu-ld \
                         --disable-static \
                         --with-edje-cc=/usr/bin/edje_cc \
                         --with-eet-eet=/usr/bin/eet")
    pisitools.dosed("libtool", r"\s+(/usr/lib)", " %(SysRoot)s\\1" % autotools.environment)
예제 #13
0
def setup():
    pisitools.dosed("test-suite/tests/popen.test", "sleep 999", "sleep 1")

    cache = [
        "ac_cv_sys_restartable_syscalls=yes",
        "ac_cv_func_pthread_key_delete=yes",
        "glib_cv_sys_pthread_mutex_trylock_posix=yes",
        "glib_cv_sys_pthread_getspecific_posix=yes",
        "glib_cv_sys_pthread_cond_timedwait_posix=yes",
        "ac_cv_func_pthread_attr_getstack=yes"
    ]

    autotools.autoreconf("-vif")
    autotools.configure("--disable-error-on-warning \
                         --disable-static \
                         --enable-posix \
                         --enable-networking \
                         --enable-regex \
                         --enable-elisp \
                         --enable-nls \
                         --disable-rpath \
                         --with-threads \
                         --with-modules",
                        cache=cache)

    # Put flags in front of the libs. Needed for --as-needed.
    replace = (r"(\\\$deplibs) (\\\$compiler_flags)", r"\2 \1")
    pisitools.dosed("libtool", *replace)
    pisitools.dosed("*/libtool", *replace)
예제 #14
0
def setup():
    crosstools.autoreconf("-fi")

    crosstools.configure("--localstatedir=/var \
                          --disable-api-docs \
                          --disable-html-docs \
                          --disable-static")
예제 #15
0
def setup():
    crosstools.autoreconf("-vif")

    crosstools.configure("--disable-static \
                          --disable-specs \
                          --with-xcb \
                          --enable-malloc0returnsnull")
예제 #16
0
def setup():
    cache = [
        "ac_cv_file__dev_urandom=yes", "ac_cv_file__dev_random=yes",
        "ac_cv_file_/var/log/wtmp", "ac_cv_file_/var/run/utmp"
    ]
    autotools.autoreconf("-vif")

    autotools.configure("--disable-static \
                         --enable-unix-transport \
                         --enable-tcp-transport \
                         --enable-IPv6 \
                         --enable-local-transport \
                         --enable-secure-rpc \
                         --enable-xpm-logos \
                         --enable-dynamic-greeter \
                         --enable-xdm-auth \
                         --with-pam \
                         --with-xdmconfigdir=/etc/X11/xdm \
                         --with-default-vt=vt7 \
                         --with-config-type=ws \
                         --with-xft \
                         --with-wtmp_file=/var/log/wtmp \
                         --with-utmp_file=/var/run/utmp \
                         --with-random-device=/dev/urandom \
                         --with-pixmapdir=/usr/share/X11/xdm/pixmaps",
                        cache=cache)
예제 #17
0
def setup():
    autotools.environment[
        "CFLAGS"] = "%(CFLAGS)s -DNDEBUG" % autotools.environment

    shelltools.sym("../../../../gallium/drivers/nouveau/nouveau_class.h",
                   "src/mesa/drivers/dri/nouveau/nouveau_class.h")

    autotools.autoreconf("-vif")
    autotools.configure("--enable-pic \
                         --disable-xcb \
                         --disable-glx-tls \
                         --disable-gl-osmesa \
                         --disable-egl \
                         --disable-glw \
                         --disable-glut \
                         --disable-gallium \
                         --disable-gallium-nouveau \
                         --with-driver=dri \
                         --without-demos \
                         --with-dri-driverdir=/usr/lib/xorg/modules/dri \
                         --with-dri-drivers=swrast \
                         --with-state-trackers=dri,glx")

    pisitools.dosed("src/mesa/shader/slang/library/Makefile",
                    r"(^GLSL_CL\s*=).*", "\\1 $(TOP)/glsl-compile")
예제 #18
0
def setup():
    crosstools.autoreconf("-fi")
    crosstools.configure("--disable-static \
                          --disable-rpath \
                          --without-x \
                          --enable-cxx \
                          --with-pic")
예제 #19
0
def setup():
    crosstools.autoreconf("-vif")

    crosstools.configure("--disable-static \
                          --disable-specs \
                          --with-xcb \
                          --enable-malloc0returnsnull")
예제 #20
0
def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--enable-txt \
                         --enable-pdf \
                         --disable-ps \
                         --disable-html \
                         --with-x11docdir=%s" % x11docdir)
예제 #21
0
def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--exec-prefix=/usr \
                         --localstatedir=/var \
                         --disable-static \
                         --disable-docbook-docs \
                         --disable-gtk-doc \
                         --disable-dependency-tracking \
                         --disable-smbios \
                         --disable-console-kit \
                         --disable-policy-kit \
                         --disable-acl-management \
                         --disable-acpi-ibm \
                         --disable-parted \
                         --disable-sonypic \
                         --without-keymaps \
                         --without-dell-backlight \
                         --without-deprecated-keys \
                         --enable-acpi-acpid \
                         --enable-acpi-proc \
                         --enable-man-pages \
                         --enable-umount-helper \
                         --with-eject=/usr/bin/eject \
                         --with-hal-user=hal \
                         --with-hal-group=hal \
                         --with-udev-prefix=/lib \
                         --with-pci-ids=%(RootDir)s/usr/share/misc/pci.ids \
                         --with-usb-ids=%(RootDir)s/usr/share/misc/usb.ids" %
                        autotools.environment)

    # Disable 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")
예제 #22
0
def setup():
    autotools.autoreconf("-fiv")

    # FIXME --enable-introspection=no will be removed after
    # programming.library.gobject-introspection is built properly.
    autotools.configure("--disable-gtk-doc \
                         --enable-introspection=no")
예제 #23
0
def setup():
    # Speed up xkbcomp
    autotools.environment["CFLAGS"] = "%(CFLAGS)s -DHAVE_STRCASECMP" % autotools.environment

    for package in shelltools.ls("."):
        if package.startswith(SkipList):
            continue

        print "Configuring %s..." % package
        shelltools.cd(package)

        if package.startswith("xsm") or not shelltools.isFile("configure"):
            autotools.autoreconf("-vif")

        cache = [ "ac_cv_file__etc_X11_fontpath_d=yes",
                  "ac_cv_file__etc_man_conf=yes",
                  "ac_cv_func_malloc_0_nonnull=yes",
                  "ac_cv_func_calloc_0_nonnull=yes",
                  "ac_cv_func_realloc_0_nonnull=yes" ]

        args = "--disable-dependency-tracking \
                --disable-devel-docs \
                --with-cpp=/usr/bin/mcpp"

        if package.startswith('xfs'):
            args += " --with-default-font-path=/etc/X11/fontpath.d"

        autotools.configure("%s" % args, cache=cache)
        shelltools.cd("../")
예제 #24
0
def setup():
    crosstools.autoreconf("-fi")

    crosstools.configure("--localstatedir=/var \
                          --disable-api-docs \
                          --disable-html-docs \
                          --disable-static")
예제 #25
0
def setup():
    cache = [ "ac_cv_file__dev_urandom=yes",
              "ac_cv_file__dev_random=yes",
              "ac_cv_file_/var/log/wtmp",
              "ac_cv_file_/var/run/utmp" ]
    autotools.autoreconf("-vif")

    autotools.configure("--disable-static \
                         --enable-unix-transport \
                         --enable-tcp-transport \
                         --enable-IPv6 \
                         --enable-local-transport \
                         --enable-secure-rpc \
                         --enable-xpm-logos \
                         --enable-dynamic-greeter \
                         --enable-xdm-auth \
                         --with-pam \
                         --with-xdmconfigdir=/etc/X11/xdm \
                         --with-default-vt=vt7 \
                         --with-config-type=ws \
                         --with-xft \
                         --with-wtmp_file=/var/log/wtmp \
                         --with-utmp_file=/var/run/utmp \
                         --with-random-device=/dev/urandom \
                         --with-pixmapdir=/usr/share/X11/xdm/pixmaps", cache=cache)
예제 #26
0
def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--with-distro=none \
                         --disable-monodoc \
                         --disable-static \
                         --disable-xmltoman \
                         --disable-doxygen-doc \
                         --disable-mono \
                         --disable-autoipd \
                         --disable-core-docs \
                         --disable-libdaemon \
                         --enable-dbus \
                         --enable-python-dbus \
                         --enable-gdbm \
                         --disable-compat-howl \
                         --disable-compat-libdns_sd \
                         --disable-pygtk \
                         --enable-shared \
                         --disable-qt3 \
                         --disable-qt4 \
                         --enable-gtk \
                         --enable-glib \
                         --enable-gobject \
                         --enable-python \
                         --enable-pygtk \
                         --localstatedir=/var \
                         --with-avahi-user=avahi \
                         --with-avahi-group=avahi \
                         --with-autoipd-user=avahi \
                         --with-autoipd-group=avahi \
                         --with-avahi-priv-access-group=avahi")
예제 #27
0
def setup():
    pisitools.dosed("libfaad/Makefile.am", "iquote ", "I")
    autotools.autoreconf("-vfi")

    autotools.configure("--without-xmms \
                         --with-drm \
                         --disable-static")
예제 #28
0
def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--with-distro=none \
                         --disable-monodoc \
                         --disable-static \
                         --disable-xmltoman \
                         --disable-doxygen-doc \
                         --disable-mono \
                         --disable-autoipd \
                         --disable-core-docs \
                         --disable-libdaemon \
                         --enable-dbus \
                         --enable-python-dbus \
                         --enable-gdbm \
                         --disable-compat-howl \
                         --disable-compat-libdns_sd \
                         --disable-pygtk \
                         --enable-shared \
                         --disable-qt3 \
                         --disable-qt4 \
                         --enable-gtk \
                         --enable-glib \
                         --enable-gobject \
                         --enable-python \
                         --enable-pygtk \
                         --localstatedir=/var \
                         --with-avahi-user=avahi \
                         --with-avahi-group=avahi \
                         --with-autoipd-user=avahi \
                         --with-autoipd-group=avahi \
                         --with-avahi-priv-access-group=avahi")
예제 #29
0
def setup():
    pisitools.dosed("libfaad/Makefile.am", "iquote ", "I")
    autotools.autoreconf("-vfi")

    autotools.configure("--without-xmms \
                         --with-drm \
                         --disable-static")
예제 #30
0
def setup():
    cache = [ "am_cv_func_iconv_works=yes",
              "gl_cv_func_wcwidth_works=yes",
              "gt_cv_func_printf_posix=yes",
              "gt_cv_int_divbyzero_sigfpe=yes" ]

    # FIXME: optimization flags
    crosstools.environment["CFLAGS"] = "-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfpu=vfp -mfloat-abi=softfp -I%(SysRoot)s/usr/include" % crosstools.environment
    crosstools.environment["CXXFLAGS"] = "-O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfpu=vfp -mfloat-abi=softfp -I%(SysRoot)s/usr/include" % crosstools.environment

    #crosstools.environment["CFLAGS"] = "%(CFLAGS)s -Dgcc_is_lint" % crosstools.environment
    #crosstools.environment["CXXFLAGS"] = "%(CXXFLAGS)s -Dgcc_is_lint" % crosstools.environment

    # Build with --without-included-gettext (will use that of glibc), as we
    # need preloadable_libintl.so for new help2man
    crosstools.autoreconf("-fiv")
    crosstools.configure("--disable-java \
                          --disable-csharp \
                          --without-included-gettext \
                          --with-included-libcroco \
                          --with-included-glib \
                          --with-included-libxml \
                          --without-emacs \
                          --disable-openmp \
                          --enable-nls \
                          --enable-shared \
                          --disable-rpath \
                          --disable-static", cache=cache)
예제 #31
0
def setup():
    # hmmm, we should do the hal mounting with gnome-mount?
    pisitools.dosed("configure.in", r"(ac_cv_func_posix_getpwuid_r=)\w*",
                    "\\1yes")
    autotools.autoreconf("-fi")

    cache = [
        "ac_cv_func_posix_getpwuid_r=yes",
    ]
    autotools.configure("--enable-ipv6 \
                         --enable-hal \
                         --disable-samba \
                         --disable-krb5 \
                         --enable-avahi \
                         --enable-acl \
                         --disable-selinux \
                         --disable-static \
                         --disable-schemas-install \
                         --disable-cdda \
                         --disable-fam \
                         --disable-howl \
                         --with-hal-mount=/usr/bin/mount \
                         --with-hal-umount=/usr/bin/umount \
                         --with-hal-eject=/usr/bin/eject",
                        cache=cache)
예제 #32
0
def setup():
    cache = [ "ac_cv_func_malloc_0_nonnull=yes",
              "ac_cv_func_calloc_0_nonnull=yes",
              "ac_cv_func_realloc_0_nonnull=yes" ]

    autotools.autoreconf("-vif")
    autotools.configure("--enable-malloc0returnsnull \
                         --disable-static", cache=cache)
예제 #33
0
def setup():
    pisitools.dosed("configure.ac", r"(^XORG_DRIVER_CHECK_EXT.*)", "#\\1")
    pisitools.dosed("src/omapfb-xv.c", "fb1", "fb2")

    autotools.environment["CFLAGS"] = "%(CFLAGS)s -I%(SysRoot)s/usr/include/xorg" % autotools.environment

    autotools.autoreconf("-fvi")
    autotools.configure("--enable-neon")
예제 #34
0
def setup():
    crosstools.autoreconf("-fi")

    crosstools.configure("--with-encoding=utf-8 \
                          --enable-threads \
                          --enable-man-compression=gzip \
                          --enable-man-symlinks \
                          --enable-64bit")
예제 #35
0
def setup():
    for fl in ["NEWS", "AUTHORS", "ChangeLog"]:
        shelltools.touch(fl)
    autotools.autoreconf("-fi -Im4")

    libtools.libtoolize("--force --install")
    autotools.configure("--disable-debugging \
                         --disable-static")
예제 #36
0
def setup():
    shelltools.sym("makefiles/configure.in", "configure.in")
    shelltools.sym("makefiles/Makefile.am", "Makefile.am")

    crosstools.autoreconf("-fi")
    crosstools.configure("--with-jpeg \
                          --with-lcms \
                          --disable-static")
예제 #37
0
def setup():
    crosstools.autoreconf("-fiv")

    # don't remove --with-debugger as it is needed for reverse dependencies
    crosstools.configure("--with-python \
                          --with-crypto \
                          --with-debugger \
                          --disable-static")
예제 #38
0
def setup():
    for fl in ["NEWS", "AUTHORS", "ChangeLog"]:
        shelltools.touch(fl)
    autotools.autoreconf("-fi -Im4")

    libtools.libtoolize("--force --install")
    autotools.configure("--disable-debugging \
                         --disable-static")
예제 #39
0
def setup():
    autotools.autoreconf()
    autotools.configure("--without-python \
                         --disable-static")
                         # FIXME:
                         # --without-python

    pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
예제 #40
0
def setup():
    autotools.autoreconf("-fi")
    libtools.libtoolize("--force --install")
    autotools.configure("--with-pic \
                         --enable-sndfile \
                         --disable-static \
                         --enable-shared \
                         --disable-dependency-tracking")
예제 #41
0
def setup():
    crosstools.autoreconf("-fi")

    crosstools.configure("--with-encoding=utf-8 \
                          --enable-threads \
                          --enable-man-compression=gzip \
                          --enable-man-symlinks \
                          --enable-64bit")
예제 #42
0
def setup():
    shelltools.sym("makefiles/configure.in","configure.in")
    shelltools.sym("makefiles/Makefile.am","Makefile.am")

    crosstools.autoreconf("-fi")
    crosstools.configure("--with-jpeg \
                          --with-lcms \
                          --disable-static")
예제 #43
0
def setup():
    shelltools.export("LC_ALL", "C")

    crosstools.autoreconf("-fvi")
    crosstools.rawConfigure("--enable-elf-shlibs \
                             --disable-e2initrd-helper \
                             --disable-libblkid \
                             --disable-libuuid \
                             --disable-uuidd")
예제 #44
0
def setup():
    cache = get.ARCH() == "armv7-a" and [
        "ac_cv_c_bigendian=no",
    ] or []

    crosstools.autoreconf("-fvi")
    crosstools.configure("--disable-static \
                          --disable-build-docs",
                         cache=cache)
예제 #45
0
def setup():
    pisitools.dosed("configure.ac", r"(^XORG_DRIVER_CHECK_EXT.*)", "#\\1")
    pisitools.dosed("src/omapfb-xv.c", "fb1", "fb2")

    autotools.environment[
        "CFLAGS"] = "%(CFLAGS)s -I%(SysRoot)s/usr/include/xorg" % autotools.environment

    autotools.autoreconf("-fvi")
    autotools.configure("--enable-neon")
예제 #46
0
def setup():
    cache = [ "ac_cv_prog_FOUND_HELP2MAN=no", ]

    autotools.autoreconf("-vfi")
    autotools.environment["CXXFLAGS"] = "%(CXXFLAGS)s -lstdc++" % autotools.environment
    autotools.configure("--disable-dependency-tracking \
                         --disable-static \
                         --enable-util \
                         --disable-gch", cache=cache)
예제 #47
0
def setup():
    autotools.autoreconf("-fi")
    libtools.libtoolize("--force --install")
    pisitools.dosed("Makefile.in", r"(^program_transform_name\s*=).*", r"\1")

    autotools.configure("--enable-libjpeg \
                         --enable-opengl \
                         --enable-shared \
                         --disable-static")
예제 #48
0
def setup():
    pisitools.dosed("configure.in", "multisound/Makefile", "")
    pisitools.dosed("Makefile.am", "multisound", "")

    autotools.autoreconf("-fi")
    autotools.configure("--with-hotplug-dir=/lib/firmware \
                         --with-sequencer=yes \
                         --with-isapnp=no \
                         --with-oss=yes")
예제 #49
0
def setup():
    shelltools.export("PYTHON_PREFIX", "%(SysRoot)s/usr" % crosstools.environment)
    crosstools.environment["CFLAGS"] = "%(CFLAGS)s -DNDEBUG" % crosstools.environment

    crosstools.autoreconf("-vif")
    crosstools.configure("--disable-static \
                          --disable-xevie \
                          --disable-xprint \
                          --without-doxygen")
예제 #50
0
def setup():
    pisitools.dosed("*/Makefile.am", r"/doc/\$\(PACKAGE\)", "/doc/xorg-proto")

    for package in shelltools.ls("."):
        if package in SkipFiles:
            continue
        shelltools.cd(package)
        crosstools.autoreconf("-vif")
        crosstools.configure()
        shelltools.cd("../")
예제 #51
0
def setup():
    autotools.autoreconf("-fi")

    # Disable device node creation during build/install
    pisitools.dosed("util/Makefile.in", "mknod", "echo Disabled: mknod ")

    autotools.configure("--disable-static \
                         --disable-rpath \
                         --exec-prefix=/ \
                         --bindir=/bin")
예제 #52
0
def setup():
    autotools.autoreconf("-fi")
    libtools.libtoolize("--force --install")
    autotools.configure(
        "--with-pic \
                         --enable-sndfile \
                         --disable-static \
                         --enable-shared \
                         --disable-dependency-tracking"
    )