summaryrefslogtreecommitdiff
path: root/lxde-base
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-07-26 20:03:02 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-07-26 20:03:02 +0100
commitcb8362f4350c5af93bcf183f44f2eaa1da2353da (patch)
treeaf6ea51c878726ec50fa87aedd2c9bdddcf3ca48 /lxde-base
parentcc8ebada17eb365c21625b4c64b04115c0580fde (diff)
more cleanup
Diffstat (limited to 'lxde-base')
-rw-r--r--lxde-base/lxdm/Manifest1
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-configure-add-pam.patch45
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-event-check.patch25
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch25
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-fix-optional-pam.patch31
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-fix-pam-100-cpu.patch16
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch29
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-git-fix-null-pointer-deref.patch51
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-missing-pam-defines.patch29
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch43
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-pam-use-system-local-login.patch15
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-pam_console-disable.patch9
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-rogentos-1-theme.patch32
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-rogentos-conf.patch11
-rw-r--r--lxde-base/lxdm/files/lxdm-0.4.1-selinux-support.patch7
-rw-r--r--lxde-base/lxdm/files/lxdm.service12
-rw-r--r--lxde-base/lxdm/files/xinitrc52
-rw-r--r--lxde-base/lxdm/lxdm-0.4.1-r7.ebuild89
-rw-r--r--lxde-base/lxdm/lxdm-0.4.1-r8.ebuild93
-rw-r--r--lxde-base/lxdm/lxdm-0.4.1-r9.ebuild98
-rw-r--r--lxde-base/lxdm/metadata.xml5
-rw-r--r--lxde-base/lxpanel/Manifest2
-rw-r--r--lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch13
-rw-r--r--lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch29
-rw-r--r--lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch25
-rw-r--r--lxde-base/lxpanel/files/start-here.pngbin12493 -> 0 bytes
-rw-r--r--lxde-base/lxpanel/lxpanel-0.6.1.ebuild75
-rw-r--r--lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild78
28 files changed, 0 insertions, 940 deletions
diff --git a/lxde-base/lxdm/Manifest b/lxde-base/lxdm/Manifest
deleted file mode 100644
index a9f2f860..00000000
--- a/lxde-base/lxdm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST lxdm-0.4.1.tar.gz 296714 SHA256 9e0d0a5672fcf31a18de8178ce73eab1723d6ae7097dfe41e9fe2c46e180cf08 SHA512 8ed4a955a910def4db66958d1cb24976db178b8763199a024b6c2119894745e3646566c42d01472dffbbcbb7fd21784b01e74dc88038e01caebaa3b6d720ff27 WHIRLPOOL 1bbb55bf955f46aaac54ca3372c09308baa496297e56026456e464217f115d6b26994e8be6b6b228b663bb2e14cf9d5ace6930f75024f6426825dd4fefc5349f
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-configure-add-pam.patch b/lxde-base/lxdm/files/lxdm-0.4.1-configure-add-pam.patch
deleted file mode 100644
index d91bf75a..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-configure-add-pam.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 949ee91acb55baeb4b8761957eabd2e5a345d2ae Mon Sep 17 00:00:00 2001
-From: Mitch Harder <mitch.harder@sabayonlinux.org>
-Date: Thu, 8 Dec 2011 11:02:28 -0600
-Subject: Fix configure.ac test for pam libs.
-
-A bug report on Gentoo noted that the configure test for pam
-wasn't working correctly.
-https://bugs.gentoo.org/show_bug.cgi?id=384615
-
-This corrections borrows the configure.ac pam testing method used in xdm.
----
- configure.ac | 13 +++++++++++--
- 1 files changed, 11 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index e952473..eaa883a 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -14,12 +14,21 @@ AC_PROG_INSTALL
- AM_PROG_CC_C_O
-
- # Checks for libraries.
- AC_CHECK_LIB([crypt], [crypt])
-
--AC_ARG_WITH(pam,AC_HELP_STRING([--without-pam],[build without pam]),
--[],[AC_CHECK_LIB([pam], [pam_open_session])])
-+# Check for PAM support
-+AC_ARG_WITH(pam, AC_HELP_STRING([--with-pam],[Use PAM for authentication]),
-+ [USE_PAM=$withval], [USE_PAM=$use_pam_default])
-+if test "x$USE_PAM" != "xno" ; then
-+ AC_SEARCH_LIBS(pam_open_session,[pam])
-+ AC_CHECK_FUNC(pam_open_session,
-+ [AC_DEFINE(USE_PAM,1,[Use PAM for authentication])],
-+ [if test "x$USE_PAM" != "xtry" ; then
-+ AC_MSG_ERROR(["PAM support requested, but pam_open_session not found."])
-+ fi])
-+fi
-
- AC_CHECK_LIB([ck-connector],[ck_connector_open_session])
-
- # Checks for header files.
- AC_PATH_X
---
-1.7.3.4
-
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-event-check.patch b/lxde-base/lxdm/files/lxdm-0.4.1-event-check.patch
deleted file mode 100644
index 4c2d5b35..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-event-check.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d4e41ecb36a1ea29482b75674d804bb0f05540b2 Mon Sep 17 00:00:00 2001
-From: dgod <dgod.osa@gmail.com>
-Date: Sun, 25 Dec 2011 15:23:19 +0800
-Subject: [PATCH 1/1] fix event check bug caused cpu 100%
-
----
- src/lxcom.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/lxcom.c b/src/lxcom.c
-index 02763eb..18ee12e 100644
---- a/src/lxcom.c
-+++ b/src/lxcom.c
-@@ -89,7 +89,7 @@ static gboolean lxcom_prepare (GSource *source,gint *timeout)
-
- static gboolean lxcom_check(GSource *source)
- {
-- return TRUE;
-+ return (((LXComSource*)source)->poll.revents&G_IO_IN)?TRUE:FALSE;
- }
-
- static gboolean lxcom_dispatch (GSource *source,GSourceFunc callback,gpointer user_data)
---
-1.7.4.1
-
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch b/lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch
deleted file mode 100644
index f0ca23be..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d4e41ecb36a1ea29482b75674d804bb0f05540b2 Mon Sep 17 00:00:00 2001
-From: dgod <dgod.osa@gmail.com>
-Date: Sun, 25 Dec 2011 15:23:19 +0800
-Subject: [PATCH] fix event check bug caused cpu 100%
-
----
- src/lxcom.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/lxcom.c b/src/lxcom.c
-index 02763eb..18ee12e 100644
---- a/src/lxcom.c
-+++ b/src/lxcom.c
-@@ -89,7 +89,7 @@ static gboolean lxcom_prepare (GSource *source,gint *timeout)
-
- static gboolean lxcom_check(GSource *source)
- {
-- return TRUE;
-+ return (((LXComSource*)source)->poll.revents&G_IO_IN)?TRUE:FALSE;
- }
-
- static gboolean lxcom_dispatch (GSource *source,GSourceFunc callback,gpointer user_data)
---
-1.7.4.1
-
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-fix-optional-pam.patch b/lxde-base/lxdm/files/lxdm-0.4.1-fix-optional-pam.patch
deleted file mode 100644
index 0aecc085..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-fix-optional-pam.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/Makefile.am b/Makefile.am
-index bfac56b..40710fc 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,10 +2,13 @@ NULL =
- SUBDIRS= \
- src \
- po \
-- pam \
- data \
- $(NULL)
-
-+if HAVE_PAM
-+SUBDIRS += pam
-+endif
-+
- rpm: dist @PACKAGE_NAME@.spec
- rpmbuild -bb \
- --define "_sourcedir `pwd`" \
-diff --git a/configure.ac b/configure.ac
-index ae5177f..aaa1bad 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -27,6 +27,7 @@ if test "x$USE_PAM" != "xno" ; then
- AC_MSG_ERROR(["PAM support requested, but pam_open_session not found."])
- fi])
- fi
-+AM_CONDITIONAL(HAVE_PAM, [test -n "$USE_PAM" -a "x$USE_PAM" != xno ])
-
- # Checks for header files.
- AC_PATH_X
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-fix-pam-100-cpu.patch b/lxde-base/lxdm/files/lxdm-0.4.1-fix-pam-100-cpu.patch
deleted file mode 100644
index 103268ef..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-fix-pam-100-cpu.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- lxdm-0.4.1.orig/src/lxdm.c
-+++ lxdm-0.4.1/src/lxdm.c
-@@ -1458,8 +1458,12 @@ void lxdm_do_login(struct passwd *pw, ch
- setenv("XDG_SESSION_COOKIE", ck_connector_get_cookie(s->ckc), 1);
- }
- #endif
-+ int i;
-+ for(i=2;i<256;i++)
-+ g_source_remove(i);
-+
- char** env, *path;
-- int n_env,i;
-+ int n_env;
- n_env = g_strv_length(environ);
- /* copy all environment variables and override some of them */
- env = g_new(char*, n_env + 1 + 13);
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch b/lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch
deleted file mode 100644
index 11bacdbb..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-fix-session-args.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Nurp data//Xsession data.new//Xsession
---- data//Xsession 2011-07-29 15:42:33.000000000 +0200
-+++ data.new//Xsession 2012-01-04 15:49:39.009452532 +0100
-@@ -20,7 +20,7 @@ if [ -f /etc/X11/xinit/xinitrc-common ];
- elif [ -x /usr/bin/ck-launch-session -a -z "$CK_XINIT_SESSION" ]; then
- CK_XINIT_SESSION="/usr/bin/ck-launch-session"
- fi
-- exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\""
-+ exec -l "$SHELL" -c "$CK_XINIT_SESSION $LXSESSION"
- elif [ -x /etc/X11/xinit/Xsession ]; then
- # fedora
- exec /etc/X11/xinit/Xsession "$LXSESSION"
-@@ -30,7 +30,7 @@ elif [ -x /etc/X11/Xsession ]; then
- elif [ -x /etc/X11/xinit/xinitrc ]; then
- #suse
- export WINDOWMANAGER=$LXSESSION
-- exec -l $SHELL -c /etc/X11/xinit/xinitrc
-+ exec -l "$SHELL" -c /etc/X11/xinit/xinitrc
- else
- # unknown, user should custom /etc/lxdm/xinitrc self
- if [ -x /etc/lxdm/xinitrc ]; then
-@@ -41,6 +41,6 @@ else
- elif [ -x /usr/bin/ck-launch-session ]; then
- CK_XINIT_SESSION="/usr/bin/ck-launch-session"
- fi
-- exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\""
-+ exec -l "$SHELL" -c "$CK_XINIT_SESSION $LXSESSION"
- fi
-
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-git-fix-null-pointer-deref.patch b/lxde-base/lxdm/files/lxdm-0.4.1-git-fix-null-pointer-deref.patch
deleted file mode 100644
index 7abdbd47..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-git-fix-null-pointer-deref.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 19f82a206b2cec964cea0475395d63dedf183788 Mon Sep 17 00:00:00 2001
-From: Andrea Florio <andrea@opensuse.org>
-Date: Fri, 29 Jul 2011 23:59:32 +0200
-Subject: [PATCH] fix null pointer dereference
-
----
- src/config.c | 25 ++++++++++---------------
- 1 files changed, 10 insertions(+), 15 deletions(-)
-
-diff --git a/src/config.c b/src/config.c
-index 3f92f7b..4603ab4 100644
---- a/src/config.c
-+++ b/src/config.c
-@@ -125,24 +125,19 @@ static gboolean image_file_valid(const char *filename)
- static void update_face_image(GtkWidget *w)
- {
- GdkPixbuf *pixbuf;
-- char *path;
-- path=g_build_filename(user->pw_dir,".face",NULL);
-- if(access(path,R_OK))
-- {
-- g_free(path);
-- if(ui_nobody)
-- pixbuf=gdk_pixbuf_new_from_file_at_scale(ui_nobody,48,48,FALSE,NULL);
-- if(!pixbuf)
-- pixbuf=gtk_icon_theme_load_icon(gtk_icon_theme_get_default(),
-+ char *path=g_build_filename(user->pw_dir,".face",NULL);
-+ pixbuf=gdk_pixbuf_new_from_file_at_scale(path,48,48,FALSE,NULL);
-+ g_free(path);
-+ if(!pixbuf && ui_nobody)
-+ pixbuf=gdk_pixbuf_new_from_file_at_scale(ui_nobody,48,48,FALSE,NULL);
-+ if(!pixbuf)
-+ pixbuf=gtk_icon_theme_load_icon(gtk_icon_theme_get_default(),
- "avatar-default", 48,GTK_ICON_LOOKUP_FORCE_SIZE,NULL);
-- }
-- else
-+ if(pixbuf)
- {
-- pixbuf=gdk_pixbuf_new_from_file_at_scale(path,48,48,FALSE,NULL);
-- g_free(path);
-+ gtk_image_set_from_pixbuf(GTK_IMAGE(w),pixbuf);
-+ g_object_unref(pixbuf);
- }
-- gtk_image_set_from_pixbuf(GTK_IMAGE(w),pixbuf);
-- g_object_unref(pixbuf);
- }
-
- static void set_face_file(const char *filename)
---
-1.7.0.1
-
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-missing-pam-defines.patch b/lxde-base/lxdm/files/lxdm-0.4.1-missing-pam-defines.patch
deleted file mode 100644
index a59273cc..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-missing-pam-defines.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 0f9e8e53a8d30f5c8ccfb03edc282148f58bfd30 Mon Sep 17 00:00:00 2001
-From: dgod <dgod.osa@gmail.com>
-Date: Sun, 1 Jan 2012 17:05:22 +0800
-Subject: [PATCH] fix bug introduced from pam detect
-
----
- src/lxdm.c | 4 ++++
- 1 files changed, 4 insertions(+), 0 deletions(-)
-
-diff --git a/src/lxdm.c b/src/lxdm.c
-index b5a90be..07be1e0 100644
---- a/src/lxdm.c
-+++ b/src/lxdm.c
-@@ -25,8 +25,12 @@
- #include <config.h>
- #endif
- #ifndef HAVE_LIBPAM
-+#ifdef USE_PAM
-+#define HAVE_LIBPAM 1
-+#else
- #define HAVE_LIBPAM 0
- #endif
-+#endif
-
- #include <stdio.h>
- #include <stdlib.h>
---
-1.7.4.1
-
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch b/lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch
deleted file mode 100644
index 621a9d62..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-X-Gentoo-Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=443666
-X-Git-Url: http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxdm;a=patch;h=902438eb83b4ae97d774e4e5f38b46f2d826df2f
-X-Git-Url: http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxdm;a=patch;h=371b018474217bdff1d5108b384fbf0f45aa873d
-
-Signed-off-by: Markos Chandras <hwoarang@gentoo.org>
-
-Index: lxdm-0.4.1/configure.ac
-===================================================================
---- lxdm-0.4.1.orig/configure.ac
-+++ lxdm-0.4.1/configure.ac
-@@ -28,8 +28,6 @@ if test "x$USE_PAM" != "xno" ; then
- fi])
- fi
-
--AC_CHECK_LIB([ck-connector],[ck_connector_open_session])
--
- # Checks for header files.
- AC_PATH_X
- AC_CHECK_HEADERS([shadow.h stdlib.h string.h unistd.h utmpx.h])
-@@ -89,11 +87,22 @@ PKG_CHECK_MODULES(GTK, [$pkg_modules])
- AC_SUBST(GTK_CFLAGS)
- AC_SUBST(GTK_LIBS)
-
--PKG_CHECK_MODULES(CONSOLEKIT, "ck-connector",[
-+
-+AC_ARG_ENABLE(consolekit,
-+ AC_HELP_STRING([--disable-consolekit],[disable ConsoleKit support]),
-+ [enable_consolekit=$enableval],
-+ [enable_consolekit=yes]
-+)
-+
-+if test "x$enable_consolekit" = "xyes" ; then
-+ AC_CHECK_LIB([ck-connector],[ck_connector_open_session])
-+ PKG_CHECK_MODULES(CONSOLEKIT, "ck-connector",[
- AC_SUBST(CONSOLEKIT_CFLAGS)
- AC_SUBST(CONSOLEKIT_LIBS)],[
- echo "ConsoleKit devel package not found"
- ])
-+fi
-+
-
- AC_ARG_ENABLE(password,
- AC_HELP_STRING([--enable-password],[enable to load autologin password store at config file]),
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-pam-use-system-local-login.patch b/lxde-base/lxdm/files/lxdm-0.4.1-pam-use-system-local-login.patch
deleted file mode 100644
index 9f723a2f..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-pam-use-system-local-login.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- lxdm-0.4.1.orig/pam/lxdm
-+++ lxdm-0.4.1/pam/lxdm
-@@ -1,9 +1,9 @@
- #%PAM-1.0
--auth substack system-auth
-+auth substack system-local-login
- auth optional pam_gnome_keyring.so
--account include system-auth
-+account include system-local-login
- session optional pam_keyinit.so force revoke
--session include system-auth
-+session include system-local-login
- session required pam_loginuid.so
- #session optional pam_console.so
- session optional pam_gnome_keyring.so auto_start
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-pam_console-disable.patch b/lxde-base/lxdm/files/lxdm-0.4.1-pam_console-disable.patch
deleted file mode 100644
index 628e9a51..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-pam_console-disable.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- lxdm-0.4.0.orig/pam/lxdm
-+++ lxdm-0.4.0/pam/lxdm
-@@ -5,5 +5,5 @@ account include system-auth
- session optional pam_keyinit.so force revoke
- session include system-auth
- session required pam_loginuid.so
--session optional pam_console.so
-+#session optional pam_console.so
- session optional pam_gnome_keyring.so auto_start
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-rogentos-1-theme.patch b/lxde-base/lxdm/files/lxdm-0.4.1-rogentos-1-theme.patch
deleted file mode 100644
index 1a7f84a7..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-rogentos-1-theme.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- orig/data/lxdm.conf.in 2013-07-01 01:20:22.289454072 +0300
-+++ data/lxdm.conf.in 2013-07-01 01:19:34.353452789 +0300
-@@ -1,6 +1,6 @@
- [base]
- ## uncomment and set autologin username to enable autologin
--# autologin=dgod
-+# autologin=rogentosuser
-
- ## uncomment and set timeout to enable timeout autologin,
- ## the value should >=5
-@@ -24,10 +24,10 @@
-
- [display]
- ## gtk theme used by greeter
--gtk_theme=Clearlooks
-+gtk_theme=Kogaion-light
-
- ## background of the greeter
--bg=/usr/share/backgrounds/default.png
-+bg=/usr/share/lxdm/themes/Kogaion/kogaion.png
-
- ## if show bottom pane
- bottom_pane=1
-@@ -39,7 +39,7 @@
- keyboard=0
-
- ## the theme of greeter
--theme=Industrial
-+theme=Kogaion
-
- [input]
-
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-rogentos-conf.patch b/lxde-base/lxdm/files/lxdm-0.4.1-rogentos-conf.patch
deleted file mode 100644
index bfa28b6c..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-rogentos-conf.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- orig/data/lxdm.conf 2013-07-01 01:27:22.793465333 +0300
-+++ data/lxdm.conf 2013-07-01 01:27:34.691465652 +0300
-@@ -24,7 +24,7 @@
-
- [display]
- ## gtk theme used by greeter
--gtk_theme=Clearlooks
-+gtk_theme=Kogaion-light
-
- ## background of the greeter
- bg=/usr/share/backgrounds/default.png
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-selinux-support.patch b/lxde-base/lxdm/files/lxdm-0.4.1-selinux-support.patch
deleted file mode 100644
index c7df391b..00000000
--- a/lxde-base/lxdm/files/lxdm-0.4.1-selinux-support.patch
+++ /dev/null
@@ -1,7 +0,0 @@
---- a/pam/lxdm 2011-12-05 17:30:39.749064359 -0600
-+++ b/pam/lxdm 2011-12-05 17:31:19.355569211 -0600
-@@ -7,3 +7,4 @@
- session required pam_loginuid.so
- #session optional pam_console.so
- session optional pam_gnome_keyring.so auto_start
-+session optional pam_selinux.so
diff --git a/lxde-base/lxdm/files/lxdm.service b/lxde-base/lxdm/files/lxdm.service
deleted file mode 100644
index 427e05ad..00000000
--- a/lxde-base/lxdm/files/lxdm.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=LXDM (Lightweight X11 Display Manager)
-Conflicts=getty@tty7.service
-After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service plymouth-quit-wait.service
-
-[Service]
-ExecStart=/usr/sbin/lxdm
-Restart=always
-IgnoreSIGPIPE=no
-
-[Install]
-Alias=display-manager.service
diff --git a/lxde-base/lxdm/files/xinitrc b/lxde-base/lxdm/files/xinitrc
deleted file mode 100644
index 013b8164..00000000
--- a/lxde-base/lxdm/files/xinitrc
+++ /dev/null
@@ -1,52 +0,0 @@
-# Source for this script borrowed from portions of kdm's Xsession.
-
-case $SHELL in
- */bash)
- [ -z "$BASH" ] && exec $SHELL $0 "$@"
- set +o posix
- [ -f /etc/profile ] && . /etc/profile
- if [ -f $HOME/.bash_profile ]; then
- . $HOME/.bash_profile
- elif [ -f $HOME/.bash_login ]; then
- . $HOME/.bash_login
- elif [ -f $HOME/.profile ]; then
- . $HOME/.profile
- fi
- ;;
- */zsh)
- [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
- emulate -R zsh
- [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
- zhome=${ZDOTDIR:-$HOME}
- # zshenv is always sourced automatically.
- [ -f $zdir/zprofile ] && . $zdir/zprofile
- [ -f $zhome/.zprofile ] && . $zhome/.zprofile
- [ -f $zdir/zlogin ] && . $zdir/zlogin
- [ -f $zhome/.zlogin ] && . $zhome/.zlogin
- ;;
- */csh|*/tcsh)
- # [t]cshrc is always sourced automatically.
- # Note that sourcing csh.login after .cshrc is non-standard.
- xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
- $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp"
- . $xsess_tmp
- rm -f $xsess_tmp
- ;;
- *) # Plain sh, ksh, and anything we do not know.
- [ -f /etc/profile ] && . /etc/profile
- [ -f $HOME/.profile ] && . $HOME/.profile
- ;;
-esac
-
-[ -f /etc/xprofile ] && . /etc/xprofile
-[ -f $HOME/.xprofile ] && . $HOME/.xprofile
-
-# run all system xinitrc shell scripts.
-if [ -d /etc/X11/xinit/xinitrc.d ]; then
- for i in /etc/X11/xinit/xinitrc.d/* ; do
- if [ -x "$i" ]; then
- . "$i"
- fi
- done
-fi
-
diff --git a/lxde-base/lxdm/lxdm-0.4.1-r7.ebuild b/lxde-base/lxdm/lxdm-0.4.1-r7.ebuild
deleted file mode 100644
index 7ac178d7..00000000
--- a/lxde-base/lxdm/lxdm-0.4.1-r7.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit eutils autotools systemd
-
-DESCRIPTION="LXDE Display Manager"
-HOMEPAGE="http://lxde.org"
-SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~arm ~amd64 ~x86"
-
-IUSE="debug gtk3 nls pam"
-
-RDEPEND="sys-auth/consolekit
- x11-libs/libxcb
- >=x11-themes/kogaion-artwork-lxde-1
- gtk3? ( x11-libs/gtk+:3 )
- !gtk3? ( x11-libs/gtk+:2 )
- nls? ( sys-devel/gettext )
- pam? ( virtual/pam )"
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.40
- dev-util/pkgconfig"
-
-src_prepare() {
- # Upstream bug, tarball contains pre-made lxdm.conf
- epatch "${FILESDIR}/${P}-rogentos-conf.patch"
- rm "${S}"/data/lxdm.conf || die
-
- # There is consolekit
- epatch "${FILESDIR}/${P}-pam_console-disable.patch"
- # Backported, drop it when 0.4.2
- epatch "${FILESDIR}/${P}-git-fix-null-pointer-deref.patch"
- # RogentOS specific theme patch
- epatch "${FILESDIR}/${P}-rogentos-1-theme.patch"
- # Fix sessions with arguments, see:
- # http://lists.sabayon.org/pipermail/devel/2012-January/007582.html
- epatch "${FILESDIR}/${P}-fix-session-args.patch"
-
- epatch "${FILESDIR}"/${P}-configure-add-pam.patch
-
- # 403999
- epatch "${FILESDIR}"/${P}-missing-pam-defines.patch
-
- epatch "${FILESDIR}"/${P}-fix-event-check-bug.patch
-
- # Also see #422495
- epatch "${FILESDIR}"/${P}-pam-use-system-local-login.patch
-
- # See https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/922363
- epatch "${FILESDIR}/${P}-fix-pam-100-cpu.patch"
-
- # this replaces the bootstrap/autogen script in most packages
- eautoreconf
-
- # process LINGUAS
- if use nls; then
- einfo "Running intltoolize ..."
- intltoolize --force --copy --automake || die
- strip-linguas -i "${S}/po" || die
- fi
-}
-src_configure() {
- econf --enable-password \
- --with-x \
- --with-xconn=xcb \
- $(use_enable gtk3) \
- $(use_enable nls) \
- $(use_enable debug) \
- $(use_with pam)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS README TODO || die
-
- systemd_dounit "${FILESDIR}/lxdm.service"
-}
-
-pkg_postinst() {
- echo
- elog "LXDM in the early stages of development!"
- echo
-}
diff --git a/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild b/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild
deleted file mode 100644
index 9ea406ac..00000000
--- a/lxde-base/lxdm/lxdm-0.4.1-r8.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit eutils autotools systemd
-
-DESCRIPTION="LXDE Display Manager"
-HOMEPAGE="http://lxde.org"
-SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~arm ~amd64 ~x86"
-
-IUSE="consolekit debug gtk3 nls pam"
-
-RDEPEND="consolekit? ( sys-auth/consolekit )
- x11-libs/libxcb
- >=x11-themes/kogaion-artwork-lxde-1
- gtk3? ( x11-libs/gtk+:3 )
- !gtk3? ( x11-libs/gtk+:2 )
- nls? ( sys-devel/gettext )
- pam? ( virtual/pam )"
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.40
- dev-util/pkgconfig"
-
-src_prepare() {
- # Upstream bug, tarball contains pre-made lxdm.conf
- epatch "${FILESDIR}"/"${P}"-rogentos-conf.patch
- rm "${S}"/data/lxdm.conf || die
-
- # There is consolekit
- epatch "${FILESDIR}/${P}-pam_console-disable.patch"
- # Backported, drop it when 0.4.2
- epatch "${FILESDIR}/${P}-git-fix-null-pointer-deref.patch"
- # Sabayon specific theme patch
- epatch "${FILESDIR}/${P}-rogentos-1-theme.patch"
- # Fix sessions with arguments, see:
- # http://lists.sabayon.org/pipermail/devel/2012-January/007582.html
- epatch "${FILESDIR}/${P}-fix-session-args.patch"
-
- epatch "${FILESDIR}"/${P}-configure-add-pam.patch
-
- # 403999
- epatch "${FILESDIR}"/${P}-missing-pam-defines.patch
-
- epatch "${FILESDIR}"/${P}-fix-event-check-bug.patch
-
- # Also see #422495
- epatch "${FILESDIR}"/${P}-pam-use-system-local-login.patch
-
- # See https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/922363
- epatch "${FILESDIR}/${P}-fix-pam-100-cpu.patch"
-
- # Make consolekit optional
- epatch "${FILESDIR}/${P}-optional-consolekit.patch"
-
- # this replaces the bootstrap/autogen script in most packages
- eautoreconf
-
- # process LINGUAS
- if use nls; then
- einfo "Running intltoolize ..."
- intltoolize --force --copy --automake || die
- strip-linguas -i "${S}/po" || die
- fi
-}
-src_configure() {
- econf --enable-password \
- --with-x \
- --with-xconn=xcb \
- $(use_enable consolekit) \
- $(use_enable gtk3) \
- $(use_enable nls) \
- $(use_enable debug) \
- $(use_with pam)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS README TODO || die
-
- systemd_dounit "${FILESDIR}/lxdm.service"
-}
-
-pkg_postinst() {
- echo
- elog "LXDM in the early stages of development!"
- echo
-}
diff --git a/lxde-base/lxdm/lxdm-0.4.1-r9.ebuild b/lxde-base/lxdm/lxdm-0.4.1-r9.ebuild
deleted file mode 100644
index b81dd915..00000000
--- a/lxde-base/lxdm/lxdm-0.4.1-r9.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-WANT_AUTOMAKE="1.12" #493996
-inherit eutils autotools systemd
-
-DESCRIPTION="LXDE Display Manager"
-HOMEPAGE="http://lxde.org"
-SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="consolekit debug gtk3 nls pam"
-
-RDEPEND="consolekit? ( sys-auth/consolekit )
- x11-libs/libxcb
- >=x11-themes/kogaion-artwork-lxde-1
- gtk3? ( x11-libs/gtk+:3 )
- !gtk3? ( x11-libs/gtk+:2 )
- nls? ( sys-devel/gettext )
- pam? ( virtual/pam )"
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.40
- virtual/pkgconfig"
-
-src_prepare() {
- # Upstream bug, tarball contains pre-made lxdm.conf
- epatch "${FILESDIR}"/"${P}"-rogentos-conf.patch
- rm "${S}"/data/lxdm.conf || die
-
- # There is consolekit
- epatch "${FILESDIR}/${P}-pam_console-disable.patch"
- # Fix null pointer dereference, backported from git
- epatch "${FILESDIR}/${P}-git-fix-null-pointer-deref.patch"
-
- # Sabayon specific theme patch
- epatch "${FILESDIR}/${P}-rogentos-1-theme.patch"
- # Fix sessions with arguments, see:
- # http://lists.sabayon.org/pipermail/devel/2012-January/007582.html
- epatch "${FILESDIR}/${P}-fix-session-args.patch"
-
- epatch "${FILESDIR}"/${P}-configure-add-pam.patch
-
- # 403999
- epatch "${FILESDIR}"/${P}-missing-pam-defines.patch
-
- # 412025
- epatch "${FILESDIR}"/${P}-event-check.patch
-
- # 393329 Selinux support
- epatch "${FILESDIR}"/${P}-selinux-support.patch
-
- # See https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/922363
- epatch "${FILESDIR}/${P}-fix-pam-100-cpu.patch"
-
- # Optional Consolekit support. bug #443666
- epatch "${FILESDIR}"/${P}-optional-consolekit.patch
-
- # 469512
- epatch "${FILESDIR}"/${P}-fix-optional-pam.patch
-
- # this replaces the bootstrap/autogen script in most packages
- eautoreconf
-
- # process LINGUAS
- if use nls; then
- einfo "Running intltoolize ..."
- intltoolize --force --copy --automake || die
- strip-linguas -i "${S}/po" || die
- fi
-}
-src_configure() {
- econf --enable-password \
- --with-x \
- --with-xconn=xcb \
- $(use_enable consolekit) \
- $(use_enable gtk3) \
- $(use_enable nls) \
- $(use_enable debug) \
- $(use_with pam)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS README TODO || die
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- echo
- elog "Take into consideration that LXDM is in the early stages of development!"
- echo
-}
diff --git a/lxde-base/lxdm/metadata.xml b/lxde-base/lxdm/metadata.xml
deleted file mode 100644
index 06d7ed17..00000000
--- a/lxde-base/lxdm/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>lxde</herd>
-</pkgmetadata>
diff --git a/lxde-base/lxpanel/Manifest b/lxde-base/lxpanel/Manifest
deleted file mode 100644
index ea6ed7fe..00000000
--- a/lxde-base/lxpanel/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST lxpanel-0.6.1.tar.gz 2094946 SHA256 a16a21b2186218c70ed98dc7875c54d6bb12ae7271825ff5060feb8d2a4e86cb SHA512 a0a67cad6899c286d69bc2b10b41bc277217b0452fea4e4be3bb8d68f524c6f4b878594961ad3acd187e90b3e96ff0aa0c97018c7bd5b198df64761c8378daa3 WHIRLPOOL 4ce95825f4cd647e4abeb3852192a1373a42a68cd30d50bde5bd810a48bf574b371d763a3d3a6c91d4a4c945eeec668ec56b42c6c8db5c26a3721eb21193725b
-DIST lxpanel-0.7.0.tar.xz 1479456 SHA256 bd010d13b1627335f45be1755f7f260dc439c2cfbce942bc36705fa2cffd0b53 SHA512 396147a24e852dd7288f99281116c797df4dbb1912925a6b4403ffe74bb8e3d821f7cd96965bedb2db9aff2d1ca3ae89be6e5712df04353a69a9cca5b03589aa WHIRLPOOL a5e4394e198b29bffa834b789bf34332e617837f0ebea0ea29bf595100c43aeb7d0a7698bbedb739dc058433462e1df661b41537f49904b77a4e7663360e45af
diff --git a/lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch b/lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch
deleted file mode 100644
index 29fb81a3..00000000
--- a/lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: lxpanel-0.5.9/configure.ac
-===================================================================
---- lxpanel-0.5.9.orig/configure.ac
-+++ lxpanel-0.5.9/configure.ac
-@@ -79,7 +79,7 @@ PKG_CHECK_MODULES(X11, [$pkg_modules])
- AC_SUBST(X11_LIBS)
-
- pkg_modules="libwnck-1.0"
--PKG_CHECK_MODULES(WNCK, [$pkg_modules])
-+PKG_CHECK_MODULES(WNCK, [$pkg_modules], [:], [:])
- AC_SUBST(WNCK_CFLAGS)
- AC_SUBST(WNCK_LIBS)
-
diff --git a/lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch b/lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch
deleted file mode 100644
index 0f40c185..00000000
--- a/lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: lxpanel-0.5.9/src/plugins/Makefile.am
-===================================================================
---- lxpanel-0.5.9.orig/src/plugins/Makefile.am
-+++ lxpanel-0.5.9/src/plugins/Makefile.am
-@@ -49,6 +49,3 @@ EXTRA_DIST = \
- icon.xpm
-
- install-exec-hook:
-- rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.la
-- rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.a
-- rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.
-Index: lxpanel-0.5.9/src/plugins/netstat/Makefile.am
-===================================================================
---- lxpanel-0.5.9.orig/src/plugins/netstat/Makefile.am
-+++ lxpanel-0.5.9/src/plugins/netstat/Makefile.am
-@@ -33,4 +33,3 @@ netstat_la_LDFLAGS = \
- @LXPANEL_MODULE@
-
- install-exec-hook:
-- rm -f "$(moduledir)\*.la" *.a
-Index: lxpanel-0.5.9/src/plugins/netstatus/Makefile.am
-===================================================================
---- lxpanel-0.5.9.orig/src/plugins/netstatus/Makefile.am
-+++ lxpanel-0.5.9/src/plugins/netstatus/Makefile.am
-@@ -34,4 +34,3 @@ netstatus_la_LDFLAGS = \
- $(LXPANEL_MODULE)
-
- install-exec-hook:
-- rm -f "$(moduledir)\*.la" *.a
diff --git a/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch b/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch
deleted file mode 100644
index f6325b6f..00000000
--- a/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d4943c80cded6325284be8b58003fe63dd6e8255 Mon Sep 17 00:00:00 2001
-From: Raimar <no@email.de>
-Date: Thu, 21 Aug 2014 23:21:28 +0200
-Subject: [PATCH 1/1] fix crash after click on empty part of panel
-
----
- src/panel.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/panel.c b/src/panel.c
-index 6b2ede6..87903d8 100644
---- a/src/panel.c
-+++ b/src/panel.c
-@@ -233,7 +233,7 @@ static gboolean lxpanel_button_press(GtkWidget *widget, GdkEventButton *event)
- gtk_menu_popup(popup, NULL, NULL, NULL, NULL, event->button, event->time);
- return TRUE;
- }
-- return GTK_WIDGET_CLASS(lxpanel_parent_class)->button_press_event(widget, event);
-+ return FALSE;
- }
-
- static void lxpanel_class_init(PanelToplevelClass *klass)
---
-1.7.10.4
-
diff --git a/lxde-base/lxpanel/files/start-here.png b/lxde-base/lxpanel/files/start-here.png
deleted file mode 100644
index 0a7a28ab..00000000
--- a/lxde-base/lxpanel/files/start-here.png
+++ /dev/null
Binary files differ
diff --git a/lxde-base/lxpanel/lxpanel-0.6.1.ebuild b/lxde-base/lxpanel/lxpanel-0.6.1.ebuild
deleted file mode 100644
index 8c7b0d91..00000000
--- a/lxde-base/lxpanel/lxpanel-0.6.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpanel/lxpanel-0.6.1.ebuild,v 1.1 2013/09/18 19:09:38 hwoarang Exp $
-
-EAPI="4"
-
-inherit autotools eutils readme.gentoo
-
-DESCRIPTION="Lightweight X11 desktop panel for LXDE"
-HOMEPAGE="http://lxde.org/"
-SRC_URI="mirror://sourceforge/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
-SLOT="0"
-IUSE="+alsa wifi"
-RESTRICT="test" # bug 249598
-
-RDEPEND="x11-libs/gtk+:2
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/libX11
- lxde-base/lxmenu-data
- lxde-base/menu-cache
- alsa? ( media-libs/alsa-lib )
- wifi? ( net-wireless/wireless-tools )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/gettext"
-
-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."
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.5.9-sandbox.patch
- #bug #415595
- epatch "${FILESDIR}"/${PN}-0.5.9-libwnck-check.patch
- #bug #420583
- sed -i "s:-Werror::" configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- local plugins="netstatus,volume,cpu,deskno,batt, \
- kbled,xkb,thermal,cpufreq,monitors"
-
- # wnckpager disabled per bug #415519
- use wifi && plugins+=",netstat"
- use alsa && plugins+=",volumealsa"
- [[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb
-
- econf $(use_enable alsa) --with-x --with-plugins="${plugins}"
- # the gtk+ dep already pulls in libX11, so we might as well hardcode with-x
-}
-
-src_install () {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog README
-
- # Get rid of the .la files.
- find "${D}" -name '*.la' -delete
-
- readme.gentoo_create_doc
-
- # Sabayon, add our computer icon
- insinto /usr/share/lxpanel/images
- newins "${FILESDIR}"/start-here.png my-computer.png
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild b/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild
deleted file mode 100644
index 14eced4e..00000000
--- a/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild,v 1.3 2015/03/03 08:06:53 dlan Exp $
-
-EAPI="4"
-
-inherit autotools eutils readme.gentoo versionator
-
-MAJOR_VER="$(get_version_component_range 1-2)"
-
-DESCRIPTION="Lightweight X11 desktop panel for LXDE"
-HOMEPAGE="http://lxde.org/"
-SRC_URI="mirror://sourceforge/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${MAJOR_VER}.x/${P}.tar.xz"
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
-SLOT="0"
-IUSE="+alsa wifi"
-RESTRICT="test" # bug 249598
-
-RDEPEND="x11-libs/gtk+:2
- >=x11-libs/libfm-1.2.0[gtk]
- x11-libs/libwnck:1
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/libX11
- lxde-base/lxmenu-data
- lxde-base/menu-cache
- alsa? ( media-libs/alsa-lib )
- wifi? ( net-wireless/wireless-tools )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/gettext"
-
-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."
-
-src_prepare() {
- #bug #522404
- epatch "${FILESDIR}"/${PN}-0.7.0-right-click-fix.patch
- epatch "${FILESDIR}"/${PN}-0.5.9-sandbox.patch
- #bug #415595
- sed -i "s:-Werror::" configure.ac || die
- eautoreconf
-}
-
-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) --with-x --with-plugins="${plugins}"
- # the gtk+ dep already pulls in libX11, so we might as well hardcode with-x
-}
-
-src_install () {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog README
-
- # Get rid of the .la files.
- find "${D}" -name '*.la' -delete
-
- readme.gentoo_create_doc
-
- # Sabayon, add our computer icon
- insinto /usr/share/lxpanel/images
- newins "${FILESDIR}"/start-here.png my-computer.png
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}