Gentoo Archives: gentoo-dev

From: Denis Dupeyron <calchan@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Major changes to the Gnome2 Eclasses
Date: Fri, 14 Mar 2008 11:34:07
Message-Id: 7c612fc60803140434g61e9c425u86ba66951752b34@mail.gmail.com
In Reply to: Re: [gentoo-dev] [RFC] Major changes to the Gnome2 Eclasses by "Rémi Cardona"
1 On Fri, Mar 14, 2008 at 11:21 AM, Rémi Cardona <remi@g.o> wrote:
2 > > If you remove from that list vlc, pidgin and celestia which are false
3 > > positives, that leaves us:
4 >
5 > Why are they false positives? They include the gnome2 eclass and other
6 > stuff, I guess they'll be affected too.
7
8 Because, for example celestia is found by a grep on the inherited kde
9 eclass that's triggered by inheriting kde-functions. And the latter
10 doesn't export pkg_preinst.
11
12 > /me wonders why gnome-games didn't appear in your list, which was the
13 > one ebuild I found out broke with the new eclass.
14
15 The answer is easy: I screwed up. I warned you. ;o) This is due to a
16 combination of the quoting I used in order to remove some of the false
17 positives and apparently something else. Here's the raw output without
18 quoting:
19
20 trillian ~ # for ECLASS in $(for ECLASS_ECLASS in
21 /usr/portage/eclass/*.eclass; do echo "${ECLASS_ECLASS}:$(sed -e :a -e
22 '/\\$/N; s/\\\n//; ta' ${ECLASS_ECLASS} | grep EXPORT_FUNCTIONS)";
23 done | grep pkg_preinst | cut -d . -f 1 | cut -d / -f 5); do qgrep -H
24 inherit | grep gnome2 | grep ${ECLASS} ; done | sort | uniq
25 app-i18n/scim-pinyin/scim-pinyin-0.5.91.ebuild:inherit kde-functions gnome2
26 dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p12-r2.ebuild:inherit
27 gnome2 eutils flag-o-matic
28 dev-perl/gnome2-canvas/gnome2-canvas-1.002.ebuild:inherit perl-module
29 dev-perl/gnome2-gconf/gnome2-gconf-1.000.ebuild:inherit perl-module
30 dev-perl/gnome2-gconf/gnome2-gconf-1.031.ebuild:inherit perl-module
31 dev-perl/gnome2-gconf/gnome2-gconf-1.032.ebuild:inherit perl-module
32 dev-perl/gnome2-gconf/gnome2-gconf-1.040.ebuild:inherit perl-module
33 dev-perl/gnome2-gconf/gnome2-gconf-1.043.ebuild:inherit perl-module
34 dev-perl/gnome2-perl/gnome2-perl-1.023.ebuild:inherit perl-module
35 dev-perl/gnome2-perl/gnome2-perl-1.040.ebuild:inherit perl-module
36 dev-perl/gnome2-perl/gnome2-perl-1.041.ebuild:inherit perl-module
37 dev-perl/gnome2-print/gnome2-print-0.94.ebuild:inherit perl-module
38 dev-perl/gnome2-print/gnome2-print-1.000.ebuild:inherit perl-module
39 dev-perl/gnome2-vfs-perl/gnome2-vfs-perl-1.041.ebuild:inherit perl-module
40 dev-perl/gnome2-vfs-perl/gnome2-vfs-perl-1.060.ebuild:inherit perl-module
41 dev-perl/gnome2-vfs-perl/gnome2-vfs-perl-1.061.ebuild:inherit perl-module
42 dev-perl/gnome2-wnck/gnome2-wnck-0.11.ebuild:inherit perl-module eutils
43 dev-perl/gnome2-wnck/gnome2-wnck-0.12.ebuild:inherit perl-module eutils
44 dev-perl/gnome2-wnck/gnome2-wnck-0.13.ebuild:inherit perl-module eutils
45 dev-perl/gnome2-wnck/gnome2-wnck-0.14.ebuild:inherit perl-module eutils
46 dev-util/devhelp/devhelp-0.16.1.ebuild:inherit toolchain-funcs gnome2
47 dev-util/devhelp/devhelp-0.17.ebuild:inherit toolchain-funcs gnome2 python
48 dev-util/devhelp/devhelp-0.18.ebuild:inherit toolchain-funcs gnome2 python
49 dev-util/devhelp/devhelp-0.19.ebuild:inherit toolchain-funcs gnome2 python
50 games-arcade/blobwars/blobwars-1.07.ebuild:inherit eutils gnome2-utils games
51 games-arcade/blobwars/blobwars-1.08.ebuild:inherit eutils gnome2-utils games
52 games-arcade/monkey-bubble/monkey-bubble-0.4.0.ebuild:inherit
53 autotools eutils gnome2
54 games-board/gamazons/gamazons-0.83.ebuild:inherit gnome2
55 games-board/gnome-mastermind/gnome-mastermind-0.3.ebuild:inherit
56 eutils games gnome2
57 games-board/gnono/gnono-1.9.1.ebuild:inherit autotools eutils gnome2-utils games
58 games-board/pioneers/pioneers-0.11.3-r1.ebuild:inherit eutils gnome2
59 games-board/teg/teg-0.11.2.ebuild:inherit gnome2
60 games-kids/gmult/gmult-4.2.ebuild:inherit gnome2
61 games-kids/gmult/gmult-5.3.ebuild:inherit gnome2
62 games-mud/gnome-mud/gnome-mud-0.10.7.ebuild:inherit gnome2 games
63 games-puzzle/atomix/atomix-2.14.0.ebuild:inherit gnome2
64 games-puzzle/glightoff/glightoff-1.0.0.ebuild:inherit gnome2
65 games-puzzle/gtetrinet/gtetrinet-0.7.11.ebuild:inherit gnome2 games
66 games-puzzle/skoosh/skoosh-2.5.0.ebuild:inherit gnome2
67 games-strategy/gwp/gwp-0.4.0-r2.ebuild:inherit eutils gnome2
68 gnome-extra/drwright/drwright-0.17.ebuild:inherit gnome2 flag-o-matic
69 toolchain-funcs
70 gnome-extra/gnome-games-extra-data/gnome-games-extra-data-2.12.0.ebuild:inherit
71 gnome2
72 gnome-extra/gnome-games-extra-data/gnome-games-extra-data-2.14.0.ebuild:inherit
73 gnome2
74 gnome-extra/gnome-games-extra-data/gnome-games-extra-data-2.20.0.ebuild:inherit
75 gnome2
76 gnome-extra/gnome-games/gnome-games-2.18.2.1.ebuild:inherit games
77 eutils gnome2 autotools
78 gnome-extra/gnome-games/gnome-games-2.18.2.1.ebuild:# make sure games
79 is inherited first so that the gnome2
80 gnome-extra/gnome-games/gnome-games-2.20.3.ebuild:inherit games eutils
81 gnome2 python autotools virtualx
82 gnome-extra/gnome-games/gnome-games-2.20.3.ebuild:# make sure games is
83 inherited first so that the gnome2
84 media-gfx/comix/comix-3.6.3.ebuild:inherit toolchain-funcs gnome2
85 media-gfx/comix/comix-3.6.4.ebuild:inherit toolchain-funcs gnome2
86 media-video/jubler/jubler-3.4.0.ebuild:inherit gnome2 eutils
87 java-pkg-2 java-utils-2 java-ant-2 toolchain-funcs
88 media-video/jubler/jubler-3.4.1.ebuild:inherit gnome2 eutils
89 java-pkg-2 java-ant-2 toolchain-funcs
90 media-video/vlc/vlc-0.8.6e.ebuild:inherit eutils wxwidgets multilib
91 autotools toolchain-funcs gnome2 nsplugins
92 media-video/vlc/vlc-0.9.0_alpha20080117.ebuild:inherit eutils
93 wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins qt4
94 flag-o-matic
95 media-video/vlc/vlc-0.9.0_alpha20080228.ebuild:inherit eutils
96 wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins qt4
97 flag-o-matic
98 media-video/vlc/vlc-0.9.0_alpha20080309.ebuild:inherit eutils
99 wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins qt4
100 flag-o-matic
101 net-im/pidgin/pidgin-2.3.1.ebuild:inherit flag-o-matic eutils
102 toolchain-funcs multilib perl-app gnome2
103 net-im/pidgin/pidgin-2.4.0.ebuild:inherit flag-o-matic eutils
104 toolchain-funcs multilib perl-app gnome2
105 sci-astronomy/celestia/celestia-1.4.1-r2.ebuild:inherit eutils
106 flag-o-matic gnome2 kde-functions autotools
107 sci-astronomy/celestia/celestia-1.5.0.ebuild:inherit eutils
108 flag-o-matic gnome2 kde-functions autotools
109
110 So there you have more false positives. For example some are listed
111 because they have gnome2 in their name or category. There may be
112 others, but at least this narrows it down something that can be
113 handled manually.
114
115 Denis.