[gentoo-commits] repo/gentoo:master commit in: lxde-base/lxpanel/files/
commit: b0cba17b20830ae4ca4755fabd563b9b9277bcd4 Author: Sam James gentoo org> AuthorDate: Sun Nov 17 02:33:54 2024 + Commit: Sam James gentoo org> CommitDate: Sun Nov 17 02:33:54 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cba17b lxde-base/lxpanel: update C99 patch It's functionally the same but it incorporates some feedback I gave which was later applied in the PR upstream. Bug: https://bugs.gentoo.org/919092 Signed-off-by: Sam James gentoo.org> lxde-base/lxpanel/files/lxpanel-0.10.1-c99.patch | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/lxde-base/lxpanel/files/lxpanel-0.10.1-c99.patch b/lxde-base/lxpanel/files/lxpanel-0.10.1-c99.patch index 06a94821079d..b7a50f6860ab 100644 --- a/lxde-base/lxpanel/files/lxpanel-0.10.1-c99.patch +++ b/lxde-base/lxpanel/files/lxpanel-0.10.1-c99.patch @@ -1,20 +1,13 @@ https://bugs.gentoo.org/919092 -https://github.com/lxde/lxpanel/pull/70 +https://github.com/lxde/lxpanel/commit/0853b0fc981285ebd2ac52f8dfc2a09b1090748c -From 914bcc3945503be2506e112883a648b867c6db57 Mon Sep 17 00:00:00 2001 +From 0853b0fc981285ebd2ac52f8dfc2a09b1090748c Mon Sep 17 00:00:00 2001 From: Ravi Kant Sharma <600723+raviksha...@users.noreply.github.com> -Date: Tue, 23 Jul 2024 18:02:44 +0200 -Subject: [PATCH] fix build failure on gcc-14 +Date: Tue, 30 Jul 2024 17:52:07 +0200 +Subject: [PATCH] Fix gcc-14 build error -gcc-14 treats implicitly casting all pointer types to all other pointer types as error now. - -https://gcc.gnu.org/gcc-14/porting_to.html#warnings-as-errors - plugins/tray.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/plugins/tray.c b/plugins/tray.c -index 3e66b81f..42d4917c 100644 +gcc-14 now treats a conversion between pointers of incompatible types +as an error. --- a/plugins/tray.c +++ b/plugins/tray.c @@ -631,7 +631,7 @@ static GtkWidget *tray_constructor(LXPanel *panel, config_setting_t *settings) @@ -22,8 +15,7 @@ index 3e66b81f..42d4917c 100644 gdk_window_add_filter(NULL, (GdkFilterFunc) tray_event_filter, tr); /* Reference the window since it is never added to a container. */ -tr->invisible = g_object_ref_sink(G_OBJECT(invisible)); -+tr->invisible = (GtkWidget *) g_object_ref_sink(G_OBJECT(invisible)); ++tr->invisible = GTK_WIDGET(g_object_ref_sink(G_OBJECT(invisible))); tr->invisible_window = GDK_WINDOW_XID(gtk_widget_get_window(invisible)); /* Allocate top level widget and set into Plugin widget pointer. */ -
[gentoo-commits] repo/gentoo:master commit in: lxde-base/lxpanel/files/
commit: 681f5ae97cce21487b459b625ab40be58faa3411 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Thu Apr 15 16:26:02 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Thu Apr 15 18:05:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681f5ae9 lxde-base/lxpanel: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/20396 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> .../files/lxpanel-remove-gdk-pixbuf-xlib.patch | 26 -- 1 file changed, 26 deletions(-) diff --git a/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch b/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch deleted file mode 100644 index 7f52fb022e1..000 --- a/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://bugs.gentoo.org/753923 - a/plugins/launchtaskbar.c 2019-01-13 16:35:07.0 -0500 -+++ b/plugins/launchtaskbar.c 2020-11-10 14:25:51.550180345 -0500 -@@ -69,5 +69,4 @@ - - #include --#include - #include - #include a/plugins/task-button.c2019-02-26 16:45:49.0 -0500 -+++ b/plugins/task-button.c2020-11-10 14:25:44.858209009 -0500 -@@ -44,5 +44,4 @@ - - #include --#include - #include - #include a/src/plugin.c 2019-01-13 16:35:07.0 -0500 -+++ b/src/plugin.c 2020-11-10 14:25:38.820234868 -0500 -@@ -30,5 +30,4 @@ - - #include --#include - #include - #include
[gentoo-commits] repo/gentoo:master commit in: lxde-base/lxpanel/files/, lxde-base/lxpanel/
commit: 767ad113f14b218323808e18eb715ceff42922a3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 14 01:41:44 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Mar 15 13:08:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767ad113 lxde-base/lxpanel: 0.10.1 version bump, EAPI-7, switch to GTK3 Bug: https://bugs.gentoo.org/769524 Closes: https://bugs.gentoo.org/708188 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> lxde-base/lxpanel/Manifest | 1 + .../lxpanel-0.10.1-fix-pager-panel-width.patch | 37 +++ lxde-base/lxpanel/lxpanel-0.10.1.ebuild| 71 ++ 3 files changed, 109 insertions(+) diff --git a/lxde-base/lxpanel/Manifest b/lxde-base/lxpanel/Manifest index b7063f60fc8..98ec09e4d49 100644 --- a/lxde-base/lxpanel/Manifest +++ b/lxde-base/lxpanel/Manifest @@ -1 +1,2 @@ DIST lxpanel-0.10.0.tar.xz 1544700 BLAKE2B ea210feee23b2da1c9f6199bfc274c46e1142d6397ca0d1d8359329068ed6e46eaebff90fb220ce14121ed19cb5c60014230c7a7e42867318317845751418a7b SHA512 3e664eef3cf0f37cf4609f53f1f40f5d50e94ae088c497be0439851ea8f1426ef6ec1373d146e2e0ef1b9f51f557ae19eb5fb1059b0e5fcd5b1c49fd76207a59 +DIST lxpanel-0.10.1.tar.xz 1548276 BLAKE2B 2ea8628c9c4c7a77d65e58cae0b5656209db63b455299fcda00fe79aae1b139860ed8993ade7db68bbc65f61b8911f40879f1ef9993dc12f15f7480d3ea72cfa SHA512 0478ca1322a6645c5120e0fdb2b6d6409799f3296d971456670eb8b23b8457ae93a966ddcb5b5e5bdbcd694442ade2252d6a3931d36296e19e5339b2d689cfef diff --git a/lxde-base/lxpanel/files/lxpanel-0.10.1-fix-pager-panel-width.patch b/lxde-base/lxpanel/files/lxpanel-0.10.1-fix-pager-panel-width.patch new file mode 100644 index 000..4d53fc8f783 --- /dev/null +++ b/lxde-base/lxpanel/files/lxpanel-0.10.1-fix-pager-panel-width.patch @@ -0,0 +1,37 @@ +From b46e3a39786a5be04bf9cc3844dd184308cd7495 Mon Sep 17 00:00:00 2001 +From: Ben Walsh +Date: Sat, 6 Jun 2020 10:38:15 +0100 +Subject: [PATCH] Specify GTK_REQUEST_CONSTANT_SIZE. Fixes #773. + +--- + src/panel.c | 7 +++ + 1 file changed, 7 insertions(+) + +diff --git a/src/panel.c b/src/panel.c +index da9e718b..b52fc796 100644 +--- a/src/panel.c b/src/panel.c +@@ -293,6 +293,12 @@ lxpanel_get_preferred_height (GtkWidget *widget, + if (natural_height) + *natural_height = requisition.height; + } ++ ++static GtkSizeRequestMode ++lxpanel_get_request_mode (GtkWidget *widget) ++{ ++return GTK_SIZE_REQUEST_CONSTANT_SIZE; ++} + #endif + + static void lxpanel_size_allocate(GtkWidget *widget, GtkAllocation *a) +@@ -413,6 +419,7 @@ static void lxpanel_class_init(PanelToplevelClass *klass) + #if GTK_CHECK_VERSION(3, 0, 0) + widget_class->get_preferred_width = lxpanel_get_preferred_width; + widget_class->get_preferred_height = lxpanel_get_preferred_height; ++widget_class->get_request_mode = lxpanel_get_request_mode; + #else + widget_class->size_request = lxpanel_size_request; + #endif +-- +2.27.0 + diff --git a/lxde-base/lxpanel/lxpanel-0.10.1.ebuild b/lxde-base/lxpanel/lxpanel-0.10.1.ebuild new file mode 100644 index 000..f8edfb798dc --- /dev/null +++ b/lxde-base/lxpanel/lxpanel-0.10.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit readme.gentoo-r1 xdg + +DESCRIPTION="Lightweight X11 desktop panel for LXDE" +HOMEPAGE="https://wiki.lxde.org/en/LXPanel"; +SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="+alsa wifi" + +RDEPEND=" + dev-libs/keybinder:3 + lxde-base/lxmenu-data + >=lxde-base/menu-cache-1.1.0-r1 + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + >=x11-libs/libfm-1.3.2[gtk] + x11-libs/libwnck:3 + x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXpm + alsa? ( media-libs/alsa-lib ) + wifi? ( net-wireless/wireless-tools ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +DOC_CONTENTS="If you have problems with broken icons shown in the main panel, +you will have to configure panel settings via its menu. +This will not be an issue with first time installations." + +PATCHES=( + # https://sourceforge.net/p/lxde/bugs/773/ + "${FILESDIR}/${P}-fix-pager-panel-width.patch" +) + +src_configure() { + local plugins="netstatus,volume,cpu,deskno,batt,kbled,xkb,thermal,cpufreq,monitors" + + use wifi && plugins+=",netstat" + use alsa && plugins+=",volumealsa" + [[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb + + econf \ + $(use_enable alsa) \ + --enable-gtk3 \ + --with-x \ + --with-plugins="${plugins}" + # the gtk+ dep already pulls in libX11, so we might as wel
[gentoo-commits] repo/gentoo:master commit in: lxde-base/lxpanel/files/, lxde-base/lxpanel/
commit: f074ed72974ef67106b7aa7b720d2aa41dae98cb Author: Ionen Wolkens gmail com> AuthorDate: Wed Nov 11 20:42:33 2020 + Commit: Matt Turner gentoo org> CommitDate: Wed Nov 11 20:43:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f074ed72 lxde-base/lxpanel: Remove unnecessary gdk-pixbuf-xlib.h includes Closes: https://bugs.gentoo.org/753923 Signed-off-by: Ionen Wolkens gmail.com> Signed-off-by: Matt Turner gentoo.org> .../files/lxpanel-remove-gdk-pixbuf-xlib.patch | 26 ++ lxde-base/lxpanel/lxpanel-0.10.0.ebuild| 4 2 files changed, 30 insertions(+) diff --git a/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch b/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch new file mode 100644 index 000..7f52fb022e1 --- /dev/null +++ b/lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch @@ -0,0 +1,26 @@ +https://bugs.gentoo.org/753923 + +--- a/plugins/launchtaskbar.c 2019-01-13 16:35:07.0 -0500 b/plugins/launchtaskbar.c 2020-11-10 14:25:51.550180345 -0500 +@@ -69,5 +69,4 @@ + + #include +-#include + #include + #include +--- a/plugins/task-button.c2019-02-26 16:45:49.0 -0500 b/plugins/task-button.c2020-11-10 14:25:44.858209009 -0500 +@@ -44,5 +44,4 @@ + + #include +-#include + #include + #include +--- a/src/plugin.c 2019-01-13 16:35:07.0 -0500 b/src/plugin.c 2020-11-10 14:25:38.820234868 -0500 +@@ -30,5 +30,4 @@ + + #include +-#include + #include + #include diff --git a/lxde-base/lxpanel/lxpanel-0.10.0.ebuild b/lxde-base/lxpanel/lxpanel-0.10.0.ebuild index 83229b7c08a..5f66ef3db9f 100644 --- a/lxde-base/lxpanel/lxpanel-0.10.0.ebuild +++ b/lxde-base/lxpanel/lxpanel-0.10.0.ebuild @@ -41,6 +41,10 @@ DOC_CONTENTS="If you have problems with broken icons shown in the main panel, you will have to configure panel settings via its menu. This will not be an issue with first time installations." +PATCHES=( + "${FILESDIR}"/${PN}-remove-gdk-pixbuf-xlib.patch +) + src_prepare() { default