summaryrefslogtreecommitdiff
path: root/dev-libs/mini-xml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-08 20:11:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-08 20:11:47 +0100
commitf625b9919a60a30f1bd860f7d1b2eac183ced593 (patch)
tree7543f00925ff7277e31881de0a87801681f6f92f /dev-libs/mini-xml
parente3872864be25f7421015bef2732fa57c0c9fb726 (diff)
gentoo resync : 08.08.2018
Diffstat (limited to 'dev-libs/mini-xml')
-rw-r--r--dev-libs/mini-xml/Manifest5
-rw-r--r--dev-libs/mini-xml/files/respect-users-flags.patch30
-rw-r--r--dev-libs/mini-xml/metadata.xml27
-rw-r--r--dev-libs/mini-xml/mini-xml-2.11.ebuild54
4 files changed, 114 insertions, 2 deletions
diff --git a/dev-libs/mini-xml/Manifest b/dev-libs/mini-xml/Manifest
index 71256d585036..9b4819f17eec 100644
--- a/dev-libs/mini-xml/Manifest
+++ b/dev-libs/mini-xml/Manifest
@@ -1,3 +1,6 @@
+AUX respect-users-flags.patch 762 BLAKE2B ccce0e60b4f3edc18b5fb58215f6f0cd677a91db470a48e67a996f1ce6ba622f2cddb8e84e7ee756c3cab9da167b3fba6cc4e46be874d06887028bb778c07004 SHA512 31cae98c5802e2802df7e6a90275b28a14c1c0c453e456a40ddfb66ce418c34eae8a32eafb3579d4dc7622670f12381232e2ac1eedd1a0509198e691c18e0349
DIST mxml-2.10.tar.gz 265398 BLAKE2B eb3edec5615d727dec9285e2b74f4c877e8332be8f8183483e85a91d92ca1f48e5fc6d06afa3650c133c9762998abfdc8e846a9961ce55251d0c5bbcba0a970f SHA512 c3838611979c4228df476166e4e987fc1ff8f9b8bd30139066b475dcd99e25be81ecc5171235bc80b1c2291c9d78c9ceae9a1dfc928272a983740d6a67372f5c
+DIST mxml-2.11.tar.gz 9164003 BLAKE2B d124b7d779e7ea9609a91b823fe7f6b45ab4049e79eb72729ca2ffec93a83479d5fed1ef21efc76881a11de58be71b1f3de79fc3e4f07c26f35d3f68e25c017b SHA512 046421f91eea16f0ca99fbf611891c367ea9c3c54d04080d08acf108d7749ad9bbf2f4b3ef234a5130f00f77618196e2c5a245f32230daf645c1f775e961d378
EBUILD mini-xml-2.10.ebuild 1338 BLAKE2B 3c61f9345cbcbd53d045f391b81bbf177622728da6f340cdc2798d32354cd05fca221fdd4cadb9eef6c45222bad0f92bc3484d5660e5e61623b8dd25b86153b8 SHA512 eddb5ad74946de41caf859faa624e7d7f40c49ef1e2abd21ddd25503a29a940969783a65efafd0cfa48b47e428260953dafaec56ef3148e5d91f126f1baea8c5
-MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
+EBUILD mini-xml-2.11.ebuild 1010 BLAKE2B f19a2817893162d7b9260eadd1ca418d41542b4d6696eb8c2e0f1d8803e299734c87b21df9c97a2430cf2aa135368ee269d99465708524cbe8478c7b5db3c320 SHA512 62cafdae355f84775e77f494fdf506e8f0205f6ead1d708d0332042327da14f5a4999f93d0d7cf86e3b4a57ac2c326689e33b70b343f54ce458d7d3556861d2f
+MISC metadata.xml 1498 BLAKE2B b0ff99450cec828ef5614c2b3819d02cc97e402b60ce7b9bca20962166c47a9e3053e2457eb7b29210886aa7b0297e97340b55cf74a0aabc20ecb4c451d576c6 SHA512 5ead3d76daa42879139a96cceb0a12a84a23df8372a8e2e9e9d1e38ede0266b480ca404f03047f4e66ed7d989171d37333051e2a111dfa0900b9cbba703b22d6
diff --git a/dev-libs/mini-xml/files/respect-users-flags.patch b/dev-libs/mini-xml/files/respect-users-flags.patch
new file mode 100644
index 000000000000..90e49cf2198e
--- /dev/null
+++ b/dev-libs/mini-xml/files/respect-users-flags.patch
@@ -0,0 +1,30 @@
+--- a/configure.ac 2017-10-28 18:23:11.000000000 +0200
++++ b/configure.ac 2018-07-13 23:29:39.710622168 +0200
+@@ -255,7 +255,7 @@
+ CFLAGS="-Wall -D_GNU_SOURCE $CFLAGS"
+
+ if test "x$OPTIM" = x; then
+- OPTIM="-Os -g"
++ OPTIM=""
+ fi
+
+ if test "x$use_ansi" = xyes; then
+--- a/Makefile.in 2017-10-28 18:23:11.000000000 +0200
++++ b/Makefile.in 2018-07-13 23:27:51.101622582 +0200
+@@ -67,7 +67,6 @@
+ # Rules...
+ #
+
+-.SILENT:
+ .SUFFIXES: .c .man .o
+ .c.o:
+ echo Compiling $<
+@@ -271,7 +270,7 @@
+
+ libmxml.so.1.6: $(LIBOBJS)
+ echo Creating $@...
+- $(DSO) $(DSOFLAGS) -o libmxml.so.1.6 $(LIBOBJS)
++ $(DSO) $(DSOFLAGS) $(LDFLAGS) -o libmxml.so.1.6 $(LIBOBJS)
+ $(RM) libmxml.so libmxml.so.1
+ $(LN) libmxml.so.1.6 libmxml.so
+ $(LN) libmxml.so.1.6 libmxml.so.1
diff --git a/dev-libs/mini-xml/metadata.xml b/dev-libs/mini-xml/metadata.xml
index 7a38bb900964..a4af87ab4c46 100644
--- a/dev-libs/mini-xml/metadata.xml
+++ b/dev-libs/mini-xml/metadata.xml
@@ -1,5 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Mini-XML is a small XML parsing library that you can use to read XML data files or strings
+ in your application without requiring large non-standard libraries.
+ Mini-XML provides the following functionality:
+ - Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and strings.
+ - Data is stored in a linked-list tree structure, preserving the XML data hierarchy.
+ - SAX (streamed) reading of XML files and strings to minimize memory usage.
+ - Supports arbitrary element names, attributes, and attribute values with no preset limits, just available memory.
+ - Supports integer, real, opaque ("cdata"), and text data types in "leaf" nodes.
+ - Functions for creating and managing trees of data.
+ - Find" and "walk" functions for easily locating and navigating trees of data.
+ Mini-XML doesn't do validation or other types of processing on the data based
+ upon schema files or other sources of definition information.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/michaelrsweet/mxml/issues</bugs-to>
+ <remote-id type="github">michaelrsweet/mxml</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-libs/mini-xml/mini-xml-2.11.ebuild b/dev-libs/mini-xml/mini-xml-2.11.ebuild
new file mode 100644
index 000000000000..6a29195944da
--- /dev/null
+++ b/dev-libs/mini-xml/mini-xml-2.11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+MY_P="${P/mini-xml/mxml}"
+
+DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings"
+HOMEPAGE="https://github.com/michaelrsweet/mxml
+ https://www.msweet.org/mxml/"
+SRC_URI="https://github.com/michaelrsweet/mxml/releases/download/v${PV}/${MY_P}.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="Mini-XML"
+SLOT="0"
+IUSE="static-libs test threads"
+
+DEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}"
+
+PATCHES=( "${FILESDIR}"/respect-users-flags.patch )
+
+src_prepare() {
+ default
+
+ eautoconf
+}
+
+src_configure() {
+ local myeconfopts=(
+ $(use_enable threads)
+ )
+
+ econf "${myeconfopts[@]}"
+}
+
+src_compile() {
+ emake libmxml.so.1.6 doc/mxml.man mxmldoc
+}
+
+src_test() {
+ emake testmxml
+}
+
+src_install() {
+ emake DSTROOT="${ED}" install
+
+ if ! use static-libs; then
+ rm "${ED%/}"/usr/$(get_libdir)/libmxml.a || die
+ fi
+}