Bug 18145 - Some small fixes to a bunch of ebuilds
Bug#: 18145 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: bug-wranglers@gentoo.org Reported By: fd@redspot.dk
Component: Ebuilds
URL: 
Summary: Some small fixes to a bunch of ebuilds
Keywords:  
Status Whiteboard: 
Opened: 2003-03-25 07:03 0000
Description:   Opened: 2003-03-25 07:03 0000
I am making some scripts that extract all homepage URLs out of Portage tree 
with the purpose of having an application scan the web automatically for 
updates to packages. After I extracted the URLs I encountered a number of 
syntax errors in the ebuilds as expected. I _could_ probably script my way 
around many of these, but instead I think it would be better to make the 
ebuilds more parseable both for me as well as other people who might wish to do 
similar things in the future.
Thus I request the following minor fixes to be done:

kylixlibs3-borqt-3.0.ebuild
gnome-iconedit-1.2.0-r5.ebuild
quantlib-0.3.0.ebuild
utempter-0.5.2.ebuild
and all zsh ebuilds
  Missing http:// in HOMEPAGE

arm-headers-2.4.19.ebuild
arm-sources-2.4.19.ebuild
  These use SUBARCH_KERNEL_HOMEPAGE instead of just HOMEPAGE. I guess that is 
supposed to be that way?

xpenguins-2.2.ebuild
  Missing quotes around homepage URL

ri-0.7a.ebuild
ri-0.8a.ebuild
  These use the ${HOMEPAGE} variable inside the ebuild in a comment about the 
depends. Bad practice imo. -Please fix.

flex-2.5.23.ebuild
omniORB-305.ebuild
  Contains a commented out homepage URL. Please decide on one.

htmlfontify-0.17.ebuild
  Invalid homepage URL.

About 30 ebuilds have more than 1 homepage URL, and I wonder if something 
should be done about this? Examples are vimap, and the gtk-themes.

This is merely round 1. I will be back with a list of fixes for dead/outdated 
homepage URLs some time later this week.
Regards
Frantz Dhin, aka. theDevil

------- Comment #1 From Seemant Kulleen (RETIRED) 2003-03-25 16:08:01 0000 -------
Zach, I should think to specify additional things in HOMEPAGE, you would do
HOMEPAGE="${HOMEPAGE} http://your.new.one/" no?

The rest are fixed.

------- Comment #2 From Zach Welch (RETIRED) 2003-03-25 20:44:07 0000 -------
SUBARCH_KERNEL_HOMEPAGE="http://www.netwinder.org/"

then gets used later in the ebuild by

HOMEPAGE="${SUBARCH_KERNEL_HOMEPAGE} http://www.arm.linux.org.uk/ \
        http://www.kernel.org/ http://www.gentoo.org/"

So, I think this is a non-issue with arm-headers, though the SUBARCH* stuff
should be moving into the ARM profile at some point.  As such, there may be
many possible HOMEPAGES, depending on which ARM machine profile is selected.

Anything else in this bug that needs be addressed?

------- Comment #3 From Patrick Kursawe 2003-07-14 06:25:11 0000 -------
Since nobody cried "YES!" for a couple of months, maybe this is fixed.