Subject: Re: how do we choose png so major and minor?
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/17/2004 10:58:49
On Fri, 17 Sep 2004, Patrick Welche wrote:

> > I am testing 1.2.7 on FreeBSD (using pkgsrc of course).
> >
> > How do we choose png library major and minor?
> >
> > Our pkgsrc uses:
> >
> > LIBPNG_SO_MAJOR=        3
> > LIBPNG_SO_MINOR=        1
> ...
> > The original source uses like:
> >
> > LIBNAME = libpng12
> > PNGMAJ = 0
> > PNGMIN = 1.2.7
> > PNGVER = $(PNGMAJ).$(PNGMIN)
>
> scripts/makefile.netbsd
>
> says
>
> LIB=    png
> SHLIB_MAJOR=    3
> SHLIB_MINOR=    1.2.7
>
> giving you libpng.so.3.1.2.7

So should pkgsrc use LIBPNG_SO_MINOR=1.2.7 ??

> but I don't think it really matters as libpng.so.3 -> libpng.so.3.1.2.7
> or whatever...

It would be nice to have different filenames if the library changes.

In my case, I updated png from 1.2.6rc2 to 1.2.7.

 Jeremy C. Reed

 	  	 	 technical support & remote administration
	  	 	 http://www.pugetsoundtechnology.com/