diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-07-13 13:44:45 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-07-13 13:44:45 +0000 |
commit | 23978578195e07ac829079fcf89d4a05b52ed219 (patch) | |
tree | f4cd749a9126ef9f61fa191589565e3855e02eec /games-puzzle/gnome-sudoku | |
parent | Update Gnome 3.8 mask (diff) | |
download | gentoo-2-23978578195e07ac829079fcf89d4a05b52ed219.tar.gz gentoo-2-23978578195e07ac829079fcf89d4a05b52ed219.tar.bz2 gentoo-2-23978578195e07ac829079fcf89d4a05b52ed219.zip |
Add game from splitted gnome-games
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'games-puzzle/gnome-sudoku')
-rw-r--r-- | games-puzzle/gnome-sudoku/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/gnome-sudoku/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/gnome-sudoku/files/gnome-sudoku-3.8.1-fix-numberbox.patch | 22 | ||||
-rw-r--r-- | games-puzzle/gnome-sudoku/gnome-sudoku-3.8.1.ebuild | 47 | ||||
-rw-r--r-- | games-puzzle/gnome-sudoku/metadata.xml | 5 |
5 files changed, 88 insertions, 0 deletions
diff --git a/games-puzzle/gnome-sudoku/ChangeLog b/games-puzzle/gnome-sudoku/ChangeLog new file mode 100644 index 000000000000..d426c49d2dde --- /dev/null +++ b/games-puzzle/gnome-sudoku/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-puzzle/gnome-sudoku +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gnome-sudoku/ChangeLog,v 1.1 2013/07/13 13:44:45 pacho Exp $ + +*gnome-sudoku-3.8.1 (13 Jul 2013) + + 13 Jul 2013; Pacho Ramos <pacho@gentoo.org> + +files/gnome-sudoku-3.8.1-fix-numberbox.patch, +gnome-sudoku-3.8.1.ebuild, + +metadata.xml: + Add game from splitted gnome-games diff --git a/games-puzzle/gnome-sudoku/Manifest b/games-puzzle/gnome-sudoku/Manifest new file mode 100644 index 000000000000..0da4a3963eb3 --- /dev/null +++ b/games-puzzle/gnome-sudoku/Manifest @@ -0,0 +1,4 @@ +AUX gnome-sudoku-3.8.1-fix-numberbox.patch 935 SHA256 3cf1e9429fa1d3bb2253a4c0551cc7f0ac41885ccda080b98be586e4a09a7292 SHA512 dee22f97c6c8af2914c3eeada19e2a664424bd05af2eec51bd0e4c6f4f1a11c8d964acd1f992524a6b86a20140aaf5d587dc2a02d30d7bc909a19a2185907f7a WHIRLPOOL 331d0841ade31f8bb0ed49a0196e36c0c6b9ac531f65e6a5b857ed504be3158e37dd47050eb4faa87949afb59ea06724ffc11087c5f642703cf14255630d8f9d +DIST gnome-sudoku-3.8.1.tar.xz 3016428 SHA256 7bb60a4f30bee80abdef131aa221df7b60208f99d66c4f19425e21c51e8fdecc SHA512 bfe3428bdd378d8d20c7d5a48172f67a0f8f7336739871a9f7ad2482290732fc6201b89f9daf6929355acabf31e4dfe4a3fb288054d0f385a2f91bc99994b4af WHIRLPOOL 115e58d0015b26b52b7db27d10febe3c8d9d20af49882cd5fb2b75a202fc8a690759b391e67b79d739177bcde60359386aa98d7a4c88d2f49cd2ba8fd4fa2f26 +EBUILD gnome-sudoku-3.8.1.ebuild 1033 SHA256 e7e0e3875a17fa2261e3fc8bafa8be0d488aded9d2b5c989a988d487776596c8 SHA512 6e3aa87b75312ba0c63afc6f7f91118dd4b75bc57aed7ae535b925d6c9120278c6982acd4ed0740f5db9f8e69f07c41dbe8feb00a2c87c15377d3104b31bf140 WHIRLPOOL f0d3ea402a0c18e682f655a6eb39c18ad3512433b3a0deb1a8be4c7db7c5bf59f867f858e727aa4dde9fcdd33cb2311cf4b8ae06c5312f596eb94278b0f17955 +MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e diff --git a/games-puzzle/gnome-sudoku/files/gnome-sudoku-3.8.1-fix-numberbox.patch b/games-puzzle/gnome-sudoku/files/gnome-sudoku-3.8.1-fix-numberbox.patch new file mode 100644 index 000000000000..5f5065e036ef --- /dev/null +++ b/games-puzzle/gnome-sudoku/files/gnome-sudoku-3.8.1-fix-numberbox.patch @@ -0,0 +1,22 @@ +From 31de4e7eb65094bb136d220c540871f366fa22d2 Mon Sep 17 00:00:00 2001 +From: Yanko Kaneti <yaneti@declera.com> +Date: Wed, 13 Feb 2013 19:15:13 +0000 +Subject: Fix NumberBox events configuration with latest pygobject + +https://bugzilla.gnome.org/show_bug.cgi?id=693736 +--- +diff --git a/src/lib/number_box.py b/src/lib/number_box.py +index 4087de1..60b255a 100644 +--- a/src/lib/number_box.py ++++ b/src/lib/number_box.py +@@ -130,7 +130,7 @@ class NumberBox (Gtk.DrawingArea): + self.bottom_note_list = [] + self.tinfo = tracker_info.TrackerInfo() + self.set_property('can-focus', True) +- self.set_property('events', Gdk.EventMask.ALL_EVENTS_MASK) ++ self.add_events(Gdk.EventMask.ALL_EVENTS_MASK) + self.connect('button-press-event', self.button_press_cb) + self.connect('key-release-event', self.key_press_cb) + self.connect('enter-notify-event', self.pointer_enter_cb) +-- +cgit v0.9.2 diff --git a/games-puzzle/gnome-sudoku/gnome-sudoku-3.8.1.ebuild b/games-puzzle/gnome-sudoku/gnome-sudoku-3.8.1.ebuild new file mode 100644 index 000000000000..c08c7b82f816 --- /dev/null +++ b/games-puzzle/gnome-sudoku/gnome-sudoku-3.8.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gnome-sudoku/gnome-sudoku-3.8.1.ebuild,v 1.1 2013/07/13 13:44:45 pacho Exp $ + +EAPI="5" +GCONF_DEBUG="no" +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit eutils gnome-games python-single-r1 + +DESCRIPTION="Test your logic skills in this number grid puzzle" +HOMEPAGE="https://wiki.gnome.org/GnomeSudoku" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/glib:2 + >=dev-python/pygobject-2.28.3:3[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + app-text/yelp-tools + >=dev-util/intltool-0.35.0 + sys-devel/gettext + virtual/pkgconfig +" + +pkg_setup() { + gnome-games_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + # Fix NumberBox events configuration with latest pygobject (from 'master') + epatch "${FILESDIR}/${PN}-3.8.1-fix-numberbox.patch" + gnome-games_src_prepare +} + +src_configure() { + # Workaround until we know how to fix bug #475318 + gnome-games_src_configure \ + --prefix="${EPREFIX}/usr" \ + --bindir="${GAMES_BINDIR}" +} diff --git a/games-puzzle/gnome-sudoku/metadata.xml b/games-puzzle/gnome-sudoku/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/games-puzzle/gnome-sudoku/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +</pkgmetadata> |