Date: Friday, March 6, 2015 @ 13:55:38
  Author: jgc
Revision: 232935

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

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

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

Copied: glib-networking/repos/gnome-unstable-i686/PKGBUILD (from rev 232934, 
glib-networking/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD                                (rev 0)
+++ gnome-unstable-i686/PKGBUILD        2015-03-06 12:55:38 UTC (rev 232935)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+
+pkgname=glib-networking
+pkgver=2.43.91
+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=('035bd68575c1f7c8430b34b188f18862a0163c0c5a3287c06898c8c527ba5565')
+
+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/gnome-unstable-i686/glib-networking.install (from 
rev 232934, glib-networking/trunk/glib-networking.install)
===================================================================
--- gnome-unstable-i686/glib-networking.install                         (rev 0)
+++ gnome-unstable-i686/glib-networking.install 2015-03-06 12:55:38 UTC (rev 
232935)
@@ -0,0 +1,11 @@
+post_install() {
+  gio-querymodules /usr/lib/gio/modules
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: 
glib-networking/repos/gnome-unstable-i686/skip-test-needs-glib-243.patch (from 
rev 232934, glib-networking/trunk/skip-test-needs-glib-243.patch)
===================================================================
--- gnome-unstable-i686/skip-test-needs-glib-243.patch                          
(rev 0)
+++ gnome-unstable-i686/skip-test-needs-glib-243.patch  2015-03-06 12:55:38 UTC 
(rev 232935)
@@ -0,0 +1,28 @@
+From 17613e50901c50fedcfe3542f0dc93630c9b2884 Mon Sep 17 00:00:00 2001
+From: Iain Lane <iain.l...@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/gnome-unstable-x86_64/PKGBUILD (from rev 232934, 
glib-networking/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2015-03-06 12:55:38 UTC (rev 232935)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+
+pkgname=glib-networking
+pkgver=2.43.91
+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=('035bd68575c1f7c8430b34b188f18862a0163c0c5a3287c06898c8c527ba5565')
+
+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/gnome-unstable-x86_64/glib-networking.install 
(from rev 232934, glib-networking/trunk/glib-networking.install)
===================================================================
--- gnome-unstable-x86_64/glib-networking.install                               
(rev 0)
+++ gnome-unstable-x86_64/glib-networking.install       2015-03-06 12:55:38 UTC 
(rev 232935)
@@ -0,0 +1,11 @@
+post_install() {
+  gio-querymodules /usr/lib/gio/modules
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: 
glib-networking/repos/gnome-unstable-x86_64/skip-test-needs-glib-243.patch 
(from rev 232934, glib-networking/trunk/skip-test-needs-glib-243.patch)
===================================================================
--- gnome-unstable-x86_64/skip-test-needs-glib-243.patch                        
        (rev 0)
+++ gnome-unstable-x86_64/skip-test-needs-glib-243.patch        2015-03-06 
12:55:38 UTC (rev 232935)
@@ -0,0 +1,28 @@
+From 17613e50901c50fedcfe3542f0dc93630c9b2884 Mon Sep 17 00:00:00 2001
+From: Iain Lane <iain.l...@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
+

Reply via email to