[arch-commits] Commit in glib-networking/repos (8 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Apr 12 18:22:53 UTC 2015
Date: Sunday, April 12, 2015 @ 20:22:53
Author: bpiotrowski
Revision: 236315
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
glib-networking/repos/staging-i686/
glib-networking/repos/staging-i686/PKGBUILD
(from rev 236314, glib-networking/trunk/PKGBUILD)
glib-networking/repos/staging-i686/glib-networking.install
(from rev 236314, glib-networking/trunk/glib-networking.install)
glib-networking/repos/staging-i686/skip-test-needs-glib-243.patch
(from rev 236314, glib-networking/trunk/skip-test-needs-glib-243.patch)
glib-networking/repos/staging-x86_64/
glib-networking/repos/staging-x86_64/PKGBUILD
(from rev 236314, glib-networking/trunk/PKGBUILD)
glib-networking/repos/staging-x86_64/glib-networking.install
(from rev 236314, glib-networking/trunk/glib-networking.install)
glib-networking/repos/staging-x86_64/skip-test-needs-glib-243.patch
(from rev 236314, glib-networking/trunk/skip-test-needs-glib-243.patch)
-----------------------------------------------+
staging-i686/PKGBUILD | 35 ++++++++++++++++++++++++
staging-i686/glib-networking.install | 11 +++++++
staging-i686/skip-test-needs-glib-243.patch | 28 +++++++++++++++++++
staging-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++
staging-x86_64/glib-networking.install | 11 +++++++
staging-x86_64/skip-test-needs-glib-243.patch | 28 +++++++++++++++++++
6 files changed, 148 insertions(+)
Copied: glib-networking/repos/staging-i686/PKGBUILD (from rev 236314, glib-networking/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-12 18:22:53 UTC (rev 236315)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=glib-networking
+pkgver=2.44.0
+pkgrel=2
+pkgdesc="Network-related giomodules for glib"
+arch=(i686 x86_64)
+url="http://www.gtk.org/"
+license=(GPL2)
+depends=(glib2 libproxy gnutls ca-certificates gsettings-desktop-schemas)
+makedepends=(intltool)
+install=glib-networking.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('8f8a340d3ba99bfdef38b653da929652ea6640e27969d29f7ac51fbbe11a4346')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/$pkgname --disable-static \
+ --disable-installed-tests
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -j1 -k check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install testfiles_DATA=
+}
+
+# vim:set ts=2 sw=2 et:
Copied: glib-networking/repos/staging-i686/glib-networking.install (from rev 236314, glib-networking/trunk/glib-networking.install)
===================================================================
--- staging-i686/glib-networking.install (rev 0)
+++ staging-i686/glib-networking.install 2015-04-12 18:22:53 UTC (rev 236315)
@@ -0,0 +1,11 @@
+post_install() {
+ gio-querymodules /usr/lib/gio/modules
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: glib-networking/repos/staging-i686/skip-test-needs-glib-243.patch (from rev 236314, glib-networking/trunk/skip-test-needs-glib-243.patch)
===================================================================
--- staging-i686/skip-test-needs-glib-243.patch (rev 0)
+++ staging-i686/skip-test-needs-glib-243.patch 2015-04-12 18:22:53 UTC (rev 236315)
@@ -0,0 +1,28 @@
+From 17613e50901c50fedcfe3542f0dc93630c9b2884 Mon Sep 17 00:00:00 2001
+From: Iain Lane <iain.lane at canonical.com>
+Date: Wed, 10 Dec 2014 12:05:19 +0000
+Subject: tls/tests: skip test_create_certificate_chain if not running against
+ glib 2.43
+
+https://bugzilla.gnome.org/show_bug.cgi?id=741331
+
+diff --git a/tls/tests/certificate.c b/tls/tests/certificate.c
+index 97c1793..7d3f031 100644
+--- a/tls/tests/certificate.c
++++ b/tls/tests/certificate.c
+@@ -226,6 +226,12 @@ test_create_certificate_chain (void)
+ GTlsCertificate *cert, *intermediate, *root;
+ GError *error = NULL;
+
++ if (glib_check_version (2, 43, 0))
++ {
++ g_test_skip ("This test requires glib 2.43");
++ return;
++ }
++
+ cert = g_tls_certificate_new_from_file (tls_test_file_path ("chain.pem"), &error);
+ g_assert_no_error (error);
+ g_assert (G_IS_TLS_CERTIFICATE (cert));
+--
+cgit v0.10.2
+
Copied: glib-networking/repos/staging-x86_64/PKGBUILD (from rev 236314, glib-networking/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-12 18:22:53 UTC (rev 236315)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=glib-networking
+pkgver=2.44.0
+pkgrel=2
+pkgdesc="Network-related giomodules for glib"
+arch=(i686 x86_64)
+url="http://www.gtk.org/"
+license=(GPL2)
+depends=(glib2 libproxy gnutls ca-certificates gsettings-desktop-schemas)
+makedepends=(intltool)
+install=glib-networking.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('8f8a340d3ba99bfdef38b653da929652ea6640e27969d29f7ac51fbbe11a4346')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/$pkgname --disable-static \
+ --disable-installed-tests
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -j1 -k check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install testfiles_DATA=
+}
+
+# vim:set ts=2 sw=2 et:
Copied: glib-networking/repos/staging-x86_64/glib-networking.install (from rev 236314, glib-networking/trunk/glib-networking.install)
===================================================================
--- staging-x86_64/glib-networking.install (rev 0)
+++ staging-x86_64/glib-networking.install 2015-04-12 18:22:53 UTC (rev 236315)
@@ -0,0 +1,11 @@
+post_install() {
+ gio-querymodules /usr/lib/gio/modules
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: glib-networking/repos/staging-x86_64/skip-test-needs-glib-243.patch (from rev 236314, glib-networking/trunk/skip-test-needs-glib-243.patch)
===================================================================
--- staging-x86_64/skip-test-needs-glib-243.patch (rev 0)
+++ staging-x86_64/skip-test-needs-glib-243.patch 2015-04-12 18:22:53 UTC (rev 236315)
@@ -0,0 +1,28 @@
+From 17613e50901c50fedcfe3542f0dc93630c9b2884 Mon Sep 17 00:00:00 2001
+From: Iain Lane <iain.lane at canonical.com>
+Date: Wed, 10 Dec 2014 12:05:19 +0000
+Subject: tls/tests: skip test_create_certificate_chain if not running against
+ glib 2.43
+
+https://bugzilla.gnome.org/show_bug.cgi?id=741331
+
+diff --git a/tls/tests/certificate.c b/tls/tests/certificate.c
+index 97c1793..7d3f031 100644
+--- a/tls/tests/certificate.c
++++ b/tls/tests/certificate.c
+@@ -226,6 +226,12 @@ test_create_certificate_chain (void)
+ GTlsCertificate *cert, *intermediate, *root;
+ GError *error = NULL;
+
++ if (glib_check_version (2, 43, 0))
++ {
++ g_test_skip ("This test requires glib 2.43");
++ return;
++ }
++
+ cert = g_tls_certificate_new_from_file (tls_test_file_path ("chain.pem"), &error);
+ g_assert_no_error (error);
+ g_assert (G_IS_TLS_CERTIFICATE (cert));
+--
+cgit v0.10.2
+
More information about the arch-commits
mailing list