summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/glipper/ChangeLog9
-rw-r--r--x11-misc/glipper/files/glipper-1.0-transparent.patch20
-rw-r--r--x11-misc/glipper/glipper-1.0-r2.ebuild52
3 files changed, 80 insertions, 1 deletions
diff --git a/x11-misc/glipper/ChangeLog b/x11-misc/glipper/ChangeLog
index ef9f1b3cb2bb..52f25a5e74f4 100644
--- a/x11-misc/glipper/ChangeLog
+++ b/x11-misc/glipper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-misc/glipper
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/ChangeLog,v 1.10 2008/01/03 18:38:29 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/ChangeLog,v 1.11 2008/03/23 13:28:45 swegener Exp $
+
+*glipper-1.0-r2 (23 Mar 2008)
+
+ 23 Mar 2008; Sven Wegener <swegener@gentoo.org>
+ +files/glipper-1.0-transparent.patch, +glipper-1.0-r2.ebuild:
+ Revision bump, include a patch to make the applet icon transparent, bug
+ #212265.
*glipper-1.0-r1 (03 Jan 2008)
diff --git a/x11-misc/glipper/files/glipper-1.0-transparent.patch b/x11-misc/glipper/files/glipper-1.0-transparent.patch
new file mode 100644
index 000000000000..e165bae3d177
--- /dev/null
+++ b/x11-misc/glipper/files/glipper-1.0-transparent.patch
@@ -0,0 +1,20 @@
+Applet icon should be transparent
+
+https://bugs.gentoo.org/show_bug.cgi?id=212265
+https://sourceforge.net/tracker/index.php?func=detail&aid=1791900&group_id=167085&atid=841538
+
+Index: glipper/Applet.py
+===================================================================
+RCS file: /cvsroot/glipper/glipper-ng/glipper/Applet.py,v
+retrieving revision 1.23
+diff --unified -r1.23 Applet.py
+--- glipper/Applet.py 30 Sep 2007 19:10:14 -0000 1.23
++++ glipper/Applet.py 23 Mar 2008 13:24:22 -0000
+@@ -30,6 +30,7 @@
+ class Applet(object):
+ def __init__(self, applet):
+ self.applet = applet
++ applet.set_background_widget(applet)
+ self.size = 24
+ self.menu = gtk.Menu()
+ self.tooltips = gtk.Tooltips()
diff --git a/x11-misc/glipper/glipper-1.0-r2.ebuild b/x11-misc/glipper/glipper-1.0-r2.ebuild
new file mode 100644
index 000000000000..2c02589e5eb3
--- /dev/null
+++ b/x11-misc/glipper/glipper-1.0-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/glipper-1.0-r2.ebuild,v 1.1 2008/03/23 13:28:45 swegener Exp $
+
+GCONF_DEBUG="no"
+
+inherit gnome2 python eutils
+
+DESCRIPTION="GNOME Clipboard Manager"
+HOMEPAGE="http://glipper.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.4
+ >=dev-python/pygobject-2.6
+ >=dev-python/pygtk-2.6
+ >=dev-python/gnome-python-2.10
+ >=dev-python/gnome-python-desktop-2.10
+ >=dev-python/gnome-python-extras-2.10
+ >=gnome-base/gnome-desktop-2.10"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS ChangeLog NEWS"
+
+src_unpack() {
+ gnome2_src_unpack
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-binary-data.patch
+ epatch "${FILESDIR}"/${P}-transparent.patch
+}
+
+src_install() {
+ gnome2_src_install py_compile=true
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_mod_optimize "${ROOT}"/usr/lib*/python*/site-packages/glipper
+
+ elog "Glipper has been completely rewritten as a panel applet. Please remove your"
+ elog "existing ~/.glipper directory and then add glipper as a new panel applet."
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup
+}