-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librsvg: instead of using cygpath try to override the prefix when fet…
…ching the gdk-pixbuf paths setting the new prefix is actually a bug fix, which doesn't fix our weird path translation problem, but it allows us to set MSYS2_ARG_CONV_EXCL to preserve the prefix in unix form.
- Loading branch information
Showing
3 changed files
with
38 additions
and
16 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
mingw-w64-librsvg/0001-configure-set-pass-prefix-to-pkg-config-when-retriev.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,32 @@ | ||
From f539faa31f32b240ad414cfb566bb343be148508 Mon Sep 17 00:00:00 2001 | ||
From: Christoph Reiter <[email protected]> | ||
Date: Sat, 18 Dec 2021 13:25:40 +0100 | ||
Subject: [PATCH] configure: set pass prefix to pkg-config when retrieving | ||
paths | ||
|
||
Otherwise we get back paths for the installed prefix and not the one | ||
we want to install to. | ||
--- | ||
configure.ac | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index d06baf3b..20267fd9 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -193,9 +193,9 @@ AS_IF([test "x$enable_pixbuf_loader" = "xyes"], [ | ||
|
||
# First try the standalone gdk-pixbuf | ||
gdk_pixbuf_binary_version="`$PKG_CONFIG --variable=gdk_pixbuf_binary_version gdk-pixbuf-2.0`" | ||
- gdk_pixbuf_binarydir="`$PKG_CONFIG --variable=gdk_pixbuf_binarydir gdk-pixbuf-2.0`" | ||
- gdk_pixbuf_moduledir=`$PKG_CONFIG --variable gdk_pixbuf_moduledir gdk-pixbuf-2.0` | ||
- gdk_pixbuf_cache_file=`$PKG_CONFIG --variable gdk_pixbuf_cache_file gdk-pixbuf-2.0` | ||
+ gdk_pixbuf_binarydir="`$PKG_CONFIG "--define-variable=prefix=$prefix" --variable=gdk_pixbuf_binarydir gdk-pixbuf-2.0`" | ||
+ gdk_pixbuf_moduledir="`$PKG_CONFIG "--define-variable=prefix=$prefix" --variable gdk_pixbuf_moduledir gdk-pixbuf-2.0`" | ||
+ gdk_pixbuf_cache_file="`$PKG_CONFIG "--define-variable=prefix=$prefix" --variable gdk_pixbuf_cache_file gdk-pixbuf-2.0`" | ||
]) | ||
|
||
AC_SUBST([gdk_pixbuf_binary_version]) | ||
-- | ||
2.34.1 | ||
|
This file was deleted.
Oops, something went wrong.
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