summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-07-21 15:55:13 +0000
committerPacho Ramos <pacho@gentoo.org>2010-07-21 15:55:13 +0000
commit55861314405d6cf9838b031d8ca999c5ecbaecd9 (patch)
tree6b6f61df7fd31cadc57ae3988316a3cd39b1103b /dev-python
parentDelete older ebuilds. (diff)
downloadhistorical-55861314405d6cf9838b031d8ca999c5ecbaecd9.tar.gz
historical-55861314405d6cf9838b031d8ca999c5ecbaecd9.tar.bz2
historical-55861314405d6cf9838b031d8ca999c5ecbaecd9.zip
Fix again three enum items that should be flags (bug #279832, by Jim Ramsay) applying fedora patch provided in upstream bug #616306.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/libwnck-python/ChangeLog10
-rw-r--r--dev-python/libwnck-python/files/libwnck-python-2.30.2-flagsfix.patch30
-rw-r--r--dev-python/libwnck-python/libwnck-python-2.30.2-r1.ebuild29
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-python/libwnck-python/ChangeLog b/dev-python/libwnck-python/ChangeLog
index 0a321edbc4b2..787b36f9f1ff 100644
--- a/dev-python/libwnck-python/ChangeLog
+++ b/dev-python/libwnck-python/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/libwnck-python
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/libwnck-python/ChangeLog,v 1.33 2010/07/20 22:31:32 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/libwnck-python/ChangeLog,v 1.34 2010/07/21 15:55:12 pacho Exp $
+
+*libwnck-python-2.30.2-r1 (21 Jul 2010)
+
+ 21 Jul 2010; Pacho Ramos <pacho@gentoo.org>
+ +libwnck-python-2.30.2-r1.ebuild,
+ +files/libwnck-python-2.30.2-flagsfix.patch:
+ Fix again three enum items that should be flags (bug #279832, by Jim
+ Ramsay) applying fedora patch provided in upstream bug #616306.
20 Jul 2010; Markus Meier <maekke@gentoo.org>
libwnck-python-2.28.0.ebuild:
diff --git a/dev-python/libwnck-python/files/libwnck-python-2.30.2-flagsfix.patch b/dev-python/libwnck-python/files/libwnck-python-2.30.2-flagsfix.patch
new file mode 100644
index 000000000000..0be84c96b533
--- /dev/null
+++ b/dev-python/libwnck-python/files/libwnck-python-2.30.2-flagsfix.patch
@@ -0,0 +1,30 @@
+diff -up gnome-python-desktop-2.30.0/wnck/wnck.defs.flagsfix gnome-python-desktop-2.30.0/wnck/wnck.defs
+--- gnome-python-desktop-2.30.0/wnck/wnck.defs.flagsfix 2010-04-20 11:27:20.119491538 -0400
++++ gnome-python-desktop-2.30.0/wnck/wnck.defs 2010-04-20 11:28:34.715491536 -0400
+@@ -100,7 +100,7 @@
+ )
+ )
+
+-(define-enum WindowState
++(define-flags WindowState
+ (in-module "Wnck")
+ (c-name "WnckWindowState")
+ (gtype-id "WNCK_TYPE_WINDOW_STATE")
+@@ -121,7 +121,7 @@
+ )
+ )
+
+-(define-enum WindowActions
++(define-flags WindowActions
+ (in-module "Wnck")
+ (c-name "WnckWindowActions")
+ (gtype-id "WNCK_TYPE_WINDOW_ACTIONS")
+@@ -184,7 +184,7 @@
+ )
+ )
+
+-(define-enum WindowMoveResizeMask
++(define-flags WindowMoveResizeMask
+ (in-module "Wnck")
+ (c-name "WnckWindowMoveResizeMask")
+ (gtype-id "WNCK_TYPE_WINDOW_MOVE_RESIZE_MASK")
diff --git a/dev-python/libwnck-python/libwnck-python-2.30.2-r1.ebuild b/dev-python/libwnck-python/libwnck-python-2.30.2-r1.ebuild
new file mode 100644
index 000000000000..363b4891fdf5
--- /dev/null
+++ b/dev-python/libwnck-python/libwnck-python-2.30.2-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/libwnck-python/libwnck-python-2.30.2-r1.ebuild,v 1.1 2010/07/21 15:55:12 pacho Exp $
+
+EAPI="2"
+
+GCONF_DEBUG="no"
+G_PY_PN="gnome-python-desktop"
+G_PY_BINDINGS="wnck"
+
+inherit gnome-python-common eutils
+
+DESCRIPTION="Python bindings for the libwnck library"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="examples"
+
+RDEPEND=">=x11-libs/libwnck-2.19.3
+ !<dev-python/gnome-python-desktop-2.22.0-r10"
+DEPEND="${RDEPEND}"
+
+EXAMPLES="examples/wnck_example.py"
+
+src_prepare() {
+ # Fix three enum items that should be flags, upstream bug #616306
+ epatch "${FILESDIR}/${PN}-2.30.2-flagsfix.patch"
+ gnome-python-common_src_prepare
+}