summaryrefslogtreecommitdiff
path: root/libre/libosinfo
diff options
context:
space:
mode:
Diffstat (limited to 'libre/libosinfo')
-rw-r--r--libre/libosinfo/PKGBUILD10
-rw-r--r--libre/libosinfo/libre.patch24
2 files changed, 24 insertions, 10 deletions
diff --git a/libre/libosinfo/PKGBUILD b/libre/libosinfo/PKGBUILD
index f60cc584a..8449870d0 100644
--- a/libre/libosinfo/PKGBUILD
+++ b/libre/libosinfo/PKGBUILD
@@ -1,25 +1,25 @@
-# $Id: PKGBUILD 119459 2014-09-23 11:58:50Z bgyorgy $
+# $Id: PKGBUILD 135179 2015-06-11 01:12:35Z bgyorgy $
# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com>
# Contributor (Arch): Stefano Facchini <stefano.facchini@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Daniel Milewski <niitotantei@gmail.com>
pkgname=libosinfo
-pkgver=0.2.11
+pkgver=0.2.12
pkgrel=1.parabola1
pkgdesc="GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support, without support for nonfree systems"
arch=('i686' 'x86_64' 'mips64el')
url="http://libosinfo.org/"
license=('GPL' 'LGPL')
depends=('glib2' 'libxslt')
-makedepends=('check' 'gobject-introspection' 'intltool' 'libsoup' 'vala')
+makedepends=('check' 'gobject-introspection' 'intltool' 'libsoup' 'vala' 'python2')
conflicts=(${pkgname}-libre)
replaces=(${pkgname}-libre)
options=('!libtool')
source=(https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$pkgver.tar.gz
libre.patch)
-sha256sums=('bb6ba136756b26045ba3ed9b3c1b0920a639dd80b007769a1df356d8e2fe0921'
- '685869d46f146429657b79dbcf4106b55e2ee586d333fb577ed98bd18179920f')
+sha256sums=('fa00ea8ddbca06c0dcc31e8938ac55cb71e71c6e2449687cd2c9e003a9478fed'
+ '3047de165ea5da486efdbb4836331f4890036908f372f82abe2c025a627d77a3')
prepare() {
cd $pkgname-$pkgver
diff --git a/libre/libosinfo/libre.patch b/libre/libosinfo/libre.patch
index 17e16e9c5..ee59878c7 100644
--- a/libre/libosinfo/libre.patch
+++ b/libre/libosinfo/libre.patch
@@ -176,10 +176,10 @@ diff -Nur libosinfo-0.2.11.orig/po/POTFILES.in libosinfo-0.2.11/po/POTFILES.in
data/hypervisors/xen.xml.in
osinfo/osinfo_avatar_format.c
osinfo/osinfo_deployment.c
-diff -Nur libosinfo-0.2.11.orig/test/test-isodetect.c libosinfo-0.2.11/test/test-isodetect.c
---- libosinfo-0.2.11.orig/test/test-isodetect.c 2014-06-24 08:21:17.000000000 -0300
-+++ libosinfo-0.2.11/test/test-isodetect.c 2014-09-23 12:19:00.897747271 -0300
-@@ -342,72 +342,6 @@
+diff -Nur libosinfo-0.2.12.orig/test/test-isodetect.c libosinfo-0.2.12/test/test-isodetect.c
+--- libosinfo-0.2.12.orig/test/test-isodetect.c 2015-05-26 14:07:49.000000000 -0300
++++ libosinfo-0.2.12/test/test-isodetect.c 2015-06-11 06:45:42.619777722 -0300
+@@ -352,84 +352,6 @@
g_object_unref(loader);
}
@@ -249,10 +249,22 @@ diff -Nur libosinfo-0.2.11.orig/test/test-isodetect.c libosinfo-0.2.11/test/test
-}
-END_TEST
-
+-START_TEST(test_sles)
+-{
+- test_one("sles");
+-}
+-END_TEST
+-
+-START_TEST(test_sled)
+-{
+- test_one("sled");
+-}
+-END_TEST
+-
static Suite *
list_suite(void)
{
-@@ -415,17 +349,6 @@
+@@ -437,19 +359,6 @@
TCase *tc = tcase_create("Core");
tcase_set_timeout(tc, 20);
@@ -267,6 +279,8 @@ diff -Nur libosinfo-0.2.11.orig/test/test-isodetect.c libosinfo-0.2.11/test/test
- tcase_add_test(tc, test_gnome);
- tcase_add_test(tc, test_altlinux);
- tcase_add_test(tc, test_mageia);
+- tcase_add_test(tc, test_sles);
+- tcase_add_test(tc, test_sled);
suite_add_tcase(s, tc);
return s;
}