* [gentoo-commits] repo/gentoo:master commit in: mate-base/mate-panel/files/, mate-base/mate-panel/
@ 2016-01-24 9:22 NP Hardass
0 siblings, 0 replies; 2+ messages in thread
From: NP Hardass @ 2016-01-24 9:22 UTC (permalink / raw
To: gentoo-commits
commit: b4d9f2580ecc35ed4f3b07eca904ec078bc9fcff
Author: Gokturk Yuksek <gokturk <AT> binghamton <DOT> edu>
AuthorDate: Sat Jan 3 21:13:00 2015 +0000
Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 09:22:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d9f258
mate-base/mate-panel: fix compilation failure with networkmanager #570266
mate-panel-1.8.1 fails to compile with >=net-misc/networkmanager-1.0.8
due to a missing include directive ('-I'). Substitute network manager
CFLAGS and LIBS supplied by the pkgconfig macro in configure.ac and
use it for applets/clock.
Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=570266
Upstream-PR-URL: https://github.com/mate-desktop/mate-panel/pull/388
Package-Manager: portage-2.2.24
Signed-off-by: NP-Hardass <NP-Hardass <AT> gentoo.org>
...mate-panel-1.8.1-fix-networkmanager-flags.patch | 53 ++++++++++++++++++++++
mate-base/mate-panel/mate-panel-1.8.1-r1.ebuild | 5 +-
2 files changed, 56 insertions(+), 2 deletions(-)
diff --git a/mate-base/mate-panel/files/mate-panel-1.8.1-fix-networkmanager-flags.patch b/mate-base/mate-panel/files/mate-panel-1.8.1-fix-networkmanager-flags.patch
new file mode 100644
index 0000000..f677269
--- /dev/null
+++ b/mate-base/mate-panel/files/mate-panel-1.8.1-fix-networkmanager-flags.patch
@@ -0,0 +1,53 @@
+From f03dff4c416d417238dcd625a24ea85e380e599c Mon Sep 17 00:00:00 2001
+From: Gokturk Yuksek <gokturk@binghamton.edu>
+Date: Sun, 3 Jan 2016 03:17:40 -0500
+Subject: [PATCH 1/1] applets/clock: add missing pkgconfig flags for
+ NetworkManager
+
+mate-panel-1.8 fails to compile with NetworkManager >=1.0.8 due to a
+missing include directive ('-I'). Substitute network manager CFLAGS
+and LIBS supplied by the pkgconfig macro in configure.ac and use it
+for applets/clock.
+
+Signed-off-by: Gokturk Yuksek <gokturk@binghamton.edu>
+---
+ applets/clock/Makefile.am | 2 ++
+ configure.ac | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/applets/clock/Makefile.am b/applets/clock/Makefile.am
+index 950ecdd..bfb6b45 100644
+--- a/applets/clock/Makefile.am
++++ b/applets/clock/Makefile.am
+@@ -39,6 +39,7 @@ CLOCK_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(LIBMATE_PANEL_APPLET_CFLAGS) \
+ $(CLOCK_CFLAGS) \
++ $(NETWORK_MANAGER_CFLAGS) \
+ -I$(srcdir)/../../libmate-panel-applet \
+ -I$(top_builddir)/libmate-panel-applet \
+ -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+@@ -51,6 +52,7 @@ CLOCK_LDADD = \
+ ../../libmate-panel-applet/libmate-panel-applet-4.la \
+ $(CLOCK_LIBS) \
+ $(LIBMATE_PANEL_APPLET_LIBS) \
++ $(NETWORK_MANAGER_LIBS) \
+ libsystem-timezone.la \
+ -lm
+
+diff --git a/configure.ac b/configure.ac
+index af5a422..6d1389e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -156,6 +156,8 @@ else
+ fi
+ if test "x$HAVE_NETWORK_MANAGER" = "xyes" ; then
+ AC_DEFINE(HAVE_NETWORK_MANAGER, 1, [Defined if NetworkManager support is enabled])
++ AC_SUBST(NETWORK_MANAGER_CFLAGS)
++ AC_SUBST(NETWORK_MANAGER_LIBS)
+ fi
+
+ # Make it possible to compile the applets in-process
+--
+2.4.10
+
diff --git a/mate-base/mate-panel/mate-panel-1.8.1-r1.ebuild b/mate-base/mate-panel/mate-panel-1.8.1-r1.ebuild
index 6bef441..5acf34d 100644
--- a/mate-base/mate-panel/mate-panel-1.8.1-r1.ebuild
+++ b/mate-base/mate-panel/mate-panel-1.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -60,7 +60,8 @@ src_prepare() {
# Disable python check.
sed -e '/AM_PATH_PYTHON/d' -i configure.ac || die
- epatch "${FILESDIR}/${P}-update_marco_wm_name.patch"
+ epatch "${FILESDIR}/${P}-update_marco_wm_name.patch" \
+ "${FILESDIR}/${P}-fix-networkmanager-flags.patch"
epatch_user
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: mate-base/mate-panel/files/, mate-base/mate-panel/
@ 2023-06-30 4:24 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-06-30 4:24 UTC (permalink / raw
To: gentoo-commits
commit: 3f92e0d248944ecb3e4ba11f20e03334ec0c4610
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Mon Jun 26 18:28:59 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 03:57:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f92e0d2
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 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31621
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/mate-panel-1.26.3-gettext-0.22-fix.patch | 14 ++++++++++++++
mate-base/mate-panel/mate-panel-1.26.3.ebuild | 4 ++++
2 files changed, 18 insertions(+)
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 \
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-30 4:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-24 9:22 [gentoo-commits] repo/gentoo:master commit in: mate-base/mate-panel/files/, mate-base/mate-panel/ NP Hardass
-- strict thread matches above, loose matches on Subject: below --
2023-06-30 4:24 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox