summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-21 10:53:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-21 10:53:55 +0000
commit50637be8b2ad32c55cd9f35c04c8b353fb652375 (patch)
treeaf37a0679965045998a35e6c3f978b88e96686d0 /x11-misc/glipper
parentVersion bump wrt #403075 by "David" (diff)
downloadgentoo-2-50637be8b2ad32c55cd9f35c04c8b353fb652375.tar.gz
gentoo-2-50637be8b2ad32c55cd9f35c04c8b353fb652375.tar.bz2
gentoo-2-50637be8b2ad32c55cd9f35c04c8b353fb652375.zip
old
(Portage version: 2.2.0_alpha92/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/glipper')
-rw-r--r--x11-misc/glipper/ChangeLog7
-rw-r--r--x11-misc/glipper/files/glipper-1.0-binary-data.patch64
-rw-r--r--x11-misc/glipper/files/glipper-1.0-pkgconfig.patch11
-rw-r--r--x11-misc/glipper/files/glipper-1.0-transparent.patch20
-rw-r--r--x11-misc/glipper/glipper-1.0-r3.ebuild65
-rw-r--r--x11-misc/glipper/glipper-2.1.ebuild46
6 files changed, 6 insertions, 207 deletions
diff --git a/x11-misc/glipper/ChangeLog b/x11-misc/glipper/ChangeLog
index c97fbfd0818f..70dbbe3c8d44 100644
--- a/x11-misc/glipper/ChangeLog
+++ b/x11-misc/glipper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/glipper
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/ChangeLog,v 1.23 2012/03/21 10:52:36 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/ChangeLog,v 1.24 2012/03/21 10:53:54 ssuominen Exp $
+
+ 21 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> -glipper-1.0-r3.ebuild,
+ -files/glipper-1.0-binary-data.patch, -files/glipper-1.0-pkgconfig.patch,
+ -files/glipper-1.0-transparent.patch, -glipper-2.1.ebuild:
+ old
*glipper-2.3 (21 Mar 2012)
diff --git a/x11-misc/glipper/files/glipper-1.0-binary-data.patch b/x11-misc/glipper/files/glipper-1.0-binary-data.patch
deleted file mode 100644
index 8a623a53b790..000000000000
--- a/x11-misc/glipper/files/glipper-1.0-binary-data.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-This should fix the bug with Openoffice clipboard items
-
-Index: glipper/Clipboards.py
-===================================================================
-RCS file: /cvsroot/glipper/glipper-ng/glipper/Clipboards.py,v
-retrieving revision 1.16
-retrieving revision 1.17
-diff --unified -r1.16 -r1.17
---- glipper/Clipboards.py 30 Sep 2007 19:10:14 -0000 1.16
-+++ glipper/Clipboards.py 28 Dec 2007 17:03:31 -0000 1.17
-@@ -61,23 +61,39 @@
-
- def on_default_clipboard_owner_change(self, clipboard, event):
- if self.use_default_clipboard:
-- item = clipboard.wait_for_text()
--
-- if item != None:
-- self.default_clipboard_text = item
-- self.emit('new-item', item)
-- elif self.default_clipboard_text != None:
-- clipboard.set_text(self.default_clipboard_text)
-+ text = clipboard.wait_for_text()
-+
-+ if text != None:
-+ self.default_clipboard_text = text
-+ self.default_clipboard_image = None
-+ self.emit('new-item', text)
-+ return
-+
-+ targets = clipboard.wait_for_targets()
-+
-+ if targets == None:
-+ if self.default_clipboard_text != None:
-+ clipboard.set_text(self.default_clipboard_text)
-+ elif self.default_clipboard_image != None:
-+ clipboard.set_image(self.default_clipboard_image)
-
- def on_primary_clipboard_owner_change(self, clipboard, event):
- if self.use_primary_clipboard:
-- item = clipboard.wait_for_text()
--
-- if item != None:
-- self.primary_clipboard_text = item
-- self.emit('new-item', item)
-- elif self.primary_clipboard_text != None:
-- clipboard.set_text(self.primary_clipboard_text)
-+ text = clipboard.wait_for_text()
-+
-+ if text != None:
-+ self.primary_clipboard_text = text
-+ self.primary_clipboard_image = None
-+ self.emit('new-item', text)
-+ return
-+
-+ targets = clipboard.wait_for_targets()
-+
-+ if targets == None:
-+ if self.primary_clipboard_text != None:
-+ clipboard.set_text(self.primary_clipboard_text)
-+ elif self.default_clipboard_image != None:
-+ clipboard.set_image(self.primary_clipboard_image)
-
- def on_use_default_clipboard_changed (self, value):
- if value is None or value.type != gconf.VALUE_BOOL:
diff --git a/x11-misc/glipper/files/glipper-1.0-pkgconfig.patch b/x11-misc/glipper/files/glipper-1.0-pkgconfig.patch
deleted file mode 100644
index c362c2db0a47..000000000000
--- a/x11-misc/glipper/files/glipper-1.0-pkgconfig.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- glipper/data/glipper.pc.in
-+++ glipper/data/glipper.pc.in
-@@ -2,3 +2,8 @@
- exec_prefix=@exec_prefix@
- libdir=@libdir@
- artdir=@datadir@/glipper/art
-+
-+Name: Glipper
-+Description: clipboardmanager for GNOME
-+Version: 1.0
-+URL: http://glipper.sourceforge.net
diff --git a/x11-misc/glipper/files/glipper-1.0-transparent.patch b/x11-misc/glipper/files/glipper-1.0-transparent.patch
deleted file mode 100644
index e165bae3d177..000000000000
--- a/x11-misc/glipper/files/glipper-1.0-transparent.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-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-r3.ebuild b/x11-misc/glipper/glipper-1.0-r3.ebuild
deleted file mode 100644
index ac05663348cf..000000000000
--- a/x11-misc/glipper/glipper-1.0-r3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/glipper-1.0-r3.ebuild,v 1.6 2011/10/19 22:54:28 tetromino Exp $
-
-EAPI="3"
-
-GCONF_DEBUG="no"
-PYTHON_DEPEND="2"
-
-inherit gnome2 python eutils multilib
-
-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-python/pygobject-2.6:2
- >=dev-python/pygtk-2.6
- >=dev-python/gconf-python-2.22.0
- >=dev-python/libgnome-python-2.22.0
- >=dev-python/gnome-applets-python-2.22.0
- >=dev-python/gnome-vfs-python-2.22.0
- >=gnome-base/gnome-desktop-2.10:2"
-RDEPEND="${DEPEND}"
-
-RESTRICT="test"
-
-DOCS="AUTHORS ChangeLog NEWS"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-binary-data.patch
- epatch "${FILESDIR}"/${P}-transparent.patch
- epatch "${FILESDIR}"/${P}-pkgconfig.patch
-}
-
-src_install() {
- gnome2_src_install py_compile=true
-
- python_convert_shebangs 2 "${D}"/usr/$(get_libdir)/glipper/glipper
-
- # remove pointless .la files, bug #305147
- rm -f "${D}$(python_get_sitedir)"/glipper/{keybinder/_keybinder,osutils/_osutils}.la
-}
-
-pkg_postinst() {
- gnome2_pkg_postinst
- python_mod_optimize 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 glipper
-}
diff --git a/x11-misc/glipper/glipper-2.1.ebuild b/x11-misc/glipper/glipper-2.1.ebuild
deleted file mode 100644
index c5cb6e1a90f8..000000000000
--- a/x11-misc/glipper/glipper-2.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/glipper-2.1.ebuild,v 1.2 2011/11/28 15:06:38 ssuominen Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="2:2.6"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit distutils gnome2-utils
-
-DESCRIPTION="A PyGTK+ based advanced clipboard manager"
-HOMEPAGE="http://launchpad.net/glipper"
-SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-libs/keybinder[python]
- >=dev-libs/libappindicator-0.4:0
- dev-python/gconf-python
- dev-python/pycrypto
- dev-python/pygtk:2
- dev-python/python-prctl
- dev-python/pyxdg"
-DEPEND="${RDEPEND}
- dev-python/python-distutils-extra"
-
-pkg_preinst() {
- gnome2_gconf_savelist
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
- gnome2_gconf_install
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- distutils_pkg_postrm
- gnome2_icon_cache_update
-}