textproc/exempi: update to 2.5.2

2.5.0

- 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 inbuilt 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

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.

2.3.0 - 2016/03/15

- New: API xmp_datetime_compare().
- New: API xmp_string_len() to get the length of the XmpString.
- Bug #94065:
  - New: API xmp_files_can_put_xmp_xmpstring() and xmp_files_can_put_xmp_cstr()
    variants.
  - New: API xmp_files_put_xmp_xmpstring() and xmp_files_put_xmp_cstr()
    variants.
  - New: API xmp_files_get_xmp_xmpstring() variant.
  - Test: check the status of the PDF handler.
- Bug #90380: Fix potential crash with corrupt TIFF file.
- Bug #14612: Better Solaris compilation fix.
- Fix header to pass -Wstrict-prototypes
This commit is contained in:
Tobias C. Berner 2021-07-17 19:32:52 +02:00
parent d392d028bc
commit 7d8693d67b
13 changed files with 21 additions and 159 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= gnome-photos
DISTVERSION= 3.38.1
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome

View file

@ -2,6 +2,7 @@
PORTNAME= eog
DISTVERSION= 40.2
PORTREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome3

View file

@ -2,6 +2,7 @@
PORTNAME= eom
PORTVERSION= 1.24.2
PORTREVISION= 1
CATEGORIES= graphics mate
MASTER_SITES= MATE
DIST_SUBDIR= mate

View file

@ -2,6 +2,7 @@
PORTNAME= xviewer
PORTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= graphics gnome
DIST_SUBDIR= gnome

View file

@ -2,7 +2,7 @@
PORTNAME= tellico
DISTVERSION= 3.4.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= misc kde
MASTER_SITES= http://tellico-project.org/files/

View file

@ -2,7 +2,7 @@
PORTNAME= tracker-miners
PORTVERSION= 2.3.5
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME

View file

@ -2,7 +2,7 @@
# $MCom: ports/textproc/exempi/Makefile,v 1.1 2008/02/26 18:50:26 ahze Exp $
PORTNAME= exempi
PORTVERSION= 2.2.2
DISTVERSION= 2.5.2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://libopenraw.freedesktop.org/download/
@ -10,15 +10,16 @@ MASTER_SITES= http://libopenraw.freedesktop.org/download/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Port of Adobe XMP SDK to work on UNIX
BUILD_DEPENDS= boost-libs>=0:devel/boost-libs
LIB_DEPENDS= libexpat.so:textproc/expat2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-unittest=no
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB}
USES= pathfix iconv libtool tar:bzip2
USES= gmake iconv libtool localbase pathfix tar:bzip2
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
pre-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} NOCONFIGURE=1 ./autogen.sh
post-patch:
@${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \

View file

@ -1,2 +1,3 @@
SHA256 (exempi-2.2.2.tar.bz2) = 0e7ad0e5e61b6828e38d31a8cc59c26c9adeed7edf4b26708c400beb6a686c07
SIZE (exempi-2.2.2.tar.bz2) = 3380662
TIMESTAMP = 1626540964
SHA256 (exempi-2.5.2.tar.bz2) = 52f54314aefd45945d47a6ecf4bd21f362e6467fa5d0538b0d45a06bc6eaaed5
SIZE (exempi-2.5.2.tar.bz2) = 3658606

View file

@ -1,147 +0,0 @@
Fix type mismatch in calls to XMPMeta::GetProperty
kXMP_NoOptions is (XMP_OptionBits) whereas the final argument to
XMPMeta::GetProperty takes (XMP_OptionBits*)
https://cgit.freedesktop.org/exempi/commit/?id=b6ff77dd74a1
--- source/XMPFiles/FormatSupport/ID3_Support.hpp.orig 2014-08-31 20:39:29 UTC
+++ source/XMPFiles/FormatSupport/ID3_Support.hpp
@@ -700,28 +700,28 @@ namespace ID3_Support
LFA_WriteUns8( file, 'G' );
// title //////////////////////////////////////////////////////
- if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, kXMP_NoOptions ))
+ if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, 0 ))
{
LFA_Seek( file, -128 + 3, SEEK_END);
ReconcileUtils::UTF8ToLatin1( utf8.c_str(), utf8.size(), &latin1 );
LFA_Write( file, latin1.c_str(), MIN( 30, (XMP_Int32)latin1.size() ) );
}
// artist //////////////////////////////////////////////////////
- if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, kXMP_NoOptions ))
+ if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, 0 ))
{
LFA_Seek( file, -128 + 33, SEEK_END);
ReconcileUtils::UTF8ToLatin1( utf8.c_str(), utf8.size(), &latin1 );
LFA_Write( file, latin1.c_str(), MIN( 30, (XMP_Int32)latin1.size() ) );
}
// album //////////////////////////////////////////////////////
- if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, kXMP_NoOptions ))
+ if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, 0 ))
{
LFA_Seek( file, -128 + 63, SEEK_END);
ReconcileUtils::UTF8ToLatin1( utf8.c_str(), utf8.size(), &latin1 );
LFA_Write( file, latin1.c_str(), MIN( 30, (XMP_Int32)latin1.size() ) );
}
// year //////////////////////////////////////////////////////
- if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, kXMP_NoOptions ))
+ if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, 0 ))
{
XMP_DateTime dateTime;
SXMPUtils::ConvertToDate( utf8, &dateTime );
@@ -733,14 +733,14 @@ namespace ID3_Support
}
}
// comment (write 30 bytes first, see truncation later) ////////////
- if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, kXMP_NoOptions ))
+ if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, 0 ))
{
LFA_Seek ( file, -128 + 97, SEEK_END );
ReconcileUtils::UTF8ToLatin1 ( utf8.c_str(), utf8.size(), &latin1 );
LFA_Write ( file, latin1.c_str(), MIN ( 30, (XMP_Int32)latin1.size() ) );
}
// genre ////////////////////////////////////////////////////////////////
- if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, kXMP_NoOptions ))
+ if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, 0 ))
{
XMP_Uns8 genreNo = 0;
@@ -760,7 +760,7 @@ namespace ID3_Support
}
// trackNo ////////////////////////////////////////////////////////////
- if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, kXMP_NoOptions ))
+ if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, 0 ))
{
XMP_Uns8 trackNo = 0;
try
--- source/XMPFiles/FormatSupport/RIFF_Support.cpp.orig 2014-08-31 20:39:29 UTC
+++ source/XMPFiles/FormatSupport/RIFF_Support.cpp
@@ -604,7 +604,7 @@ static void exportXMPtoBextChunk( RIFF_MetaHandler* ha
// prepare buffer, need to know CodingHistory size as the only variable
XMP_Int32 bextBufferSize = MIN_BEXT_SIZE - 8; // -8 because of header
std::string value;
- if ( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ))
+ if ( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, 0 ))
{
bextBufferSize += ((XMP_StringLen)value.size()) + 1 ; // add to size (and a trailing zero)
}
@@ -616,35 +616,35 @@ static void exportXMPtoBextChunk( RIFF_MetaHandler* ha
// grab props, write into buffer, remove from XMP ///////////////////////////
// bextDescription ------------------------------------------------
- if ( xmp->GetProperty( bextDescription.ns, bextDescription.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextDescription.ns, bextDescription.prop, &value, 0 ) )
{
setBextField( &value, (XMP_Uns8*) buffer, 0, 256 );
xmp->DeleteProperty( bextDescription.ns, bextDescription.prop) ;
chunkUsed = true;
}
// bextOriginator -------------------------------------------------
- if ( xmp->GetProperty( bextOriginator.ns , bextOriginator.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextOriginator.ns , bextOriginator.prop, &value, 0 ) )
{
setBextField( &value, (XMP_Uns8*) buffer, 256, 32 );
xmp->DeleteProperty( bextOriginator.ns , bextOriginator.prop );
chunkUsed = true;
}
// bextOriginatorRef ----------------------------------------------
- if ( xmp->GetProperty( bextOriginatorRef.ns , bextOriginatorRef.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextOriginatorRef.ns , bextOriginatorRef.prop, &value, 0 ) )
{
setBextField( &value, (XMP_Uns8*) buffer, 256+32, 32 );
xmp->DeleteProperty( bextOriginatorRef.ns , bextOriginatorRef.prop );
chunkUsed = true;
}
// bextOriginationDate --------------------------------------------
- if ( xmp->GetProperty( bextOriginationDate.ns , bextOriginationDate.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextOriginationDate.ns , bextOriginationDate.prop, &value, 0 ) )
{
setBextField( &value, (XMP_Uns8*) buffer, 256+32+32, 10 );
xmp->DeleteProperty( bextOriginationDate.ns , bextOriginationDate.prop );
chunkUsed = true;
}
// bextOriginationTime --------------------------------------------
- if ( xmp->GetProperty( bextOriginationTime.ns , bextOriginationTime.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextOriginationTime.ns , bextOriginationTime.prop, &value, 0 ) )
{
setBextField( &value, (XMP_Uns8*) buffer, 256+32+32+10, 8 );
xmp->DeleteProperty( bextOriginationTime.ns , bextOriginationTime.prop );
@@ -652,7 +652,7 @@ static void exportXMPtoBextChunk( RIFF_MetaHandler* ha
}
// bextTimeReference ----------------------------------------------
// thanx to friendly byte order, all 8 bytes can be written in one go:
- if ( xmp->GetProperty( bextTimeReference.ns, bextTimeReference.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextTimeReference.ns, bextTimeReference.prop, &value, 0 ) )
{
try
{
@@ -675,7 +675,7 @@ static void exportXMPtoBextChunk( RIFF_MetaHandler* ha
xmp->DeleteProperty( bextVersion.ns, bextVersion.prop );
// bextUMID -------------------------------------------------------
- if ( xmp->GetProperty( bextUMID.ns, bextUMID.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextUMID.ns, bextUMID.prop, &value, 0 ) )
{
std::string rawStr;
@@ -694,7 +694,7 @@ static void exportXMPtoBextChunk( RIFF_MetaHandler* ha
}
// bextCodingHistory ----------------------------------------------
- if ( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ) )
+ if ( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, 0 ) )
{
std::string ascii;
convertToASCII( value.data(), (XMP_StringLen) value.size() , &ascii, (XMP_StringLen) value.size() );

View file

@ -5,7 +5,7 @@ include/exempi-2.0/exempi/xmpconsts.h
include/exempi-2.0/exempi/xmperrors.h
lib/libexempi.a
lib/libexempi.so
lib/libexempi.so.3
lib/libexempi.so.3.2.4
lib/libexempi.so.8
lib/libexempi.so.8.0.2
libdata/pkgconfig/exempi-2.0.pc
man/man1/exempi.1.gz

View file

@ -1,5 +1,6 @@
PORTNAME= python-xmp-toolkit
DISTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -2,6 +2,7 @@
PORTNAME= caja
PORTVERSION= 1.24.1
PORTREVISION= 1
CATEGORIES= x11-fm mate
MASTER_SITES= MATE
DIST_SUBDIR= mate

View file

@ -2,6 +2,7 @@
PORTNAME= nemo
PORTVERSION= 4.8.3
PORTREVISION= 1
CATEGORIES= x11-fm gnome
DIST_SUBDIR= gnome