From: Hanspeter N. <ni...@us...> - 2011-05-29 14:21:23
|
Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics In directory vz-cvs-3.sog:/tmp/cvs-serv15665 Modified Files: ffmpeg-0.4.20071217.info Log Message: avoid possible locks during the upgrade process to the new version Index: ffmpeg-0.4.20071217.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics/ffmpeg-0.4.20071217.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ffmpeg-0.4.20071217.info 1 Dec 2010 17:37:33 -0000 1.1 +++ ffmpeg-0.4.20071217.info 29 May 2011 14:21:20 -0000 1.2 @@ -1,6 +1,6 @@ Package: ffmpeg Version: 0.4.20071217 -Revision: 8 +Revision: 11 ### BuildDepends: a52dec-dev, amrnb-dev, faac-dev, freetype219, gsm, imlib2, lame-dev, libfaad1-dev, libogg, libtheora0, libvorbis0, libx264-dev, pkgconfig, sdl, xvidcore, fink (>= 0.28) Depends: a52dec, amrnb, faac, faad, lame, a52dec-shlibs, amrnb-shlibs, faac-shlibs, freetype219-shlibs, imlib2-shlibs, lame-shlibs, libavdevice52-shlibs, libavcodec51-shlibs, libavformat52-shlibs, libavutil49-shlibs, libfaad1-shlibs, libogg-shlibs, libswscale0-shlibs, libtheora0-shlibs, libvorbis0-shlibs, libx264-57-shlibs, sdl-shlibs, xvidcore-shlibs @@ -45,6 +45,15 @@ install -m 664 doc/ffserver.conf %i/etc mkdir %i/lib/vhook/vhook mv %i/lib/vhook/*.dylib %i/lib/vhook/vhook + ### make the unversioned libraries point to libfoo.N.dylib, not to the libfoo.N.Y.Z.dylib versions. + ### libfoo.N.dylib is the install_name and for upgrading, it is best to point the unversioned dylib to install_name. + ### NOTE: this only applies to the libraries that kept install_name the same between ffmpeg-0.4 and -0.6 + ### libavcodec and libavutil do NOT need this hack, since their install_name was increased. + rm -f %i/lib/{libavdevice,libavformat,libpostproc,libswscale}.dylib + ln -s libavdevice.52.dylib %i/lib/libavdevice.dylib + ln -s libavformat.52.dylib %i/lib/libavformat.dylib + ln -s libpostproc.51.dylib %i/lib/libpostproc.dylib + ln -s libswscale.0.dylib %i/lib/libswscale.dylib << ### Shlibs: << @@ -101,7 +110,7 @@ Package: libavformat-dev # remove also by precaution : # Provides: libavformat1-dev - Depends: libavformat52-shlibs (= %v-%r) + Depends: libavformat52-shlibs (>= %v-%r) Conflicts: libavformat-dev, libavformat1-dev, libavformat52-dev Replaces: libavformat-dev, libavformat1-dev, libavformat52-dev BuildDependsOnly: true @@ -155,7 +164,7 @@ << SplitOff8: << Package: libpostproc-dev - Depends: libpostproc51-shlibs (= %v-%r) + Depends: libpostproc51-shlibs (>= %v-%r) Conflicts: libpostproc-dev, libpostproc1, libpostproc51-dev Replaces: libpostproc-dev, libpostproc1, libpostproc51-dev BuildDependsOnly: true @@ -182,7 +191,7 @@ << SplitOff10: << Package: libswscale-dev - Depends: libswscale0-shlibs (= %v-%r) + Depends: libswscale0-shlibs (>= %v-%r) Conflicts: libswscale-dev, libswscale0-dev Replaces: libswscale-dev, libswscale0-dev BuildDependsOnly: true @@ -210,7 +219,7 @@ << SplitOff12: << Package: libavdevice-dev - Depends: libavdevice52-shlibs (= %v-%r) + Depends: libavdevice52-shlibs (>= %v-%r) Conflicts: %N (<< 0.4.20071217-6), %N-dev (<< 0.4.20071217-6), libavdevice-dev, libavdevice52-dev Replaces: %N (<< 0.4.20071217-6), %N-dev (<< 0.4.20071217-6), libavdevice-dev, libavdevice52-dev BuildDependsOnly: true |