Hans-Christoph Steiner wrote: > > On Jul 23, 2007, at 7:52 PM, Alexander Hansen wrote: > >> 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: > > Sorry for any gross mistakes, I am a Fink packaging newbie. > libquicktime seems to be a moving target, plus the original package > was pretty messy, and I didn't really improve on it much. It would be > interesting to know how Debian is handling it. 0.9.7 is in unstable > and 0.9.10 is in experimental, I guess because of the ABI issue: > Quite possible. > http://packages.debian.org/oldstable/libs/libquicktime1 (0.9.3) > http://packages.debian.org/unstable/libs/libquicktime0 (0.9.7) > http://packages.debian.org/experimental/libs/libquicktime0 (0.9.10) > >> 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 > > The .so files are the plugins for codec support. They are really part > of shlibs. If a program wants to use libquicktime as a library, and > wants to use codecs, it will need those files. For example with Pure > Data (what I work on), it does not use the libquicktime-bin stuff at > all, but definitely needs libquicktime-shlibs and those .so files. I > am sure that other applications built against libquicktime would > operate this way too. Easy enough to revert. > > Also, libquicktime 1.0 has been released, so before putting too much > effort into the 0.9.10 package, I think it would make the most sense > to upgrade libquicktime0 to the most recent ABI-compatible version > (0.9.7?), then make a libquicktime 1.0 package. > > .hc That could be done, however we still have to _fix_ any breakage caused by the soname change from this version. It's not going to take too much time to whip this into shape. > >> 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 > > > > ---------------------------------------------------------------------------- > > > The arc of history bends towards justice. - Dr. Martin Luther > King, Jr. > >
-- Alexander K. Hansen Fink User Liaison/Documenter akh AT finkproject DOT org ------------------------------------------------------------------------- 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