diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /net-libs/libhubbub | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'net-libs/libhubbub')
-rw-r--r-- | net-libs/libhubbub/Manifest | 5 | ||||
-rw-r--r-- | net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch | 24 | ||||
-rw-r--r-- | net-libs/libhubbub/libhubbub-0.3.6.ebuild | 54 | ||||
-rw-r--r-- | net-libs/libhubbub/metadata.xml | 9 |
4 files changed, 90 insertions, 2 deletions
diff --git a/net-libs/libhubbub/Manifest b/net-libs/libhubbub/Manifest index 3562ff67f6a9..f2f103e08148 100644 --- a/net-libs/libhubbub/Manifest +++ b/net-libs/libhubbub/Manifest @@ -1,6 +1,9 @@ +AUX libhubbub-0.3.6-json-c.patch 860 BLAKE2B a70a81eb2e8a1c3c61f8990e80c000d7047dada87e6721e50309c0d81ee411dadd3840bce2c72dc019aa1c7804801eafa387aead11b820b203de901f1dd4253e SHA512 ecd28b596cbdd01029b299d0f378e85f854205abd7bfb592061576dde35195dcc84b37f7aafe5127f76fb22b633f9f4ba13ef7158c58a021067cb7502effbc14 DIST libhubbub-0.3.3-src.tar.gz 783945 BLAKE2B 826b089708dea8a88a522f9889f81e420feb6c616ef7ad826303eca3ab39d4940cbc8bcbfcf61c979dc488d77b4d32fb24c0602b73ed28ea4e8076f369c93388 SHA512 28a5668257eda8cf1ca0395505522eb0f847a4cceee46de067fcfb171baa114876156a7e2671fff93602b2de63c640095e1a940e4725afb24bd14b4fd5f64526 DIST libhubbub-0.3.5-src.tar.gz 784526 BLAKE2B a7ba1be85ab01761894a1f2904fbcfbada0280c06ad0834288366f9ce42407a61978bbd775367cc064e367ad78bc792db66ad0e034ae6903c8ad5b44a1fc4d08 SHA512 57feb6ae74381e6b2c5c8a82aef7bcc5faf4a8303e41e39f4ba081a198c6f1225ec9952734ec97f20ba1b4fa3830543e43f4c2d2715b7a8467c19224a968073b +DIST libhubbub-0.3.6-src.tar.gz 784692 BLAKE2B a24b2c7b33849d6f4b25867f8b801d157f19257a055dd9a5a6c49de6c2fbd3f234f648d542b7938fab249e14bb6839997530c47b931379a94ab85ccd750b71e0 SHA512 6ccf9d9bbe8fc8de21570994c4a2f6f6c6943d2b00b8939d0ec9ec72cb3d653c40b58f509a1a81a5500fc8d3b4c49595aec509129bc993208b51b29486d0c14f DIST netsurf-buildsystem-1.5.tar.gz 38196 BLAKE2B 298ef39d45b98ae5ef57a22aed9f22bf96dfd6ad5475964c04451eaf28aca7f451b4906002c3e110ffcc951015169f02ffcd85f24e54b46c47b25e048115db1c SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 EBUILD libhubbub-0.3.3.ebuild 786 BLAKE2B b995a7361dc41af100c17b781ac3f9daf3d5fc47d22905153167165b256765747a8199bdfe6041ac3147f51beb047f6c1010177d60ac0197fa82daae28126b62 SHA512 80f415406e399aa5045f5f946590a07e2f94c173e5bf34e1326d17658e0f89a775c1a689934ad93dec404e8f00195155cd747696b611482f90475f97adfedff7 EBUILD libhubbub-0.3.5-r1.ebuild 1113 BLAKE2B 228399e3a9c228554157475fcb6dafd0bccb40003e11cd36a992bfc17c86192de2747bc63ba944eab451aca5babf38021483179a7b9fa97874116791fc290263 SHA512 f17f7fe72802d43d894d3cf5fb29273959ccab84ba9752c280a1e0ca400bae0ffc4d73a732a450137382fb99919204a775308a3d790b349c94b0235ad4d95970 -MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 +EBUILD libhubbub-0.3.6.ebuild 1180 BLAKE2B ef06c39bd8d653c5ebdfaaf6648f66b1a290fabc8a107d4bff9744c4f3c428de3a033292dfe9e1e326c3d61875a662121182ab30408ad0407365955819e9aabd SHA512 67b3ed6cf1495b7713e9e8b08e094bef50ad0d071e3a8c04c10bc075c1e56efe1904c55053d81a24919a1e37da312d5d9f4d02e51ca149a488ecb28b308e0400 +MISC metadata.xml 357 BLAKE2B 34eb2ba7fee2d2df8540a6fb2b5407ec249e1a983e348951dc002373288643cc06b7ceb4cd84de8ae770b9e0ced10892fc08fb6d415d803365f60bfcf6948b0b SHA512 40cc14c2f673767be159cadd8da258d273d99e38d96ccd2c2139f8fa424b30c8878ad6aa7d061c76e52cdd77ea42e58c9018e27849887882e9bcb7cd70827e64 diff --git a/net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch b/net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch new file mode 100644 index 000000000000..763693e21b8a --- /dev/null +++ b/net-libs/libhubbub/files/libhubbub-0.3.6-json-c.patch @@ -0,0 +1,24 @@ +diff -u -rb libhubbub-0.3.6/test.o/tokeniser2.c libhubbub-0.3.6/test/tokeniser2.c +--- libhubbub-0.3.6/test.o/tokeniser2.c 2019-06-26 22:39:57.000000000 +0200 ++++ libhubbub-0.3.6/test/tokeniser2.c 2019-11-06 13:09:02.321068038 +0200 +@@ -48,7 +48,7 @@ + } + + json = json_object_from_file(argv[1]); +- assert(!is_error(json)); ++ assert(json); + + assert(strcmp((char *) ((json_object_get_object(json)->head)->k), + "tests") == 0); +diff -u -rb libhubbub-0.3.6/test.o/tokeniser3.c libhubbub-0.3.6/test/tokeniser3.c +--- libhubbub-0.3.6/test.o/tokeniser3.c 2019-06-26 22:39:57.000000000 +0200 ++++ libhubbub-0.3.6/test/tokeniser3.c 2019-11-06 13:13:03.162538564 +0200 +@@ -46,7 +46,7 @@ + } + + json = json_object_from_file(argv[1]); +- assert(!is_error(json)); ++ assert(json); + + assert(strcmp((char *) ((json_object_get_object(json)->head)->k), + "tests") == 0); diff --git a/net-libs/libhubbub/libhubbub-0.3.6.ebuild b/net-libs/libhubbub/libhubbub-0.3.6.ebuild new file mode 100644 index 000000000000..7a2bdd8ebcbf --- /dev/null +++ b/net-libs/libhubbub/libhubbub-0.3.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="HTML5 compliant parsing library, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/hubbub/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~m68k-mint" +IUSE="doc test" + +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig + + test? ( dev-lang/perl ) +" +RDEPEND="dev-libs/libparserutils:=" +DEPEND="${RDEPEND} + test? ( dev-libs/json-c )" +RESTRICT="!test? ( test )" + +DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} ) +PATCHES=( "${FILESDIR}/libhubbub-0.3.6-json-c.patch" ) + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i test/tree2.c || die +} + +_emake() { + source /usr/share/netsurf-buildsystem/gentoo-helpers.sh + netsurf_define_makeconf + append-cflags -Wno-error + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${ED}" install +} diff --git a/net-libs/libhubbub/metadata.xml b/net-libs/libhubbub/metadata.xml index 7a38bb900964..64b17e08bff5 100644 --- a/net-libs/libhubbub/metadata.xml +++ b/net-libs/libhubbub/metadata.xml @@ -1,5 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>jaco@uls.co.za</email> + <name>Jaco Kroon</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> </pkgmetadata> |