pkgsrc/devel/exempi/Makefile

37 lines
970 B
Makefile
Raw Normal View History

2021-04-21 15:24:06 +02:00
# $NetBSD: Makefile,v 1.42 2021/04/21 13:24:32 adam Exp $
DISTNAME= exempi-2.5.2
2021-04-21 15:24:06 +02:00
PKGREVISION= 2
CATEGORIES= devel graphics
exempi: Update to 2.5.0 2.5.0 - 2019/01/06 - Upgrade XMPCore to Adobe XMP SDK CC 2016.07 - Support for iOS in XMPFiles - New DOM based API’s are added in XMP Core to access metadata tree hierarchy. (not exposed yet in Exempi) - Added support XMP/metadata in utf-8 encoded uncompressed SVG files in XMPFiles. - Added support of GIF handler in XMPFiles. - Added support for reconciliation of iXML’s TRACK_LIST and its components to get microphone data. - Added support for IFDs of type 13 in TIFF. - Added support for MPEG4 videos shot from Google Nexus 5 camera. - Restructured the implementation of XDCAM Handler to support File Access Mode (FAM) and Simple Access Mode (SAM) - Added built-in support for iXML namespace in XMPCore. - Modified the alias tiff:ImageDescription for dc:description as language alternative array instead of simple property. - Lot of bug fixes in XMPFiles and XMPCore. - Removed Exempi provided support for GIF in favour of Adobe's. - New: API NS_XML constant - Bug #5: Restrict the exported symbols. Only the symbols marked with API_EXPORT are exported by the shared library as to not allow another library to import the XMP SDK symbols. https://gitlab.freedesktop.org/libopenraw/exempi/issues/5 - Bug #105580: Access memory aligned on ARM. https://bugs.freedesktop.org/show_bug.cgi?id=105580 Internal: - Added tests for Adobe SDK. - Fixed warnings and other issues and Adobe SDK. - Compile with much more warnings enabled. 2.4.5 - 2018/03/07 - Bug #105204: [CVE-2018-7730] fix a buffer overflow in the PSD parser. - Bug #105205: [CVE-2018-7728] fix a buffer overflow in the TIFF parser. - Bug #105206: [CVE-2018-7729] fix a buffer overflow in PostScript parser. - Bug #105247: [CVE-2018-7731] fix a null dereference in WEBP parser. 2.4.4 - 2018/02/04 - Bug #102197: Properly initialize pointers in WEBP. - Bug #102151: Fix an infinite loop in RIFF parser. - Bug #102483: Fix an infinite loop in QuickTime parser. - Bug #102484: Fix an infinite loop in ASF parser. - Bug #104885: Adjust minimum version for gcc in documentation. 2.4.3 - 2017/08/03 - Bug #100397: Fix a buffer overrun, memcpy() on overlapping regions, use after free in the exception handling. - Bug #101913: Fix a fatal assert with corrupt WEBP. - Bug #101914: Fix a crash on a corrupt file. 2.4.2 - 2017/01/29 - Properly define BanAllEntityUsage. See https://bugzilla.redhat.com/show_bug.cgi?id=888765 2.4.1 - 2017/01/23 - Bug #99494: Restore error reporting. Internal: - Added test for xmp_parse() - Renamed test3 to testiterator and more comprehensive test for iterator to detect thing like bug 99480 Release notes: - In 2.4.0 the XMP iterator corrected behaviour when used for XMP_ITER_JUSTLEAFNAME: The returned values are now set to they actual schema NS instead of the top level one. This required fixed in third party packages: https://github.com/python-xmp-toolkit/python-xmp-toolkit/issues/67 This changes is the result of a bug fix in Adobe SDK. See bug #99480 2.4.0 - 2017/01/07 - Bug #89449: Upgrade XMPCore to Adobe XMP CC 2014.12. - New flag to optimize layout on MPEG4 files. - GoPro MPEG4 video files support. - Improved JPEG support. - iXML support in WAVE files. - Several bugs and memory leaks fixes. - Changes from Adobe XMP CC 2013.06. - Pluggable file handlers (not exposed yet in Exempi) - Support for Exif 2.3 properties - New RIFF file handler - Better Postscript support. - Lot of bug fixes. - New API: added XMP_OPEN_OPTIMIZEFILELAYOUT for new SDK. - Now require (partial) C++11 support to compile (gcc 4.4.7 tested) - New: WebP format handler (contributed: Frankie Dintino, The Atlantic) Internal: - Exempi is now automatically build and the test run by Travis CI.
2019-06-05 08:57:04 +02:00
MASTER_SITES= https://libopenraw.pages.freedesktop.org/download/
Update to 2.2.2: 2.2.2 - 2014/08/31 - Public header cleanup and documentation update. - Update Doxygen config. - Bug #73058: Add missing include for MacOS. - Bug #72810: Fix typo in date test in MP3 handler. - Bug #83313: Fix crash on invalid Exif (from Samsung) - Fix valgrind testing for xmpcore.sh - Fix delete / delete[] mismatch in ID3_Support.hpp 2.2.1 - 2013/06/29 - Bug #54011: Use POSIX API for files on MacOS. (Misty De Meo) - Bug #58175: Replace OS X FlatCarbon headers. (Misty De Meo) - Added a manpage for exempi(1). - Added the -n option to the command line for arbitrary namespaces. 2.2.0 - 2012/02/21 - New 'exempi' command line tool. - Upgrade XMPCore to Adobe XMP 5.1.2 - Quicktime support now works without Quicktime. - Reconciliation with ID3v2. - "Blessed" 64-bits support (we already had it in exempi). - Slight change in the way XMP are written for MWG compliance. - Fixed a serious bug with RIFF. - Change in the way local text encoding is dealt with. - Alternative languages behave slightly differently by changing how the default language property is managed. - Probably a bunch of bugs fixed that I don't know about. - Update unit tests. - Refactor the fixtures. - Use automake silent rules instead of shave. (build only) - "make dist" generate a bzip2 archive as well. (build only) - Remove some obsolete warning flags. (build only) - Build xmpcommandtool - New: API xmp_files_get_format_info(). - New: API xmp_files_check_file_format(). - New: API xmp_files_get_file_info(). - New: API XMP_PROP_ARRAY_INSERT_BEFORE, XMP_PROP_ARRAY_INSERT_AFTER array options. - New: C++ helpers in xmp++.hpp. Bug fixes: - Bug #37747: mismatch delete/delete[] and new/new[] (from Meego https://bugs.meego.com/show_bug.cgi?id=14661)
2015-07-08 13:58:33 +02:00
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
exempi: Update to 2.5.0 2.5.0 - 2019/01/06 - Upgrade XMPCore to Adobe XMP SDK CC 2016.07 - Support for iOS in XMPFiles - New DOM based API’s are added in XMP Core to access metadata tree hierarchy. (not exposed yet in Exempi) - Added support XMP/metadata in utf-8 encoded uncompressed SVG files in XMPFiles. - Added support of GIF handler in XMPFiles. - Added support for reconciliation of iXML’s TRACK_LIST and its components to get microphone data. - Added support for IFDs of type 13 in TIFF. - Added support for MPEG4 videos shot from Google Nexus 5 camera. - Restructured the implementation of XDCAM Handler to support File Access Mode (FAM) and Simple Access Mode (SAM) - Added built-in support for iXML namespace in XMPCore. - Modified the alias tiff:ImageDescription for dc:description as language alternative array instead of simple property. - Lot of bug fixes in XMPFiles and XMPCore. - Removed Exempi provided support for GIF in favour of Adobe's. - New: API NS_XML constant - Bug #5: Restrict the exported symbols. Only the symbols marked with API_EXPORT are exported by the shared library as to not allow another library to import the XMP SDK symbols. https://gitlab.freedesktop.org/libopenraw/exempi/issues/5 - Bug #105580: Access memory aligned on ARM. https://bugs.freedesktop.org/show_bug.cgi?id=105580 Internal: - Added tests for Adobe SDK. - Fixed warnings and other issues and Adobe SDK. - Compile with much more warnings enabled. 2.4.5 - 2018/03/07 - Bug #105204: [CVE-2018-7730] fix a buffer overflow in the PSD parser. - Bug #105205: [CVE-2018-7728] fix a buffer overflow in the TIFF parser. - Bug #105206: [CVE-2018-7729] fix a buffer overflow in PostScript parser. - Bug #105247: [CVE-2018-7731] fix a null dereference in WEBP parser. 2.4.4 - 2018/02/04 - Bug #102197: Properly initialize pointers in WEBP. - Bug #102151: Fix an infinite loop in RIFF parser. - Bug #102483: Fix an infinite loop in QuickTime parser. - Bug #102484: Fix an infinite loop in ASF parser. - Bug #104885: Adjust minimum version for gcc in documentation. 2.4.3 - 2017/08/03 - Bug #100397: Fix a buffer overrun, memcpy() on overlapping regions, use after free in the exception handling. - Bug #101913: Fix a fatal assert with corrupt WEBP. - Bug #101914: Fix a crash on a corrupt file. 2.4.2 - 2017/01/29 - Properly define BanAllEntityUsage. See https://bugzilla.redhat.com/show_bug.cgi?id=888765 2.4.1 - 2017/01/23 - Bug #99494: Restore error reporting. Internal: - Added test for xmp_parse() - Renamed test3 to testiterator and more comprehensive test for iterator to detect thing like bug 99480 Release notes: - In 2.4.0 the XMP iterator corrected behaviour when used for XMP_ITER_JUSTLEAFNAME: The returned values are now set to they actual schema NS instead of the top level one. This required fixed in third party packages: https://github.com/python-xmp-toolkit/python-xmp-toolkit/issues/67 This changes is the result of a bug fix in Adobe SDK. See bug #99480 2.4.0 - 2017/01/07 - Bug #89449: Upgrade XMPCore to Adobe XMP CC 2014.12. - New flag to optimize layout on MPEG4 files. - GoPro MPEG4 video files support. - Improved JPEG support. - iXML support in WAVE files. - Several bugs and memory leaks fixes. - Changes from Adobe XMP CC 2013.06. - Pluggable file handlers (not exposed yet in Exempi) - Support for Exif 2.3 properties - New RIFF file handler - Better Postscript support. - Lot of bug fixes. - New API: added XMP_OPEN_OPTIMIZEFILELAYOUT for new SDK. - Now require (partial) C++11 support to compile (gcc 4.4.7 tested) - New: WebP format handler (contributed: Frankie Dintino, The Atlantic) Internal: - Exempi is now automatically build and the test run by Travis CI.
2019-06-05 08:57:04 +02:00
HOMEPAGE= https://libopenraw.pages.freedesktop.org/exempi/
2015-09-27 21:03:58 +02:00
COMMENT= XMP (Extensible Metadata Platform) library
2010-01-30 17:27:59 +01:00
LICENSE= modified-bsd
GNU_CONFIGURE= yes
CONFIGURE_ENV+= ac_cv_tls=none
USE_LIBTOOL= yes
exempi: Update to 2.5.0 2.5.0 - 2019/01/06 - Upgrade XMPCore to Adobe XMP SDK CC 2016.07 - Support for iOS in XMPFiles - New DOM based API’s are added in XMP Core to access metadata tree hierarchy. (not exposed yet in Exempi) - Added support XMP/metadata in utf-8 encoded uncompressed SVG files in XMPFiles. - Added support of GIF handler in XMPFiles. - Added support for reconciliation of iXML’s TRACK_LIST and its components to get microphone data. - Added support for IFDs of type 13 in TIFF. - Added support for MPEG4 videos shot from Google Nexus 5 camera. - Restructured the implementation of XDCAM Handler to support File Access Mode (FAM) and Simple Access Mode (SAM) - Added built-in support for iXML namespace in XMPCore. - Modified the alias tiff:ImageDescription for dc:description as language alternative array instead of simple property. - Lot of bug fixes in XMPFiles and XMPCore. - Removed Exempi provided support for GIF in favour of Adobe's. - New: API NS_XML constant - Bug #5: Restrict the exported symbols. Only the symbols marked with API_EXPORT are exported by the shared library as to not allow another library to import the XMP SDK symbols. https://gitlab.freedesktop.org/libopenraw/exempi/issues/5 - Bug #105580: Access memory aligned on ARM. https://bugs.freedesktop.org/show_bug.cgi?id=105580 Internal: - Added tests for Adobe SDK. - Fixed warnings and other issues and Adobe SDK. - Compile with much more warnings enabled. 2.4.5 - 2018/03/07 - Bug #105204: [CVE-2018-7730] fix a buffer overflow in the PSD parser. - Bug #105205: [CVE-2018-7728] fix a buffer overflow in the TIFF parser. - Bug #105206: [CVE-2018-7729] fix a buffer overflow in PostScript parser. - Bug #105247: [CVE-2018-7731] fix a null dereference in WEBP parser. 2.4.4 - 2018/02/04 - Bug #102197: Properly initialize pointers in WEBP. - Bug #102151: Fix an infinite loop in RIFF parser. - Bug #102483: Fix an infinite loop in QuickTime parser. - Bug #102484: Fix an infinite loop in ASF parser. - Bug #104885: Adjust minimum version for gcc in documentation. 2.4.3 - 2017/08/03 - Bug #100397: Fix a buffer overrun, memcpy() on overlapping regions, use after free in the exception handling. - Bug #101913: Fix a fatal assert with corrupt WEBP. - Bug #101914: Fix a crash on a corrupt file. 2.4.2 - 2017/01/29 - Properly define BanAllEntityUsage. See https://bugzilla.redhat.com/show_bug.cgi?id=888765 2.4.1 - 2017/01/23 - Bug #99494: Restore error reporting. Internal: - Added test for xmp_parse() - Renamed test3 to testiterator and more comprehensive test for iterator to detect thing like bug 99480 Release notes: - In 2.4.0 the XMP iterator corrected behaviour when used for XMP_ITER_JUSTLEAFNAME: The returned values are now set to they actual schema NS instead of the top level one. This required fixed in third party packages: https://github.com/python-xmp-toolkit/python-xmp-toolkit/issues/67 This changes is the result of a bug fix in Adobe SDK. See bug #99480 2.4.0 - 2017/01/07 - Bug #89449: Upgrade XMPCore to Adobe XMP CC 2014.12. - New flag to optimize layout on MPEG4 files. - GoPro MPEG4 video files support. - Improved JPEG support. - iXML support in WAVE files. - Several bugs and memory leaks fixes. - Changes from Adobe XMP CC 2013.06. - Pluggable file handlers (not exposed yet in Exempi) - Support for Exif 2.3 properties - New RIFF file handler - Better Postscript support. - Lot of bug fixes. - New API: added XMP_OPEN_OPTIMIZEFILELAYOUT for new SDK. - Now require (partial) C++11 support to compile (gcc 4.4.7 tested) - New: WebP format handler (contributed: Frankie Dintino, The Atlantic) Internal: - Exempi is now automatically build and the test run by Travis CI.
2019-06-05 08:57:04 +02:00
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++11
2019-06-17 12:46:37 +02:00
GCC_REQD+= 4.8
Make sure that the libraries are linked with libiconv if necessary, to avoid the build failing like so (on Linux systems): g++ -fexceptions -funsigned-char -fPIC -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -O2 -I/tmp/pkgsrc1/devel/exempi/work/.buildlink/include -Wl,-R/usr/pkgroot1/lib -o xmpfilescoverage XMPFilesCoverage.o -L/tmp/pkgsrc1/devel/exempi/work/.buildlink/lib ../../source/XMPCore/.libs/libXMPCore.a ../../source/XMPFiles/.libs/libXMPFiles.a ../../source/common/.libs/libxmpcommon.a /tmp/pkgsrc1/devel/exempi/work/.buildlink/lib/libexpat.so ../../third-party/MD5/.libs/libmd5.a -Wl,--rpath -Wl,/tmp/pkgsrc1/devel/exempi/work/.buildlink/lib -Wl,--rpath -Wl,/tmp/pkgsrc1/devel/exempi/work/.buildlink/lib ../../source/XMPFiles/.libs/libXMPFiles.a(Reconcile_Impl.o): In function `ReconcileUtils::Latin1ToUTF8(void const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': Reconcile_Impl.cpp:(.text+0x1a1): undefined reference to `libiconv_open' Reconcile_Impl.cpp:(.text+0x1f0): undefined reference to `libiconv' Reconcile_Impl.cpp:(.text+0x1fb): undefined reference to `libiconv_close' ../../source/XMPFiles/.libs/libXMPFiles.a(Reconcile_Impl.o): In function `ReconcileUtils::UTF8ToLatin1(void const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': Reconcile_Impl.cpp:(.text+0x341): undefined reference to `libiconv_open' Reconcile_Impl.cpp:(.text+0x390): undefined reference to `libiconv' Reconcile_Impl.cpp:(.text+0x39b): undefined reference to `libiconv_close' collect2: ld returned 1 exit status *** Error code 1
2009-01-08 09:42:41 +01:00
CONFIGURE_ARGS+= LIBS=${BUILDLINK_LDADD.iconv:Q}
PTHREAD_AUTO_VARS= yes
PKGCONFIG_OVERRIDE+= exempi/exempi-2.0.pc.in
.include "options.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
exempi: Update to 2.5.0 2.5.0 - 2019/01/06 - Upgrade XMPCore to Adobe XMP SDK CC 2016.07 - Support for iOS in XMPFiles - New DOM based API’s are added in XMP Core to access metadata tree hierarchy. (not exposed yet in Exempi) - Added support XMP/metadata in utf-8 encoded uncompressed SVG files in XMPFiles. - Added support of GIF handler in XMPFiles. - Added support for reconciliation of iXML’s TRACK_LIST and its components to get microphone data. - Added support for IFDs of type 13 in TIFF. - Added support for MPEG4 videos shot from Google Nexus 5 camera. - Restructured the implementation of XDCAM Handler to support File Access Mode (FAM) and Simple Access Mode (SAM) - Added built-in support for iXML namespace in XMPCore. - Modified the alias tiff:ImageDescription for dc:description as language alternative array instead of simple property. - Lot of bug fixes in XMPFiles and XMPCore. - Removed Exempi provided support for GIF in favour of Adobe's. - New: API NS_XML constant - Bug #5: Restrict the exported symbols. Only the symbols marked with API_EXPORT are exported by the shared library as to not allow another library to import the XMP SDK symbols. https://gitlab.freedesktop.org/libopenraw/exempi/issues/5 - Bug #105580: Access memory aligned on ARM. https://bugs.freedesktop.org/show_bug.cgi?id=105580 Internal: - Added tests for Adobe SDK. - Fixed warnings and other issues and Adobe SDK. - Compile with much more warnings enabled. 2.4.5 - 2018/03/07 - Bug #105204: [CVE-2018-7730] fix a buffer overflow in the PSD parser. - Bug #105205: [CVE-2018-7728] fix a buffer overflow in the TIFF parser. - Bug #105206: [CVE-2018-7729] fix a buffer overflow in PostScript parser. - Bug #105247: [CVE-2018-7731] fix a null dereference in WEBP parser. 2.4.4 - 2018/02/04 - Bug #102197: Properly initialize pointers in WEBP. - Bug #102151: Fix an infinite loop in RIFF parser. - Bug #102483: Fix an infinite loop in QuickTime parser. - Bug #102484: Fix an infinite loop in ASF parser. - Bug #104885: Adjust minimum version for gcc in documentation. 2.4.3 - 2017/08/03 - Bug #100397: Fix a buffer overrun, memcpy() on overlapping regions, use after free in the exception handling. - Bug #101913: Fix a fatal assert with corrupt WEBP. - Bug #101914: Fix a crash on a corrupt file. 2.4.2 - 2017/01/29 - Properly define BanAllEntityUsage. See https://bugzilla.redhat.com/show_bug.cgi?id=888765 2.4.1 - 2017/01/23 - Bug #99494: Restore error reporting. Internal: - Added test for xmp_parse() - Renamed test3 to testiterator and more comprehensive test for iterator to detect thing like bug 99480 Release notes: - In 2.4.0 the XMP iterator corrected behaviour when used for XMP_ITER_JUSTLEAFNAME: The returned values are now set to they actual schema NS instead of the top level one. This required fixed in third party packages: https://github.com/python-xmp-toolkit/python-xmp-toolkit/issues/67 This changes is the result of a bug fix in Adobe SDK. See bug #99480 2.4.0 - 2017/01/07 - Bug #89449: Upgrade XMPCore to Adobe XMP CC 2014.12. - New flag to optimize layout on MPEG4 files. - GoPro MPEG4 video files support. - Improved JPEG support. - iXML support in WAVE files. - Several bugs and memory leaks fixes. - Changes from Adobe XMP CC 2013.06. - Pluggable file handlers (not exposed yet in Exempi) - Support for Exif 2.3 properties - New RIFF file handler - Better Postscript support. - Lot of bug fixes. - New API: added XMP_OPEN_OPTIMIZEFILELAYOUT for new SDK. - Now require (partial) C++11 support to compile (gcc 4.4.7 tested) - New: WebP format handler (contributed: Frankie Dintino, The Atlantic) Internal: - Exempi is now automatically build and the test run by Travis CI.
2019-06-05 08:57:04 +02:00
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"