diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/json-c | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/json-c')
-rw-r--r-- | dev-libs/json-c/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/json-c/files/json-c-0.10-automake-1.13.patch | 31 | ||||
-rw-r--r-- | dev-libs/json-c/files/json-c-0.10-flags.patch | 6 | ||||
-rw-r--r-- | dev-libs/json-c/files/json-c-0.10-headers.patch | 27 | ||||
-rw-r--r-- | dev-libs/json-c/json-c-0.10-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/json-c/json-c-0.11-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-libs/json-c/json-c-0.11.ebuild | 45 | ||||
-rw-r--r-- | dev-libs/json-c/json-c-0.12.ebuild | 45 | ||||
-rw-r--r-- | dev-libs/json-c/json-c-0.9-r1.ebuild | 29 | ||||
-rw-r--r-- | dev-libs/json-c/metadata.xml | 15 |
10 files changed, 296 insertions, 0 deletions
diff --git a/dev-libs/json-c/Manifest b/dev-libs/json-c/Manifest new file mode 100644 index 000000000000..e57eed650b43 --- /dev/null +++ b/dev-libs/json-c/Manifest @@ -0,0 +1,4 @@ +DIST json-c-0.10.tar.gz 385812 SHA256 274fc9d47c1911fad9caab4db117e4be5d6b68c4547eab0c508d79c4768e170c SHA512 d254eb223ebfb05e828bf039efb280f5e83b9f59116fba3af2892cf1f7732d152f7d0e2d8b77ec32e175b168022c2342f954e97f867c438b349f36b4dfdbd746 WHIRLPOOL 0eab71b6af2bc1ecb54474b69f86eff56fc2c2a756e542f758070dfe52839223b0a90da7af837567d448d1c7c660b003590ec68bff1ffb802cfa44165914b08c +DIST json-c-0.11.tar.gz 557263 SHA256 28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c SHA512 65ab563fe908d585ba05fff3b77283050ec4f94114ff6e4b916557013d75498271cf65b2660a0aaf74b23beaa80385c80d37ab6a700ba967dd859fa779a81cb0 WHIRLPOOL f47c78b206a49a6e1d2570d041917593f3b889125b47a951ec1347f5c470082113225e86ff593869b5d859c2c815ceda268d4a3c890f53af77fae8dbbf7d97f8 +DIST json-c-0.12.tar.gz 501419 SHA256 000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f SHA512 c959804362386f6b77e9d04b5fedf6d6aff1fcd0ab50250edb25f759b510b402e7ad4b33d1cbadc3337b63a3145d19f310812a9ee351748348304b384dc2dc35 WHIRLPOOL b49f5c96b614302b39737306774b4346d8347afef6ced7067664ac0d68669a1496fe915f229e0d434a87b103ac9982d67c5785eb688b7026c257c7eae95c6eaf +DIST json-c-0.9.tar.gz 340953 SHA256 702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475 SHA512 40e4f7efd82fac732ff6da439a1ca95944d4ecfa8a673c7466e93134f29f8863f4d86f4e6e859a7be0096a25837047bd167a625cc0c61d6b919b55c5a47a76e8 WHIRLPOOL 7a666bae6c12ce910815d0d0253a88a024c5fe11a7a5e97b571d426f9de00d1a676f98bc8ccc41d948b5c64b1e768c5e5cdfbad98d63b03152b0e7a6ed1c181e diff --git a/dev-libs/json-c/files/json-c-0.10-automake-1.13.patch b/dev-libs/json-c/files/json-c-0.10-automake-1.13.patch new file mode 100644 index 000000000000..285c68b8b8aa --- /dev/null +++ b/dev-libs/json-c/files/json-c-0.10-automake-1.13.patch @@ -0,0 +1,31 @@ +https://github.com/json-c/json-c/commit/36ec47db49277f4a5eda30823cf6d1f238f34991 + +From 36ec47db49277f4a5eda30823cf6d1f238f34991 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= <thomas@gstaedtner.net> +Date: Sun, 3 Mar 2013 00:17:25 +0100 +Subject: [PATCH] configure.in: mv AM_CONFIG_HEADER to AC_CONFIG_HEADER + +the former has been deprecated and does not work on newer autoconf +versions. +--- + configure.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.in b/configure.in +index 1a428b6..d68d7a1 100644 +--- a/configure.in ++++ b/configure.in +@@ -20,8 +20,8 @@ AM_CONDITIONAL(ENABLE_OLDNAME_COMPAT, [test "x${enable_oldname_compat}" != "xno" + # Checks for libraries. + + # Checks for header files. +-AM_CONFIG_HEADER(config.h) +-AM_CONFIG_HEADER(json_config.h) ++AC_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADER(json_config.h) + AC_HEADER_STDC + AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/cdefs.h] [sys/param.h] stdarg.h locale.h) + AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])]) +-- +1.8.1.6 + diff --git a/dev-libs/json-c/files/json-c-0.10-flags.patch b/dev-libs/json-c/files/json-c-0.10-flags.patch new file mode 100644 index 000000000000..8634f8701777 --- /dev/null +++ b/dev-libs/json-c/files/json-c-0.10-flags.patch @@ -0,0 +1,6 @@ +--- json-c-0.10/Makefile.am.inc ++++ json-c-0.10/Makefile.am.inc +@@ -1,2 +1,2 @@ +-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT ++AM_CFLAGS = -Wall -Wwrite-strings -std=gnu99 -D_GNU_SOURCE -D_REENTRANT + diff --git a/dev-libs/json-c/files/json-c-0.10-headers.patch b/dev-libs/json-c/files/json-c-0.10-headers.patch new file mode 100644 index 000000000000..f3486739b9da --- /dev/null +++ b/dev-libs/json-c/files/json-c-0.10-headers.patch @@ -0,0 +1,27 @@ +--- json-c-0.10/json.pc.in ++++ json-c-0.10/json.pc.in +@@ -8,4 +8,4 @@ + Version: @VERSION@ + Requires: + Libs: -L${libdir} -ljson +-Cflags: -I${includedir}/json ++Cflags: -I${includedir}/json-c +--- json-c-0.10/Makefile.am ++++ json-c-0.10/Makefile.am +@@ -8,7 +8,7 @@ + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = json.pc + +-libjsonincludedir = $(includedir)/json ++libjsonincludedir = $(includedir)/json-c + libjsoninclude_HEADERS = \ + arraylist.h \ + bits.h \ +@@ -17,6 +17,7 @@ + json_config.h \ + json_inttypes.h \ + json_object.h \ ++ json_object_iterator.h \ + json_object_private.h \ + json_tokener.h \ + json_util.h \ diff --git a/dev-libs/json-c/json-c-0.10-r1.ebuild b/dev-libs/json-c/json-c-0.10-r1.ebuild new file mode 100644 index 000000000000..fab613e88e7e --- /dev/null +++ b/dev-libs/json-c/json-c-0.10-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="https://github.com/json-c/json-c/wiki" +SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc static-libs" + +PATCHES=( + "${FILESDIR}"/${P}-flags.patch + + # bug 452234 + "${FILESDIR}"/${P}-headers.patch + # bug 466960 + "${FILESDIR}"/${P}-automake-1.13.patch + ) + +# tests break otherwise +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_test() { + export USE_VALGRIND=0 VERBOSE=1 + autotools-utils_src_test +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/doc/html ) + autotools-utils_src_install + + # add symlink for projects not using pkgconfig + dosym ../json-c /usr/include/json-c/json +} diff --git a/dev-libs/json-c/json-c-0.11-r1.ebuild b/dev-libs/json-c/json-c-0.11-r1.ebuild new file mode 100644 index 000000000000..8f732c804d7c --- /dev/null +++ b/dev-libs/json-c/json-c-0.11-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-multilib + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="https://github.com/json-c/json-c/wiki" +SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc static-libs" + +RDEPEND=" + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140406-r3 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +# tests break otherwise +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + sed -i -e "s:-Werror::" Makefile.am.inc || die + autotools-multilib_src_prepare +} + +src_configure() { + # Disable old lib compatibility + myeconfargs=(--disable-oldname-compat) + autotools-multilib_src_configure +} + +src_test() { + export USE_VALGRIND=0 VERBOSE=1 + autotools-multilib_src_test +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/doc/html ) + autotools-multilib_src_install + + # add symlink for projects not using pkgconfig + dosym ../json-c /usr/include/json-c/json +} diff --git a/dev-libs/json-c/json-c-0.11.ebuild b/dev-libs/json-c/json-c-0.11.ebuild new file mode 100644 index 000000000000..84b271c6ee19 --- /dev/null +++ b/dev-libs/json-c/json-c-0.11.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="https://github.com/json-c/json-c/wiki" +SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/0" +KEYWORDS="~alpha amd64 arm hppa ia64 ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc static-libs" + +# tests break otherwise +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + sed -i -e "s:-Werror::" Makefile.am.inc || die + autotools-utils_src_prepare +} + +src_configure() { + # Disable old lib compatibility + myeconfargs=(--disable-oldname-compat) + autotools-utils_src_configure +} + +src_test() { + export USE_VALGRIND=0 VERBOSE=1 + autotools-utils_src_test +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/doc/html ) + autotools-utils_src_install + + # add symlink for projects not using pkgconfig + dosym ../json-c /usr/include/json-c/json +} diff --git a/dev-libs/json-c/json-c-0.12.ebuild b/dev-libs/json-c/json-c-0.12.ebuild new file mode 100644 index 000000000000..e01bc4881690 --- /dev/null +++ b/dev-libs/json-c/json-c-0.12.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-multilib + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="https://github.com/json-c/json-c/wiki" +SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc static-libs" + +RDEPEND=" + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140406-r3 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +# tests break otherwise +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + sed -i -e "s:-Werror::" Makefile.am.inc || die + autotools-multilib_src_prepare +} + +src_test() { + export USE_VALGRIND=0 VERBOSE=1 + autotools-multilib_src_test +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/doc/html ) + autotools-multilib_src_install + + # add symlink for projects not using pkgconfig + dosym ../json-c /usr/include/json-c/json +} diff --git a/dev-libs/json-c/json-c-0.9-r1.ebuild b/dev-libs/json-c/json-c-0.9-r1.ebuild new file mode 100644 index 000000000000..0445b63d9d69 --- /dev/null +++ b/dev-libs/json-c/json-c-0.9-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="http://oss.metaparadigm.com/json-c/" +SRC_URI="http://oss.metaparadigm.com/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="static-libs" + +RDEPEND="!<dev-libs/jsoncpp-0.5.0-r1" +DEPEND="" + +DOCS=( README ) + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + dohtml README.html || die "dohtml failed" + use static-libs || { find "${ED}" -name '*.la' -exec rm {} + || die; } +} diff --git a/dev-libs/json-c/metadata.xml b/dev-libs/json-c/metadata.xml new file mode 100644 index 000000000000..50ec7e7d3332 --- /dev/null +++ b/dev-libs/json-c/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hwoarang@gentoo.org</email> + <name>Markos Chandras</name> + </maintainer> + <longdescription lang="en"> +"A JSON implementation in C" is probably the better description, and then +"JSON-C implements a reference counting object model that allows you to +easily construct JSON objects in C, output them as JSON formatted +strings and parse JSON formatted strings back into the C +representation of JSON objects. +</longdescription> +</pkgmetadata> |