pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/gnome-dictionary gnome-dictionary: fix build ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1607cf761344
branches:  trunk
changeset: 375258:1607cf761344
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Mar 10 21:25:30 2022 +0000

description:
gnome-dictionary: fix build with latest meson

diffstat:

 textproc/gnome-dictionary/distinfo                       |   3 +-
 textproc/gnome-dictionary/patches/patch-data_meson.build |  34 ++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 5368554916bd -r 1607cf761344 textproc/gnome-dictionary/distinfo
--- a/textproc/gnome-dictionary/distinfo        Thu Mar 10 21:21:03 2022 +0000
+++ b/textproc/gnome-dictionary/distinfo        Thu Mar 10 21:25:30 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:21:54 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/03/10 21:25:30 nia Exp $
 
 BLAKE2s (gnome-dictionary-3.26.1.tar.xz) = 822ab7b66510e33d6d8ea4920abe64e95a24e76918f438d259bd59bb2de1ec26
 SHA512 (gnome-dictionary-3.26.1.tar.xz) = da7169795740295c13f02143f5263603f0f6c621e96cecf88a4ee089114399d59f083987bc4571821467da64dc43f00bebbe4ea66b46a035088f85d35d6aee27
 Size (gnome-dictionary-3.26.1.tar.xz) = 662048 bytes
+SHA1 (patch-data_meson.build) = 22860f60098033d2ca944d9c297ca5b10fb456a6
diff -r 5368554916bd -r 1607cf761344 textproc/gnome-dictionary/patches/patch-data_meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/gnome-dictionary/patches/patch-data_meson.build  Thu Mar 10 21:25:30 2022 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-data_meson.build,v 1.1 2022/03/10 21:25:30 nia Exp $
+
+Remove incorrect positional arguments, previously these would have
+been silently ignored but now they cause build failures.
+
+--- data/meson.build.orig      2017-10-01 14:14:30.000000000 +0000
++++ data/meson.build
+@@ -1,5 +1,4 @@
+-i18n.merge_file ('desktop',
+-                 input: 'org.gnome.Dictionary.desktop.in',
++i18n.merge_file (input: 'org.gnome.Dictionary.desktop.in',
+                  output: 'org.gnome.Dictionary.desktop',
+                  install: true,
+                  install_dir: join_paths(gdict_datadir, 'applications'),
+@@ -14,8 +13,7 @@ if desktop_file_validate.found()
+        workdir: meson.current_build_dir())
+ endif
+ 
+-i18n.merge_file ('desktop',
+-                 input: 'org.gnome.Dictionary.appdata.xml.in',
++i18n.merge_file (input: 'org.gnome.Dictionary.appdata.xml.in',
+                  output: 'org.gnome.Dictionary.appdata.xml',
+                  install: true,
+                  install_dir: join_paths(gdict_datadir, 'appdata'),
+@@ -48,8 +46,7 @@ sources = [
+ ]
+ 
+ foreach s: sources
+-  i18n.merge_file('desktop',
+-                  input: '@0@.in'.format(s),
++  i18n.merge_file(input: '@0@.in'.format(s),
+                   output: s,
+                   install: true,
+                   install_dir: join_paths(gdict_datadir, 'gdict-1.0', 'sources'),



Home | Main Index | Thread Index | Old Index