From 74ec605aab33966d15040e2b59d263467669ec81 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 25 Jun 2010 14:12:14 +0000 Subject: Bump to 0.10.2, add +introspection support, remove old+unused 0.6.2 version (Portage version: 2.1.8.3/cvs/Linux i686) --- dev-libs/json-glib/ChangeLog | 12 ++++++++-- .../json-glib/files/json-glib-0.6.2-fixtests.patch | 28 ---------------------- dev-libs/json-glib/json-glib-0.10.2.ebuild | 28 ++++++++++++++++++++++ dev-libs/json-glib/json-glib-0.6.2.ebuild | 27 --------------------- dev-libs/json-glib/metadata.xml | 6 ++++- 5 files changed, 43 insertions(+), 58 deletions(-) delete mode 100644 dev-libs/json-glib/files/json-glib-0.6.2-fixtests.patch create mode 100644 dev-libs/json-glib/json-glib-0.10.2.ebuild delete mode 100644 dev-libs/json-glib/json-glib-0.6.2.ebuild (limited to 'dev-libs') diff --git a/dev-libs/json-glib/ChangeLog b/dev-libs/json-glib/ChangeLog index 5f072bec6ab3..4be0ad2c22ca 100644 --- a/dev-libs/json-glib/ChangeLog +++ b/dev-libs/json-glib/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/json-glib -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-glib/ChangeLog,v 1.5 2009/11/02 20:19:10 voyageur Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-glib/ChangeLog,v 1.6 2010/06/25 14:12:14 nirbheek Exp $ + +*json-glib-0.10.2 (25 Jun 2010) + + 25 Jun 2010; Nirbheek Chauhan + -json-glib-0.6.2.ebuild, -files/json-glib-0.6.2-fixtests.patch, + +json-glib-0.10.2.ebuild, metadata.xml: + Bump to 0.10.2, add +introspection support, remove old+unused 0.6.2 + version *json-glib-0.8.2 (02 Nov 2009) diff --git a/dev-libs/json-glib/files/json-glib-0.6.2-fixtests.patch b/dev-libs/json-glib/files/json-glib-0.6.2-fixtests.patch deleted file mode 100644 index 993dcd62d81d..000000000000 --- a/dev-libs/json-glib/files/json-glib-0.6.2-fixtests.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a19a51df9e95e36edf949e68581731bd31959081 Mon Sep 17 00:00:00 2001 -From: Emmanuele Bassi -Date: Mon, 13 Apr 2009 21:08:21 +0000 -Subject: [tests] Use 'static' when registering enum types - -Bug 1393 - Regression tests fails on OpenBSD - -When registering a GEnumClass we need to set the GEnumValue array -as static const because g_enum_register_static() does not contain -the word "static" just for fun. - -Reported by: Jasper ---- -diff --git a/tests/test-serialize-full.c b/tests/test-serialize-full.c -index f549fe1..95925da 100644 ---- a/tests/test-serialize-full.c -+++ b/tests/test-serialize-full.c -@@ -92,7 +92,7 @@ test_enum_get_type (void) - - if (G_UNLIKELY (e_type == 0)) - { -- const GEnumValue values[] = { -+ static const GEnumValue values[] = { - { TEST_ENUM_FOO, "TEST_ENUM_FOO", "foo" }, - { TEST_ENUM_BAR, "TEST_ENUM_BAR", "bar" }, - { TEST_ENUM_BAZ, "TEST_ENUM_BAZ", "baz" }, --- -cgit v0.8.2 diff --git a/dev-libs/json-glib/json-glib-0.10.2.ebuild b/dev-libs/json-glib/json-glib-0.10.2.ebuild new file mode 100644 index 000000000000..0e9db68e5c9c --- /dev/null +++ b/dev-libs/json-glib/json-glib-0.10.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-glib/json-glib-0.10.2.ebuild,v 1.1 2010/06/25 14:12:14 nirbheek Exp $ + +EAPI="2" + +inherit gnome2 eutils + +DESCRIPTION="A library providing GLib serialization and deserialization support for the JSON format" +HOMEPAGE="http://live.gnome.org/JsonGlib" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc +introspection" + +RDEPEND=">=dev-libs/glib-2.15" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9 + doc? ( >=dev-util/gtk-doc-1.11 ) + introspection? ( >=dev-libs/gobject-introspection-0.6.3 )" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} + $(use_enable introspection)" +} diff --git a/dev-libs/json-glib/json-glib-0.6.2.ebuild b/dev-libs/json-glib/json-glib-0.6.2.ebuild deleted file mode 100644 index 63c11feeb01a..000000000000 --- a/dev-libs/json-glib/json-glib-0.6.2.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-glib/json-glib-0.6.2.ebuild,v 1.2 2009/07/06 12:11:11 voyageur Exp $ - -EAPI=2 -inherit gnome2 eutils - -DESCRIPTION="A library providing GLib serialization and deserialization support for the JSON format" -HOMEPAGE="http://live.gnome.org/JsonGlib" -SRC_URI="http://folks.o-hand.com/~ebassi/sources/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc" - -RDEPEND=">=dev-libs/glib-2.15" -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.9 - doc? ( dev-util/gtk-doc )" - -DOCS="AUTHORS ChangeLog NEWS README" - -src_prepare() { - # http://bugzilla.openedhand.com/show_bug.cgi?id=1393 - epatch "${FILESDIR}"/${P}-fixtests.patch -} diff --git a/dev-libs/json-glib/metadata.xml b/dev-libs/json-glib/metadata.xml index cdb3af2fe43c..307911c5dce9 100644 --- a/dev-libs/json-glib/metadata.xml +++ b/dev-libs/json-glib/metadata.xml @@ -1,7 +1,7 @@ - no-herd + gnome voyageur@gentoo.org Bernard Cafarelli @@ -9,4 +9,8 @@ JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format described by RFC 4627. Many high-level languages already provide native modules for parsing, generating and manipulating JSON data streams. JSON-GLib is a C library based on GLib and released under the terms of the GNU Lesser General Public License version 2.1. It provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects. JSON-GLib uses GLib native data types and the generic value container GValue for ease of development. It also provides integration with the GObject classes for direct serialization into, and deserialization from, JSON data streams. + + Use dev-libs/gobject-introspection for + introspection + -- cgit v1.2.3-65-gdbad