Well, pogma at least read this and fixed his package, did anyone else? Anyone else care? Is the shlibs field really that difficult to get? Everyone clear on this? I better not see people updating packages and doing it wrong. :)

Anyway, you will start caring when i fix "fink validate", and drm starts the rest of the shlibs project. :)

-Ben

On Saturday, February 22, 2003, at 02:17 PM, Ben Hines wrote:

It seems most fink packages are using the () field in the Shlibs field improperly. The () number is not supposed to be updated unless the compatibility version changes. For example, xaw3d's Shlibs field should probably not be (>= 1.5-5). In all likelihood, it should be (>= 1.5-1) even though the package is at rev 5.

Additionally, A number of packages (including one of mine :) have (>= %v-%r) as the version for the shlibs field. This is usually wrong, the number in () is supposed to be the first package version that provided that library compat version. If you make it %v-%r, then it will likely not be changed by you when you go to revision 2 of a package, when in reality it should be left at -1. (since you are probably still providing the same compat version as the last revision)

See http://fink.sourceforge.net/doc/packaging/policy.php#sharedlibs under shlibs field. It might take a few reads to understand. :)

I think we should make validate warn about (>= %v-%r) in the Shlibs field, any objections?

unstable/main/finkinfo 249 % f Shlibs | egrep '%v-%r'
gnome/control-center-2.0.3-2.info: Shlibs: %p/lib/libgnome-window-settings.1.dylib %n (>= %v-%r)
libs/libcdk-4.9.10-1.info:Shlibs: %p/lib/libcdk.4.dylib 4.0.0 %n (>= %v-%r)
libs/libproplist-0.10.1-4.info: Shlibs: %p/lib/libPropList.0.dylib %n (>= %v-%r)
libs/libusb-0.1.7-1.info: Shlibs: %p/lib/libusb-0.1.4.dylib 8.0.0 %n (>= %v-%r)
libs/pth-1.4.0-6.info: Shlibs: %p/lib/libpth.14.dylib 15.0.0 %n (>= %v-%r)
sci/gsl-1.2-1.info: Shlibs: %p/lib/libgsl.0.dylib 4.0.0 %n (>= %v-%r)
x11-wm/windowmaker-0.80.1-2.info: Shlibs: %p/lib/libwraster.2.dylib 5.0.0 %n (>= %v-%r)



-Ben




-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel




------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to