public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-panel/files/, xfce-base/xfce4-panel/
@ 2023-04-06 19:44 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2023-04-06 19:44 UTC (permalink / raw
  To: gentoo-commits

commit:     d0833eedb22acbf466d0a80e62bf4fdc9bf43fa3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  6 18:15:19 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  6 19:44:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0833eed

xfce-base/xfce4-panel: Fix building with USE=-wayland

Closes: https://bugs.gentoo.org/903802
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../files/xfce4-panel-4.19.1-no-wayland.patch      | 51 ++++++++++++++++++++++
 ...-4.19.1.ebuild => xfce4-panel-4.19.1-r1.ebuild} |  5 +++
 2 files changed, 56 insertions(+)

diff --git a/xfce-base/xfce4-panel/files/xfce4-panel-4.19.1-no-wayland.patch b/xfce-base/xfce4-panel/files/xfce4-panel-4.19.1-no-wayland.patch
new file mode 100644
index 000000000000..2c7c93e502d4
--- /dev/null
+++ b/xfce-base/xfce4-panel/files/xfce4-panel-4.19.1-no-wayland.patch
@@ -0,0 +1,51 @@
+From 7eea3cadc0140d6e252a9ed8e3fe3a30ca0d0e38 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
+Date: Thu, 6 Apr 2023 18:22:59 +0200
+Subject: [PATCH] build: Fix for Wayland backend disabled (Fixes #729)
+
+---
+ panel/panel-application.c | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/panel/panel-application.c b/panel/panel-application.c
+index 847352b44..0ade54c9c 100644
+--- a/panel/panel-application.c
++++ b/panel/panel-application.c
+@@ -199,7 +199,6 @@ panel_application_class_init (PanelApplicationClass *klass)
+ static void
+ panel_application_init (PanelApplication *application)
+ {
+-  GdkDisplay *display;
+   GError *error = NULL;
+   gint configver;
+ 
+@@ -237,21 +236,23 @@ panel_application_init (PanelApplication *application)
+   application->autosave_timer_id = g_timeout_add_seconds (AUTOSAVE_INTERVAL,
+       panel_application_autosave_timer, application);
+ 
++#ifdef GDK_WINDOWING_WAYLAND
+   /* warn the user about restricted features on Wayland */
+-  display = gdk_display_get_default ();
+-  if (GDK_IS_WAYLAND_DISPLAY (display))
++  if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default ()))
+     {
+       if (! gtk_layer_is_supported ())
+         g_warning ("Wayland detected without layer-shell support (either because of your"
+                    " compositor or because Xfce4-panel was built without this support):"
+                    " Xfce4-panel might not look like a panel and many of its features will"
+                    " not be available");
+-      if (! gdk_wayland_display_query_registry (display, "zwlr_foreign_toplevel_manager_v1"))
++      if (! gdk_wayland_display_query_registry (gdk_display_get_default (),
++                                                "zwlr_foreign_toplevel_manager_v1"))
+         g_warning ("Wayland detected without foreign-toplevel-management support (your"
+                    " compositor does not seem to support it): Some Xfce4-panel features will"
+                    " not work (e.g. intellihide), as well as some plugins (e.g. ShowDesktop,"
+                    " Tasklist, WindowMenu)");
+     }
++#endif
+ }
+ 
+ 
+-- 
+GitLab
+

diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.19.1.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.19.1-r1.ebuild
similarity index 94%
rename from xfce-base/xfce4-panel/xfce4-panel-4.19.1.ebuild
rename to xfce-base/xfce4-panel/xfce4-panel-4.19.1-r1.ebuild
index b7665ab7ef89..970ea40fe46d 100644
--- a/xfce-base/xfce4-panel/xfce4-panel-4.19.1.ebuild
+++ b/xfce-base/xfce4-panel/xfce4-panel-4.19.1-r1.ebuild
@@ -55,6 +55,11 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	# https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/729
+	"${FILESDIR}"/${P}-no-wayland.patch
+)
+
 src_configure() {
 	local myconf=(
 		$(use_enable introspection)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-panel/files/, xfce-base/xfce4-panel/
@ 2024-05-22 10:01 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2024-05-22 10:01 UTC (permalink / raw
  To: gentoo-commits

commit:     566d64d08eb5fc75d7b67debe24a103dc04c545f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 10:00:08 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 22 10:00:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=566d64d0

xfce-base/xfce4-panel: Backport missing include fix

Closes: https://bugs.gentoo.org/932303
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../files/xfce4-panel-4.19.4-build.patch           | 148 +++++++++++++++++++++
 xfce-base/xfce4-panel/xfce4-panel-4.19.4.ebuild    |   6 +
 2 files changed, 154 insertions(+)

diff --git a/xfce-base/xfce4-panel/files/xfce4-panel-4.19.4-build.patch b/xfce-base/xfce4-panel/files/xfce4-panel-4.19.4-build.patch
new file mode 100644
index 000000000000..7813ba1bb363
--- /dev/null
+++ b/xfce-base/xfce4-panel/files/xfce4-panel-4.19.4-build.patch
@@ -0,0 +1,148 @@
+From fcee4201e254a417f8146723b24ce0716840c96b Mon Sep 17 00:00:00 2001
+From: Nicholas Vinson <nvinson234@gmail.com>
+Date: Tue, 21 May 2024 01:10:10 +0200
+Subject: [PATCH] build: Add missing math.h includes
+
+Commit 0f786ce451297f8d26d41dc8492c10db08d8f87f added a math.h include
+statement to libxfce4panel/xfce-panel-image.c to fix issue #833.
+However, libm functions are used in more files than just
+xfce-panel-image.c.
+
+Therefore, add math.h include to other files that use math functions.
+
+Signed-off-by: Nicholas Vinson <nvinson234 at gmail.com>
+Fixes: https://bugs.gentoo.org/932303
+---
+ panel/panel-base-window.c        | 4 +++-
+ panel/panel-itembar.c            | 4 ++++
+ panel/panel-preferences-dialog.c | 4 +++-
+ plugins/clock/clock-analog.c     | 4 ++++
+ plugins/clock/clock-binary.c     | 4 +++-
+ plugins/clock/clock-lcd.c        | 4 ++++
+ plugins/clock/clock.c            | 4 ++++
+ plugins/systray/systray-box.c    | 4 ++++
+ 8 files changed, 29 insertions(+), 3 deletions(-)
+
+diff --git a/panel/panel-base-window.c b/panel/panel-base-window.c
+index 5e0f3a688..832520be6 100644
+--- a/panel/panel-base-window.c
++++ b/panel/panel-base-window.c
+@@ -35,7 +35,9 @@
+ #define gtk_layer_is_supported() FALSE
+ #endif
+ 
+-
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
+ 
+ #define PANEL_BASE_CSS ".xfce4-panel.background { border-style: solid; }" \
+                        ".xfce4-panel.background button { background: transparent; padding: 0; }" \
+diff --git a/panel/panel-itembar.c b/panel/panel-itembar.c
+index 4ffcb5ba4..11ccf5d1d 100644
+--- a/panel/panel-itembar.c
++++ b/panel/panel-itembar.c
+@@ -29,6 +29,10 @@
+ #include "libxfce4panel/libxfce4panel.h"
+ #include "libxfce4panel/xfce-panel-plugin-provider.h"
+ 
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
++
+ #define IS_HORIZONTAL(itembar) ((itembar)->mode == XFCE_PANEL_PLUGIN_MODE_HORIZONTAL)
+ #define HIGHLIGHT_SIZE 2
+ 
+diff --git a/panel/panel-preferences-dialog.c b/panel/panel-preferences-dialog.c
+index 9a54e9ab3..dfcc67db3 100644
+--- a/panel/panel-preferences-dialog.c
++++ b/panel/panel-preferences-dialog.c
+@@ -37,7 +37,9 @@
+ #include <libxfce4ui/libxfce4ui.h>
+ #include <libxfce4util/libxfce4util.h>
+ 
+-
++#ifdef HAVE_MATH_H
++#include<math.h>
++#endif
+ 
+ static void
+ panel_preferences_dialog_finalize (GObject *object);
+diff --git a/plugins/clock/clock-analog.c b/plugins/clock/clock-analog.c
+index ae4ae21f4..50196352d 100644
+--- a/plugins/clock/clock-analog.c
++++ b/plugins/clock/clock-analog.c
+@@ -27,6 +27,10 @@
+ 
+ #include <cairo/cairo.h>
+ 
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
++
+ #define CLOCK_SCALE 0.08
+ #define TICKS_TO_RADIANS(x) (G_PI - (G_PI / 30.0) * (x))
+ #define HOURS_TO_RADIANS(x, y) (G_PI - (G_PI / 6.0) * (((x) > 12 ? (x) - 12 : (x)) + (y) / 60.0))
+diff --git a/plugins/clock/clock-binary.c b/plugins/clock/clock-binary.c
+index 5ac4151af..36fe31c72 100644
+--- a/plugins/clock/clock-binary.c
++++ b/plugins/clock/clock-binary.c
+@@ -27,7 +27,9 @@
+ 
+ #include <cairo/cairo.h>
+ 
+-
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
+ 
+ static void
+ xfce_clock_binary_set_property (GObject *object,
+diff --git a/plugins/clock/clock-lcd.c b/plugins/clock/clock-lcd.c
+index 97e041d58..8b7454dfd 100644
+--- a/plugins/clock/clock-lcd.c
++++ b/plugins/clock/clock-lcd.c
+@@ -27,6 +27,10 @@
+ 
+ #include <cairo/cairo.h>
+ 
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
++
+ #define RELATIVE_SPACE (0.10)
+ #define RELATIVE_DIGIT (5 * RELATIVE_SPACE)
+ #define RELATIVE_DOTS (3 * RELATIVE_SPACE)
+diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
+index 472ff8f17..ee1d4402b 100644
+--- a/plugins/clock/clock.c
++++ b/plugins/clock/clock.c
+@@ -39,6 +39,10 @@
+ #include <gtk/gtk.h>
+ #include <libxfce4ui/libxfce4ui.h>
+ 
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
++
+ /* TRANSLATORS: adjust this accordingly for your locale format */
+ #define DEFAULT_TOOLTIP_FORMAT NC_ ("Date", "%A %d %B %Y")
+ 
+diff --git a/plugins/systray/systray-box.c b/plugins/systray/systray-box.c
+index 1fc22c925..f808acb97 100644
+--- a/plugins/systray/systray-box.c
++++ b/plugins/systray/systray-box.c
+@@ -27,6 +27,10 @@
+ #include "common/panel-debug.h"
+ #include "common/panel-private.h"
+ 
++#ifdef HAVE_MATH_H
++#include <math.h>
++#endif
++
+ #define SPACING (2)
+ #define OFFSCREEN (-9999)
+ 
+-- 
+GitLab
+

diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.19.4.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.19.4.ebuild
index 6329f2e10d87..909458cf5c95 100644
--- a/xfce-base/xfce4-panel/xfce4-panel-4.19.4.ebuild
+++ b/xfce-base/xfce4-panel/xfce4-panel-4.19.4.ebuild
@@ -54,6 +54,12 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	# fix build with USE=-wayland
+	# https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/833
+	"${FILESDIR}/${P}-build.patch"
+)
+
 src_configure() {
 	local myconf=(
 		$(use_enable introspection)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-panel/files/, xfce-base/xfce4-panel/
@ 2024-11-01 15:23 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2024-11-01 15:23 UTC (permalink / raw
  To: gentoo-commits

commit:     c749469782e67d13fe9b3c0b3ca0e8200a61765f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 15:12:12 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 15:23:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7494697

xfce-base/xfce4-panel: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-base/xfce4-panel/Manifest                     |   1 -
 .../files/xfce4-panel-4.19.4-build.patch           | 148 ---------------------
 xfce-base/xfce4-panel/xfce4-panel-4.19.4-r1.ebuild |  90 -------------
 3 files changed, 239 deletions(-)

diff --git a/xfce-base/xfce4-panel/Manifest b/xfce-base/xfce4-panel/Manifest
index 4d325f33bc59..6d212e714294 100644
--- a/xfce-base/xfce4-panel/Manifest
+++ b/xfce-base/xfce4-panel/Manifest
@@ -1,3 +1,2 @@
 DIST xfce4-panel-4.18.6.tar.bz2 1595352 BLAKE2B e4f4eb2f3838cde69a2614021be184ba7281910e595cc868180eba5ce40898fb538cb82ef5317f8316273b6a926553e051730e4918f3d2d339e03729ac8c2a85 SHA512 a1c4597bbbb72d2f3ef90abe0082abe3404e0ea7fa6027e26ca50e31e03645464ce3e0a72f4d927e84c5775a775e3a70f70e25bd3d2e4358da869f9c474e6174
-DIST xfce4-panel-4.19.4.tar.bz2 2237827 BLAKE2B 2f302a665c875cebf3d1017b13b658654bc9c0f1d498bc55e6d1fde036f2919759a9a77cbd06567796c43f34ce27d198391c10eed3c40907626a275e788e4b19 SHA512 c02d20931ec53817676a7c1c48b91075d79fbfd64ca0ecfe8d581d4206e86d7fb4893bcb8c2bd1e1bdf5040da0077e82a51988681928327fc791232af134fc8b
 DIST xfce4-panel-4.19.5.tar.bz2 2246334 BLAKE2B b64ae0c5fa78cdb18114be9c92a73d9e9b26564910600a2184d63e4c1bdd1ea1e66e45d584c2398b519e67ae9eca7dc2353ba86e8ad604dbc275ec6b28a26ba7 SHA512 05fe0f9f788bf5d8cd798bdde24797c7727d5909dcf96a780f4db4eb0ae4c2ec7185b1ae3e9f91cefed890f9bb5c547f4391adfc501ebf6c33849969bb25c246

diff --git a/xfce-base/xfce4-panel/files/xfce4-panel-4.19.4-build.patch b/xfce-base/xfce4-panel/files/xfce4-panel-4.19.4-build.patch
deleted file mode 100644
index 7813ba1bb363..000000000000
--- a/xfce-base/xfce4-panel/files/xfce4-panel-4.19.4-build.patch
+++ /dev/null
@@ -1,148 +0,0 @@
-From fcee4201e254a417f8146723b24ce0716840c96b Mon Sep 17 00:00:00 2001
-From: Nicholas Vinson <nvinson234@gmail.com>
-Date: Tue, 21 May 2024 01:10:10 +0200
-Subject: [PATCH] build: Add missing math.h includes
-
-Commit 0f786ce451297f8d26d41dc8492c10db08d8f87f added a math.h include
-statement to libxfce4panel/xfce-panel-image.c to fix issue #833.
-However, libm functions are used in more files than just
-xfce-panel-image.c.
-
-Therefore, add math.h include to other files that use math functions.
-
-Signed-off-by: Nicholas Vinson <nvinson234 at gmail.com>
-Fixes: https://bugs.gentoo.org/932303
----
- panel/panel-base-window.c        | 4 +++-
- panel/panel-itembar.c            | 4 ++++
- panel/panel-preferences-dialog.c | 4 +++-
- plugins/clock/clock-analog.c     | 4 ++++
- plugins/clock/clock-binary.c     | 4 +++-
- plugins/clock/clock-lcd.c        | 4 ++++
- plugins/clock/clock.c            | 4 ++++
- plugins/systray/systray-box.c    | 4 ++++
- 8 files changed, 29 insertions(+), 3 deletions(-)
-
-diff --git a/panel/panel-base-window.c b/panel/panel-base-window.c
-index 5e0f3a688..832520be6 100644
---- a/panel/panel-base-window.c
-+++ b/panel/panel-base-window.c
-@@ -35,7 +35,9 @@
- #define gtk_layer_is_supported() FALSE
- #endif
- 
--
-+#ifdef HAVE_MATH_H
-+#include <math.h>
-+#endif
- 
- #define PANEL_BASE_CSS ".xfce4-panel.background { border-style: solid; }" \
-                        ".xfce4-panel.background button { background: transparent; padding: 0; }" \
-diff --git a/panel/panel-itembar.c b/panel/panel-itembar.c
-index 4ffcb5ba4..11ccf5d1d 100644
---- a/panel/panel-itembar.c
-+++ b/panel/panel-itembar.c
-@@ -29,6 +29,10 @@
- #include "libxfce4panel/libxfce4panel.h"
- #include "libxfce4panel/xfce-panel-plugin-provider.h"
- 
-+#ifdef HAVE_MATH_H
-+#include <math.h>
-+#endif
-+
- #define IS_HORIZONTAL(itembar) ((itembar)->mode == XFCE_PANEL_PLUGIN_MODE_HORIZONTAL)
- #define HIGHLIGHT_SIZE 2
- 
-diff --git a/panel/panel-preferences-dialog.c b/panel/panel-preferences-dialog.c
-index 9a54e9ab3..dfcc67db3 100644
---- a/panel/panel-preferences-dialog.c
-+++ b/panel/panel-preferences-dialog.c
-@@ -37,7 +37,9 @@
- #include <libxfce4ui/libxfce4ui.h>
- #include <libxfce4util/libxfce4util.h>
- 
--
-+#ifdef HAVE_MATH_H
-+#include<math.h>
-+#endif
- 
- static void
- panel_preferences_dialog_finalize (GObject *object);
-diff --git a/plugins/clock/clock-analog.c b/plugins/clock/clock-analog.c
-index ae4ae21f4..50196352d 100644
---- a/plugins/clock/clock-analog.c
-+++ b/plugins/clock/clock-analog.c
-@@ -27,6 +27,10 @@
- 
- #include <cairo/cairo.h>
- 
-+#ifdef HAVE_MATH_H
-+#include <math.h>
-+#endif
-+
- #define CLOCK_SCALE 0.08
- #define TICKS_TO_RADIANS(x) (G_PI - (G_PI / 30.0) * (x))
- #define HOURS_TO_RADIANS(x, y) (G_PI - (G_PI / 6.0) * (((x) > 12 ? (x) - 12 : (x)) + (y) / 60.0))
-diff --git a/plugins/clock/clock-binary.c b/plugins/clock/clock-binary.c
-index 5ac4151af..36fe31c72 100644
---- a/plugins/clock/clock-binary.c
-+++ b/plugins/clock/clock-binary.c
-@@ -27,7 +27,9 @@
- 
- #include <cairo/cairo.h>
- 
--
-+#ifdef HAVE_MATH_H
-+#include <math.h>
-+#endif
- 
- static void
- xfce_clock_binary_set_property (GObject *object,
-diff --git a/plugins/clock/clock-lcd.c b/plugins/clock/clock-lcd.c
-index 97e041d58..8b7454dfd 100644
---- a/plugins/clock/clock-lcd.c
-+++ b/plugins/clock/clock-lcd.c
-@@ -27,6 +27,10 @@
- 
- #include <cairo/cairo.h>
- 
-+#ifdef HAVE_MATH_H
-+#include <math.h>
-+#endif
-+
- #define RELATIVE_SPACE (0.10)
- #define RELATIVE_DIGIT (5 * RELATIVE_SPACE)
- #define RELATIVE_DOTS (3 * RELATIVE_SPACE)
-diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
-index 472ff8f17..ee1d4402b 100644
---- a/plugins/clock/clock.c
-+++ b/plugins/clock/clock.c
-@@ -39,6 +39,10 @@
- #include <gtk/gtk.h>
- #include <libxfce4ui/libxfce4ui.h>
- 
-+#ifdef HAVE_MATH_H
-+#include <math.h>
-+#endif
-+
- /* TRANSLATORS: adjust this accordingly for your locale format */
- #define DEFAULT_TOOLTIP_FORMAT NC_ ("Date", "%A %d %B %Y")
- 
-diff --git a/plugins/systray/systray-box.c b/plugins/systray/systray-box.c
-index 1fc22c925..f808acb97 100644
---- a/plugins/systray/systray-box.c
-+++ b/plugins/systray/systray-box.c
-@@ -27,6 +27,10 @@
- #include "common/panel-debug.h"
- #include "common/panel-private.h"
- 
-+#ifdef HAVE_MATH_H
-+#include <math.h>
-+#endif
-+
- #define SPACING (2)
- #define OFFSCREEN (-9999)
- 
--- 
-GitLab
-

diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.19.4-r1.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.19.4-r1.ebuild
deleted file mode 100644
index 316993ca6c2d..000000000000
--- a/xfce-base/xfce4-panel/xfce4-panel-4.19.4-r1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit vala xdg-utils
-
-DESCRIPTION="Panel for the Xfce desktop environment"
-HOMEPAGE="
-	https://docs.xfce.org/xfce/xfce4-panel/start
-	https://gitlab.xfce.org/xfce/xfce4-panel/
-"
-SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="+dbusmenu introspection vala wayland X"
-REQUIRED_USE="
-	|| ( wayland X )
-	vala? ( introspection )
-"
-
-DEPEND="
-	>=dev-libs/glib-2.72.0
-	>=x11-libs/cairo-1.16.0
-	>=x11-libs/gtk+-3.24.0:3[X?,introspection?,wayland?]
-	>=xfce-base/exo-0.11.2:=
-	>=xfce-base/garcon-4.17.0:=
-	>=xfce-base/libxfce4ui-4.17.1:=
-	>=xfce-base/libxfce4util-4.17.2:=[introspection?,vala?]
-	>=xfce-base/libxfce4windowing-4.19.3:0/0[X?]
-	>=xfce-base/xfconf-4.13.2:=
-	dbusmenu? ( >=dev-libs/libdbusmenu-16.04.0[gtk3] )
-	introspection? ( >=dev-libs/gobject-introspection-1.66:= )
-	wayland? (
-		>=dev-libs/wayland-1.15
-		>=gui-libs/gtk-layer-shell-0.7.0
-	)
-	X? (
-		>=x11-libs/libX11-1.6.7
-		x11-libs/libwnck:3
-	)
-"
-RDEPEND="
-	${DEPEND}
-"
-BDEPEND="
-	vala? ( $(vala_depend) )
-	dev-lang/perl
-	dev-util/gdbus-codegen
-	dev-util/intltool
-	sys-devel/gettext
-	virtual/pkgconfig
-"
-
-PATCHES=(
-	# fix build with USE=-wayland
-	# https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/833
-	"${FILESDIR}/${P}-build.patch"
-)
-
-src_configure() {
-	local myconf=(
-		$(use_enable introspection)
-		$(use_enable dbusmenu dbusmenu-gtk3)
-		$(use_enable vala)
-		$(use_enable wayland)
-		$(use_enable wayland gtk-layer-shell)
-		$(use_enable X x11)
-	)
-
-	use vala && vala_setup
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	default
-	find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-01 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01 15:23 [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-panel/files/, xfce-base/xfce4-panel/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-05-22 10:01 Michał Górny
2023-04-06 19:44 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox