]> git.pld-linux.org Git - packages/crossmingw32-gtk+2.git/commitdiff
- updated to 2.24.26 auto/th/crossmingw32-gtk+2-2.24.26-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Feb 2015 18:07:22 +0000 (19:07 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Feb 2015 18:07:22 +0000 (19:07 +0100)
- use another hack to link with static libuuid with newer libtool

crossmingw32-gtk+2.spec

index 330e8623197c389f05df1cec84bdc1ccf7633043..bdd028ace225e4e341aa0eaf79edc4eaf2cd60e9 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       The GIMP Toolkit - MinGW32 cross version
 Summary(pl.UTF-8):     GIMP Toolkit - wersja skrośna dla MinGW32
 Name:          crossmingw32-gtk+2
-Version:       2.24.25
+Version:       2.24.26
 Release:       1
 License:       LGPL v2+
 Group:         Development/Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-%{version}.tar.xz
-# Source0-md5: 612350704dd3aacb95355a4981930c6f
+# Source0-md5: 4610cc60ff96073b83dc7de254bdaf38
 URL:           http://www.gtk.org/
 BuildRequires: autoconf >= 2.62
 BuildRequires: automake >= 1:1.7
@@ -101,6 +101,11 @@ Biblioteki DLL GTK+ dla Windows.
 # (requires native gtk-update-icon-cache >= 2.24.24 < 3.0)
 touch gtk/stamp-icons gtk/gtkbuiltincache.h
 
+# -Wl, makes recent libtools pass it as linker flag before any objects,
+# which is incompatible with as-needed; use plain -luuid with pass_all
+# hack below
+%{__sed} -i -e 's@-Wl,-luuid@-luuid@' configure.ac
+
 %build
 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
 %{__libtoolize}
@@ -121,6 +126,11 @@ CPPFLAGS="%{rpmcppflags} -DWINVER=0x0500"
        --without-x \
        --without-xinput
 
+# by default mingw32 libtool doesn't allow to embed static libraries
+# in shared libraries (only import libraries are allowed); override this
+# to allow static libuuid
+%{__sed} -i -e 's/^\(deplibs_check_method\)=.*/\1="pass_all"/' libtool
+
 %{__make}
 
 %install
This page took 0.102589 seconds and 4 git commands to generate.