summaryrefslogtreecommitdiff
path: root/dev-python/libwnck-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/libwnck-python')
-rw-r--r--dev-python/libwnck-python/Manifest6
-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.32.0-r1.ebuild28
-rw-r--r--dev-python/libwnck-python/metadata.xml8
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/libwnck-python/Manifest b/dev-python/libwnck-python/Manifest
new file mode 100644
index 000000000000..ce21a4558f37
--- /dev/null
+++ b/dev-python/libwnck-python/Manifest
@@ -0,0 +1,6 @@
+AUX libwnck-python-2.30.2-flagsfix.patch 847 SHA256 d3d7b5aec7a459466766a91bc3e9e6b99cce4ea5d194e4ec1b461e9e946c9c13 SHA512 ff30e03ee241ab6d26fafc4ab52f6b1c241b37b476fabeb72e9fb4536ad20604dffac6af42bb0c3170cc062ac90bee2f8c501fc0cb8478bb2adca3d07882c3ee WHIRLPOOL 86313aecebcf57df173b9fc555c226522f9f0abaff278726aab3c44bb779277c0f89003a2130acd8135cbf3a1525a6b5eb5b4b6f701eb774669dc848c21ec058
+DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e
+EBUILD libwnck-python-2.32.0-r1.ebuild 727 SHA256 286a6ac84c4b2210bd4a8696cb123f71c761e068854ce442dbb5eaa4abb04fdc SHA512 b5335585b2d4bcd532ddf04c340c96904a99c8fcad98f824aee11cd1a33e7682c0e9870af931941a1b9d0fa39729902365b46274eee1f1b684dcfecb3dae6bfb WHIRLPOOL 971719c1cf85825f122901b841767022fcb7e9ffe6b5b8aea92ab39e7e605f36061291d17c0433066375ae7da4ef02f6b34c0d868292cdb4ab473b0887993b89
+MISC ChangeLog 2505 SHA256 8c02ebd87ed787eee5b242da7953abbf2bdcc87ffe24a29815a3177e8c70f1a6 SHA512 444f1bddb0392733e450235f004d561f5c5670c5b07547fff01f0148661d13f20ff0ec5cf5fd5bced2162cd73c998a8351c342787444447040ee67fffe341fb1 WHIRLPOOL 8e35dd5124a7cbb3c417133faf57632deaad50aeab3ae67f13104f848d1620cc386d55bbbf002af88bf610fa36cff9e3833ffc062470043b18cafcf63256f846
+MISC ChangeLog-2015 8186 SHA256 3a0b110eab60b7676ded404fe93b44a3e61b02ba6ae7081ac852a4534e95435a SHA512 57e7f29aa3315c6dff02d279689ca4988b63994615de8e2ba85a93930e1c6b5d8b63990d862f4988c959ddfa1d8e84f7860b28cc9e9c27e390ccb14f45d80174 WHIRLPOOL 32fe386f2b9ef5fd536a55ddf8e75319575cb16c6f9c1612e2757be66634a60d4e6f71b41c255507abbfb09c9e04cab4accc1a18a0533df83d4431a2f02f6c0f
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
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.32.0-r1.ebuild b/dev-python/libwnck-python/libwnck-python-2.32.0-r1.ebuild
new file mode 100644
index 000000000000..36371a2ded20
--- /dev/null
+++ b/dev-python/libwnck-python/libwnck-python-2.32.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+GNOME_ORG_MODULE="gnome-python-desktop"
+G_PY_BINDINGS="wnck"
+PYTHON_COMPAT=( python2_7 )
+
+inherit gnome-python-common-r1 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:1
+ !<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-r1_src_prepare
+}
diff --git a/dev-python/libwnck-python/metadata.xml b/dev-python/libwnck-python/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/dev-python/libwnck-python/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>