Gentoo Archives: gentoo-dev

From: Michael Weber <xmw@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] netsurf.eclass proposal
Date: Wed, 19 Jun 2013 12:09:44
Message-Id: 51C19F76.4060102@gentoo.org
1 Hello,
2
3 I'd like to add a new eclass for www-client/netsurf related ebuilds and
4 seek your review and approval. I'll add it in two days, if unchallenged.
5
6 === Motivation ===
7
8 The browser projects started out as a stray set of components [1], some
9 without releases.
10
11 In the meantime, all stuff is presented on one web-git [2] and
12 download page [3]. The browser components is available as bundled tar
13 [4] and solo [5].
14 [1] http://www.netsurf-browser.org/projects/
15 [2] http://git.netsurf-browser.org/
16 [3] http://download.netsurf-browser.org/libs/releases/
17 [4] http://download.netsurf-browser.org/netsurf/releases/source/
18 [5] http://download.netsurf-browser.org/netsurf/releases/source-full/
19
20 Handling this the "Gentoo way" I added all components as single
21 packages. All relying on the same - separate - buildsystem tarball.
22
23 The presented eclass is intended to master this buildsystem for
24 - binary components (www-client/netsurf, dev-libs/nsgenbind)
25 - shared and static library components
26 - multilib builds and rename non-DEFAULT_ABI $bins to $bin.${ABI}
27 - verbose building
28 - repecting FLAGS, warn about stray -O? and -g flags in components.
29 and reduce code duplication within the ebuilds.
30
31 === Eclass consumers (flattened DEPENDS tree) ===
32
33 dev-libs/libwapcaplet-0.2.0
34 dev-libs/libparserutils-0.1.2
35 dev-libs/libcss-0.2.0
36 net-libs/libhubbub-0.2.0
37 net-libs/libdom-0.0.1
38 dev-libs/libnsfb-0.1.0
39 dev-libs/nsgenbind-0.0.1
40 media-libs/libnsbmp-0.1.0
41 media-libs/libnsgif-0.1.0
42 media-libs/librosprite-0.1.0
43 media-libs/libsvgtiny-0.1.0
44 www-client/netsurf-3.0
45
46 === Implementation ===
47 see attachment
48
49 [future] add live git multiple repo fetch voodoo.
50
51 === Concerns ===
52
53 This eclass relies on multilib-minimal and the "inherit" tree
54 netsurf -> multilib-minimal -> multilib-build -> multibuild might be a
55 little fragile.
56
57 Only 12 consuming packages. No other rdeps, yet, so the whole set could
58 have been done in one ebuild.
59
60 *My first eclass* so there might be issues with bash array quoting.
61 Are the DEPEND and IUSE inside the eclass added to the ebuilds?
62 It looks ok, but I'd better ask.
63
64 Any good way to disable the CFLAGS sanity check on
65
66 (dev-libs/nsgenbind should be relocated to dev-utils)
67
68 ( www-client/netsurf[abi_x86_32] on amd64 misses working curl version. )
69
70 === TL;DR ===
71
72 see attachment for the real thing.
73
74 Constructive feedback is very welcome.
75
76 Thanks
77 --
78 Michael Weber
79 Gentoo Developer
80 web: https://xmw.de/
81 mailto: Michael Weber <xmw@g.o>

Attachments

File name MIME type
netsurf.eclass-with-ebuilds.txt text/plain

Replies

Subject Author
Re: [gentoo-dev] netsurf.eclass proposal "Michał Górny" <mgorny@g.o>