Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] New eclass: mate
Date: Wed, 13 Apr 2016 09:32:24
Message-Id: 20160413113204.5aba0c93@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] New eclass: mate by NP-Hardass
1 On Mon, 11 Apr 2016 22:04:10 -0400
2 NP-Hardass <NP-Hardass@g.o> wrote:
3
4 > # Inherit happens below after declaration of GNOME2_LA_PUNT
5 >
6 > # @ECLASS-VARIABLE: MATE_LA_PUNT
7 > # @DESCRIPTION:
8 > # Available values for MATE_LA_PUNT:
9 > # - "no": will not clean any .la files
10 > # - "yes": will run prune_libtool_files --modules
11 > # - If it is not set, it will run prune_libtool_files
12 > # MATE_LA_PUNT is a stub to GNOME2_LA_PUNT
13 > GNOME2_LA_PUNT=${MATE_LA_PUNT:-""}
14
15
16 any reason for the indirection instead of using directly
17 GNOME2_LA_PUNT ?
18
19 [...]
20 > # @FUNCTION: mate_src_configure
21 > # @DESCRIPTION:
22 > # MATE specific configure handling
23 > # Stub to gnome2_src_configure()
24 > mate_src_configure() {
25 > gnome2_src_configure
26 > }
27 >
28 > # @FUNCTION: mate_src_install
29 > # @DESCRIPTION:
30 > # MATE specific install. Stub to gnome2_src_install
31 > mate_src_install() {
32 > gnome2_src_install
33 > }
34 >
35 > # @FUNCTION: mate_pkg_preinst
36 > # @DESCRIPTION:
37 > # Finds Icons, GConf and GSettings schemas for later handling in
38 > pkg_postinst # Stub to gnome2_pkg_preinst
39 > mate_pkg_preinst() {
40 > gnome2_pkg_preinst
41 > }
42 >
43 > # @FUNCTION: mate_pkg_postinst
44 > # @DESCRIPTION:
45 > # Handle scrollkeeper, GConf, GSettings, Icons, desktop and mime
46 > # database updates.
47 > # Stub to gnome2_pkg_postinst
48 > mate_pkg_postinst() {
49 > gnome2_pkg_postinst
50 > }
51 >
52 > # @FUNCTION: mate_pkg_postrm
53 > # @DESCRIPTION:
54 > # Handle scrollkeeper, GSettings, Icons, desktop and mime database
55 > updates. # Stub to gnome2_pkg_postrm
56 > mate_pkg_postrm() {
57 > gnome2_pkg_postrm
58 > }
59
60 and here too, why not rely on gnome2.eclass exported functions (or say
61 gnome2.eclass api is part of mate.eclass api)?

Replies

Subject Author
Re: [gentoo-dev] [RFC] New eclass: mate NP-Hardass <NP-Hardass@g.o>