mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
xfce-base/xfce4-panel: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST xfce4-panel-4.18.4.tar.bz2 1624451 BLAKE2B 73fdfe6bdca57a1f7954620f8cb6243660290ef105e2227274d7c6e3d4d6996aa4f97ec79c1c4e7e322cb0f24d7470bc8a7f2c283a7396ec340c6eb401bcc2ed SHA512 27ab96d9fc22c505763bf0b4ad4e2d0224638dc5b78202769caba2a07e1779a77ad0492341d1fe368fb47e30724fa797f74ff5e65138c819abdd1cd64fd8a1c2
|
||||
DIST xfce4-panel-4.18.5.tar.bz2 1591758 BLAKE2B c0ea27d10d66f6a8abd5beef539063036885cfd627f3a2686d4df0d27e9499a0fc814189aa8df1b51d4ea016ceb48f98805e0492ba288653ed1bea12b4154fd7 SHA512 6d3fcf7d56cad2d5f6aa083937c912fe131bd5838a074c4fc9477a01d2c2ceab75fe53edf3681c266f659c6dac7466df38ec2ad3554a1e14267cc62e6c02d818
|
||||
DIST xfce4-panel-4.19.1.tar.bz2 2087777 BLAKE2B 9be568832d6bc56fcecaf6eff2a907b64cc2b7f9fa51f18109c18300b9cb9cd7044d64b2b89d28ede409be3d4cd026274c543db7892ea128a1ce52679d62cccc SHA512 f22673e3a8785283a4179bf3a7791f2b14b9d5e87efffdc822ad61b24cca827517a15f0484392255ef04aeac99b5d4722bf347d14981340d4d86d7b47700883d
|
||||
DIST xfce4-panel-4.19.2.tar.bz2 2192543 BLAKE2B 67fb4732f15160df9f54d1ad84a73ebc280b7e57e518b0032b008586fca521fb686b4fdb02f226e4a4c9ee3c0cdbd0b8ebbe88825bd89ac18ccb6f49f8266759 SHA512 c5db0cf3565e471c9099c97e913de23e1a3038a37fc960397bab5a8ff2908e88a424fcea5aa86b5fbcf903403f972b16cbf7d26386c30408ba4a7d0fc45895c0
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
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
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2023 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 ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+dbusmenu introspection vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.66.0
|
||||
>=x11-libs/cairo-1.16.0
|
||||
>=x11-libs/gtk+-3.24.0:3[introspection?]
|
||||
x11-libs/libX11
|
||||
x11-libs/libwnck:3
|
||||
>=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/xfconf-4.13:=
|
||||
dbusmenu? ( >=dev-libs/libdbusmenu-16.04.0[gtk3] )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.66:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
vala? ( $(vala_depend) )
|
||||
dev-lang/perl
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable introspection)
|
||||
$(use_enable dbusmenu dbusmenu-gtk3)
|
||||
$(use_enable vala)
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2023 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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~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.1:=
|
||||
>=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/gtk-doc-am
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/729
|
||||
"${FILESDIR}"/${P}-no-wayland.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable introspection)
|
||||
$(use_enable dbusmenu dbusmenu-gtk3)
|
||||
$(use_enable vala)
|
||||
$(use_enable wayland wayland-client)
|
||||
$(use_enable wayland gtk-layer-shell)
|
||||
$(use_enable X gtk-x11)
|
||||
$(use_enable X libwnck)
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user