Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/hubbub/, net-libs/hubbub/files/, profiles/
Date: Sun, 26 Jun 2016 15:17:42
Message-Id: 1466954028.e823285e46e506ace40067ec810e39164fe2be26.mgorny@gentoo
1 commit: e823285e46e506ace40067ec810e39164fe2be26
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 15:13:48 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 15:13:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e823285e
7
8 net-libs/hubbub: Remove last rited packages
9
10 net-libs/hubbub/Manifest | 1 -
11 net-libs/hubbub/files/hubbub-0.1.2-error.patch | 317 ---------------------
12 .../hubbub/files/hubbub-0.1.2-glibc-2.20.patch | 17 --
13 net-libs/hubbub/hubbub-0.1.2-r1.ebuild | 36 ---
14 net-libs/hubbub/hubbub-0.1.2.ebuild | 79 -----
15 net-libs/hubbub/metadata.xml | 8 -
16 profiles/package.mask | 5 -
17 7 files changed, 463 deletions(-)
18
19 diff --git a/net-libs/hubbub/Manifest b/net-libs/hubbub/Manifest
20 deleted file mode 100644
21 index 31e72eb..0000000
22 --- a/net-libs/hubbub/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST hubbub-0.1.2-src.tar.gz 812684 SHA256 95a1d5a71055b28a8e4ce4dc8516b8f0ed691c5ee03525bf73600495657f1b52 SHA512 c6fee003376a75fcca18ee630308320ae155df0149ceee48ad16bb69420c6a8a053bcfee17d6b315b137408284755028f37782d017873b16304ed041ea7934eb WHIRLPOOL 74c5038eabcf60b641a594300a551c139b4882439b08a70caaf4c22de868f7253dff4abab9eb3e517da86accc73882099ec8f854dcf37d1a7232731ba9d607bc
26
27 diff --git a/net-libs/hubbub/files/hubbub-0.1.2-error.patch b/net-libs/hubbub/files/hubbub-0.1.2-error.patch
28 deleted file mode 100644
29 index a8abcaf..0000000
30 --- a/net-libs/hubbub/files/hubbub-0.1.2-error.patch
31 +++ /dev/null
32 @@ -1,317 +0,0 @@
33 ---- hubbub-0.1.2/test/csdetect.c
34 -+++ hubbub-0.1.2/test/csdetect.c
35 -@@ -108,7 +108,7 @@
36 - static int testnum;
37 -
38 - assert(hubbub_charset_extract(data, len,
39 -- &mibenum, &source) == HUBBUB_OK);
40 -+ &mibenum, &source) == (parserutils_error)HUBBUB_OK);
41 -
42 - assert(mibenum != 0);
43 -
44 ---- hubbub-0.1.2/test/parser.c
45 -+++ hubbub-0.1.2/test/parser.c
46 -@@ -24,7 +24,7 @@
47 - hubbub_parser *parser;
48 - hubbub_parser_optparams params;
49 - FILE *fp;
50 -- size_t len, origlen;
51 -+ size_t len;
52 - uint8_t *buf = alloca(CHUNK_SIZE);
53 - const char *charset;
54 - hubbub_charset_source cssource;
55 -@@ -46,7 +46,7 @@
56 - }
57 -
58 - fseek(fp, 0, SEEK_END);
59 -- origlen = len = ftell(fp);
60 -+ len = ftell(fp);
61 - fseek(fp, 0, SEEK_SET);
62 -
63 - while (len > 0) {
64 ---- hubbub-0.1.2/test/tokeniser.c
65 -+++ hubbub-0.1.2/test/tokeniser.c
66 -@@ -26,7 +26,7 @@
67 - hubbub_tokeniser *tok;
68 - hubbub_tokeniser_optparams params;
69 - FILE *fp;
70 -- size_t len, origlen;
71 -+ size_t len;
72 - #define CHUNK_SIZE (4096)
73 - uint8_t buf[CHUNK_SIZE];
74 -
75 -@@ -44,7 +44,7 @@
76 - params.token_handler.handler = token_handler;
77 - params.token_handler.pw = NULL;
78 - assert(hubbub_tokeniser_setopt(tok, HUBBUB_TOKENISER_TOKEN_HANDLER,
79 -- &params) == HUBBUB_OK);
80 -+ &params) == (hubbub_error)HUBBUB_OK);
81 -
82 - fp = fopen(argv[1], "rb");
83 - if (fp == NULL) {
84 -@@ -53,7 +53,7 @@
85 - }
86 -
87 - fseek(fp, 0, SEEK_END);
88 -- origlen = len = ftell(fp);
89 -+ len = ftell(fp);
90 - fseek(fp, 0, SEEK_SET);
91 -
92 - while (len > 0) {
93 -@@ -63,7 +63,7 @@
94 - break;
95 -
96 - assert(parserutils_inputstream_append(stream,
97 -- buf, bytes_read) == HUBBUB_OK);
98 -+ buf, bytes_read) == (parserutils_error)HUBBUB_OK);
99 -
100 -
101 - len -= bytes_read;
102 -
103 ---- hubbub-0.1.2/test/tokeniser2.c
104 -+++ hubbub-0.1.2/test/tokeniser2.c
105 -@@ -83,11 +83,9 @@
106 - printf("Test: %s\n",
107 - json_object_get_string(val));
108 - } else if (strcmp(key, "input") == 0) {
109 -- int len;
110 - ctx.input = (const uint8_t *)
111 -- json_object_get_string_len(val,
112 -- &len);
113 -- ctx.input_len = len;
114 -+ json_object_get_string(val);
115 -+ ctx.input_len = json_object_get_string_len(val);
116 - } else if (strcmp(key, "output") == 0) {
117 - ctx.output = json_object_get_array(val);
118 - ctx.output_index = 0;
119 -@@ -151,7 +149,7 @@
120 - ctx->last_start_tag);
121 -
122 - assert(parserutils_inputstream_append(stream,
123 -- buf, len - 1) == HUBBUB_OK);
124 -+ buf, len - 1) == (parserutils_error)HUBBUB_OK);
125 -
126 - assert(hubbub_tokeniser_run(tok) == HUBBUB_OK);
127 - }
128 -@@ -173,7 +171,7 @@
129 - params.content_model.model =
130 - HUBBUB_CONTENT_MODEL_PCDATA;
131 - } else {
132 -- char *cm = json_object_get_string(
133 -+ const char *cm = json_object_get_string(
134 - (struct json_object *)
135 - array_list_get_idx(ctx->content_model, i));
136 -
137 -@@ -196,10 +194,10 @@
138 - &params) == HUBBUB_OK);
139 -
140 - assert(parserutils_inputstream_append(stream,
141 -- ctx->input, ctx->input_len) == HUBBUB_OK);
142 -+ ctx->input, ctx->input_len) == (parserutils_error)HUBBUB_OK);
143 -
144 - assert(parserutils_inputstream_append(stream, NULL, 0) ==
145 -- HUBBUB_OK);
146 -+ (parserutils_error)HUBBUB_OK);
147 -
148 - printf("Input: '%.*s' (%d)\n", (int) ctx->input_len,
149 - (const char *) ctx->input,
150 -@@ -271,11 +269,11 @@
151 - switch (token->type) {
152 - case HUBBUB_TOKEN_DOCTYPE:
153 - {
154 -- char *expname = json_object_get_string(
155 -+ const char *expname = json_object_get_string(
156 - array_list_get_idx(items, 1));
157 -- char *exppub = json_object_get_string(
158 -+ const char *exppub = json_object_get_string(
159 - array_list_get_idx(items, 2));
160 -- char *expsys = json_object_get_string(
161 -+ const char *expsys = json_object_get_string(
162 - array_list_get_idx(items, 3));
163 - bool expquirks = !json_object_get_boolean(
164 - array_list_get_idx(items, 4));
165 -@@ -332,7 +330,7 @@
166 - break;
167 - case HUBBUB_TOKEN_START_TAG:
168 - {
169 -- char *expname = json_object_get_string(
170 -+ const char *expname = json_object_get_string(
171 - array_list_get_idx(items, 1));
172 - struct lh_entry *expattrs = json_object_get_object(
173 - array_list_get_idx(items, 2))->head;
174 -@@ -366,7 +364,7 @@
175 -
176 - for (i = 0; i < token->data.tag.n_attributes; i++) {
177 - char *expname = (char *) expattrs->k;
178 -- char *expval = json_object_get_string(
179 -+ const char *expval = json_object_get_string(
180 - (struct json_object *) expattrs->v);
181 - const char *gotname = (const char *)
182 - token->data.tag.attributes[i].name.ptr;
183 -@@ -395,7 +393,7 @@
184 - break;
185 - case HUBBUB_TOKEN_END_TAG:
186 - {
187 -- char *expname = json_object_get_string(
188 -+ const char *expname = json_object_get_string(
189 - array_list_get_idx(items, 1));
190 - const char *tagname = (const char *)
191 - token->data.tag.name.ptr;
192 -@@ -412,7 +410,7 @@
193 - break;
194 - case HUBBUB_TOKEN_COMMENT:
195 - {
196 -- char *expstr = json_object_get_string(
197 -+ const char *expstr = json_object_get_string(
198 - array_list_get_idx(items, 1));
199 - const char *gotstr = (const char *)
200 - token->data.comment.ptr;
201 -@@ -427,9 +425,10 @@
202 - break;
203 - case HUBBUB_TOKEN_CHARACTER:
204 - {
205 -- int expstrlen;
206 -- char *expstr = json_object_get_string_len(
207 -- array_list_get_idx(items, 1), &expstrlen);
208 -+ int expstrlen = json_object_get_string_len(
209 -+ array_list_get_idx(items, 1));
210 -+ const char *expstr = json_object_get_string(
211 -+ array_list_get_idx(items, 1));
212 - const char *gotstr = (const char *)
213 - token->data.character.ptr;
214 - size_t len = min(token->data.character.len,
215 ---- hubbub-0.1.2/test/tokeniser3.c
216 -+++ hubbub-0.1.2/test/tokeniser3.c
217 -@@ -81,11 +81,9 @@
218 - printf("Test: %s\n",
219 - json_object_get_string(val));
220 - } else if (strcmp(key, "input") == 0) {
221 -- int len;
222 - ctx.input = (const uint8_t *)
223 -- json_object_get_string_len(val,
224 -- &len);
225 -- ctx.input_len = len;
226 -+ json_object_get_string(val);
227 -+ ctx.input_len = json_object_get_string_len(val);
228 - } else if (strcmp(key, "output") == 0) {
229 - ctx.output = json_object_get_array(val);
230 - ctx.output_index = 0;
231 -@@ -148,7 +146,7 @@
232 - ctx->last_start_tag);
233 -
234 - assert(parserutils_inputstream_append(stream,
235 -- buf, len - 1) == HUBBUB_OK);
236 -+ buf, len - 1) == (parserutils_error)HUBBUB_OK);
237 -
238 - assert(hubbub_tokeniser_run(tok) == HUBBUB_OK);
239 - }
240 -@@ -170,7 +168,7 @@
241 - params.content_model.model =
242 - HUBBUB_CONTENT_MODEL_PCDATA;
243 - } else {
244 -- char *cm = json_object_get_string(
245 -+ const char *cm = json_object_get_string(
246 - (struct json_object *)
247 - array_list_get_idx(ctx->content_model, i));
248 -
249 -@@ -197,13 +197,13 @@
250 - for (j = 0; j < ctx->input_len; j++) {
251 - assert(parserutils_inputstream_append(stream,
252 - ctx->input + j, 1) ==
253 -- HUBBUB_OK);
254 -+ (parserutils_error)HUBBUB_OK);
255 -
256 - assert(hubbub_tokeniser_run(tok) == HUBBUB_OK);
257 - }
258 -
259 - assert(parserutils_inputstream_append(stream, NULL, 0) ==
260 -- HUBBUB_OK);
261 -+ (parserutils_error)HUBBUB_OK);
262 -
263 - assert(hubbub_tokeniser_run(tok) == HUBBUB_OK);
264 -
265 -@@ -273,11 +271,11 @@
266 - switch (token->type) {
267 - case HUBBUB_TOKEN_DOCTYPE:
268 - {
269 -- char *expname = json_object_get_string(
270 -+ const char *expname = json_object_get_string(
271 - array_list_get_idx(items, 1));
272 -- char *exppub = json_object_get_string(
273 -+ const char *exppub = json_object_get_string(
274 - array_list_get_idx(items, 2));
275 -- char *expsys = json_object_get_string(
276 -+ const char *expsys = json_object_get_string(
277 - array_list_get_idx(items, 3));
278 - bool expquirks = !json_object_get_boolean(
279 - array_list_get_idx(items, 4));
280 -@@ -337,7 +335,7 @@
281 - break;
282 - case HUBBUB_TOKEN_START_TAG:
283 - {
284 -- char *expname = json_object_get_string(
285 -+ const char *expname = json_object_get_string(
286 - array_list_get_idx(items, 1));
287 - struct lh_entry *expattrs = json_object_get_object(
288 - array_list_get_idx(items, 2))->head;
289 -@@ -371,7 +369,7 @@
290 -
291 - for (i = 0; i < token->data.tag.n_attributes; i++) {
292 - char *expname = (char *) expattrs->k;
293 -- char *expval = json_object_get_string(
294 -+ const char *expval = json_object_get_string(
295 - (struct json_object *) expattrs->v);
296 - const char *gotname = (const char *)
297 - token->data.tag.attributes[i].name.ptr;
298 -@@ -400,7 +398,7 @@
299 - break;
300 - case HUBBUB_TOKEN_END_TAG:
301 - {
302 -- char *expname = json_object_get_string(
303 -+ const char *expname = json_object_get_string(
304 - array_list_get_idx(items, 1));
305 - const char *tagname = (const char *)
306 - token->data.tag.name.ptr;
307 -@@ -417,7 +415,7 @@
308 - break;
309 - case HUBBUB_TOKEN_COMMENT:
310 - {
311 -- char *expstr = json_object_get_string(
312 -+ const char *expstr = json_object_get_string(
313 - array_list_get_idx(items, 1));
314 - const char *gotstr = (const char *)
315 - token->data.comment.ptr;
316 -@@ -432,9 +430,10 @@
317 - break;
318 - case HUBBUB_TOKEN_CHARACTER:
319 - {
320 -- int expstrlen;
321 -- char *expstr = json_object_get_string_len(
322 -- array_list_get_idx(items, 1), &expstrlen);
323 -+ int expstrlen = json_object_get_string_len(
324 -+ array_list_get_idx(items, 1));
325 -+ const char *expstr = json_object_get_string(
326 -+ array_list_get_idx(items, 1));
327 - const char *gotstr = (const char *)
328 - token->data.character.ptr;
329 - size_t len = min(token->data.character.len,
330 ---- hubbub-0.1.2/test/tree.c
331 -+++ hubbub-0.1.2/test/tree.c
332 -@@ -88,7 +88,7 @@
333 - hubbub_parser *parser;
334 - hubbub_parser_optparams params;
335 - FILE *fp;
336 -- size_t len, origlen;
337 -+ size_t len;
338 - uint8_t *buf = alloca(CHUNK_SIZE);
339 - const char *charset;
340 - hubbub_charset_source cssource;
341 -@@ -123,7 +123,7 @@
342 - }
343 -
344 - fseek(fp, 0, SEEK_END);
345 -- origlen = len = ftell(fp);
346 -+ len = ftell(fp);
347 - fseek(fp, 0, SEEK_SET);
348 -
349 - while (len > 0) {
350
351 diff --git a/net-libs/hubbub/files/hubbub-0.1.2-glibc-2.20.patch b/net-libs/hubbub/files/hubbub-0.1.2-glibc-2.20.patch
352 deleted file mode 100644
353 index 55c38ff..0000000
354 --- a/net-libs/hubbub/files/hubbub-0.1.2-glibc-2.20.patch
355 +++ /dev/null
356 @@ -1,17 +0,0 @@
357 ---- work/hubbub-0.1.2/Makefile
358 -+++ work/hubbub-0.1.2/Makefile
359 -@@ -13,13 +13,7 @@
360 - WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
361 - -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
362 - -Wmissing-declarations -Wnested-externs -pedantic
363 --# BeOS/Haiku/AmigaOS have standard library errors that issue warnings.
364 --ifneq ($(TARGET),beos)
365 -- ifneq ($(TARGET),amiga)
366 -- WARNFLAGS := $(WARNFLAGS) -Werror
367 -- endif
368 --endif
369 --CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
370 -+CFLAGS := -D_DEFAULT -I$(CURDIR)/include/ \
371 - -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
372 - ifneq ($(GCCVER),2)
373 - CFLAGS := $(CFLAGS) -std=c99
374
375 diff --git a/net-libs/hubbub/hubbub-0.1.2-r1.ebuild b/net-libs/hubbub/hubbub-0.1.2-r1.ebuild
376 deleted file mode 100644
377 index 12d2d41..0000000
378 --- a/net-libs/hubbub/hubbub-0.1.2-r1.ebuild
379 +++ /dev/null
380 @@ -1,36 +0,0 @@
381 -# Copyright 1999-2014 Gentoo Foundation
382 -# Distributed under the terms of the GNU General Public License v2
383 -# $Id$
384 -
385 -EAPI=5
386 -
387 -inherit netsurf
388 -
389 -DESCRIPTION="HTML5 compliant parsing library, written in C"
390 -HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/"
391 -SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
392 -
393 -LICENSE="MIT"
394 -SLOT="0"
395 -KEYWORDS="~amd64 ~arm"
396 -IUSE="debug doc static-libs test"
397 -
398 -RDEPEND="<dev-libs/libparserutils-0.2
399 - !net-libs/libhubbub"
400 -DEPEND="${RDEPEND}
401 - virtual/pkgconfig
402 - virtual/libiconv
403 - doc? ( app-doc/doxygen )
404 - test? ( dev-lang/perl
405 - dev-libs/json-c )"
406 -
407 -RESTRICT=test
408 -
409 -PATCHES=( "${FILESDIR}"/${P}-glibc-2.20.patch )
410 -
411 -src_install() {
412 - netsurf_src_install
413 -
414 - dodoc README docs/{Architecture,Macros,Todo,Treebuilder,Updated}
415 - use doc && dohtml build/docs/html/*
416 -}
417
418 diff --git a/net-libs/hubbub/hubbub-0.1.2.ebuild b/net-libs/hubbub/hubbub-0.1.2.ebuild
419 deleted file mode 100644
420 index 7448df0..0000000
421 --- a/net-libs/hubbub/hubbub-0.1.2.ebuild
422 +++ /dev/null
423 @@ -1,79 +0,0 @@
424 -# Copyright 1999-2014 Gentoo Foundation
425 -# Distributed under the terms of the GNU General Public License v2
426 -# $Id$
427 -
428 -EAPI=5
429 -
430 -inherit eutils multilib toolchain-funcs
431 -
432 -DESCRIPTION="HTML5 compliant parsing library, written in C"
433 -HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/"
434 -SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
435 -
436 -LICENSE="MIT"
437 -SLOT="0"
438 -KEYWORDS="~amd64 ~arm"
439 -IUSE="debug doc static-libs test"
440 -
441 -RDEPEND="<dev-libs/libparserutils-0.2
442 - !net-libs/libhubbub"
443 -DEPEND="${RDEPEND}
444 - virtual/pkgconfig
445 - virtual/libiconv
446 - doc? ( app-doc/doxygen )
447 - test? ( dev-lang/perl
448 - dev-libs/json-c )"
449 -
450 -RESTRICT=test
451 -
452 -pkg_setup(){
453 - netsurf_src_prepare() {
454 - sed -e "/^CCOPT :=/s:=.*:=:" \
455 - -e "/^CCNOOPT :=/s:=.*:=:" \
456 - -e "/^CCDBG :=/s:=.*:=:" \
457 - -i build/makefiles/Makefile.{gcc,clang} || die
458 - sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
459 - -i Makefile || die
460 - sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
461 - -i ${NETSURF_PKGCONFIG:-${PN}}.pc.in || die
462 - }
463 - netsurf_src_configure() {
464 - echo "Q := " >> Makefile.config
465 - echo "CC := $(tc-getCC)" >> Makefile.config
466 - echo "AR := $(tc-getAR)" >> Makefile.config
467 - }
468 -
469 - netsurf_make() {
470 - emake COMPONENT_TYPE=lib-shared BUILD=$(usex debug debug release) "$@"
471 - use static-libs && \
472 - emake COMPONENT_TYPE=lib-static BUILD=$(usex debug debug release) "$@"
473 - }
474 -}
475 -
476 -src_prepare() {
477 - NETSURF_PKGCONFIG=lib${PN}
478 - netsurf_src_prepare
479 -
480 - epatch "${FILESDIR}"/${P}-error.patch
481 -}
482 -
483 -src_configure() {
484 - netsurf_src_configure
485 -}
486 -
487 -src_compile() {
488 - netsurf_make
489 -
490 - use doc && emake docs
491 -}
492 -
493 -src_test() {
494 - netsurf_make test
495 -}
496 -
497 -src_install() {
498 - netsurf_make DESTDIR="${D}" PREFIX=/usr install
499 -
500 - dodoc README docs/{Architecture,Macros,Todo,Treebuilder,Updated}
501 - use doc && dohtml build/docs/html/*
502 -}
503
504 diff --git a/net-libs/hubbub/metadata.xml b/net-libs/hubbub/metadata.xml
505 deleted file mode 100644
506 index a535b88..0000000
507 --- a/net-libs/hubbub/metadata.xml
508 +++ /dev/null
509 @@ -1,8 +0,0 @@
510 -<?xml version="1.0" encoding="UTF-8"?>
511 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
512 -<pkgmetadata>
513 -<maintainer type="person">
514 -<email>xmw@g.o</email>
515 -<name>Michael Weber</name>
516 -</maintainer>
517 -</pkgmetadata>
518
519 diff --git a/profiles/package.mask b/profiles/package.mask
520 index b1d268b..badd33b 100644
521 --- a/profiles/package.mask
522 +++ b/profiles/package.mask
523 @@ -282,11 +282,6 @@ www-client/luakit
524 # Force gnutls-3.4 testing so we can stabilize it.
525 >=net-libs/gnutls-3.5.0
526
527 -# Michael Weber <xmw@g.o> (08 May 2016)
528 -# Replaced by net-libs/libhubbub.
529 -# Masked for removal in 30 days. Bug #582382.
530 -net-libs/hubbub
531 -
532 # Maciej Mrozowski <reavertm@g.o> (3 May 2016)
533 # Mask until >=net-libs/qxmpp-0.8.3 is provided with qt5 support.
534 =net-im/kadu-3.0