head 1.32; access; symbols pkgsrc-2026Q1:1.31.0.4 pkgsrc-2026Q1-base:1.31 pkgsrc-2025Q4:1.31.0.2 pkgsrc-2025Q4-base:1.31 pkgsrc-2025Q3:1.30.0.2 pkgsrc-2025Q3-base:1.30 pkgsrc-2025Q2:1.28.0.2 pkgsrc-2025Q2-base:1.28 pkgsrc-2025Q1:1.27.0.4 pkgsrc-2025Q1-base:1.27 pkgsrc-2024Q4:1.27.0.2 pkgsrc-2024Q4-base:1.27 pkgsrc-2024Q3:1.26.0.8 pkgsrc-2024Q3-base:1.26 pkgsrc-2024Q2:1.26.0.6 pkgsrc-2024Q2-base:1.26 pkgsrc-2024Q1:1.26.0.4 pkgsrc-2024Q1-base:1.26 pkgsrc-2023Q4:1.26.0.2 pkgsrc-2023Q4-base:1.26 pkgsrc-2023Q3:1.24.0.4 pkgsrc-2023Q3-base:1.24 pkgsrc-2023Q2:1.24.0.2 pkgsrc-2023Q2-base:1.24 pkgsrc-2023Q1:1.20.0.2 pkgsrc-2023Q1-base:1.20 pkgsrc-2022Q4:1.19.0.4 pkgsrc-2022Q4-base:1.19 pkgsrc-2022Q3:1.19.0.2 pkgsrc-2022Q3-base:1.19 pkgsrc-2022Q2:1.18.0.2 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.17.0.4 pkgsrc-2022Q1-base:1.17 pkgsrc-2021Q4:1.17.0.2 pkgsrc-2021Q4-base:1.17 pkgsrc-2021Q3:1.16.0.2 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.14.0.10 pkgsrc-2021Q2-base:1.14 pkgsrc-2021Q1:1.14.0.8 pkgsrc-2021Q1-base:1.14 pkgsrc-2020Q4:1.14.0.6 pkgsrc-2020Q4-base:1.14 pkgsrc-2020Q3:1.14.0.4 pkgsrc-2020Q3-base:1.14 pkgsrc-2020Q2:1.14.0.2 pkgsrc-2020Q2-base:1.14 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.8.0.4 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.7.0.10 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.8 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.6 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.4 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.2 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.6.0.6 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.4 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.2 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.5.0.4 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.3.0.4 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.2 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.2.0.14 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.12 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.10 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.8 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.6 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.4 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @# @; 1.32 date 2026.04.11.17.09.09; author wiz; state Exp; branches; next 1.31; commitid lZLSHKtUJ84X0zBG; 1.31 date 2025.09.21.15.11.38; author wiz; state Exp; branches; next 1.30; commitid nPOz5pyNJXIbRAbG; 1.30 date 2025.08.30.22.45.19; author wiz; state Exp; branches; next 1.29; commitid 2izPxU30rhec4O8G; 1.29 date 2025.08.10.10.38.54; author wiz; state Exp; branches; next 1.28; commitid xiob7RH0pFDiHa6G; 1.28 date 2025.04.24.14.14.18; author wiz; state Exp; branches; next 1.27; commitid A3VBjL8Zdd4LljSF; 1.27 date 2024.10.19.11.55.07; author wiz; state Exp; branches; next 1.26; commitid U7Ps5dGfGVGnBguF; 1.26 date 2023.11.15.20.00.38; author wiz; state Exp; branches; next 1.25; commitid SUsjExXUjRIxbKME; 1.25 date 2023.10.21.17.10.26; author gdt; state Exp; branches; next 1.24; commitid Sr0Nb6aaZLDw2wJE; 1.24 date 2023.06.06.08.02.10; author wiz; state Exp; branches; next 1.23; commitid XoDsX6VOzb8TpRrE; 1.23 date 2023.05.28.17.04.34; author wiz; state Exp; branches; next 1.22; commitid 4lMsv3raFn7THKqE; 1.22 date 2023.05.07.12.33.46; author wiz; state Exp; branches; next 1.21; commitid 0GXlv8T3qSZLS1oE; 1.21 date 2023.04.11.06.10.58; author adam; state Exp; branches; next 1.20; commitid 66tNzTCdfDZnBEkE; 1.20 date 2023.01.03.17.37.19; author wiz; state Exp; branches; next 1.19; commitid vvAqE6UmuqFFx78E; 1.19 date 2022.07.14.23.46.21; author dholland; state Exp; branches; next 1.18; commitid FGS7TmcEnqsq9VLD; 1.18 date 2022.05.31.11.49.09; author gdt; state Exp; branches; next 1.17; commitid ASl3jMGUaYGlAcGD; 1.17 date 2021.09.28.10.28.36; author nia; state Exp; branches; next 1.16; commitid 0ug0UA0xQvxM1IaD; 1.16 date 2021.08.15.14.24.00; author wiz; state Exp; branches; next 1.15; commitid QGMJIECqmX7bK45D; 1.15 date 2021.07.08.21.26.12; author markd; state Exp; branches; next 1.14; commitid vgy952IdOfOLie0D; 1.14 date 2020.05.25.12.24.37; author nia; state Exp; branches; next 1.13; commitid ueBRhErEYLs3sC9C; 1.13 date 2020.05.21.20.53.42; author ryoon; state Exp; branches; next 1.12; commitid IGb1V1euc2Xuo99C; 1.12 date 2020.05.16.02.13.02; author joerg; state Exp; branches; next 1.11; commitid d4p1YNfzNZygmp8C; 1.11 date 2020.05.14.16.42.13; author nia; state Exp; branches; next 1.10; commitid 3Tph3M06xg54ee8C; 1.10 date 2020.01.18.23.32.11; author rillig; state Exp; branches; next 1.9; commitid shGUwZfkr7sleeTB; 1.9 date 2020.01.11.14.40.44; author nia; state Exp; branches; next 1.8; commitid ob8z1coJpYLOxhSB; 1.8 date 2019.11.02.22.37.56; author rillig; state Exp; branches; next 1.7; commitid amORVXK58QMYqkJB; 1.7 date 2018.07.18.00.06.18; author joerg; state Exp; branches; next 1.6; commitid 9fkLzQuPlqFC7yKA; 1.6 date 2017.12.26.11.55.01; author he; state Exp; branches; next 1.5; commitid x6U8rLbfJXztBokA; 1.5 date 2017.08.11.15.26.20; author nros; state Exp; branches; next 1.4; commitid N8WeCpL3Fa7gbO2A; 1.4 date 2017.07.04.20.50.53; author nros; state Exp; branches; next 1.3; commitid ndavWxIteFrkcXXz; 1.3 date 2017.02.20.08.00.42; author snj; state Exp; branches; next 1.2; commitid wEqt3LcjvbM5fFGz; 1.2 date 2015.05.27.21.59.26; author markd; state Exp; branches; next 1.1; commitid LMz7KxUQL7cUh8ny; 1.1 date 2015.02.12.22.40.05; author snj; state Exp; branches; next ; commitid IkL2n9nhCPQnRL9y; desc @@ 1.32 log @*: recursive bump for libraw jasper option removal @ text @# $NetBSD: Makefile,v 1.31 2025/09/21 15:11:38 wiz Exp $ .include "Makefile.common" PKGNAME= freeimage-3.18.0 PKGREVISION= 20 MAINTAINER= pkgsrc-users@@NetBSD.org COMMENT= Library for supporting PNG, BMP, JPEG, and TIFF MAKE_FILE= Makefile.gnu .include "../../mk/bsd.pkg.mk" @ 1.31 log @*: recursive bump for openexr 3.4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2025/08/30 22:45:19 wiz Exp $ d6 1 a6 1 PKGREVISION= 19 @ 1.30 log @*: recursive bump for tiff growing lerc dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2025/08/10 10:38:54 wiz Exp $ d6 1 a6 1 PKGREVISION= 18 @ 1.29 log @*: recursive bump for imath 3.2.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2025/04/24 14:14:18 wiz Exp $ d6 1 a6 1 PKGREVISION= 17 @ 1.28 log @*: recursive bump for jpeg -> libjpeg-turbo switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2024/10/19 11:55:07 wiz Exp $ d6 1 a6 1 PKGREVISION= 16 @ 1.27 log @*: recursive bump for openexr shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2023/11/15 20:00:38 wiz Exp $ d6 1 a6 1 PKGREVISION= 15 @ 1.26 log @*: bump for openexr 3.2.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2023/10/21 17:10:26 gdt Exp $ d6 1 a6 1 PKGREVISION= 14 @ 1.25 log @recursive revbump for tiff update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2023/06/06 08:02:10 wiz Exp $ d6 1 a6 1 PKGREVISION= 13 @ 1.24 log @*: recursive bump for math/imath shlib version change @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2023/05/28 17:04:34 wiz Exp $ d6 1 a6 1 PKGREVISION= 12 @ 1.23 log @*: recursive bump for imath shared library major version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2023/05/07 12:33:46 wiz Exp $ d6 1 a6 1 PKGREVISION= 11 @ 1.22 log @*: recursive bumpf ro math/imath shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2023/04/11 06:10:58 adam Exp $ d6 1 a6 1 PKGREVISION= 10 @ 1.21 log @revbump for jasper 4.0.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2023/01/03 17:37:19 wiz Exp $ d6 1 a6 1 PKGREVISION= 9 @ 1.20 log @*: recursive bump for tiff shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2022/07/14 23:46:21 dholland Exp $ d6 1 a6 1 PKGREVISION= 8 @ 1.19 log @Bump everything affected by the jpeg.buildlink3.mk fix. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2022/05/31 11:49:09 gdt Exp $ d6 1 a6 1 PKGREVISION= 7 @ 1.18 log @graphics/freeimage: Remediate upstream use of internal TIFF function freeimage uses an internal libtiff function (by declaring it and calling it). tiff (4.4.0) changed internals, but this was never part of the public API/ABI. Add patch taken from upstream forum (which seems to be their bugtracker) to use a different function newly added to the public API in 4.4.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2021/09/28 10:28:36 nia Exp $ d6 1 a6 1 PKGREVISION= 6 @ 1.17 log @Recursive revbump for graphics/libraw. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2021/08/15 14:24:00 wiz Exp $ d6 1 a6 1 PKGREVISION= 5 @ 1.16 log @*: recursive bump for openexr 3.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2021/07/08 21:26:12 markd Exp $ d6 1 a6 1 PKGREVISION= 4 @ 1.15 log @freeimage: build with openexr3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2020/05/25 12:24:37 nia Exp $ d6 1 a6 1 PKGREVISION= 3 @ 1.14 log @freeimage*: Generalize packages. Unbreak freeimageplus. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/05/21 20:53:42 ryoon Exp $ d6 1 a6 1 PKGREVISION= 2 @ 1.13 log @*: Recursive revbump from graphics/ilmbase @ text @d1 3 a3 1 # $NetBSD: Makefile,v 1.12 2020/05/16 02:13:02 joerg Exp $ a4 1 DISTNAME= FreeImage3180 a6 3 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeimage/} EXTRACT_SUFX= .zip a8 1 HOMEPAGE= https://freeimage.sf.net/ a9 6 LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 OR mpl-1.0 USE_LANGUAGES+= c c++11 USE_TOOLS+= gmake pkg-config WRKSRC= ${WRKDIR}/FreeImage a12 31 INSTALLATION_DIRS+= include lib share/doc/${PKGBASE} pre-configure: # G3 and JPEGTransform can't be built, # due to using private headers in bundled libs cd ${WRKSRC} && ${RM} -r Source/Lib* \ Source/ZLib \ Source/OpenEXR \ Source/FreeImage/PluginG3.cpp \ Source/FreeImage/PluginJXR.cpp \ Source/FreeImageToolkit/JPEGTransform.cpp cd ${WRKSRC} && ${SH} gensrclist.sh cd ${WRKSRC} && ${SH} genfipsrclist.sh ${SED} \ -e 's| \./Source/FreeImage/PluginG3\.cpp||g' \ -e 's| \./Source/FreeImage/PluginJXR\.cpp||g' \ -e 's| \./Source/FreeImageToolkit/JPEGTransform\.cpp||g' \ ${WRKSRC}/Makefile.srcs > ${WRKSRC}/Makefile.srcs.new ${MV} ${WRKSRC}/Makefile.srcs.new ${WRKSRC}/Makefile.srcs PLIST_SUBST+= PKGVERSION_NOREV=${PKGVERSION_NOREV} NOT_FOR_PLATFORM= Darwin-*-* .include "../../graphics/libraw/buildlink3.mk" .include "../../graphics/libwebp/buildlink3.mk" .include "../../graphics/openexr/buildlink3.mk" .include "../../graphics/openjpeg/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" .include "../../mk/jpeg.buildlink3.mk" @ 1.12 log @Needs pkg-config @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/05/14 16:42:13 nia Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.11 log @freeimage: Force use of unbundled libraries. Most Linux distributions have been forcing this for a while, because the reference image libraries are often full of bugs and slow to do releases, so everyone (including us) is carrying lots of local patches for security fixes. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/01/18 23:32:11 rillig Exp $ d16 1 a16 1 USE_TOOLS+= gmake @ 1.10 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/01/11 14:40:44 nia Exp $ d5 2 a6 1 CATEGORIES= devel graphics d15 1 a15 1 USE_LANGUAGES+= c c++03 d20 2 d24 17 a40 17 post-install: ${INSTALL_DATA} ${WRKSRC}/Source/LibJXR/LICENCE \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibJXR ${INSTALL_DATA} ${WRKSRC}/Source/LibOpenJPEG/LICENSE \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenJPEG ${HEAD} -n 31 ${WRKSRC}/Source/LibRawLite/internal/libraw_x3f.cpp \ > ${WRKDIR}/LICENSE.x3f ${HEAD} -n 33 ${WRKSRC}/Source/LibRawLite/internal/dcb_demosaicing.c \ > ${WRKDIR}/LICENSE.dcb ${HEAD} -n 25 ${WRKSRC}/Source/LibTIFF4/tif_open.c \ > ${WRKDIR}/LICENSE.LibTIFF4 ${INSTALL_DATA} ${WRKDIR}/LICENSE.* \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/Source/LibWebP/COPYING \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibWebP ${INSTALL_DATA} ${WRKSRC}/Source/OpenEXR/Copyrights/openexr/LICENSE \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenEXR d46 7 @ 1.9 log @freeimage: Update to 3.18.0 Release 3.18.0 is a maintenance release that mainly brings updates of its third party libraries. The library has been updated with the new ZLib (1.2.11), LibJPEG (9c), LibPNG (1.6.35), LibTIFF (4.0.9), LibRaw (0.19.0), LibWebP (1.0.0), OpenEXR (2.2.1). Other significant improvements concern better support for JPEG saving (when using 32-bit CMYK images) and PSD saving. Lastly, the library contains many bug fixes provided by our users (will concern especially plugins PCX, TIFF, XPM, GIF, TARGA, PSD, BMP, DDS, PNG, HDR). As usual, check the changes log for full details (especially for bug fixes) and check also the updated FreeImage documentation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/11/02 22:37:56 rillig Exp $ d10 1 a10 1 HOMEPAGE= http://freeimage.sf.net/ @ 1.8 log @graphics: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/07/18 00:06:18 joerg Exp $ d3 2 a4 3 DISTNAME= FreeImage3170 PKGNAME= freeimage-3.17.0 PKGREVISION= 3 @ 1.7 log @Mark packages that require C++03 (or the GNU variants) if they fail with C++14 default language. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2017/12/26 11:55:01 he Exp $ d15 1 a15 1 USE_LANGUAGES+= c c++03 d20 1 a20 1 INSTALLATION_DIRS+= include lib share/doc/${PKGBASE} d42 1 a42 1 NOT_FOR_PLATFORM=Darwin-*-* @ 1.6 log @Add a couple of patches to adapt to newer C++ where R"some string" now has special meaning, and add a comment to an existing patch. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/08/11 15:26:20 nros Exp $ d15 1 a15 1 USE_LANGUAGES+= c c++ @ 1.5 log @Install licenses and copyright information in freeimage and freeimage-plus packages in order to comply with binary redistribution of the boundled libraries. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2017/07/04 20:50:53 nros Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.4 log @set correct licences for freeimage @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2017/02/20 08:00:42 snj Exp $ d5 1 a5 1 PKGREVISION= 1 d20 19 a38 1 INSTALLATION_DIRS+= include lib @ 1.3 log @Fix CVE-2015-0852 and CVE-2016-5684. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2015/05/27 21:59:26 markd Exp $ d13 1 @ 1.2 log @Update to 3.17.0 Release 3.17.0 adds many improvements for ICO, TIFF, PNG, HDR, TGA, GIF, RAW, JXR, JP2, Exif plugins. It comes with new conversion functions for RGBA16/RGBAF formats, as well as new functions used to deal with external pixel buffers (ConvertFromRawBitsEx, CreateView). Other useful added functions are ReslaleRect, GetMemorySize, SetMetadataKeyValue and the FIQ_LFPQUANT quantizer algorithm. The library has been updated with the new LibPNG (1.6.16), LibTIFF (4.0.4), LibRaw (0.17.a1), LibWebP (0.4.2), OpenEXR (2.2.0). FreeImage is also distributed with updated VB6, Delphi and C++ wrappers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/02/12 22:40:05 snj Exp $ d5 1 @ 1.1 log @Import freeimage-3.16.0 as graphics/freeimage. FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to use, fast, multithreading safe, compatible with all 32-bit or 64-bit versions of Windows, and cross-platform (works both with Linux and Mac OS X). Thanks to its ANSI C interface, FreeImage is usable in many languages including C, C++, VB, C#, Delphi, Java and also in common scripting languages such as Perl, Python, PHP, TCL or Ruby. @ text @d1 1 a1 1 # $NetBSD$ d3 2 a4 2 DISTNAME= FreeImage3160 PKGNAME= freeimage-3.16.0 @