Daniel Macks wrote:
> I had the older libquicktime0 libquicktime0-shlibs libquicktime0-bin
> packages installed from version 0.9.4-13. Now I tried to update
> libquicktime0 to its new 0.9.10 package (along with the newer
> dependency libquicktime0-shlibs):
>
> /sw/bin/dpkg-lockwait -i 
> /sw/fink/dists/unstable/main/binary-darwin-powerpc/graphics/libquicktime0_0.9.10-1_darwin-powerpc.deb
>  
> /sw/fink/dists/unstable/main/binary-darwin-powerpc/graphics/libquicktime0-shlibs_0.9.10-1_darwin-powerpc.deb
> (Reading database ... 195489 files and directories currently installed.)
> Preparing to replace libquicktime0 0.9.4-13 (using 
> .../libquicktime0_0.9.10-1_darwin-powerpc.deb) ...
> Unpacking replacement libquicktime0 ...
> Replacing files in old package libquicktime0-bin ...
> Preparing to replace libquicktime0-shlibs 0.9.4-13 (using 
> .../libquicktime0-shlibs_0.9.10-1_darwin-powerpc.deb) ...
> Unpacking replacement libquicktime0-shlibs ...
> /sw/bin/dpkg: error processing 
> /sw/fink/dists/unstable/main/binary-darwin-powerpc/graphics/libquicktime0-shlibs_0.9.10-1_darwin-powerpc.deb
>  (--install):
>  trying to overwrite `/sw/lib/libquicktime/lqt_audiocodec.so', which is also 
> in package libquicktime0-bin
>
> Looks like all the .so used to be in the -bin package, but now are in
> the -shlibs package, but the -shlibs package does not declare that it
> Replaces files in the -bin package. Further, all those .so have
> dependencies on various other fink libraries, but those are listed as
> Depends of the -bin package, not the -shlibs package (consistent with
> old package layout, where .so were in -bin).
>
> dan
>
>   
Since I committed this update, I went ahead and took a look.

Daniel also discovered that there was a silent ABI change in the 
package, and it therefore isn't compatible with the prior version.  We 
decided on the following:

1)  Rename this package (I picked libquicktime00)
2)  Bring the prior version of quicktime0 out of CVS for compatibility 
(as libquicktime0), with an Epoch of 1 to ensure that people install it 
and thereby avoid breakage.
3)  Make libquicktime0-bin obsolete and Depend on libquicktime-bin (see 
below)
4)  libquicktime00-shlibs installs its library in a private directory to 
avoid collisions
5)  libquicktime00 Conflicts/Replaces libquicktime0
In addition I refactored the contents of this package: 
5) The .so files don't seem to be required by the library, so I put them 
back in the -bin splitoff
6) Most of the Depends should indeed go with the -bin splitoff
7) Call the -bin splitoff libquicktime-bin, so that people who use the 
executables get upgrades in the future regardless of how upstream 
decides to break stuff.
Here are links to the .info files:

http://akhmac.blogdns.net/~hansen/finklogs/libquicktime0.info
http://akhmac.blogdns.net/~hansen/finklogs/libquicktime00.info

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to