On 6/10/12 4:45 AM, Peter Dyballa wrote:
> Hello!
>
> In an up-to-date version of imagemagick.info I have to use
>
> SplitOff: <<
> Package: %N2-shlibs
> Depends: <<
> lcms2-shlibs (>= 2.0-1), libtiff-shlibs (>= 3.6.1-3), libjpeg8-shlibs,
> fontconfig2-shlibs (>= 2.4.1-1), expat1-shlibs (>= 2.0.0-1), bzip2-shlibs (>=
> 1.0.2-2), freetype219-shlibs (>= 2.3.5-1), x11-shlibs, libtool2-shlibs,
> fltk-x11-shlibs (>= 1.1.7-1003)
> <<
> Files: lib/lib*.*.dylib
> Shlibs: <<
> %p/lib/libMagick++.5.dylib 6.0.0 %n (>= 6.7.7-6)
> %p/lib/libMagickWand.5.dylib 6.0.0 %n (>= 6.7.7-6)
> %p/lib/libMagickCore.5.dylib 6.0.0 %n (>= 6.7.7-6)
> <<
> DocFiles: LICENSE README.txt ChangeLog NEWS.txt
> <<
>
> Why can't I use %V as in (>= %V)? (Although I presume that the version number
> does not play a role...) And similarly here:
>
You mean in the Shlibs field? You presume incorrectly. It's in the
packaging manual.
The Shlibs declaration is to specify the _first_ version-revision of a
package where a library with a given install_name appears with a given
compability_version.
Thus, if upstream makes an updated version of the package but doesn't
change the install_name or compatibility_version of the libraries, then
your libraries should still be the same, and you keep the _same_ Shlibs
fields in the new version of the package.
> SplitOff3: <<
> Package: %N2-svg
> Depends: <<
> (%type_raw[-nox] = .) cairo-shlibs (>= 1.6-1),
> (%type_raw[-nox] = .) glib2-shlibs (>= 2.14.0-1),
> (%type_raw[-nox] = .) gtk+2-shlibs (>= 2.12.0-1),
> (%type_raw[-nox] = .) libcroco3-shlibs (>= 0.6.0-11),
> (%type_raw[-nox] = .) libgettext8-shlibs,
> (%type_raw[-nox] = .) libgsf1.114-shlibs,
> (%type_raw[-nox] = .) librsvg2-shlibs (>= 2.20.0-1),
> (%type_raw[-nox] = .) pango1-xft2-ft219-shlibs (>= 1.18.1-1),
> %N (= %v-%r)
> <<
> Files: lib/ImageMagick-6.7.7/modules-Q16/coders/svg.*
> DocFiles: LICENSE README.txt ChangeLog NEWS.txt
> <<
>
> One other thing is important: the SVG related module files in the "Files:"
> statement. They are not in a directory %n-%v or %n-%V (i.e. neither
> ImageMagick-6.7.7-6-1 nor ImageMagick-6.7.7-6) but in ImageMagick-6.7.7. How
> can I strip the "-<decimal>" from %v and save it in which free and unused
> variable?
>
> u=`echo "%v" | awk -F- '{print $1}'`
>
> Is u free? (It comes before v in the alphabet and is presumingly less
> [developed, complicated], shorter, than %v.)
>
> --
> Greetings
>
> Pete
>
> Hard Disk, n.:
> A device that allows users to delete vast quantities of data with
> simple mnemonic commands.
>
>
The only way to create your own percent expansions is to use Type. For
example:
Type: v (6.7.7)
This gives you the options:
%type_raw[v] = 6.7.7
%type_pkg[v] = 677
--
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users