Trevor Harmon wrote:

One way of solving this is to provide two packages, saxon and saxon811. Each package can reference the other in its Conflicts field. However, this means that packages depending on *any* version of Saxon must specify "Depends: saxon | saxon811". Otherwise (if they only specify "Depends: saxon"), installing a package requiring Saxon 8.1.1 would force those packages to be removed.

Another way of solving this is to have packages that require Saxon 8.1.1 to specify "Depends: saxon (= 8.1.1)". However, this brings about other problems. Namely, how can Fink's repository hold package descriptions for both Saxon 8.1.1 and Saxon 8.whatever if they both have the same name ("saxon")?

Why not make saxon81 and saxon82, and have them both Provide: saxon

Then, things that don't care what type of saxon they get depend on saxon (unversioned), and those that do, depend on saxon81 or saxon82...


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to