commit a2d02faac4a1e4ed83ce7c4ec7720e346efbfb86
Author: Jakub Bogusz <[email protected]>
Date:   Fri Apr 9 22:04:38 2021 +0200

    - updated to 2.42.6
    - added meson patch (fix build with shared windows native loader module)

 crossmingw32-gdk-pixbuf2.spec |  7 +++++--
 gdk-pixbuf2-meson.patch       | 13 +++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/crossmingw32-gdk-pixbuf2.spec b/crossmingw32-gdk-pixbuf2.spec
index dd3b5ea..5a8564e 100644
--- a/crossmingw32-gdk-pixbuf2.spec
+++ b/crossmingw32-gdk-pixbuf2.spec
@@ -5,12 +5,13 @@
 Summary:       An image loading and scaling library - cross MinGW32 version
 Summary(pl.UTF-8):     Biblioteka ładująca i skalująca obrazki - wersja 
skrośna MinGW32
 Name:          crossmingw32-gdk-pixbuf2
-Version:       2.42.4
+Version:       2.42.6
 Release:       1
 License:       LGPL v2+
 Group:         Development/Libraries
 Source0:       
https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-%{version}.tar.xz
-# Source0-md5: 628e4767d1636a06dea5b0fa4838f723
+# Source0-md5: 7cd2fdaa3c55e2302316fe36968f7425
+Patch0:                gdk-pixbuf2-meson.patch
 URL:           https://developer.gnome.org/gdk-pixbuf/
 BuildRequires: crossmingw32-gcc
 BuildRequires: crossmingw32-glib2 >= 2.56.0
@@ -99,6 +100,7 @@ Biblioteki DLL gdk-pixbuf dla Windows.
 
 %prep
 %setup -q -n gdk-pixbuf-%{version}
+%patch0 -p1
 
 # disable loaders.cache generation
 %{__sed} -i -e "/^loaders_cache/,/^loaders_dep/ d" gdk-pixbuf/meson.build
@@ -128,6 +130,7 @@ EOF
 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
 %meson build \
        --cross-file meson-cross.txt \
+       -Dbuiltin_loaders="" \
        -Ddocs=false \
        -Dinstalled_tests=false \
        -Dintrospection=disabled \
diff --git a/gdk-pixbuf2-meson.patch b/gdk-pixbuf2-meson.patch
new file mode 100644
index 0000000..ed41479
--- /dev/null
+++ b/gdk-pixbuf2-meson.patch
@@ -0,0 +1,13 @@
+--- gdk-pixbuf-2.42.6/gdk-pixbuf/meson.build.orig      2021-04-09 
21:49:47.648567160 +0200
++++ gdk-pixbuf-2.42.6/gdk-pixbuf/meson.build   2021-04-09 21:58:40.479013903 
+0200
+@@ -309,8 +309,8 @@
+ # Build the loaders using native Windows components as dynamic modules, if 
requested
+ if native_windows_loaders
+   if not (builtin_loaders.contains('windows') or builtin_all_loaders)
+-    foreach name, loader: windows_native_loader_formats
+-      loader_sources = windows_base_loader_sources + [ 
'io-gdip-@[email protected]'.format(name) ]
++    foreach loader: windows_native_loader_formats
++      loader_sources = windows_base_loader_sources + [ 
'io-gdip-@[email protected]'.format(loader) ]
+ 
+       mod = shared_module('pixbufloader-gdip-@0@'.format(loader),
+                           loader_sources,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-gdk-pixbuf2.git/commitdiff/a2d02faac4a1e4ed83ce7c4ec7720e346efbfb86

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to