On Wednesday, Apr 2, 2003, at 20:50 US/Eastern, David R. Morrison wrote:
The problem with perl is similar, but not identical.

Many perl modules work just fine with all versions of perl, and those
don't necessarily need to be segregated from each other.

Once I get the bindist out the door, I plan to work on getting multiple
versions of perl coexisting with fink.  For perl modules that *do*
require separate compiles for each perl version, this is going to
introduce the same headache we are now discussing with python.

Perhaps we could revise an old solution to match new problems:


How about two new tags: 'CompilerABI:' and 'CompatibleABI:',

Packages (Compiled Perlmods, Python mods, C++ programs, etc) that need a specific ABI:
Package: foo-pm
RequireABI: perl (5.6.0, 5.8.0), python (21, 22)


Packages that provide an ABI (Perl 5.{6,8}.0, Python 2{1,2,3}, C++ 3.{1,2}):
Package: perl
Version: 5.8.0
ProvideABI: perl (5.8.0)


Then, the dpkg name has the following appended to it: -abi-ABI-VERS-abi-ABI-VERS...
alphabetically sorted by abi name, for example:


foo-pm would be foo-pm-abi-perl-5.8.0-abi-python-21 and depend on abi-perl version 5.8.0 and abi-python version 21

ProvideABI: would automatically provide abi-ABI-VERSION, and RequireABI would automatically generate a package
with the proper name that requires abi-ABI-VERSION for whatever ABI is available, but should be automatically removed
and/or rebuild if the user wants to remove the only package providing that ABI.


Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++:- a16 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L+++(++) E W++(+) N+++(++) o? K? w---(-) O? M++ V? PS+() PE+(-) Y+
PGP? t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h! !r-- !y?
------END GEEK CODE BLOCK------



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to