>From f4e990235e4c731d8329ecacf14ba42c559d9a97 Mon Sep 17 00:00:00 2001 From: Henrique Lengler Date: Fri, 9 Jan 2015 22:29:25 +0000 Subject: [PATCH] glib, new version --- pkg/glib | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/pkg/glib b/pkg/glib index 4feb383..03ad143 100644 --- a/pkg/glib +++ b/pkg/glib @@ -9,35 +9,24 @@ perl pkgconf [mirrors] -http://ftp.gnome.org/pub/gnome/sources/glib/2.36/glib-2.36.3.tar.xz +http://ftp.gnome.org/pub/gnome/sources/glib/2.42/glib-2.42.0.tar.xz [main] -filesize=6626972 -sha512=1ea45e7978bffb8ec23c8eddb74b0bab686126fd55d96956203bc1eef44e3047edcf2cbc39e018c83e56093f806c739bf320e6a359b45cd652e55c94a6f1ad19 +filesize=7062896 +sha512=61b94d8d230d964cbacc5365496165450b0084fc7f215afda5ce0c4d7a5dc7cdf5c5dc7436924330a5a47df1748e6a041f71d9b7882addf464961f14dc9f4ea2 [build] -for p in glib-gtimer-varargs glib-no_python ; do - echo $p - patch -p1 < "$K"/$p.patch -done +#patch -p1 < "$K"/some.patch -this_dir="$PWD" [ -n "$CROSS_COMPILE" ] && \ - xconfflags="--host=$($CC -dumpmachine) --with-sysroot=$butch_root_dir" - -CFLAGS="-D_GNU_SOURCE -D_BSD_SOURCE -Dloff_t=off_t $optcflags" \ -LDFLAGS="$optldflags" ./configure -C $xconfflags \ - --prefix="$butch_prefix" --disable-modular-tests --disable-selinux --disable-fam \ - --disable-silent-rules glib_cv_stack_grows=no glib_cv_uscore=no \ - ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getgrgid_r=yes - -echo '#include ' >> config.h - -# skip over bogus "missing" checks that only waste time or cause build errors -echo true > missing - -make V=1 -j$MAKE_THREADS DESTDIR="$butch_install_dir" \ - LDFLAGS="-Wl,-rpath-link=$this_dir/gthread/.libs/ -Wl,-rpath-link=$this_dir/gmodule/.libs/" \ - + xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/') \ +--with-sysroot=$butch_root_dir" + +CPPFLAGS="-D_GNU_SOURCE" CFLAGS="$optcflags" CXXFLAGS="$optcflags" \ +LDFLAGS="$optldflags -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib" \ +./configure -C --prefix="$butch_prefix" --disable-nls $xconfflags \ + --disable-gtk-doc \ + --disable-compile-warnings + +make V=1 -j$MAKE_THREADS make DESTDIR="$butch_install_dir" install - -- 1.8.4