1 |
While the KDE eclass doesn't set specific homepages per packages, a |
2 |
number of other eclasses do: |
3 |
|
4 |
eclass/horde.eclass:HOMEPAGE="http://www.horde.org/${HORDE_PN}" |
5 |
eclass/java-pkg-2.eclass: HOMEPAGE="http://commons.apache.org/${PN#commons-}/" |
6 |
eclass/kernel-2.eclass:HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ ${HOMEPAGE}" |
7 |
eclass/perl-module.eclass: HOMEPAGE="http://search.cpan.org/search?query=${MY_PN:-${PN}}&mode=dist" |
8 |
eclass/php-ext-pecl-r1.eclass:HOMEPAGE="http://pecl.php.net/${PECL_PKG}" |
9 |
eclass/php-pear-r1.eclass:[[ -z "${HOMEPAGE}" ]] && HOMEPAGE="http://pear.php.net/${PHP_PEAR_PKG_NAME}" |
10 |
eclass/ruby.eclass:HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=${PN}" |
11 |
eclass/xfce44.eclass: HOMEPAGE="http://thunar.xfce.org/pwiki/projects/${MY_PN}" |
12 |
|
13 |
Additionally, some of the above eclasses are used by other eclasses: ant-tasks, |
14 |
java-gnome, perl-app, perl-post, php-ext-pecl, php-ezc, php-pear, gems |
15 |
|
16 |
A quick scan of the tree shows 15% of the ebuilds do not set the HOMEPAGE |
17 |
variable in the ebuild itself. And a LOT more qualify, esp. in dev-ruby and |
18 |
dev-perl. Some quick scanning on groups of packages that I'm aware of puts the |
19 |
figure beyond 20% of the tree qualifying (converting any dev-perl/perl-core |
20 |
package that comes from CPAN). |
21 |
|
22 |
As another major pain, for ebuilds where the homepage changes every version in |
23 |
some predictable pattern, you have now increased the maintenance burden. Before |
24 |
we could just copy the ebuild if we had a suitable variable expression in the |
25 |
HOMEPAGE variable, but now we'd have to edit it into metadata.xml as well. |
26 |
|
27 |
For all the rest of the ebuilds where it does remain static, I don't see |
28 |
any actual advantage to removing it from the ebuilds. |
29 |
|
30 |
To be very clear however, I've got _zero_ objections to adding the extra |
31 |
new fields into the metadata.xml, provided they are version independent. |
32 |
|
33 |
-- |
34 |
Robin Hugh Johnson |
35 |
Gentoo Linux Developer & Infra Guy |
36 |
E-Mail : robbat2@g.o |
37 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |