Date: Monday, April 22, 2013 @ 00:10:28
  Author: heftig
Revision: 183401

db-move: moved gnome-sudoku from [testing] to [extra] (any)

Added:
  gnome-sudoku/repos/extra-any/
  
gnome-sudoku/repos/extra-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch
    (from rev 183326, 
gnome-sudoku/repos/testing-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch)
  gnome-sudoku/repos/extra-any/PKGBUILD
    (from rev 183326, gnome-sudoku/repos/testing-any/PKGBUILD)
  gnome-sudoku/repos/extra-any/gnome-sudoku.install
    (from rev 183326, gnome-sudoku/repos/testing-any/gnome-sudoku.install)
Deleted:
  gnome-sudoku/repos/testing-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/extra-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch
 (from rev 183326, 
gnome-sudoku/repos/testing-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch)
===================================================================
--- extra-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch   
                        (rev 0)
+++ extra-any/0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch   
2013-04-21 22:10:28 UTC (rev 183401)
@@ -0,0 +1,25 @@
+From c82fc3131802f4fe1f069facb9aae833cc6cdc5f Mon Sep 17 00:00:00 2001
+From: Yanko Kaneti <yan...@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/extra-any/PKGBUILD (from rev 183326, 
gnome-sudoku/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD                          (rev 0)
+++ extra-any/PKGBUILD  2013-04-21 22:10:28 UTC (rev 183401)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+# Contributor: Jan de Groot <j...@archlinux.org>
+
+pkgname=gnome-sudoku
+pkgver=3.8.1
+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=('7bb60a4f30bee80abdef131aa221df7b60208f99d66c4f19425e21c51e8fdecc'
+            '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/extra-any/gnome-sudoku.install (from rev 183326, 
gnome-sudoku/repos/testing-any/gnome-sudoku.install)
===================================================================
--- extra-any/gnome-sudoku.install                              (rev 0)
+++ extra-any/gnome-sudoku.install      2013-04-21 22:10:28 UTC (rev 183401)
@@ -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
+}

Reply via email to