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

Florian Pritz bluewind at archlinux.org
Fri May 27 07:59:36 UTC 2016


    Date: Friday, May 27, 2016 @ 09:59:36
  Author: bluewind
Revision: 268637

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

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

------------------------------------+
 testing-i686/PKGBUILD              |   47 +++++++++++++++++++++++++++++++++++
 testing-i686/disable-orbit.patch   |   30 ++++++++++++++++++++++
 testing-x86_64/PKGBUILD            |   47 +++++++++++++++++++++++++++++++++++
 testing-x86_64/disable-orbit.patch |   30 ++++++++++++++++++++++
 4 files changed, 154 insertions(+)

Copied: gconf-perl/repos/testing-i686/PKGBUILD (from rev 268636, gconf-perl/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-05-27 07:59:36 UTC (rev 268637)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gconf-perl
+pkgver=1.044
+pkgrel=11
+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')
+checkdepends=('libx11')
+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')
+
+prepare() {
+  cd Gnome2-GConf-$pkgver
+  patch -Np1 -i ../disable-orbit.patch
+}
+
+build() {
+  cd Gnome2-GConf-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Gnome2-GConf-$pkgver
+  dbus-launch --exit-with-session make test
+}
+
+package() {
+  cd Gnome2-GConf-$pkgver
+  make DESTDIR="${pkgdir}" install
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: gconf-perl/repos/testing-i686/disable-orbit.patch (from rev 268636, gconf-perl/repos/staging-i686/disable-orbit.patch)
===================================================================
--- testing-i686/disable-orbit.patch	                        (rev 0)
+++ testing-i686/disable-orbit.patch	2016-05-27 07:59:36 UTC (rev 268637)
@@ -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 <cjwatson at ubuntu.com>
+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

Copied: gconf-perl/repos/testing-x86_64/PKGBUILD (from rev 268636, gconf-perl/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-05-27 07:59:36 UTC (rev 268637)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gconf-perl
+pkgver=1.044
+pkgrel=11
+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')
+checkdepends=('libx11')
+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')
+
+prepare() {
+  cd Gnome2-GConf-$pkgver
+  patch -Np1 -i ../disable-orbit.patch
+}
+
+build() {
+  cd Gnome2-GConf-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Gnome2-GConf-$pkgver
+  dbus-launch --exit-with-session make test
+}
+
+package() {
+  cd Gnome2-GConf-$pkgver
+  make DESTDIR="${pkgdir}" install
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: gconf-perl/repos/testing-x86_64/disable-orbit.patch (from rev 268636, gconf-perl/repos/staging-x86_64/disable-orbit.patch)
===================================================================
--- testing-x86_64/disable-orbit.patch	                        (rev 0)
+++ testing-x86_64/disable-orbit.patch	2016-05-27 07:59:36 UTC (rev 268637)
@@ -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 <cjwatson at ubuntu.com>
+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



More information about the arch-commits mailing list