[arch-commits] Commit in glib-perl/repos/extra-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Mon Aug 3 08:04:59 UTC 2020


    Date: Monday, August 3, 2020 @ 08:04:58
  Author: arojas
Revision: 393086

archrelease: copy trunk to extra-x86_64

Added:
  glib-perl/repos/extra-x86_64/PKGBUILD
    (from rev 393085, glib-perl/trunk/PKGBUILD)
Deleted:
  glib-perl/repos/extra-x86_64/PKGBUILD
  glib-perl/repos/extra-x86_64/glib2.59-comment-linebreaks.patch

-----------------------------------+
 PKGBUILD                          |   76 ++++++++++++++++--------------------
 glib2.59-comment-linebreaks.patch |   56 --------------------------
 2 files changed, 34 insertions(+), 98 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-03 08:04:37 UTC (rev 393085)
+++ PKGBUILD	2020-08-03 08:04:58 UTC (rev 393086)
@@ -1,42 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Sarah Hay <sarah at archlinux.org>
-
-pkgname=glib-perl
-pkgver=1.329
-pkgrel=4
-pkgdesc="Perl wrappers for glib 2.x, including GObject"
-arch=(x86_64)
-license=('LGPL')
-url="http://gtk2-perl.sourceforge.net/"
-options=('!emptydirs')
-depends=('glib2')
-makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
-source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-${pkgver}.tar.gz
-        glib2.59-comment-linebreaks.patch)
-sha256sums=('7b4ce1c8cf884849189efaa0b5722ecfb0d87a15f94fccc6a6017d3b3f982a35'
-            'b816306015f9b1f32ec2191ebeaa5f5f92f2eea60829ffb638aa5dae9fb946ed')
-
-prepare() {
-  cd Glib-$pkgver
-
-  # https://gitlab.gnome.org/GNOME/perl-glib/merge_requests/1
-  patch -Np1 -i ../glib2.59-comment-linebreaks.patch
-}
-
-build() {
-  cd Glib-$pkgver
-  PERL_USE_UNSAFE_INC=1 \
-  perl Makefile.PL INSTALLDIRS=vendor
-  PERL_USE_UNSAFE_INC=1 \
-  make
-}
-
-check() {
-  cd Glib-$pkgver
-  make test
-}
-
-package() {
-  cd Glib-$pkgver
-  make DESTDIR="${pkgdir}" install
-}

Copied: glib-perl/repos/extra-x86_64/PKGBUILD (from rev 393085, glib-perl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-03 08:04:58 UTC (rev 393086)
@@ -0,0 +1,34 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgname=glib-perl
+pkgver=1.329.3
+_pkgver=1.3293
+pkgrel=1
+pkgdesc="Perl wrappers for glib 2.x, including GObject"
+arch=(x86_64)
+license=('LGPL')
+url="http://gtk2-perl.sourceforge.net/"
+options=('!emptydirs')
+depends=('glib2')
+makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
+source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-${_pkgver}.tar.gz)
+sha256sums=('7316a0c1e7cc5cb3db7211214f45d7bdc2354365a680ac4bd3ac8bf06d1cb500')
+
+build() {
+  cd Glib-$_pkgver
+  PERL_USE_UNSAFE_INC=1 \
+  perl Makefile.PL INSTALLDIRS=vendor
+  PERL_USE_UNSAFE_INC=1 \
+  make
+}
+
+check() {
+  cd Glib-$_pkgver
+  make test
+}
+
+package() {
+  cd Glib-$_pkgver
+  make DESTDIR="${pkgdir}" install
+}

Deleted: glib2.59-comment-linebreaks.patch
===================================================================
--- glib2.59-comment-linebreaks.patch	2020-08-03 08:04:37 UTC (rev 393085)
+++ glib2.59-comment-linebreaks.patch	2020-08-03 08:04:58 UTC (rev 393086)
@@ -1,56 +0,0 @@
-From 77ded02fbfe26d3025ae01c3b1afc1509ae49a10 Mon Sep 17 00:00:00 2001
-From: Tom Callaway <spot at fedoraproject.org>
-Date: Fri, 4 Jan 2019 14:40:55 -0500
-Subject: [PATCH] fix t/g.t to deal with new comment parsing in glib2 2.59.0.
- See: https://gitlab.gnome.org/GNOME/glib/merge_requests/432
-
----
- t/g.t | 24 +++++++++++++++++++-----
- 1 file changed, 19 insertions(+), 5 deletions(-)
-
-diff --git a/t/g.t b/t/g.t
-index 2f851be..bc3df03 100644
---- a/t/g.t
-+++ b/t/g.t
-@@ -84,7 +84,11 @@ SKIP: {
- 	eq_array (\@bools, [FALSE, TRUE, FALSE]);
- 
- 	ok ($key_file->has_group('locales'));
--	is ($key_file->get_comment('locales', 'mystring'), "some string\n");
-+	if (Glib->CHECK_VERSION (2, 59, 0)) {
-+	  is ($key_file->get_comment('locales', 'mystring'), "some string");
-+	} else {
-+	  is ($key_file->get_comment('locales', 'mystring'), "some string\n");
-+	}
- 	is ($key_file->get_string('locales', 'mystring'), 'Good morning');
- 	is ($key_file->get_locale_string('locales', 'mystring', 'it'), 'Buongiorno');
- 
-@@ -94,11 +98,21 @@ SKIP: {
- 	$key_file->set_string_list('listsection', 'stringlist', 'one', 'two', 'three');
- 	$key_file->set_locale_string('locales', 'mystring', 'en', 'one');
- 	$key_file->set_comment('locales', 'mystring', 'comment');
--	is ($key_file->get_comment('locales', 'mystring'), "comment\n");
--	$key_file->set_comment('locales', undef, "another comment\n");
--	is ($key_file->get_comment('locales', undef), "#another comment\n#");
-+	if (Glib->CHECK_VERSION (2, 59, 0)) {
-+	  is ($key_file->get_comment('locales', 'mystring'), "comment");
-+	  $key_file->set_comment('locales', undef, "another comment");
-+	  is ($key_file->get_comment('locales', undef), "#another comment");
-+	} else {
-+	  is ($key_file->get_comment('locales', 'mystring'), "comment\n");
-+	  $key_file->set_comment('locales', undef, "another comment\n");
-+	  is ($key_file->get_comment('locales', undef), "#another comment\n#");
-+	}
- 	$key_file->set_comment(undef, undef, 'one comment more');
--	is ($key_file->get_comment(undef, undef), "one comment more\n");
-+	if (Glib->CHECK_VERSION (2, 59, 0)) {
-+	  is ($key_file->get_comment(undef, undef), "one comment more");
-+	} else {
-+	  is ($key_file->get_comment(undef, undef), "one comment more\n");
-+	}
- 	$key_file->set_boolean($start_group, 'boolkey', FALSE);
- 	$key_file->set_value($start_group, 'boolkey', '0');
- 
--- 
-2.21.0
-



More information about the arch-commits mailing list