summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2023-06-26 18:28:59 +0000
committerSam James <sam@gentoo.org>2023-06-30 04:57:21 +0100
commit3f92e0d248944ecb3e4ba11f20e03334ec0c4610 (patch)
tree4ce361707615a27588cf8bf7d473bd458f3d9a65 /mate-base
parentsys-devel/gcc: add 11.4.1_p20230629 (diff)
downloadgentoo-3f92e0d248944ecb3e4ba11f20e03334ec0c4610.tar.gz
gentoo-3f92e0d248944ecb3e4ba11f20e03334ec0c4610.tar.bz2
gentoo-3f92e0d248944ecb3e4ba11f20e03334ec0c4610.zip
mate-base/mate-panel: Fix msgfmt: no input file should be given if --desktop
[sam: Note that mate.eclass automatically handles eautoreconf if needed.] Closes: https://bugs.gentoo.org/908877 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31621 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mate-base')
-rw-r--r--mate-base/mate-panel/files/mate-panel-1.26.3-gettext-0.22-fix.patch14
-rw-r--r--mate-base/mate-panel/mate-panel-1.26.3.ebuild4
2 files changed, 18 insertions, 0 deletions
diff --git a/mate-base/mate-panel/files/mate-panel-1.26.3-gettext-0.22-fix.patch b/mate-base/mate-panel/files/mate-panel-1.26.3-gettext-0.22-fix.patch
new file mode 100644
index 000000000000..2f61ac1a5c57
--- /dev/null
+++ b/mate-base/mate-panel/files/mate-panel-1.26.3-gettext-0.22-fix.patch
@@ -0,0 +1,14 @@
+Bug: https://bugs.gentoo.org/908877
+Reference: https://savannah.gnu.org/bugs/index.php?64335
+Upstream PR: https://github.com/mate-desktop/mate-panel/pull/1375
+--- a/libmate-panel-applet/Makefile.am
++++ b/libmate-panel-applet/Makefile.am
+@@ -95,7 +95,7 @@ appletdir = $(datadir)/mate-panel/applets
+ applet_in_files = org.mate.panel.TestApplet.mate-panel-applet.desktop.in
+ noinst_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)
+ $(noinst_DATA): $(applet_in_files)
+- $(AM_V_GEN) $(MSGFMT) --desktop --keyword Name --keyword Description --template $< -d $(top_srcdir)/po -o $@
++ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+
+ EXTRA_DIST = \
+ org.mate.panel.TestApplet.mate-panel-applet.desktop.in \
diff --git a/mate-base/mate-panel/mate-panel-1.26.3.ebuild b/mate-base/mate-panel/mate-panel-1.26.3.ebuild
index 061ddad6aa70..6be1b67047d1 100644
--- a/mate-base/mate-panel/mate-panel-1.26.3.ebuild
+++ b/mate-base/mate-panel/mate-panel-1.26.3.ebuild
@@ -62,6 +62,10 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.26.3-gettext-0.22-fix.patch
+)
+
src_configure() {
mate_src_configure \
--libexecdir="${EPREFIX}"/usr/libexec/mate-applets \