[gtk-osx] Add prefix to library name in cairo.gir so that gtk-mac-bundler can adjust it.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Add prefix to library name in cairo.gir so that gtk-mac-bundler can adjust it.
- Date: Fri, 9 Sep 2016 23:06:13 +0000 (UTC)
commit 99166d4dc54bacc6c3ea1f19a73016e7bccf5060
Author: John Ralls <jralls ceridwen us>
Date: Fri Sep 9 16:02:15 2016 -0700
Add prefix to library name in cairo.gir so that gtk-mac-bundler can adjust it.
modulesets-stable/gtk-osx.modules | 1 +
patches/gi_cairo_library_path.patch | 11 +++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/modulesets-stable/gtk-osx.modules b/modulesets-stable/gtk-osx.modules
index b6515ef..b8327c6 100644
--- a/modulesets-stable/gtk-osx.modules
+++ b/modulesets-stable/gtk-osx.modules
@@ -116,6 +116,7 @@
version="1.48.0"
hash="sha256:fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877">
<patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/girscanner-objc.patch" strip="1"/>
+ <patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/gi_cairo_library_path.patch"
strip="1"/>
</branch>
<dependencies>
<dep package="glib"/>
diff --git a/patches/gi_cairo_library_path.patch b/patches/gi_cairo_library_path.patch
new file mode 100644
index 0000000..01c39b0
--- /dev/null
+++ b/patches/gi_cairo_library_path.patch
@@ -0,0 +1,11 @@
+--- a/configure 2014-09-23 04:36:17.000000000 -0700
++++ b/configure 2016-09-09 14:58:04.000000000 -0700
+@@ -13174,7 +13174,7 @@
+
+ case "$host" in
+ *-*-darwin*)
+- CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
++ CAIRO_SHARED_LIBRARY="${prefix}/lib/libcairo-gobject.2.dylib"
+ ;;
+ *-*-mingw*)
+ CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]