fixes about lxde and xfce
This commit is contained in:
1 parent
96beefda3b
commit
06bdecee4f
10 files changed
+287
-11
No files matched your search
@@ -0,0 +1,29 @@
|
||||
https://bugs.gentoo.org/919092
|
||||
https://github.com/lxde/lxpanel/pull/70
|
||||
|
||||
From 914bcc3945503be2506e112883a648b867c6db57 Mon Sep 17 00:00:00 2001
|
||||
From: Ravi Kant Sharma <600723+raviksharma@users.noreply.github.com>
|
||||
Date: Tue, 23 Jul 2024 18:02:44 +0200
|
||||
Subject: [PATCH] fix build failure on gcc-14
|
||||
|
||||
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
|
||||
--- a/plugins/tray.c
|
||||
+++ b/plugins/tray.c
|
||||
@@ -631,7 +631,7 @@ static GtkWidget *tray_constructor(LXPanel *panel, config_setting_t *settings)
|
||||
/* Add GDK event filter. */
|
||||
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_window = GDK_WINDOW_XID(gtk_widget_get_window(invisible));
|
||||
|
||||
/* Allocate top level widget and set into Plugin widget pointer. */
|
||||
|
||||
@@ -7,17 +7,24 @@ description='Lightweight X11 desktop panel for LXDE '
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://salsa.debian.org/lxde-team/lxpanel/-/archive/debian/$version-1/lxpanel-debian-$version-1.tar.gz")
|
||||
source=("https://salsa.debian.org/lxde-team/lxpanel/-/archive/debian/$version-1/lxpanel-debian-$version-1.tar.gz"
|
||||
"lxpanel-0.10.1-c99.patch")
|
||||
depends=(libwnck3 wireless-tools)
|
||||
makedepends=()
|
||||
sha256sums=('e4c6a8c9901f4226160af79c409236fe4e5d1b1ec3aefdb1c43e416698f27811')
|
||||
sha256sums=('e4c6a8c9901f4226160af79c409236fe4e5d1b1ec3aefdb1c43e416698f27811'
|
||||
'SKIP')
|
||||
group=(lxde.base)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-debian-$version-1
|
||||
|
||||
export CFLAGS="-Wno-all -O2 -s"
|
||||
export CXXFLAGS="-Wno-all -O2 -s"
|
||||
|
||||
prepare(){
|
||||
|
||||
patch -Np1 -i ../lxpanel-0.10.1-c99.patch
|
||||
# Disable pager plugin as it breaks panel layout with GTK+ 3
|
||||
# https://sourceforge.net/p/lxde/bugs/773/
|
||||
sed -i '/pager.c/d' plugins/Makefile.am
|
||||
|
||||
Reference in new issue
Block a user