diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-01-21 22:38:50 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-24 09:11:01 -0800 |
| commit | 256794590cd0d8db1ab093bbf1671e75cd9ec01e (patch) | |
| tree | c66350fcb07c2b84d115aabebcd0745089aa4bec /meta-gnome | |
| parent | 5eddbcad3f54392784a7db43b73e440d3281e645 (diff) | |
| download | meta-openembedded-256794590cd0d8db1ab093bbf1671e75cd9ec01e.tar.gz | |
evince: fix meson 0.61 builds
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
| -rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0001-Remove-incorrect-args-for-i18n.merge_file.patch | 52 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_41.3.bb | 1 |
2 files changed, 53 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-Remove-incorrect-args-for-i18n.merge_file.patch b/meta-gnome/recipes-gnome/evince/evince/0001-Remove-incorrect-args-for-i18n.merge_file.patch new file mode 100644 index 0000000000..68447bec8b --- /dev/null +++ b/meta-gnome/recipes-gnome/evince/evince/0001-Remove-incorrect-args-for-i18n.merge_file.patch | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | From b525a64d26bcba4e3a74f09c580429625d8a2104 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: r-value <i@rvalue.moe> | ||
| 3 | Date: Wed, 17 Nov 2021 18:22:45 +0800 | ||
| 4 | Subject: [PATCH] Remove incorrect args for i18n.merge_file | ||
| 5 | |||
| 6 | `i18n.merge_file` has been ignoring positional arguments for | ||
| 7 | a time and explicitly rejects with error since meson 0.60.0 | ||
| 8 | |||
| 9 | Upstream-Status: Backport | ||
| 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 11 | --- | ||
| 12 | backend/meson.build | 1 - | ||
| 13 | data/meson.build | 1 - | ||
| 14 | meson.build | 1 - | ||
| 15 | 3 files changed, 3 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/backend/meson.build b/backend/meson.build | ||
| 18 | index 14629f2..2f972a8 100644 | ||
| 19 | --- a/backend/meson.build | ||
| 20 | +++ b/backend/meson.build | ||
| 21 | @@ -53,7 +53,6 @@ foreach backend, backend_mime_types: backends | ||
| 22 | ) | ||
| 23 | |||
| 24 | i18n.merge_file( | ||
| 25 | - appstream, | ||
| 26 | input: appstream_in, | ||
| 27 | output: appstream, | ||
| 28 | po_dir: po_dir, | ||
| 29 | diff --git a/data/meson.build b/data/meson.build | ||
| 30 | index 8a308b8..afc3020 100644 | ||
| 31 | --- a/data/meson.build | ||
| 32 | +++ b/data/meson.build | ||
| 33 | @@ -15,7 +15,6 @@ foreach desktop: desktops | ||
| 34 | ) | ||
| 35 | |||
| 36 | i18n.merge_file( | ||
| 37 | - desktop, | ||
| 38 | type: 'desktop', | ||
| 39 | input: desktop_in, | ||
| 40 | output: desktop, | ||
| 41 | diff --git a/meson.build b/meson.build | ||
| 42 | index 07fb8ec..0bb5d0f 100644 | ||
| 43 | --- a/meson.build | ||
| 44 | +++ b/meson.build | ||
| 45 | @@ -498,7 +498,6 @@ install_headers( | ||
| 46 | appdata = ev_namespace + '.appdata.xml' | ||
| 47 | |||
| 48 | i18n.merge_file( | ||
| 49 | - appdata, | ||
| 50 | input: appdata + '.in', | ||
| 51 | output: appdata, | ||
| 52 | po_dir: po_dir, | ||
diff --git a/meta-gnome/recipes-gnome/evince/evince_41.3.bb b/meta-gnome/recipes-gnome/evince/evince_41.3.bb index 3464bd11e7..ec3dca209d 100644 --- a/meta-gnome/recipes-gnome/evince/evince_41.3.bb +++ b/meta-gnome/recipes-gnome/evince/evince_41.3.bb | |||
| @@ -24,6 +24,7 @@ inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection g | |||
| 24 | def gnome_verdir(v): | 24 | def gnome_verdir(v): |
| 25 | return oe.utils.trim_version(v, 1) | 25 | return oe.utils.trim_version(v, 1) |
| 26 | 26 | ||
| 27 | SRC_URI += " file://0001-Remove-incorrect-args-for-i18n.merge_file.patch" | ||
| 27 | SRC_URI[archive.sha256sum] = "3346b01f9bdc8f2d5ffea92f110a090c64a3624942b5b543aad4592a9de33bb0" | 28 | SRC_URI[archive.sha256sum] = "3346b01f9bdc8f2d5ffea92f110a090c64a3624942b5b543aad4592a9de33bb0" |
| 28 | 29 | ||
| 29 | GTKDOC_MESON_OPTION = "gtk_doc" | 30 | GTKDOC_MESON_OPTION = "gtk_doc" |
