[arch-commits] Commit in gconf-perl/repos (4 files)

2012-05-27 Thread Florian Pritz
Date: Sunday, May 27, 2012 @ 03:42:00
  Author: bluewind
Revision: 159826

db-move: moved gconf-perl from [staging] to [testing] (i686)

Added:
  gconf-perl/repos/testing-i686/
  gconf-perl/repos/testing-i686/PKGBUILD
(from rev 159819, gconf-perl/repos/staging-i686/PKGBUILD)
  gconf-perl/repos/testing-i686/disable-orbit.patch
(from rev 159819, gconf-perl/repos/staging-i686/disable-orbit.patch)
Deleted:
  gconf-perl/repos/staging-i686/

-+
 PKGBUILD|   34 ++
 disable-orbit.patch |   30 ++
 2 files changed, 64 insertions(+)

Copied: gconf-perl/repos/testing-i686/PKGBUILD (from rev 159819, 
gconf-perl/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-05-27 07:42:00 UTC (rev 159826)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan de Groot 
+
+pkgname=gconf-perl
+pkgver=1.044
+pkgrel=7
+pkgdesc="Gnome2-GConf perl bindings for gconf"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/";
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+depends=('glib-perl' 'gconf' 'perl')
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gnome2-GConf-${pkgver}.tar.gz
+disable-orbit.patch)
+md5sums=('ea386003b18f067524833b0eeb271330'
+ '14852fc936ce7b552eb204913d55fd1c')
+
+build() {
+  cd "${srcdir}/Gnome2-GConf-${pkgver}"
+  patch -Np1 -i "${srcdir}/disable-orbit.patch"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/Gnome2-GConf-${pkgver}"
+  dbus-launch --exit-with-session make test
+}
+
+package() {
+  cd "${srcdir}/Gnome2-GConf-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: gconf-perl/repos/testing-i686/disable-orbit.patch (from rev 159819, 
gconf-perl/repos/staging-i686/disable-orbit.patch)
===
--- testing-i686/disable-orbit.patch(rev 0)
+++ testing-i686/disable-orbit.patch2012-05-27 07:42:00 UTC (rev 159826)
@@ -0,0 +1,30 @@
+Description: Disable gconf_engine_key_is_writable
+ This symbol is not available in libgconf when it is configured without
+ ORBit support, which is currently the case in Debian.
+Author: Colin Watson 
+Bug-Debian: http://bugs.debian.org/649055
+Forwarded: no
+Last-Update: 2011-11-17
+
+Index: b/xs/GConfEngine.xs
+===
+--- a/xs/GConfEngine.xs
 b/xs/GConfEngine.xs
+@@ -350,6 +350,8 @@
+   if (err)
+   gperl_croak_gerror (NULL, err);
+ 
++#if 0 /* requires gconf to be configured with ORBit support */
++
+ ##gboolean gconf_engine_key_is_writable  (GConfEngine *conf,
+ ##const gchar *key,
+ ##GError **err);
+@@ -366,6 +368,8 @@
+ OUTPUT:
+ RETVAL
+ 
++#endif
++
+ guint
+ gconf_engine_notify_add (engine, namespace_section, func, data=NULL)
+   GConfEngine * engine



[arch-commits] Commit in gconf-perl/repos (4 files)

2012-05-27 Thread Florian Pritz
Date: Sunday, May 27, 2012 @ 03:42:01
  Author: bluewind
Revision: 159827

db-move: moved gconf-perl from [staging] to [testing] (x86_64)

Added:
  gconf-perl/repos/testing-x86_64/
  gconf-perl/repos/testing-x86_64/PKGBUILD
(from rev 159819, gconf-perl/repos/staging-x86_64/PKGBUILD)
  gconf-perl/repos/testing-x86_64/disable-orbit.patch
(from rev 159819, gconf-perl/repos/staging-x86_64/disable-orbit.patch)
Deleted:
  gconf-perl/repos/staging-x86_64/

-+
 PKGBUILD|   34 ++
 disable-orbit.patch |   30 ++
 2 files changed, 64 insertions(+)

Copied: gconf-perl/repos/testing-x86_64/PKGBUILD (from rev 159819, 
gconf-perl/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-05-27 07:42:01 UTC (rev 159827)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan de Groot 
+
+pkgname=gconf-perl
+pkgver=1.044
+pkgrel=7
+pkgdesc="Gnome2-GConf perl bindings for gconf"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/";
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+depends=('glib-perl' 'gconf' 'perl')
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/Gnome2-GConf-${pkgver}.tar.gz
+disable-orbit.patch)
+md5sums=('ea386003b18f067524833b0eeb271330'
+ '14852fc936ce7b552eb204913d55fd1c')
+
+build() {
+  cd "${srcdir}/Gnome2-GConf-${pkgver}"
+  patch -Np1 -i "${srcdir}/disable-orbit.patch"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/Gnome2-GConf-${pkgver}"
+  dbus-launch --exit-with-session make test
+}
+
+package() {
+  cd "${srcdir}/Gnome2-GConf-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: gconf-perl/repos/testing-x86_64/disable-orbit.patch (from rev 159819, 
gconf-perl/repos/staging-x86_64/disable-orbit.patch)
===
--- testing-x86_64/disable-orbit.patch  (rev 0)
+++ testing-x86_64/disable-orbit.patch  2012-05-27 07:42:01 UTC (rev 159827)
@@ -0,0 +1,30 @@
+Description: Disable gconf_engine_key_is_writable
+ This symbol is not available in libgconf when it is configured without
+ ORBit support, which is currently the case in Debian.
+Author: Colin Watson 
+Bug-Debian: http://bugs.debian.org/649055
+Forwarded: no
+Last-Update: 2011-11-17
+
+Index: b/xs/GConfEngine.xs
+===
+--- a/xs/GConfEngine.xs
 b/xs/GConfEngine.xs
+@@ -350,6 +350,8 @@
+   if (err)
+   gperl_croak_gerror (NULL, err);
+ 
++#if 0 /* requires gconf to be configured with ORBit support */
++
+ ##gboolean gconf_engine_key_is_writable  (GConfEngine *conf,
+ ##const gchar *key,
+ ##GError **err);
+@@ -366,6 +368,8 @@
+ OUTPUT:
+ RETVAL
+ 
++#endif
++
+ guint
+ gconf_engine_notify_add (engine, namespace_section, func, data=NULL)
+   GConfEngine * engine