forked from msys2/MINGW-packages
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gimp: adapt for renamed gdk-pixbuf svg module
Cherry-pick change that was proposed to upstream.
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
mingw-w64-gimp/0009-build-fix-svg-pixbuf-loader-check-with-librsvg-2.59.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 2b0b73b0a1f9564874939f335675091f66c43050 Mon Sep 17 00:00:00 2001 | ||
From: Christoph Reiter <[email protected]> | ||
Date: Sat, 16 Nov 2024 17:16:01 +0100 | ||
Subject: [PATCH] build: fix svg pixbuf loader check with librsvg 2.59+ | ||
|
||
Since librsvg moved to meson the loader modules are named differently | ||
and building gimp2 on Windows fails to detect them in configure. | ||
|
||
Adjust the checks to the new filenames. | ||
--- | ||
configure.ac | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 71b71397ece..6f405ad6766 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -2504,8 +2504,8 @@ if test "x$enable_vector_icons" != "xno"; then | ||
# error: cannot check for file existence when cross compiling | ||
# So let's test files the shell way. | ||
if (test "x$platform_win32" = "xyes" && | ||
- test -f "$gdk_pixbuf_moduledir/libpixbufloader-svg.dll") || | ||
- test -f "$gdk_pixbuf_moduledir/libpixbufloader-svg.so"; then | ||
+ test -f "$gdk_pixbuf_moduledir/pixbufloader_svg.dll") || | ||
+ test -f "$gdk_pixbuf_moduledir/libpixbufloader_svg.so"; then | ||
# We must not use $PKG_CONFIG nor PKG_CHECK_* macros because we need | ||
# to make sure we use the native pkg-config (in case we cross-compile). | ||
if pkg-config --atleast-version=glib_required_version glib-2.0 && | ||
-- | ||
GitLab | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters