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

Florian Pritz bluewind at archlinux.org
Fri May 27 08:01:18 UTC 2016


    Date: Friday, May 27, 2016 @ 10:01:17
  Author: bluewind
Revision: 177211

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

Added:
  perl-gtk2-unique/repos/community-testing-i686/
  perl-gtk2-unique/repos/community-testing-i686/PKGBUILD
    (from rev 177210, perl-gtk2-unique/repos/community-staging-i686/PKGBUILD)
  perl-gtk2-unique/repos/community-testing-i686/perl-gtk2-unique.patch
    (from rev 177210, perl-gtk2-unique/repos/community-staging-i686/perl-gtk2-unique.patch)
  perl-gtk2-unique/repos/community-testing-x86_64/
  perl-gtk2-unique/repos/community-testing-x86_64/PKGBUILD
    (from rev 177210, perl-gtk2-unique/repos/community-staging-x86_64/PKGBUILD)
  perl-gtk2-unique/repos/community-testing-x86_64/perl-gtk2-unique.patch
    (from rev 177210, perl-gtk2-unique/repos/community-staging-x86_64/perl-gtk2-unique.patch)
Deleted:
  perl-gtk2-unique/repos/community-staging-i686/
  perl-gtk2-unique/repos/community-staging-x86_64/

-------------------------------------------------+
 community-testing-i686/PKGBUILD                 |   46 ++++++++++++++++++++++
 community-testing-i686/perl-gtk2-unique.patch   |   12 +++++
 community-testing-x86_64/PKGBUILD               |   46 ++++++++++++++++++++++
 community-testing-x86_64/perl-gtk2-unique.patch |   12 +++++
 4 files changed, 116 insertions(+)

Copied: perl-gtk2-unique/repos/community-testing-i686/PKGBUILD (from rev 177210, perl-gtk2-unique/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-05-27 08:01:17 UTC (rev 177211)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=perl-gtk2-unique
+_realname=Gtk2-Unique
+pkgver=0.05
+pkgrel=13
+pkgdesc="Perl bindings for the C library libunique"
+arch=('i686' 'x86_64')
+url="https://metacpan.org/release/${_realname}"
+license=('LGPL' 'PerlArtistic')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+depends=('gtk2-perl' 'libunique')
+checkdepends=('xorg-server-xvfb')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/${_realname}-${pkgver}.tar.gz"
+        "$pkgname.patch")
+md5sums=('0beb552933b765a017588563a71af123'
+         'f8e15e1b93e2629e1745f8e4de8524ff')
+
+build() {
+  cd "$srcdir/$_realname-$pkgver"
+  patch -Np1 -i "$srcdir/$pkgname.patch"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_realname-$pkgver"
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd  "$srcdir/$_realname-$pkgver"
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+# 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: perl-gtk2-unique/repos/community-testing-i686/perl-gtk2-unique.patch (from rev 177210, perl-gtk2-unique/repos/community-staging-i686/perl-gtk2-unique.patch)
===================================================================
--- community-testing-i686/perl-gtk2-unique.patch	                        (rev 0)
+++ community-testing-i686/perl-gtk2-unique.patch	2016-05-27 08:01:17 UTC (rev 177211)
@@ -0,0 +1,12 @@
+diff -up Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig Gtk2-Unique-0.05/xs/UniqueMessageData.xs
+--- Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig	2010-05-05 09:47:45.000000000 -0600
++++ Gtk2-Unique-0.05/xs/UniqueMessageData.xs	2013-06-18 11:54:05.000000000 -0600
+@@ -38,7 +38,7 @@ SV*
+ unique_message_data_get (UniqueMessageData *message_data)
+ 	PREINIT:
+ 		const guchar *string = NULL;
+-		gint length = 0;
++		gsize length = 0;
+ 		
+ 	CODE:
+ 		string = unique_message_data_get(message_data, &length);

Copied: perl-gtk2-unique/repos/community-testing-x86_64/PKGBUILD (from rev 177210, perl-gtk2-unique/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-05-27 08:01:17 UTC (rev 177211)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=perl-gtk2-unique
+_realname=Gtk2-Unique
+pkgver=0.05
+pkgrel=13
+pkgdesc="Perl bindings for the C library libunique"
+arch=('i686' 'x86_64')
+url="https://metacpan.org/release/${_realname}"
+license=('LGPL' 'PerlArtistic')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+depends=('gtk2-perl' 'libunique')
+checkdepends=('xorg-server-xvfb')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/${_realname}-${pkgver}.tar.gz"
+        "$pkgname.patch")
+md5sums=('0beb552933b765a017588563a71af123'
+         'f8e15e1b93e2629e1745f8e4de8524ff')
+
+build() {
+  cd "$srcdir/$_realname-$pkgver"
+  patch -Np1 -i "$srcdir/$pkgname.patch"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_realname-$pkgver"
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd  "$srcdir/$_realname-$pkgver"
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+# 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: perl-gtk2-unique/repos/community-testing-x86_64/perl-gtk2-unique.patch (from rev 177210, perl-gtk2-unique/repos/community-staging-x86_64/perl-gtk2-unique.patch)
===================================================================
--- community-testing-x86_64/perl-gtk2-unique.patch	                        (rev 0)
+++ community-testing-x86_64/perl-gtk2-unique.patch	2016-05-27 08:01:17 UTC (rev 177211)
@@ -0,0 +1,12 @@
+diff -up Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig Gtk2-Unique-0.05/xs/UniqueMessageData.xs
+--- Gtk2-Unique-0.05/xs/UniqueMessageData.xs.orig	2010-05-05 09:47:45.000000000 -0600
++++ Gtk2-Unique-0.05/xs/UniqueMessageData.xs	2013-06-18 11:54:05.000000000 -0600
+@@ -38,7 +38,7 @@ SV*
+ unique_message_data_get (UniqueMessageData *message_data)
+ 	PREINIT:
+ 		const guchar *string = NULL;
+-		gint length = 0;
++		gsize length = 0;
+ 		
+ 	CODE:
+ 		string = unique_message_data_get(message_data, &length);



More information about the arch-commits mailing list