Re: update to libvips 8.9.0

2020-04-10 Thread Denis Fondras
Hi,

Can we get this in for 6.7 ?

On Sun, Feb 09, 2020 at 10:31:14AM +0100, Stephane Guedon wrote:
> Le samedi 1 février 2020, 15:43:59 CET Stuart Henderson a écrit :
> > On 2020/02/01 10:06, Stephane Guedon wrote:
> > > Le mercredi 29 janvier 2020, 22:20:25 CET Stuart Henderson a écrit :
> > > > - either use the directory "vips", or name the package "libvips",
> > > > just pick one or the other. "PKGNAME= lib${DISTNAME}" will do if
> > > > you
> > > > want libvips.
> > > > 
> > > > (if it's better known as a library then prefer "libvips", if it's
> > > > better known for the tools then prefer just "vips").
> > > > 
> > > > - seems more like a port that should be in "graphics" rather than
> > > > multimedia?
> > > > 
> > > > - the comment "# Dependencies" doesn't add anything that
> > > > LIB_DEPENDS
> > > > doesn't already say, please zap
> > > > 
> > > > - plist was generated on stable or old current, it should be
> > > > udpated
> > > > on -current (some of the files will get "@static-lib" markers)
> > > > 
> > > > - there are a number of unlisted dependencies that are picked up
> > > > by configure if present at build time. these must either be
> > > > disabled,
> > > > or explicit dependencies added. at least one of these adds extra
> > > > PLIST files (gir) and I get about 50 lines of output from "make
> > > > port-lib-depends-check" for things which are either "NOT
> > > > REACHABLE"
> > > > (no LIB_DEPENDS to pull in the library) or just "Missing:" (where
> > > > there is a dependency path but no WANTLIB entry for them).
> > > > 
> > > > libvips-8.9.0(graphics/libvips):
> > > > Missing lib: Half-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > > REACHABLE) Missing: ICE.11 (/usr/local/lib/libvips.so.0.0) (system
> > > > lib) Missing lib: Iex-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > > REACHABLE) Missing lib: IexMath-2_4.0
> > > > (/usr/local/lib/libvips.so.0.0)
> > > > (NOT REACHABLE) Missing lib: IlmImf-2_4.0
> > > > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing lib:
> > > > IlmThread-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
> > > > Missing lib: Imath-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > > REACHABLE) Missing lib: MagickCore-6.Q16.7
> > > > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing: SM.9
> > > > (/usr/local/lib/libvips.so.0.0) (system lib)
> > > > Missing: X11.17 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > > Missing: Xext.13 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > > Missing: Xrender.6 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > > Missing: Xt.11 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > > Missing: bz2.10 from bzip2-1.0.8 (/usr/local/lib/libvips.so.0.0)
> > > > Missing lib: cairo-gobject.2 (/usr/local/lib/libvips.so.0.0) (NOT
> > > > REACHABLE) Missing lib: cairo.13 (/usr/local/lib/libvips.so.0.0)
> > > > (NOT
> > > > REACHABLE) Missing lib: djvulibre.26
> > > > (/usr/local/lib/libvips.so.0.0)
> > > > (NOT REACHABLE) <..snip..>
> > > > 
> > > > and an excerpt from the configure check showing the sort of things
> > > > you're looking for in there, all various things where there's a
> > > > check
> > > > which doesn't find the relevant dependency, decide whether you
> > > > want
> > > > to list the dependency or add the relevant CONFIGURE_ARGS line to
> > > > disable it.
> > > > 
> > > > checking for IceConnectionNumber in -lICE... (cached) yes
> > > > checking for NIFTI... libraries (none), headers (none)
> > > > checking for HEIF... no
> > > > configure: WARNING: libheif not found; disabling HEIF support
> > > > checking for PDFIUM... libraries (none), headers (none)
> > > > checking for POPPLER... yes
> > > > checking for RSVG... yes
> > > > checking for ZLIB... yes
> > > > checking for OPENSLIDE... no
> > > > configure: OpenSlide >= 3.4.0 not found; checking for >= 3.3.0
> > > > checking for OPENSLIDE... no
> > > > configure: WARNING: OpenSlide >= 3.3.0 not found; disabling
> > > > virtual
> > > > slide support checking for MATIO... no
> > > > configure: WARNING: matio not found; disabling matio support
> > > > checking for CFITSIO... no
> > > > configure: WARNING: cfitsio not found; disabling cfitsio support
> > > > checking for LIBWEBP... yes
> > > > checking for PANGOFT2... yes
> > > > checking for TIFF... yes
> > > > checking whether COMPRESSION_WEBP is declared... no
> > > > checking for giflib... libraries -L/usr/local/lib -lgif, headers
> > > > -I/usr/local/include checking for PNG... yes
> > > > checking for png_set_chunk_malloc_max... yes
> > > > checking for IMAGEQUANT... no
> > > > configure: WARNING: libimagequant not found; disabling 8bpp PNG
> > > > support checking for JPEG... yes
> > > > checking for jpeg_c_bool_param_supported... no
> > > > checking for EXIF... yes
> > > > checking exif-data.h usability... yes
> > > > checking exif-data.h presence... yes
> > > > checking for exif-data.h... yes
> > > > 
> > > > Tip: if you're doing various rebuilds while working on disabling
> > > > things 

Re: update to libvips 8.9.0

2020-04-02 Thread Denis Fondras
On Sun, Feb 09, 2020 at 10:31:14AM +0100, Stephane Guedon wrote:
> Updated after sthen's advices.
> 

This looks fine to me. It works OK here.
Can we get this in ?



Re: update to libvips 8.9.0

2020-02-09 Thread Stephane Guedon
Le samedi 1 février 2020, 15:43:59 CET Stuart Henderson a écrit :
> On 2020/02/01 10:06, Stephane Guedon wrote:
> > Le mercredi 29 janvier 2020, 22:20:25 CET Stuart Henderson a écrit :
> > > - either use the directory "vips", or name the package "libvips",
> > > just pick one or the other. "PKGNAME= lib${DISTNAME}" will do if
> > > you
> > > want libvips.
> > > 
> > > (if it's better known as a library then prefer "libvips", if it's
> > > better known for the tools then prefer just "vips").
> > > 
> > > - seems more like a port that should be in "graphics" rather than
> > > multimedia?
> > > 
> > > - the comment "# Dependencies" doesn't add anything that
> > > LIB_DEPENDS
> > > doesn't already say, please zap
> > > 
> > > - plist was generated on stable or old current, it should be
> > > udpated
> > > on -current (some of the files will get "@static-lib" markers)
> > > 
> > > - there are a number of unlisted dependencies that are picked up
> > > by configure if present at build time. these must either be
> > > disabled,
> > > or explicit dependencies added. at least one of these adds extra
> > > PLIST files (gir) and I get about 50 lines of output from "make
> > > port-lib-depends-check" for things which are either "NOT
> > > REACHABLE"
> > > (no LIB_DEPENDS to pull in the library) or just "Missing:" (where
> > > there is a dependency path but no WANTLIB entry for them).
> > > 
> > > libvips-8.9.0(graphics/libvips):
> > > Missing lib: Half-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing: ICE.11 (/usr/local/lib/libvips.so.0.0) (system
> > > lib) Missing lib: Iex-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing lib: IexMath-2_4.0
> > > (/usr/local/lib/libvips.so.0.0)
> > > (NOT REACHABLE) Missing lib: IlmImf-2_4.0
> > > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing lib:
> > > IlmThread-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
> > > Missing lib: Imath-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing lib: MagickCore-6.Q16.7
> > > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing: SM.9
> > > (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: X11.17 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: Xext.13 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: Xrender.6 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: Xt.11 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: bz2.10 from bzip2-1.0.8 (/usr/local/lib/libvips.so.0.0)
> > > Missing lib: cairo-gobject.2 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing lib: cairo.13 (/usr/local/lib/libvips.so.0.0)
> > > (NOT
> > > REACHABLE) Missing lib: djvulibre.26
> > > (/usr/local/lib/libvips.so.0.0)
> > > (NOT REACHABLE) <..snip..>
> > > 
> > > and an excerpt from the configure check showing the sort of things
> > > you're looking for in there, all various things where there's a
> > > check
> > > which doesn't find the relevant dependency, decide whether you
> > > want
> > > to list the dependency or add the relevant CONFIGURE_ARGS line to
> > > disable it.
> > > 
> > > checking for IceConnectionNumber in -lICE... (cached) yes
> > > checking for NIFTI... libraries (none), headers (none)
> > > checking for HEIF... no
> > > configure: WARNING: libheif not found; disabling HEIF support
> > > checking for PDFIUM... libraries (none), headers (none)
> > > checking for POPPLER... yes
> > > checking for RSVG... yes
> > > checking for ZLIB... yes
> > > checking for OPENSLIDE... no
> > > configure: OpenSlide >= 3.4.0 not found; checking for >= 3.3.0
> > > checking for OPENSLIDE... no
> > > configure: WARNING: OpenSlide >= 3.3.0 not found; disabling
> > > virtual
> > > slide support checking for MATIO... no
> > > configure: WARNING: matio not found; disabling matio support
> > > checking for CFITSIO... no
> > > configure: WARNING: cfitsio not found; disabling cfitsio support
> > > checking for LIBWEBP... yes
> > > checking for PANGOFT2... yes
> > > checking for TIFF... yes
> > > checking whether COMPRESSION_WEBP is declared... no
> > > checking for giflib... libraries -L/usr/local/lib -lgif, headers
> > > -I/usr/local/include checking for PNG... yes
> > > checking for png_set_chunk_malloc_max... yes
> > > checking for IMAGEQUANT... no
> > > configure: WARNING: libimagequant not found; disabling 8bpp PNG
> > > support checking for JPEG... yes
> > > checking for jpeg_c_bool_param_supported... no
> > > checking for EXIF... yes
> > > checking exif-data.h usability... yes
> > > checking exif-data.h presence... yes
> > > checking for exif-data.h... yes
> > > 
> > > Tip: if you're doing various rebuilds while working on disabling
> > > things etc, building with USE_CCACHE=Yes (set in mk.conf or on the
> > > make command-line) will save you a bunch of time.
> > 
> > Hello. Here is a new try after that I tried to apply your advices.
> > Let me know what you think.
> > 
> > I disabled some optional dependencies and placed the port in
> > 

Re: update to libvips 8.9.0

2020-02-09 Thread Stephane Guedon
Le samedi 1 février 2020, 15:43:59 CET Stuart Henderson a écrit :
> On 2020/02/01 10:06, Stephane Guedon wrote:
> > Le mercredi 29 janvier 2020, 22:20:25 CET Stuart Henderson a écrit :
> > > - either use the directory "vips", or name the package "libvips",
> > > just pick one or the other. "PKGNAME= lib${DISTNAME}" will do if
> > > you
> > > want libvips.
> > > 
> > > (if it's better known as a library then prefer "libvips", if it's
> > > better known for the tools then prefer just "vips").
> > > 
> > > - seems more like a port that should be in "graphics" rather than
> > > multimedia?
> > > 
> > > - the comment "# Dependencies" doesn't add anything that
> > > LIB_DEPENDS
> > > doesn't already say, please zap
> > > 
> > > - plist was generated on stable or old current, it should be
> > > udpated
> > > on -current (some of the files will get "@static-lib" markers)
> > > 
> > > - there are a number of unlisted dependencies that are picked up
> > > by configure if present at build time. these must either be
> > > disabled,
> > > or explicit dependencies added. at least one of these adds extra
> > > PLIST files (gir) and I get about 50 lines of output from "make
> > > port-lib-depends-check" for things which are either "NOT
> > > REACHABLE"
> > > (no LIB_DEPENDS to pull in the library) or just "Missing:" (where
> > > there is a dependency path but no WANTLIB entry for them).
> > > 
> > > libvips-8.9.0(graphics/libvips):
> > > Missing lib: Half-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing: ICE.11 (/usr/local/lib/libvips.so.0.0) (system
> > > lib) Missing lib: Iex-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing lib: IexMath-2_4.0
> > > (/usr/local/lib/libvips.so.0.0)
> > > (NOT REACHABLE) Missing lib: IlmImf-2_4.0
> > > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing lib:
> > > IlmThread-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
> > > Missing lib: Imath-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing lib: MagickCore-6.Q16.7
> > > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing: SM.9
> > > (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: X11.17 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: Xext.13 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: Xrender.6 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: Xt.11 (/usr/local/lib/libvips.so.0.0) (system lib)
> > > Missing: bz2.10 from bzip2-1.0.8 (/usr/local/lib/libvips.so.0.0)
> > > Missing lib: cairo-gobject.2 (/usr/local/lib/libvips.so.0.0) (NOT
> > > REACHABLE) Missing lib: cairo.13 (/usr/local/lib/libvips.so.0.0)
> > > (NOT
> > > REACHABLE) Missing lib: djvulibre.26
> > > (/usr/local/lib/libvips.so.0.0)
> > > (NOT REACHABLE) <..snip..>
> > > 
> > > and an excerpt from the configure check showing the sort of things
> > > you're looking for in there, all various things where there's a
> > > check
> > > which doesn't find the relevant dependency, decide whether you
> > > want
> > > to list the dependency or add the relevant CONFIGURE_ARGS line to
> > > disable it.
> > > 
> > > checking for IceConnectionNumber in -lICE... (cached) yes
> > > checking for NIFTI... libraries (none), headers (none)
> > > checking for HEIF... no
> > > configure: WARNING: libheif not found; disabling HEIF support
> > > checking for PDFIUM... libraries (none), headers (none)
> > > checking for POPPLER... yes
> > > checking for RSVG... yes
> > > checking for ZLIB... yes
> > > checking for OPENSLIDE... no
> > > configure: OpenSlide >= 3.4.0 not found; checking for >= 3.3.0
> > > checking for OPENSLIDE... no
> > > configure: WARNING: OpenSlide >= 3.3.0 not found; disabling
> > > virtual
> > > slide support checking for MATIO... no
> > > configure: WARNING: matio not found; disabling matio support
> > > checking for CFITSIO... no
> > > configure: WARNING: cfitsio not found; disabling cfitsio support
> > > checking for LIBWEBP... yes
> > > checking for PANGOFT2... yes
> > > checking for TIFF... yes
> > > checking whether COMPRESSION_WEBP is declared... no
> > > checking for giflib... libraries -L/usr/local/lib -lgif, headers
> > > -I/usr/local/include checking for PNG... yes
> > > checking for png_set_chunk_malloc_max... yes
> > > checking for IMAGEQUANT... no
> > > configure: WARNING: libimagequant not found; disabling 8bpp PNG
> > > support checking for JPEG... yes
> > > checking for jpeg_c_bool_param_supported... no
> > > checking for EXIF... yes
> > > checking exif-data.h usability... yes
> > > checking exif-data.h presence... yes
> > > checking for exif-data.h... yes
> > > 
> > > Tip: if you're doing various rebuilds while working on disabling
> > > things etc, building with USE_CCACHE=Yes (set in mk.conf or on the
> > > make command-line) will save you a bunch of time.
> > 
> > Hello. Here is a new try after that I tried to apply your advices.
> > Let me know what you think.
> > 
> > I disabled some optional dependencies and placed the port in
> > 

Re: update to libvips 8.9.0

2020-02-01 Thread Stuart Henderson
On 2020/02/01 10:06, Stephane Guedon wrote:
> Le mercredi 29 janvier 2020, 22:20:25 CET Stuart Henderson a écrit :
> > - either use the directory "vips", or name the package "libvips",
> > just pick one or the other. "PKGNAME= lib${DISTNAME}" will do if you
> > want libvips.
> > 
> > (if it's better known as a library then prefer "libvips", if it's
> > better known for the tools then prefer just "vips").
> > 
> > - seems more like a port that should be in "graphics" rather than
> > multimedia?
> > 
> > - the comment "# Dependencies" doesn't add anything that LIB_DEPENDS
> > doesn't already say, please zap
> > 
> > - plist was generated on stable or old current, it should be udpated
> > on -current (some of the files will get "@static-lib" markers)
> > 
> > - there are a number of unlisted dependencies that are picked up
> > by configure if present at build time. these must either be disabled,
> > or explicit dependencies added. at least one of these adds extra
> > PLIST files (gir) and I get about 50 lines of output from "make
> > port-lib-depends-check" for things which are either "NOT REACHABLE"
> > (no LIB_DEPENDS to pull in the library) or just "Missing:" (where
> > there is a dependency path but no WANTLIB entry for them).
> > 
> > libvips-8.9.0(graphics/libvips):
> > Missing lib: Half-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > REACHABLE) Missing: ICE.11 (/usr/local/lib/libvips.so.0.0) (system
> > lib) Missing lib: Iex-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > REACHABLE) Missing lib: IexMath-2_4.0 (/usr/local/lib/libvips.so.0.0)
> > (NOT REACHABLE) Missing lib: IlmImf-2_4.0
> > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing lib:
> > IlmThread-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
> > Missing lib: Imath-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> > REACHABLE) Missing lib: MagickCore-6.Q16.7
> > (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing: SM.9
> > (/usr/local/lib/libvips.so.0.0) (system lib)
> > Missing: X11.17 (/usr/local/lib/libvips.so.0.0) (system lib)
> > Missing: Xext.13 (/usr/local/lib/libvips.so.0.0) (system lib)
> > Missing: Xrender.6 (/usr/local/lib/libvips.so.0.0) (system lib)
> > Missing: Xt.11 (/usr/local/lib/libvips.so.0.0) (system lib)
> > Missing: bz2.10 from bzip2-1.0.8 (/usr/local/lib/libvips.so.0.0)
> > Missing lib: cairo-gobject.2 (/usr/local/lib/libvips.so.0.0) (NOT
> > REACHABLE) Missing lib: cairo.13 (/usr/local/lib/libvips.so.0.0) (NOT
> > REACHABLE) Missing lib: djvulibre.26 (/usr/local/lib/libvips.so.0.0)
> > (NOT REACHABLE) <..snip..>
> > 
> > and an excerpt from the configure check showing the sort of things
> > you're looking for in there, all various things where there's a check
> > which doesn't find the relevant dependency, decide whether you want
> > to list the dependency or add the relevant CONFIGURE_ARGS line to
> > disable it.
> > 
> > checking for IceConnectionNumber in -lICE... (cached) yes
> > checking for NIFTI... libraries (none), headers (none)
> > checking for HEIF... no
> > configure: WARNING: libheif not found; disabling HEIF support
> > checking for PDFIUM... libraries (none), headers (none)
> > checking for POPPLER... yes
> > checking for RSVG... yes
> > checking for ZLIB... yes
> > checking for OPENSLIDE... no
> > configure: OpenSlide >= 3.4.0 not found; checking for >= 3.3.0
> > checking for OPENSLIDE... no
> > configure: WARNING: OpenSlide >= 3.3.0 not found; disabling virtual
> > slide support checking for MATIO... no
> > configure: WARNING: matio not found; disabling matio support
> > checking for CFITSIO... no
> > configure: WARNING: cfitsio not found; disabling cfitsio support
> > checking for LIBWEBP... yes
> > checking for PANGOFT2... yes
> > checking for TIFF... yes
> > checking whether COMPRESSION_WEBP is declared... no
> > checking for giflib... libraries -L/usr/local/lib -lgif, headers
> > -I/usr/local/include checking for PNG... yes
> > checking for png_set_chunk_malloc_max... yes
> > checking for IMAGEQUANT... no
> > configure: WARNING: libimagequant not found; disabling 8bpp PNG
> > support checking for JPEG... yes
> > checking for jpeg_c_bool_param_supported... no
> > checking for EXIF... yes
> > checking exif-data.h usability... yes
> > checking exif-data.h presence... yes
> > checking for exif-data.h... yes
> > 
> > Tip: if you're doing various rebuilds while working on disabling
> > things etc, building with USE_CCACHE=Yes (set in mk.conf or on the
> > make command-line) will save you a bunch of time.
> 
> Hello. Here is a new try after that I tried to apply your advices. Let 
> me know what you think.
> 
> I disabled some optional dependencies and placed the port in graphics 
> notably.

I have attached a version that disables all things from autoconf that
use an external library that didn't have a dependency listed.
(I'm not making any comment on _which_ ones should be enabled/disabled,
I haven't considered that at all, just keeping things in sync).

Also cleaned a few things and removed 

Re: update to libvips 8.9.0

2020-02-01 Thread Stephane Guedon
Le mercredi 29 janvier 2020, 22:20:25 CET Stuart Henderson a écrit :
> - either use the directory "vips", or name the package "libvips",
> just pick one or the other. "PKGNAME= lib${DISTNAME}" will do if you
> want libvips.
> 
> (if it's better known as a library then prefer "libvips", if it's
> better known for the tools then prefer just "vips").
> 
> - seems more like a port that should be in "graphics" rather than
> multimedia?
> 
> - the comment "# Dependencies" doesn't add anything that LIB_DEPENDS
> doesn't already say, please zap
> 
> - plist was generated on stable or old current, it should be udpated
> on -current (some of the files will get "@static-lib" markers)
> 
> - there are a number of unlisted dependencies that are picked up
> by configure if present at build time. these must either be disabled,
> or explicit dependencies added. at least one of these adds extra
> PLIST files (gir) and I get about 50 lines of output from "make
> port-lib-depends-check" for things which are either "NOT REACHABLE"
> (no LIB_DEPENDS to pull in the library) or just "Missing:" (where
> there is a dependency path but no WANTLIB entry for them).
> 
> libvips-8.9.0(graphics/libvips):
> Missing lib: Half-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> REACHABLE) Missing: ICE.11 (/usr/local/lib/libvips.so.0.0) (system
> lib) Missing lib: Iex-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> REACHABLE) Missing lib: IexMath-2_4.0 (/usr/local/lib/libvips.so.0.0)
> (NOT REACHABLE) Missing lib: IlmImf-2_4.0
> (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing lib:
> IlmThread-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
> Missing lib: Imath-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT
> REACHABLE) Missing lib: MagickCore-6.Q16.7
> (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE) Missing: SM.9
> (/usr/local/lib/libvips.so.0.0) (system lib)
> Missing: X11.17 (/usr/local/lib/libvips.so.0.0) (system lib)
> Missing: Xext.13 (/usr/local/lib/libvips.so.0.0) (system lib)
> Missing: Xrender.6 (/usr/local/lib/libvips.so.0.0) (system lib)
> Missing: Xt.11 (/usr/local/lib/libvips.so.0.0) (system lib)
> Missing: bz2.10 from bzip2-1.0.8 (/usr/local/lib/libvips.so.0.0)
> Missing lib: cairo-gobject.2 (/usr/local/lib/libvips.so.0.0) (NOT
> REACHABLE) Missing lib: cairo.13 (/usr/local/lib/libvips.so.0.0) (NOT
> REACHABLE) Missing lib: djvulibre.26 (/usr/local/lib/libvips.so.0.0)
> (NOT REACHABLE) <..snip..>
> 
> and an excerpt from the configure check showing the sort of things
> you're looking for in there, all various things where there's a check
> which doesn't find the relevant dependency, decide whether you want
> to list the dependency or add the relevant CONFIGURE_ARGS line to
> disable it.
> 
> checking for IceConnectionNumber in -lICE... (cached) yes
> checking for NIFTI... libraries (none), headers (none)
> checking for HEIF... no
> configure: WARNING: libheif not found; disabling HEIF support
> checking for PDFIUM... libraries (none), headers (none)
> checking for POPPLER... yes
> checking for RSVG... yes
> checking for ZLIB... yes
> checking for OPENSLIDE... no
> configure: OpenSlide >= 3.4.0 not found; checking for >= 3.3.0
> checking for OPENSLIDE... no
> configure: WARNING: OpenSlide >= 3.3.0 not found; disabling virtual
> slide support checking for MATIO... no
> configure: WARNING: matio not found; disabling matio support
> checking for CFITSIO... no
> configure: WARNING: cfitsio not found; disabling cfitsio support
> checking for LIBWEBP... yes
> checking for PANGOFT2... yes
> checking for TIFF... yes
> checking whether COMPRESSION_WEBP is declared... no
> checking for giflib... libraries -L/usr/local/lib -lgif, headers
> -I/usr/local/include checking for PNG... yes
> checking for png_set_chunk_malloc_max... yes
> checking for IMAGEQUANT... no
> configure: WARNING: libimagequant not found; disabling 8bpp PNG
> support checking for JPEG... yes
> checking for jpeg_c_bool_param_supported... no
> checking for EXIF... yes
> checking exif-data.h usability... yes
> checking exif-data.h presence... yes
> checking for exif-data.h... yes
> 
> Tip: if you're doing various rebuilds while working on disabling
> things etc, building with USE_CCACHE=Yes (set in mk.conf or on the
> make command-line) will save you a bunch of time.

Hello. Here is a new try after that I tried to apply your advices. Let 
me know what you think.

I disabled some optional dependencies and placed the port in graphics 
notably.


libvips.8.9.1.tar.gz
Description: application/compressed-tar


Re: update to libvips 8.9.0

2020-01-29 Thread Stuart Henderson
- either use the directory "vips", or name the package "libvips",
just pick one or the other. "PKGNAME= lib${DISTNAME}" will do if you want
libvips.

(if it's better known as a library then prefer "libvips", if it's better
known for the tools then prefer just "vips").

- seems more like a port that should be in "graphics" rather than multimedia?

- the comment "# Dependencies" doesn't add anything that LIB_DEPENDS doesn't
already say, please zap

- plist was generated on stable or old current, it should be udpated on -current
(some of the files will get "@static-lib" markers)

- there are a number of unlisted dependencies that are picked up
by configure if present at build time. these must either be disabled,
or explicit dependencies added. at least one of these adds extra
PLIST files (gir) and I get about 50 lines of output from "make
port-lib-depends-check" for things which are either "NOT REACHABLE"
(no LIB_DEPENDS to pull in the library) or just "Missing:" (where
there is a dependency path but no WANTLIB entry for them).

libvips-8.9.0(graphics/libvips):
Missing lib: Half-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing: ICE.11 (/usr/local/lib/libvips.so.0.0) (system lib)
Missing lib: Iex-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing lib: IexMath-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing lib: IlmImf-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing lib: IlmThread-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing lib: Imath-2_4.0 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing lib: MagickCore-6.Q16.7 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing: SM.9 (/usr/local/lib/libvips.so.0.0) (system lib)
Missing: X11.17 (/usr/local/lib/libvips.so.0.0) (system lib)
Missing: Xext.13 (/usr/local/lib/libvips.so.0.0) (system lib)
Missing: Xrender.6 (/usr/local/lib/libvips.so.0.0) (system lib)
Missing: Xt.11 (/usr/local/lib/libvips.so.0.0) (system lib)
Missing: bz2.10 from bzip2-1.0.8 (/usr/local/lib/libvips.so.0.0)
Missing lib: cairo-gobject.2 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing lib: cairo.13 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
Missing lib: djvulibre.26 (/usr/local/lib/libvips.so.0.0) (NOT REACHABLE)
<..snip..>

and an excerpt from the configure check showing the sort of things you're
looking for in there, all various things where there's a check which
doesn't find the relevant dependency, decide whether you want to list
the dependency or add the relevant CONFIGURE_ARGS line to disable it.

checking for IceConnectionNumber in -lICE... (cached) yes
checking for NIFTI... libraries (none), headers (none)
checking for HEIF... no
configure: WARNING: libheif not found; disabling HEIF support
checking for PDFIUM... libraries (none), headers (none)
checking for POPPLER... yes
checking for RSVG... yes
checking for ZLIB... yes
checking for OPENSLIDE... no
configure: OpenSlide >= 3.4.0 not found; checking for >= 3.3.0
checking for OPENSLIDE... no
configure: WARNING: OpenSlide >= 3.3.0 not found; disabling virtual slide 
support
checking for MATIO... no
configure: WARNING: matio not found; disabling matio support
checking for CFITSIO... no
configure: WARNING: cfitsio not found; disabling cfitsio support
checking for LIBWEBP... yes
checking for PANGOFT2... yes
checking for TIFF... yes
checking whether COMPRESSION_WEBP is declared... no
checking for giflib... libraries -L/usr/local/lib -lgif, headers 
-I/usr/local/include
checking for PNG... yes
checking for png_set_chunk_malloc_max... yes
checking for IMAGEQUANT... no
configure: WARNING: libimagequant not found; disabling 8bpp PNG support
checking for JPEG... yes
checking for jpeg_c_bool_param_supported... no
checking for EXIF... yes
checking exif-data.h usability... yes
checking exif-data.h presence... yes
checking for exif-data.h... yes

Tip: if you're doing various rebuilds while working on disabling things
etc, building with USE_CCACHE=Yes (set in mk.conf or on the make command-line)
will save you a bunch of time.



Re: update to libvips 8.9.0

2020-01-27 Thread Denis Fondras
On Sun, Jan 26, 2020 at 07:23:20PM +0100, Stephane Guedon wrote:
> Crossing fingers that I did not forget anything more... :D
> 
> Thank you all for guidance.

It is good for me.

OK denis@

Anyone else or may I commit it ?



Re: update to libvips 8.9.0

2020-01-26 Thread Stephane Guedon
Le samedi 25 janvier 2020, 17:12:19 CET Denis Fondras a écrit :

> Almost here.  Remove remaining PLIST.orig and then you are good :)

Crossing fingers that I did not forget anything more... :D

Thank you all for guidance.

libvips.8.9.0.tar.gz
Description: application/compressed-tar


Re: update to libvips 8.9.0

2020-01-25 Thread Denis Fondras
On Wed, Jan 22, 2020 at 09:11:24AM +0100, Stephane Guedon wrote:
> > No worries :)
> > 
> > It seems you did not update PLIST.
> > Also it would be better to indent "\" in Makefile.
> > 
> > Thank you
> 
> I thought I did the plist thing already. Sorry :)

Almost here.  Remove remaining PLIST.orig and then you are good :)



Re: update to libvips 8.9.0

2020-01-22 Thread Stephane Guedon
Le mardi 21 janvier 2020 11:45:39 CET, vous avez écrit :
> On Mon, Jan 20, 2020 at 10:43:49PM +0100, Stephane Guedon wrote:
> > > In Makefile :
> > > - SHARED_LIBS should start at 0.0
> > > - LIB_DEPENDS should be one dep per line
> > > 
> > > Also pkg/DESCR is shorter, any reason why ?
> > 
> > Mistake happened. Apologies.
> 
> No worries :)
> 
> It seems you did not update PLIST.
> Also it would be better to indent "\" in Makefile.
> 
> Thank you

I thought I did the plist thing already. Sorry :)


libvips.8.9.0.tar.gz
Description: application/compressed-tar


Re: update to libvips 8.9.0

2020-01-21 Thread Denis Fondras
On Mon, Jan 20, 2020 at 10:43:49PM +0100, Stephane Guedon wrote:
> > In Makefile :
> > - SHARED_LIBS should start at 0.0
> > - LIB_DEPENDS should be one dep per line
> > 
> > Also pkg/DESCR is shorter, any reason why ?
> 
> Mistake happened. Apologies.
> 

No worries :)

It seems you did not update PLIST.
Also it would be better to indent "\" in Makefile.

Thank you



Re: update to libvips 8.9.0

2020-01-20 Thread Stephane Guedon
Le lundi 20 janvier 2020 09:13:52 CET, vous avez écrit :
> On Sun, Jan 19, 2020 at 11:00:03PM +0100, Stephane Guedon wrote:
> > > It seem you haven't updated the latest Makefile.
> > 
> > Yes I did : newest version number, checked with it.
> > 
> > All I see to miss is maybe my name as maintainer.
> > Do I miss more ?
> 
> In Makefile :
> - SHARED_LIBS should start at 0.0
> - LIB_DEPENDS should be one dep per line
> 
> Also pkg/DESCR is shorter, any reason why ?

Mistake happened. Apologies.



libvips.8.9.0.tar.gz
Description: application/compressed-tar


Re: update to libvips 8.9.0

2020-01-20 Thread Denis Fondras
On Sun, Jan 19, 2020 at 11:00:03PM +0100, Stephane Guedon wrote:
> > It seem you haven't updated the latest Makefile.
> 
> Yes I did : newest version number, checked with it.
> 
> All I see to miss is maybe my name as maintainer.
> Do I miss more ?
>  

In Makefile :
- SHARED_LIBS should start at 0.0
- LIB_DEPENDS should be one dep per line

Also pkg/DESCR is shorter, any reason why ?



Re: update to libvips 8.9.0

2020-01-19 Thread Stephane Guedon
Le dimanche 19 janvier 2020, 20:27:53 CET Denis Fondras a écrit :
> On Sun, Jan 19, 2020 at 05:50:28PM +0100, Stephane Guedon wrote:
> > Hello members of ports@.
> > 
> > Here is my update of libvips port with Denis @ledeuns' patch
> > integrated upstream.
> 
> Credits go to tb@ :)

So he shall have. :)

> 
> It seem you haven't updated the latest Makefile.

Yes I did : newest version number, checked with it.

All I see to miss is maybe my name as maintainer.
Do I miss more ?
 
> 
> Denis






Re: update to libvips 8.9.0

2020-01-19 Thread Denis Fondras
On Sun, Jan 19, 2020 at 05:50:28PM +0100, Stephane Guedon wrote:
> Hello members of ports@.
> 
> Here is my update of libvips port with Denis @ledeuns' patch integrated 
> upstream.
> 

Credits go to tb@ :)

> What do you think ?
> 

It seem you haven't updated the latest Makefile.

Denis



update to libvips 8.9.0

2020-01-19 Thread Stephane Guedon
Hello members of ports@.

Here is my update of libvips port with Denis @ledeuns' patch integrated 
upstream.

What do you think ?

Thanks 

libvips.8.9.0.tar.gz
Description: application/compressed-tar