Skip to content

Commit

Permalink
gnome-extra/gnome-characters: fix build with meson 0.61
Browse files Browse the repository at this point in the history
Fix in upstream master but together with other things that I
did not want to pull in, so just fixing the build problem in
anticipation of a new upstream release.

Signed-off-by: Christophe Lermytte <[email protected]>
Closes: https://bugs.gentoo.org/831471
Closes: gentoo#24282
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
kobboi authored and thesamesam committed Feb 20, 2022
1 parent 6d4df77 commit 77ec3f4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
20 changes: 20 additions & 0 deletions gnome-extra/gnome-characters/files/fix-build-with-meson-0.61.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Part of https://gitlab.gnome.org/GNOME/gnome-characters/-/commit/3b84cc750b70482a1cc30864dc51cde60df0332d
https://bugs.gentoo.org/831471
--- a/data/meson.build
+++ b/data/meson.build
@@ -47,7 +47,6 @@
desktop_conf.set('bindir', characters_bindir)

i18n.merge_file(
- 'desktop-file',
type: 'desktop',
input: configure_file (
input: characters_name + '.desktop.in',
@@ -61,7 +60,6 @@
)

appdata_file = i18n.merge_file(
- 'appdata-file',
input: characters_name + '.appdata.xml.in',
output: characters_application_id + '.appdata.xml',
po_dir: po_dir,
6 changes: 5 additions & 1 deletion gnome-extra/gnome-characters/gnome-characters-41.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -31,6 +31,10 @@ BDEPEND="
virtual/pkgconfig
"

PATCHES=(
"${FILESDIR}"/fix-build-with-meson-0.61.patch
)

pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
Expand Down

0 comments on commit 77ec3f4

Please sign in to comment.