Skip to content

Commit

Permalink
lxde-base/lxpanel: Remove unnecessary gdk-pixbuf-xlib.h includes
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/753923
Signed-off-by: Ionen Wolkens <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
ionenwks authored and mattst88 committed Nov 11, 2020
1 parent bc599c7 commit f074ed7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lxde-base/lxpanel/files/lxpanel-remove-gdk-pixbuf-xlib.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
https://bugs.gentoo.org/753923

--- a/plugins/launchtaskbar.c 2019-01-13 16:35:07.000000000 -0500
+++ b/plugins/launchtaskbar.c 2020-11-10 14:25:51.550180345 -0500
@@ -69,5 +69,4 @@

#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
#include <gdk/gdk.h>
#include <glib/gi18n.h>
--- a/plugins/task-button.c 2019-02-26 16:45:49.000000000 -0500
+++ b/plugins/task-button.c 2020-11-10 14:25:44.858209009 -0500
@@ -44,5 +44,4 @@

#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
#include <gdk/gdk.h>
#include <glib/gi18n.h>
--- a/src/plugin.c 2019-01-13 16:35:07.000000000 -0500
+++ b/src/plugin.c 2020-11-10 14:25:38.820234868 -0500
@@ -30,5 +30,4 @@

#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
#include <gdk/gdk.h>
#include <string.h>
4 changes: 4 additions & 0 deletions lxde-base/lxpanel/lxpanel-0.10.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f074ed7

Please sign in to comment.