From: Ben H. <bh...@al...> - 2003-02-22 22:18:01
|
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 |