pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gdk-pixbuf2 gdk-pixbuf2: Fix build on certain...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a54911e75685
branches: trunk
changeset: 423518:a54911e75685
user: brook <brook%pkgsrc.org@localhost>
date: Thu Feb 20 03:35:35 2020 +0000
description:
gdk-pixbuf2: Fix build on certain Darwin configurations.
During the build, newly compiled applications are run and require libraries also
within the build area. At least on Darwin, these must be accessed via
LD_LIBRARY_PATH, which must be added to the meson build files to be included in
the appropriate commands.
diffstat:
graphics/gdk-pixbuf2/distinfo | 5 ++-
graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_meson.build | 14 ++++++++
graphics/gdk-pixbuf2/patches/patch-tests_meson.build | 22 ++++++++++++++
graphics/gdk-pixbuf2/patches/patch-thumbnailer_meson.build | 14 ++++++++
4 files changed, 54 insertions(+), 1 deletions(-)
diffs (78 lines):
diff -r c3bf3b27df94 -r a54911e75685 graphics/gdk-pixbuf2/distinfo
--- a/graphics/gdk-pixbuf2/distinfo Wed Feb 19 22:37:51 2020 +0000
+++ b/graphics/gdk-pixbuf2/distinfo Thu Feb 20 03:35:35 2020 +0000
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.45 2019/11/06 13:52:51 wiz Exp $
+$NetBSD: distinfo,v 1.46 2020/02/20 03:35:35 brook Exp $
SHA1 (gdk-pixbuf-2.40.0.tar.xz) = 9396bd89c4647d8db2d02ef93c20c17dbce359d8
RMD160 (gdk-pixbuf-2.40.0.tar.xz) = 409fc37578fbf1dea2abaefa715f74280b3ea0ab
SHA512 (gdk-pixbuf-2.40.0.tar.xz) = 6512befd379494dbfd89a16fc4c92641842eb7b82fc820ec83a5b057526209947db646570db1124c073b0ef69c117bdf0f8d3fea807e302a4950db39187c35aa
Size (gdk-pixbuf-2.40.0.tar.xz) = 5512160 bytes
SHA1 (patch-gdk-pixbuf_gdk-pixbuf-scaled-anim.c) = 486db8d3f352b0d72b7074ba48f14ccbfa09deda
+SHA1 (patch-gdk-pixbuf_meson.build) = 58b53744e4cc846ddc9492b86d8964c6c19ed5e2
SHA1 (patch-meson.build) = e98fcafc3a123e4af8f26ba93c3a21af5fa37e2b
+SHA1 (patch-tests_meson.build) = 743abfb1d4e505882c4d304fc33ad60a3821e584
+SHA1 (patch-thumbnailer_meson.build) = fb9b7523663ac595ef66c8cf41837a733ac44216
diff -r c3bf3b27df94 -r a54911e75685 graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_meson.build
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gdk-pixbuf2/patches/patch-gdk-pixbuf_meson.build Thu Feb 20 03:35:35 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-gdk-pixbuf_meson.build,v 1.1 2020/02/20 03:35:35 brook Exp $
+
+Add LD_LIBRARY_PATH so uninstalled programs find newly built shared libraries.
+
+--- gdk-pixbuf/meson.build.orig 2019-10-08 10:44:10.000000000 +0000
++++ gdk-pixbuf/meson.build
+@@ -316,6 +316,7 @@ if not meson.is_cross_build()
+ output: 'loaders.cache',
+ capture: true,
+ command: [
++ 'env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../gdk-pixbuf',
+ gdk_pixbuf_query_loaders,
+ dynamic_loaders,
+ ],
diff -r c3bf3b27df94 -r a54911e75685 graphics/gdk-pixbuf2/patches/patch-tests_meson.build
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gdk-pixbuf2/patches/patch-tests_meson.build Thu Feb 20 03:35:35 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-tests_meson.build,v 1.1 2020/02/20 03:35:35 brook Exp $
+
+Add LD_LIBRARY_PATH so uninstalled programs find newly built shared libraries.
+
+--- tests/meson.build.orig 2019-10-08 10:44:10.000000000 +0000
++++ tests/meson.build
+@@ -5,6 +5,7 @@ resources_c = custom_target('resources.c
+ input: 'resources.gresource.xml',
+ output: 'resources.c',
+ command: [
++ 'env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../gdk-pixbuf',
+ gen_resources,
+ '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
+ '--loaders=@0@'.format(loaders_cache.full_path()),
+@@ -23,6 +24,7 @@ resources_h = custom_target('resources.h
+ input: 'resources.gresource.xml',
+ output: 'resources.h',
+ command: [
++ 'env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../gdk-pixbuf',
+ gen_resources,
+ '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
+ '--loaders=@0@'.format(loaders_cache.full_path()),
diff -r c3bf3b27df94 -r a54911e75685 graphics/gdk-pixbuf2/patches/patch-thumbnailer_meson.build
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gdk-pixbuf2/patches/patch-thumbnailer_meson.build Thu Feb 20 03:35:35 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-thumbnailer_meson.build,v 1.1 2020/02/20 03:35:35 brook Exp $
+
+Add LD_LIBRARY_PATH so uninstalled programs find newly built shared libraries.
+
+--- thumbnailer/meson.build.orig 2019-10-08 10:44:10.000000000 +0000
++++ thumbnailer/meson.build
+@@ -16,6 +16,7 @@ custom_target('thumbnailer',
+ input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
+ output: 'gdk-pixbuf-thumbnailer.thumbnailer',
+ command: [
++ 'env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../gdk-pixbuf',
+ gen_thumbnailer,
+ '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
+ '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
Home |
Main Index |
Thread Index |
Old Index