[arch-commits] Commit in python-notify/repos (14 files)

Allan McRae allan at archlinux.org
Wed Oct 17 10:20:49 UTC 2012


    Date: Wednesday, October 17, 2012 @ 06:20:48
  Author: allan
Revision: 169024

db-move: moved python-notify from [testing] to [extra] (i686, x86_64)

Added:
  python-notify/repos/extra-i686/PKGBUILD
    (from rev 168989, python-notify/repos/testing-i686/PKGBUILD)
  python-notify/repos/extra-i686/libnotify07.patch
    (from rev 168989, python-notify/repos/testing-i686/libnotify07.patch)
  python-notify/repos/extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch
    (from rev 168989, python-notify/repos/testing-i686/notify-python-0.1.1-fix-GTK-symbols.patch)
  python-notify/repos/extra-x86_64/PKGBUILD
    (from rev 168989, python-notify/repos/testing-x86_64/PKGBUILD)
  python-notify/repos/extra-x86_64/libnotify07.patch
    (from rev 168989, python-notify/repos/testing-x86_64/libnotify07.patch)
  python-notify/repos/extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch
    (from rev 168989, python-notify/repos/testing-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch)
Deleted:
  python-notify/repos/extra-i686/PKGBUILD
  python-notify/repos/extra-i686/libnotify07.patch
  python-notify/repos/extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch
  python-notify/repos/extra-x86_64/PKGBUILD
  python-notify/repos/extra-x86_64/libnotify07.patch
  python-notify/repos/extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch
  python-notify/repos/testing-i686/
  python-notify/repos/testing-x86_64/

--------------------------------------------------------+
 extra-i686/PKGBUILD                                    |   86 +++++++--------
 extra-i686/libnotify07.patch                           |   72 ++++++------
 extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch   |   50 ++++----
 extra-x86_64/PKGBUILD                                  |   86 +++++++--------
 extra-x86_64/libnotify07.patch                         |   72 ++++++------
 extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch |   50 ++++----
 6 files changed, 208 insertions(+), 208 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-10-17 10:20:43 UTC (rev 169023)
+++ extra-i686/PKGBUILD	2012-10-17 10:20:48 UTC (rev 169024)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
-# Contributor: Mario Danic <mario.danic at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-pkgname=python-notify
-pkgver=0.1.1
-pkgrel=11
-pkgdesc="Python bindings for libnotify"
-arch=('i686' 'x86_64')
-url="http://www.galago-project.org/"
-license=('GPL')
-depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
-makedepends=('pkgconfig' 'python2')
-options=(!libtool)
-source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-${pkgver}.tar.gz
-        libnotify07.patch
-        notify-python-0.1.1-fix-GTK-symbols.patch)
-md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4'
-         'b40c4542575d5aef559908fe60a21634'
-         'c6922028da5951e69a6a0167bdb4461c')
-
-build() {
-    cd ${srcdir}/notify-python-${pkgver}
-
-    patch -Np1 -i ${srcdir}/libnotify07.patch
-    patch -Np1 -i ${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch
-
-    ./configure --prefix=/usr
-
-    # WARNING - we touch src/pynotify.override in build because upstream did not rebuild pynotify.c
-    # from the input definitions, this forces pynotify.c to be regenerated, at some point this can be removed
-    touch src/pynotify.override
-
-    make clean
-    make
-}
-
-package() {
-    cd ${srcdir}/notify-python-${pkgver}
-    make DESTDIR=${pkgdir} install
-}

Copied: python-notify/repos/extra-i686/PKGBUILD (from rev 168989, python-notify/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-10-17 10:20:48 UTC (rev 169024)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+
+pkgbase=python-notify
+pkgname=python2-notify
+pkgver=0.1.1
+pkgrel=12
+pkgdesc="Python bindings for libnotify"
+arch=('i686' 'x86_64')
+url="http://www.galago-project.org/"
+license=('GPL')
+depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
+makedepends=('python2')
+conflicts=('python-notify<=0.1.1-11')
+replaces=('python-notify<=0.1.1-11')
+options=(!libtool)
+source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-${pkgver}.tar.gz
+        libnotify07.patch
+        notify-python-0.1.1-fix-GTK-symbols.patch)
+md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4'
+         'b40c4542575d5aef559908fe60a21634'
+         'c6922028da5951e69a6a0167bdb4461c')
+
+build() {
+    cd "${srcdir}/notify-python-${pkgver}"
+
+    patch -Np1 -i "${srcdir}/libnotify07.patch"
+    patch -Np1 -i "${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch"
+
+    ./configure --prefix=/usr
+
+    # WARNING - we touch src/pynotify.override in build because upstream did not rebuild pynotify.c
+    # from the input definitions, this forces pynotify.c to be regenerated, at some point this can be removed
+    touch src/pynotify.override
+
+    make clean
+    make
+}
+
+package_python2-notify() {
+    cd "${srcdir}/notify-python-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Deleted: extra-i686/libnotify07.patch
===================================================================
--- extra-i686/libnotify07.patch	2012-10-17 10:20:43 UTC (rev 169023)
+++ extra-i686/libnotify07.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -1,36 +0,0 @@
-diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
---- notify-python-0.1.1/src/pynotify.defs.notify070	2010-11-02 17:11:14.928179237 -0400
-+++ notify-python-0.1.1/src/pynotify.defs	2010-11-02 17:11:51.153180231 -0400
-@@ -38,7 +38,6 @@
-     '("const-gchar*" "summary")
-     '("const-gchar*" "message" (null-ok) (default "NULL"))
-     '("const-gchar*" "icon" (null-ok) (default "NULL"))
--    '("GtkWidget*" "attach" (null-ok) (default "NULL"))
-   )
- )
- 
-@@ -53,24 +52,6 @@
-   )
- )
- 
--(define-method attach_to_widget
--  (of-object "NotifyNotification")
--  (c-name "notify_notification_attach_to_widget")
--  (return-type "none")
--  (parameters
--    '("GtkWidget*" "attach")
--  )
--)
--
--(define-method attach_to_status_icon
--  (of-object "NotifyNotification")
--  (c-name "notify_notification_attach_to_status_icon")
--  (return-type "none")
--  (parameters
--    '("GtkStatusIcon*" "attach")
--  )
--)
--
- (define-method show
-   (of-object "NotifyNotification")
-   (c-name "notify_notification_show")

Copied: python-notify/repos/extra-i686/libnotify07.patch (from rev 168989, python-notify/repos/testing-i686/libnotify07.patch)
===================================================================
--- extra-i686/libnotify07.patch	                        (rev 0)
+++ extra-i686/libnotify07.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -0,0 +1,36 @@
+diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
+--- notify-python-0.1.1/src/pynotify.defs.notify070	2010-11-02 17:11:14.928179237 -0400
++++ notify-python-0.1.1/src/pynotify.defs	2010-11-02 17:11:51.153180231 -0400
+@@ -38,7 +38,6 @@
+     '("const-gchar*" "summary")
+     '("const-gchar*" "message" (null-ok) (default "NULL"))
+     '("const-gchar*" "icon" (null-ok) (default "NULL"))
+-    '("GtkWidget*" "attach" (null-ok) (default "NULL"))
+   )
+ )
+ 
+@@ -53,24 +52,6 @@
+   )
+ )
+ 
+-(define-method attach_to_widget
+-  (of-object "NotifyNotification")
+-  (c-name "notify_notification_attach_to_widget")
+-  (return-type "none")
+-  (parameters
+-    '("GtkWidget*" "attach")
+-  )
+-)
+-
+-(define-method attach_to_status_icon
+-  (of-object "NotifyNotification")
+-  (c-name "notify_notification_attach_to_status_icon")
+-  (return-type "none")
+-  (parameters
+-    '("GtkStatusIcon*" "attach")
+-  )
+-)
+-
+ (define-method show
+   (of-object "NotifyNotification")
+   (c-name "notify_notification_show")

Deleted: extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch
===================================================================
--- extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch	2012-10-17 10:20:43 UTC (rev 169023)
+++ extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -1,25 +0,0 @@
-diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py
---- notify-python-0.1.1/src/__init__.py.BAD	2010-08-31 09:04:45.353844005 -0400
-+++ notify-python-0.1.1/src/__init__.py	2010-08-31 09:04:49.281844300 -0400
-@@ -1 +1,21 @@
-+"""
-+Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea
-+was to support being linked against different parallel-installable
-+GTK stacks.
-+
-+Unfortunately, python needs to jump through some special hoops in order
-+to share symbols with extension modules, specifically, pygtk, which does
-+link against GTK2.
-+
-+Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL),
-+the result is:
-+libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name'
-+
-+Thanks to David Malcolm for figuring out the workaround.
-+"""
-+import ctypes
-+import sys
-+sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
-+import gtk
-+
- from _pynotify import *

Copied: python-notify/repos/extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch (from rev 168989, python-notify/repos/testing-i686/notify-python-0.1.1-fix-GTK-symbols.patch)
===================================================================
--- extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch	                        (rev 0)
+++ extra-i686/notify-python-0.1.1-fix-GTK-symbols.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -0,0 +1,25 @@
+diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py
+--- notify-python-0.1.1/src/__init__.py.BAD	2010-08-31 09:04:45.353844005 -0400
++++ notify-python-0.1.1/src/__init__.py	2010-08-31 09:04:49.281844300 -0400
+@@ -1 +1,21 @@
++"""
++Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea
++was to support being linked against different parallel-installable
++GTK stacks.
++
++Unfortunately, python needs to jump through some special hoops in order
++to share symbols with extension modules, specifically, pygtk, which does
++link against GTK2.
++
++Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL),
++the result is:
++libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name'
++
++Thanks to David Malcolm for figuring out the workaround.
++"""
++import ctypes
++import sys
++sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
++import gtk
++
+ from _pynotify import *

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-10-17 10:20:43 UTC (rev 169023)
+++ extra-x86_64/PKGBUILD	2012-10-17 10:20:48 UTC (rev 169024)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
-# Contributor: Mario Danic <mario.danic at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-pkgname=python-notify
-pkgver=0.1.1
-pkgrel=11
-pkgdesc="Python bindings for libnotify"
-arch=('i686' 'x86_64')
-url="http://www.galago-project.org/"
-license=('GPL')
-depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
-makedepends=('pkgconfig' 'python2')
-options=(!libtool)
-source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-${pkgver}.tar.gz
-        libnotify07.patch
-        notify-python-0.1.1-fix-GTK-symbols.patch)
-md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4'
-         'b40c4542575d5aef559908fe60a21634'
-         'c6922028da5951e69a6a0167bdb4461c')
-
-build() {
-    cd ${srcdir}/notify-python-${pkgver}
-
-    patch -Np1 -i ${srcdir}/libnotify07.patch
-    patch -Np1 -i ${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch
-
-    ./configure --prefix=/usr
-
-    # WARNING - we touch src/pynotify.override in build because upstream did not rebuild pynotify.c
-    # from the input definitions, this forces pynotify.c to be regenerated, at some point this can be removed
-    touch src/pynotify.override
-
-    make clean
-    make
-}
-
-package() {
-    cd ${srcdir}/notify-python-${pkgver}
-    make DESTDIR=${pkgdir} install
-}

Copied: python-notify/repos/extra-x86_64/PKGBUILD (from rev 168989, python-notify/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-10-17 10:20:48 UTC (rev 169024)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+
+pkgbase=python-notify
+pkgname=python2-notify
+pkgver=0.1.1
+pkgrel=12
+pkgdesc="Python bindings for libnotify"
+arch=('i686' 'x86_64')
+url="http://www.galago-project.org/"
+license=('GPL')
+depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
+makedepends=('python2')
+conflicts=('python-notify<=0.1.1-11')
+replaces=('python-notify<=0.1.1-11')
+options=(!libtool)
+source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-${pkgver}.tar.gz
+        libnotify07.patch
+        notify-python-0.1.1-fix-GTK-symbols.patch)
+md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4'
+         'b40c4542575d5aef559908fe60a21634'
+         'c6922028da5951e69a6a0167bdb4461c')
+
+build() {
+    cd "${srcdir}/notify-python-${pkgver}"
+
+    patch -Np1 -i "${srcdir}/libnotify07.patch"
+    patch -Np1 -i "${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch"
+
+    ./configure --prefix=/usr
+
+    # WARNING - we touch src/pynotify.override in build because upstream did not rebuild pynotify.c
+    # from the input definitions, this forces pynotify.c to be regenerated, at some point this can be removed
+    touch src/pynotify.override
+
+    make clean
+    make
+}
+
+package_python2-notify() {
+    cd "${srcdir}/notify-python-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Deleted: extra-x86_64/libnotify07.patch
===================================================================
--- extra-x86_64/libnotify07.patch	2012-10-17 10:20:43 UTC (rev 169023)
+++ extra-x86_64/libnotify07.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -1,36 +0,0 @@
-diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
---- notify-python-0.1.1/src/pynotify.defs.notify070	2010-11-02 17:11:14.928179237 -0400
-+++ notify-python-0.1.1/src/pynotify.defs	2010-11-02 17:11:51.153180231 -0400
-@@ -38,7 +38,6 @@
-     '("const-gchar*" "summary")
-     '("const-gchar*" "message" (null-ok) (default "NULL"))
-     '("const-gchar*" "icon" (null-ok) (default "NULL"))
--    '("GtkWidget*" "attach" (null-ok) (default "NULL"))
-   )
- )
- 
-@@ -53,24 +52,6 @@
-   )
- )
- 
--(define-method attach_to_widget
--  (of-object "NotifyNotification")
--  (c-name "notify_notification_attach_to_widget")
--  (return-type "none")
--  (parameters
--    '("GtkWidget*" "attach")
--  )
--)
--
--(define-method attach_to_status_icon
--  (of-object "NotifyNotification")
--  (c-name "notify_notification_attach_to_status_icon")
--  (return-type "none")
--  (parameters
--    '("GtkStatusIcon*" "attach")
--  )
--)
--
- (define-method show
-   (of-object "NotifyNotification")
-   (c-name "notify_notification_show")

Copied: python-notify/repos/extra-x86_64/libnotify07.patch (from rev 168989, python-notify/repos/testing-x86_64/libnotify07.patch)
===================================================================
--- extra-x86_64/libnotify07.patch	                        (rev 0)
+++ extra-x86_64/libnotify07.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -0,0 +1,36 @@
+diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs
+--- notify-python-0.1.1/src/pynotify.defs.notify070	2010-11-02 17:11:14.928179237 -0400
++++ notify-python-0.1.1/src/pynotify.defs	2010-11-02 17:11:51.153180231 -0400
+@@ -38,7 +38,6 @@
+     '("const-gchar*" "summary")
+     '("const-gchar*" "message" (null-ok) (default "NULL"))
+     '("const-gchar*" "icon" (null-ok) (default "NULL"))
+-    '("GtkWidget*" "attach" (null-ok) (default "NULL"))
+   )
+ )
+ 
+@@ -53,24 +52,6 @@
+   )
+ )
+ 
+-(define-method attach_to_widget
+-  (of-object "NotifyNotification")
+-  (c-name "notify_notification_attach_to_widget")
+-  (return-type "none")
+-  (parameters
+-    '("GtkWidget*" "attach")
+-  )
+-)
+-
+-(define-method attach_to_status_icon
+-  (of-object "NotifyNotification")
+-  (c-name "notify_notification_attach_to_status_icon")
+-  (return-type "none")
+-  (parameters
+-    '("GtkStatusIcon*" "attach")
+-  )
+-)
+-
+ (define-method show
+   (of-object "NotifyNotification")
+   (c-name "notify_notification_show")

Deleted: extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch
===================================================================
--- extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch	2012-10-17 10:20:43 UTC (rev 169023)
+++ extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -1,25 +0,0 @@
-diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py
---- notify-python-0.1.1/src/__init__.py.BAD	2010-08-31 09:04:45.353844005 -0400
-+++ notify-python-0.1.1/src/__init__.py	2010-08-31 09:04:49.281844300 -0400
-@@ -1 +1,21 @@
-+"""
-+Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea
-+was to support being linked against different parallel-installable
-+GTK stacks.
-+
-+Unfortunately, python needs to jump through some special hoops in order
-+to share symbols with extension modules, specifically, pygtk, which does
-+link against GTK2.
-+
-+Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL),
-+the result is:
-+libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name'
-+
-+Thanks to David Malcolm for figuring out the workaround.
-+"""
-+import ctypes
-+import sys
-+sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
-+import gtk
-+
- from _pynotify import *

Copied: python-notify/repos/extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch (from rev 168989, python-notify/repos/testing-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch)
===================================================================
--- extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch	                        (rev 0)
+++ extra-x86_64/notify-python-0.1.1-fix-GTK-symbols.patch	2012-10-17 10:20:48 UTC (rev 169024)
@@ -0,0 +1,25 @@
+diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py
+--- notify-python-0.1.1/src/__init__.py.BAD	2010-08-31 09:04:45.353844005 -0400
++++ notify-python-0.1.1/src/__init__.py	2010-08-31 09:04:49.281844300 -0400
+@@ -1 +1,21 @@
++"""
++Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea
++was to support being linked against different parallel-installable
++GTK stacks.
++
++Unfortunately, python needs to jump through some special hoops in order
++to share symbols with extension modules, specifically, pygtk, which does
++link against GTK2.
++
++Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL),
++the result is:
++libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name'
++
++Thanks to David Malcolm for figuring out the workaround.
++"""
++import ctypes
++import sys
++sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
++import gtk
++
+ from _pynotify import *




More information about the arch-commits mailing list