summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/libparserutils
downloadgentoo-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/libparserutils')
-rw-r--r--dev-libs/libparserutils/Manifest6
-rw-r--r--dev-libs/libparserutils/files/libparserutils-0.1.1-unused.patch20
-rw-r--r--dev-libs/libparserutils/files/libparserutils-0.2.0-glibc-2.20.patch16
-rw-r--r--dev-libs/libparserutils/files/libparserutils-0.2.1-glibc-2.20.patch15
-rw-r--r--dev-libs/libparserutils/libparserutils-0.1.2.ebuild25
-rw-r--r--dev-libs/libparserutils/libparserutils-0.2.0-r1.ebuild28
-rw-r--r--dev-libs/libparserutils/libparserutils-0.2.1-r1.ebuild28
-rw-r--r--dev-libs/libparserutils/metadata.xml9
8 files changed, 147 insertions, 0 deletions
diff --git a/dev-libs/libparserutils/Manifest b/dev-libs/libparserutils/Manifest
new file mode 100644
index 000000000000..9c43247362e0
--- /dev/null
+++ b/dev-libs/libparserutils/Manifest
@@ -0,0 +1,6 @@
+DIST libparserutils-0.1.2-src.tar.gz 74663 SHA256 0a21efd3882c19965f57161c4ecda85a363a71dbe090030dfa69f9aecd2160aa SHA512 e94fbbacd39fc58485e8d7812043bab2780cd828f19d2e7f1173144e2aa24d748ac598a69982f3e224d0920b868f53507d5c261ce14b111c5b7d1ee5fc51b7e1 WHIRLPOOL f53b0b518440d744191db69276a81fb63ad150d01df64921372b2f609c3d7111f87cb879593c19d708d2dea343a548956eb1416ba51360fcf06afef691d173df
+DIST libparserutils-0.2.0-src.tar.gz 74431 SHA256 55c50abbffaaebe17acba43008ee2c4085401ce618e505fafa7c75baaa813da7 SHA512 82b3049691af96682ce09723cde3d5b3f0ae85c37897fa9e79841a2e0ab910f614fdb895814dd45c384bc3ef5f063f91ba55e31d9733b0b21431d8ccc04e43e7 WHIRLPOOL 73ae201bb99136b26c9b16b71f9d51e6684407a30ffce1c8f8d9163581a8220c253518a8c9f406e7d6ded4ea7d7cfad869c61a768baf14738160bd0a5e196ca0
+DIST libparserutils-0.2.1-src.tar.gz 74426 SHA256 30589e6b3adf0c14b5a78de1fba3b9b84cbd74e95e22d45827fa3e09b563f735 SHA512 42ca23565d54eaaff87db43e23dc84da155bb958e1026e226c7bb52db1e147bedb5d813d5f06ebfe254e48a8e95309235e1d98bd5a040e2c3eca231d983de250 WHIRLPOOL 941d79f25c72afc34e13c7296ea30fb9fb74c8730bd07ca90138c0c4949dc1ddbf8e3d071f31aaed60f7a0e9ce297dfeca136008705052cd1a776eec865cade5
+DIST netsurf-buildsystem-1.0.tar.gz 37026 SHA256 4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146 SHA512 763e10766ab16be375c40a226e36a95df5740ac62b5bbc4eb6d52693b83284d2e71d9a3d797f55c28853a5d2565182759ffa9bfb3d736daf21b347f418661c47 WHIRLPOOL a65d53424a34a796a1f85ed5d4a9ca9bf58eaba7246e5ea20bc7da09e0e8ab60e156ce47da521660d5567c6358fda0da744e56ccf52cda6e0db92b19a6055d38
+DIST netsurf-buildsystem-1.2.tar.gz 38914 SHA256 3903a4a1551c9c202e1d2047344c4f3598c8d9d6c35ebf8cc2e18874bd0c9d61 SHA512 963e8a5033e8ef70595507f24fea3d9697eefb50ad7f92a6d3c913501c7026f12ec6d48f92b75e352b32f212f6216b8d8455aff25fa8d8d0fc12a3b19a875a1c WHIRLPOOL e56a520ae284089d0f36f06a6891ebb5b208ca847c74340c18581340e457c20ae9365999dc13284f438b965dcd7e85f04b93d1c1f22cadf6f7c1e2cef81d528c
+DIST netsurf-buildsystem-1.3.tar.gz 37906 SHA256 10bbe95ba07476208da6047bd3c74685b6e61ba9904975b5d5c9a2c79a84ac79 SHA512 79ef3e366c4798dbb88021fd05019ba9fe50539b7482bd3d07422f4c0dbf2047b906f39a0b48deebbdf111d84d93a9364d08e5c97f91609363c27641db15e6b5 WHIRLPOOL c8131d0ffb79b208b63bef94606735968584edfff8cb24b4c83cd747c5d65c2811004626840798047ffddf84556ef7d8e23242f60d01a4a046323df3c78b0980
diff --git a/dev-libs/libparserutils/files/libparserutils-0.1.1-unused.patch b/dev-libs/libparserutils/files/libparserutils-0.1.1-unused.patch
new file mode 100644
index 000000000000..6b9036d6f343
--- /dev/null
+++ b/dev-libs/libparserutils/files/libparserutils-0.1.1-unused.patch
@@ -0,0 +1,20 @@
+--- libparserutils-0.1.1/test/inputstream.c
++++ libparserutils-0.1.1/test/inputstream.c
+@@ -25,7 +25,7 @@
+ {
+ parserutils_inputstream *stream;
+ FILE *fp;
+- size_t len, origlen;
++ size_t len;
+ #define CHUNK_SIZE (4096)
+ uint8_t buf[CHUNK_SIZE];
+ const uint8_t *c;
+@@ -46,7 +46,7 @@
+ }
+
+ fseek(fp, 0, SEEK_END);
+- origlen = len = ftell(fp);
++ len = ftell(fp);
+ fseek(fp, 0, SEEK_SET);
+
+ while (len >= CHUNK_SIZE) {
diff --git a/dev-libs/libparserutils/files/libparserutils-0.2.0-glibc-2.20.patch b/dev-libs/libparserutils/files/libparserutils-0.2.0-glibc-2.20.patch
new file mode 100644
index 000000000000..a8ff98f67077
--- /dev/null
+++ b/dev-libs/libparserutils/files/libparserutils-0.2.0-glibc-2.20.patch
@@ -0,0 +1,16 @@
+--- libparserutils-0.2.0/Makefile
++++ libparserutils-0.2.0/Makefile
+@@ -15,12 +15,8 @@
+ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs -pedantic
+-# BeOS/Haiku standard library headers create warnings.
+-ifneq ($(TARGET),beos)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+-endif
+
+-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+ ifneq ($(GCCVER),2)
+ CFLAGS := $(CFLAGS) -std=c99
diff --git a/dev-libs/libparserutils/files/libparserutils-0.2.1-glibc-2.20.patch b/dev-libs/libparserutils/files/libparserutils-0.2.1-glibc-2.20.patch
new file mode 100644
index 000000000000..c0d835e00ecb
--- /dev/null
+++ b/dev-libs/libparserutils/files/libparserutils-0.2.1-glibc-2.20.patch
@@ -0,0 +1,15 @@
+--- libparserutils-0.2.1/Makefile
++++ libparserutils-0.2.1/Makefile
+@@ -16,11 +16,8 @@
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs -pedantic
+ # BeOS/Haiku standard library headers create warnings.
+-ifneq ($(BUILD),i586-pc-haiku)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+-endif
+
+-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+ ifneq ($(GCCVER),2)
+ CFLAGS := $(CFLAGS) -std=c99
diff --git a/dev-libs/libparserutils/libparserutils-0.1.2.ebuild b/dev-libs/libparserutils/libparserutils-0.1.2.ebuild
new file mode 100644
index 000000000000..07f4e6cd2c92
--- /dev/null
+++ b/dev-libs/libparserutils/libparserutils-0.1.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit flag-o-matic netsurf
+
+DESCRIPTION="library for building efficient parsers, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~m68k-mint"
+IUSE="iconv test"
+
+DEPEND="test? ( dev-lang/perl )"
+
+DOCS=( README docs/Todo )
+
+src_configure() {
+ netsurf_src_configure
+
+ append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER"
+}
diff --git a/dev-libs/libparserutils/libparserutils-0.2.0-r1.ebuild b/dev-libs/libparserutils/libparserutils-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..9ac7fc7d2538
--- /dev/null
+++ b/dev-libs/libparserutils/libparserutils-0.2.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+NETSURF_BUILDSYSTEM=buildsystem-1.2
+inherit flag-o-matic netsurf
+
+DESCRIPTION="library for building efficient parsers, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~m68k-mint"
+IUSE="iconv test"
+
+DEPEND="test? ( dev-lang/perl )"
+
+DOCS=( README docs/Todo )
+
+PATCHES=( "${FILESDIR}"/${P}-glibc-2.20.patch )
+
+src_configure() {
+ netsurf_src_configure
+
+ append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER"
+}
diff --git a/dev-libs/libparserutils/libparserutils-0.2.1-r1.ebuild b/dev-libs/libparserutils/libparserutils-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..048b660214b8
--- /dev/null
+++ b/dev-libs/libparserutils/libparserutils-0.2.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+NETSURF_BUILDSYSTEM=buildsystem-1.3
+inherit flag-o-matic netsurf
+
+DESCRIPTION="library for building efficient parsers, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~m68k-mint"
+IUSE="iconv test"
+
+DEPEND="test? ( dev-lang/perl )"
+
+DOCS=( README docs/Todo )
+
+PATCHES=( "${FILESDIR}"/${P}-glibc-2.20.patch )
+
+src_configure() {
+ netsurf_src_configure
+
+ append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER"
+}
diff --git a/dev-libs/libparserutils/metadata.xml b/dev-libs/libparserutils/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/dev-libs/libparserutils/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+