[arch-commits] Commit in glib-networking/repos (10 files)

Jan de Groot jgc at archlinux.org
Wed Mar 25 15:37:01 UTC 2015


    Date: Wednesday, March 25, 2015 @ 16:37:01
  Author: jgc
Revision: 234876

db-move: moved glib-networking from [gnome-unstable] to [testing] (i686, x86_64)

Added:
  glib-networking/repos/testing-i686/
  glib-networking/repos/testing-i686/PKGBUILD
    (from rev 234786, glib-networking/repos/gnome-unstable-i686/PKGBUILD)
  glib-networking/repos/testing-i686/glib-networking.install
    (from rev 234786, glib-networking/repos/gnome-unstable-i686/glib-networking.install)
  glib-networking/repos/testing-i686/skip-test-needs-glib-243.patch
    (from rev 234786, glib-networking/repos/gnome-unstable-i686/skip-test-needs-glib-243.patch)
  glib-networking/repos/testing-x86_64/
  glib-networking/repos/testing-x86_64/PKGBUILD
    (from rev 234786, glib-networking/repos/gnome-unstable-x86_64/PKGBUILD)
  glib-networking/repos/testing-x86_64/glib-networking.install
    (from rev 234786, glib-networking/repos/gnome-unstable-x86_64/glib-networking.install)
  glib-networking/repos/testing-x86_64/skip-test-needs-glib-243.patch
    (from rev 234786, glib-networking/repos/gnome-unstable-x86_64/skip-test-needs-glib-243.patch)
Deleted:
  glib-networking/repos/gnome-unstable-i686/
  glib-networking/repos/gnome-unstable-x86_64/

-----------------------------------------------+
 testing-i686/PKGBUILD                         |   35 ++++++++++++++++++++++++
 testing-i686/glib-networking.install          |   11 +++++++
 testing-i686/skip-test-needs-glib-243.patch   |   28 +++++++++++++++++++
 testing-x86_64/PKGBUILD                       |   35 ++++++++++++++++++++++++
 testing-x86_64/glib-networking.install        |   11 +++++++
 testing-x86_64/skip-test-needs-glib-243.patch |   28 +++++++++++++++++++
 6 files changed, 148 insertions(+)

Copied: glib-networking/repos/testing-i686/PKGBUILD (from rev 234786, glib-networking/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-25 15:37:01 UTC (rev 234876)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=glib-networking
+pkgver=2.44.0
+pkgrel=1
+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/testing-i686/glib-networking.install (from rev 234786, glib-networking/repos/gnome-unstable-i686/glib-networking.install)
===================================================================
--- testing-i686/glib-networking.install	                        (rev 0)
+++ testing-i686/glib-networking.install	2015-03-25 15:37:01 UTC (rev 234876)
@@ -0,0 +1,11 @@
+post_install() {
+  gio-querymodules /usr/lib/gio/modules
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: glib-networking/repos/testing-i686/skip-test-needs-glib-243.patch (from rev 234786, glib-networking/repos/gnome-unstable-i686/skip-test-needs-glib-243.patch)
===================================================================
--- testing-i686/skip-test-needs-glib-243.patch	                        (rev 0)
+++ testing-i686/skip-test-needs-glib-243.patch	2015-03-25 15:37:01 UTC (rev 234876)
@@ -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/testing-x86_64/PKGBUILD (from rev 234786, glib-networking/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-25 15:37:01 UTC (rev 234876)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=glib-networking
+pkgver=2.44.0
+pkgrel=1
+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/testing-x86_64/glib-networking.install (from rev 234786, glib-networking/repos/gnome-unstable-x86_64/glib-networking.install)
===================================================================
--- testing-x86_64/glib-networking.install	                        (rev 0)
+++ testing-x86_64/glib-networking.install	2015-03-25 15:37:01 UTC (rev 234876)
@@ -0,0 +1,11 @@
+post_install() {
+  gio-querymodules /usr/lib/gio/modules
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: glib-networking/repos/testing-x86_64/skip-test-needs-glib-243.patch (from rev 234786, glib-networking/repos/gnome-unstable-x86_64/skip-test-needs-glib-243.patch)
===================================================================
--- testing-x86_64/skip-test-needs-glib-243.patch	                        (rev 0)
+++ testing-x86_64/skip-test-needs-glib-243.patch	2015-03-25 15:37:01 UTC (rev 234876)
@@ -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