On Thu, Jun 14, 2012 at 6:55 PM, Andres Rodriguez <andres...@ubuntu.com> wrote:

>> > How to resolve the SO-name for JavaScript?
>>
>> By full path. I. e. instead of:
>>
>> /usr/share/javascript/jquery/jquery.js
>>
>> let's have:
>>
>> /usr/share/javascript/jquery/1.7.2/jquery.js
>
> I agree with this as is the same as I was thinking.

Great

>> Then the package would be libjs-jquery56 instead of just libjs-jquery,
>> as we do for C/C++ libraries.
>
>
> This, however, would mean that we would have to introduce a new source
> package.
>
> i.e. jquery5.6 which ships libjs-jquery56.

It would be more like jquery-1.7.2 ships libjs-jquery56, i. e. there
is no relation at all between the soname version and the library
version. If jQuery 1.7.3, 1.7.4, 1.8, etc remain API- and behavior-
compatible with 1.7.2, then jquery-1.7.3, jquery-1.7.4, etc would
still provide libjs-jquery56. The idea is applications depend on
soversions, not on library versions. It's important to be prepared for
the case where a new version of a library is still compatible with the
old version.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to