Skip to content

Commit

Permalink
mate-base/mate-panel: Fix msgfmt: no input file should be given if --…
Browse files Browse the repository at this point in the history
…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: #31621
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
listout authored and thesamesam committed Jun 30, 2023
1 parent 53d21a5 commit 3f92e0d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 \
4 changes: 4 additions & 0 deletions mate-base/mate-panel/mate-panel-1.26.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 3f92e0d

Please sign in to comment.