[arch-commits] Commit in gnome-sudoku/repos (5 files)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Apr 10 19:13:09 UTC 2013
Date: Wednesday, April 10, 2013 @ 21:13:09
Author: heftig
Revision: 182519
db-move: moved gnome-sudoku from [staging] to [testing] (any)
Added:
gnome-sudoku/repos/testing-any/
gnome-sudoku/repos/testing-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch
(from rev 182430, gnome-sudoku/repos/staging-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch)
gnome-sudoku/repos/testing-any/PKGBUILD
(from rev 182430, gnome-sudoku/repos/staging-any/PKGBUILD)
gnome-sudoku/repos/testing-any/gnome-sudoku.install
(from rev 182430, gnome-sudoku/repos/staging-any/gnome-sudoku.install)
Deleted:
gnome-sudoku/repos/staging-any/
-----------------------------------------------------------------+
0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch | 25 ++++++
PKGBUILD | 37 ++++++++++
gnome-sudoku.install | 13 +++
3 files changed, 75 insertions(+)
Copied: gnome-sudoku/repos/testing-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch (from rev 182430, gnome-sudoku/repos/staging-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch)
===================================================================
--- testing-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch (rev 0)
+++ testing-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch 2013-04-10 19:13:09 UTC (rev 182519)
@@ -0,0 +1,25 @@
+From c82fc3131802f4fe1f069facb9aae833cc6cdc5f Mon Sep 17 00:00:00 2001
+From: Yanko Kaneti <yaneti at declera.com>
+Date: Wed, 13 Feb 2013 21:15:13 +0200
+Subject: [PATCH] Fix NumberBox envents configuration with latest pygobject
+
+---
+ src/lib/number_box.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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)
+--
+1.8.1.2
+
Copied: gnome-sudoku/repos/testing-any/PKGBUILD (from rev 182430, gnome-sudoku/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2013-04-10 19:13:09 UTC (rev 182519)
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 168943 2012-10-16 16:31:44Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-sudoku
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="Test your logic skills in this number grid puzzle"
+arch=('any')
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'python2-gobject' 'dconf')
+makedepends=('intltool' 'itstool')
+conflicts=('gnome-games')
+replaces=('gnome-games')
+options=('!emptydirs' '!libtool')
+install=gnome-sudoku.install
+url="https://live.gnome.org/GnomeSudoku"
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz
+ 0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch)
+sha256sums=('45c4052b9b9b55f00bdd0ecec8708aa2a9ae366c3e6fb3982fd1d41b9f270721'
+ 'd673f6cf3de9438a5790212493c2980128986ab1b7743cbf4b4ac40cffe8a5e5')
+
+build() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-schemas-compile
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' "$pkgdir/usr/bin/gnome-sudoku"
+}
Copied: gnome-sudoku/repos/testing-any/gnome-sudoku.install (from rev 182430, gnome-sudoku/repos/staging-any/gnome-sudoku.install)
===================================================================
--- testing-any/gnome-sudoku.install (rev 0)
+++ testing-any/gnome-sudoku.install 2013-04-10 19:13:09 UTC (rev 182519)
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list