Hi,

On Jun 18, 2004, at 12:20 PM, David R. Morrison wrote:

One of my goals here is to have an automated way to verify that packages
are complying with the BuildDependsOnly policy. So I'm trying to find
ways of characterizing this which won't get into a lot of exceptions.


Right now (using CVS HEAD or CVS branch_0_20 of fink), the package fails
validation if it installs a file into /sw/include or into any subdirectory
of /sw/include.


Here's an idea for a weaker check: the package would only fail validation
if it installs such a header file *and* if it installs any .dylib .
(This focusses attention on the shared libraries.)


Anybody have examples of this kind of package which we don't want to flag
as BuildDependsOnly ?

I don't have much time right now, but as I maintain the root4 package which is hard to make compliant to the BuildDependsOnly policy I guess I have to raise a few points:


- root4 (and root3 btw) depend on a C++ interpreter (CINT) at run time. Therefore the headers are needed during runtime as well as a c++ compiler (strictly speaking it would need to depend (not BuildDepends) on cctools).
- I don't like the idea of hiding the headers somewhere. Root users expect all files from Root under a common directory (something like /cern/root/[lib|include|tutorial]). It is already confusing for some of them that these files are now split into the fink hierarchy (/sw/lib/root, /sw/include/root, /sw/share/root etc).


I would propose to leave the warning from the validation, but don't augment it to a failure. The reason for violating the BuildDependsOnly policy should be given in the package description.

Cheers,
                Remi


--------------------------------------------------------------------- Q: How many kinds of physicists are there? A: Three. Those who can count and those who can't.

*********************************************************************
Remigius K. Mommsen                 e-mail: [EMAIL PROTECTED]
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
*********************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to