[101527] trunk/dports/graphics/exempi

devans at macports.org devans at macports.org
Sat Jan 12 17:47:07 PST 2013


Revision: 101527
          https://trac.macports.org/changeset/101527
Author:   devans at macports.org
Date:     2013-01-12 17:47:07 -0800 (Sat, 12 Jan 2013)
Log Message:
-----------
exempi: update to version 2.2.0, disable building of broken samples that are not installed anyway.

Modified Paths:
--------------
    trunk/dports/graphics/exempi/Portfile
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp
    trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp

Added Paths:
-----------
    trunk/dports/graphics/exempi/files/patch-Makefile.am.diff

Removed Paths:
-------------
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am
    trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp

Modified: trunk/dports/graphics/exempi/Portfile
===================================================================
--- trunk/dports/graphics/exempi/Portfile	2013-01-13 01:46:10 UTC (rev 101526)
+++ trunk/dports/graphics/exempi/Portfile	2013-01-13 01:47:07 UTC (rev 101527)
@@ -4,7 +4,7 @@
 PortSystem      1.0
 
 name            exempi
-version         2.1.1
+version         2.2.0
 license         BSD
 categories      graphics
 maintainers     devans openmaintainer
@@ -18,29 +18,27 @@
 long_description \
     Exempi is an implementation of XMP. Version 2.x is based on Adobe XMP SDK 4.1.1.
 
-checksums       md5     62ecb5a01387b9f940a5429b3df67e65 \
-                sha1    f05a4c1d609c0e3cafdf839c16ec46afae1b160d \
-                rmd160  e79500f804e162df340e669deea620408e4926b4
+checksums       sha256  710a01a4e879c3a58304021d8a9624cf8b65f79b2b949951a873c91f6d64d102 \
+                rmd160  cb6a3a5f1f61108ff0cc569dd36ad6eda335514a
 
-patch.pre_args      -p1
+patchfiles      patch-Makefile.am.diff
 
 # see http://trac.macports.org/ticket/19894
 
 if { ${os.platform} == "darwin" &&  ${os.major} > 8 } {
     patchfiles-append      patch-source__XMPFiles__XMPFiles_Impl.hpp \
-                           patch-source__common__LargeFileAccess.hpp \
-                           patch-source__common__LargeFileAccess.cpp
+                           patch-source__common__LargeFileAccess.hpp
 }
 
 # see http://trac.macports.org/ticket/20965
 if {$build_arch == "x86_64" || $build_arch == "ppc64"} {
-    patchfiles-append      patch-source__XMPFiles__FileHandlers__Makefile.am \
-                           patch-source__XMPFiles__FormatSupport__Makefile.am \
+    patchfiles-append      patch-source__XMPFiles__FormatSupport__Makefile.am \
                            patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp
-    use_autoreconf         yes
     configure.cppflags-append     -DXMP_64
 }
 
+use_autoreconf  yes
+
 configure.args  --enable-unittest=no
 
 variant unit_test description {Enable unit test}  {

Added: trunk/dports/graphics/exempi/files/patch-Makefile.am.diff
===================================================================
--- trunk/dports/graphics/exempi/files/patch-Makefile.am.diff	                        (rev 0)
+++ trunk/dports/graphics/exempi/files/patch-Makefile.am.diff	2013-01-13 01:47:07 UTC (rev 101527)
@@ -0,0 +1,11 @@
+--- Makefile.am.orig	2013-01-11 11:17:02.000000000 -0800
++++ Makefile.am	2013-01-11 11:17:32.000000000 -0800
+@@ -36,7 +36,7 @@
+ 
+ ACLOCAL_AMFLAGS = -I m4
+ 
+-SUBDIRS = third-party source samples exempi
++SUBDIRS = third-party source exempi
+ DIST_SUBDIRS = build third-party source samples exempi public
+ 
+ EXTRA_DIST = autogen.sh

Deleted: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am	2013-01-13 01:46:10 UTC (rev 101526)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am	2013-01-13 01:47:07 UTC (rev 101527)
@@ -1,10 +0,0 @@
---- bogus/source/XMPFiles/FileHandlers/Makefile.am.orig	2009-03-12 00:59:21.000000000 +0000
-+++ bogus/source/XMPFiles/FileHandlers/Makefile.am	2009-10-02 21:58:49.000000000 +0100
-@@ -58,7 +58,6 @@
- InDesign_Handler.cpp InDesign_Handler.hpp\
- JPEG_Handler.cpp JPEG_Handler.hpp\
- MP3_Handler.cpp MP3_Handler.hpp\
--MOV_Handler.cpp MOV_Handler.hpp\
- MPEG2_Handler.cpp MPEG2_Handler.hpp \
- MPEG4_Handler.cpp MPEG4_Handler.hpp \
- P2_Handler.cpp P2_Handler.hpp\

Modified: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am	2013-01-13 01:46:10 UTC (rev 101526)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am	2013-01-13 01:47:07 UTC (rev 101527)
@@ -1,5 +1,5 @@
---- bogus/source/XMPFiles/FormatSupport/Makefile.am.orig	2009-03-12 00:59:21.000000000 +0000
-+++ bogus/source/XMPFiles/FormatSupport/Makefile.am	2009-10-02 22:02:13.000000000 +0100
+--- source/XMPFiles/FormatSupport/Makefile.am.orig	2011-11-12 22:57:42.000000000 -0800
++++ source/XMPFiles/FormatSupport/Makefile.am	2013-01-11 10:51:41.000000000 -0800
 @@ -37,7 +37,7 @@
  noinst_LTLIBRARIES = libformatsupport.la
  noinst_HEADERS = IPTC_Support.hpp  PSIR_Support.hpp\
@@ -9,10 +9,11 @@
  	ReconcileLegacy.hpp  TIFF_Support.hpp  GIF_Support.hpp
  
  
-@@ -58,6 +58,5 @@
- 	SWF_Support.hpp SWF_Support.cpp\
+@@ -61,7 +61,6 @@
  	XDCAM_Support.hpp XDCAM_Support.cpp\
  	TIFF_FileWriter.cpp  XMPScanner.cpp  GIF_Support.cpp \
+ 	MOOV_Support.cpp MOOV_Support.hpp \
 -	QuickTime_Support.cpp \
  	ASF_Support.hpp ASF_Support.cpp \
+ 	MacScriptExtracts.h \
  	$(NULL)

Modified: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp	2013-01-13 01:46:10 UTC (rev 101526)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp	2013-01-13 01:47:07 UTC (rev 101527)
@@ -1,11 +1,11 @@
---- exempi-2.1.1/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp.orig	2012-02-13 23:37:08.000000000 -0800
-+++ exempi-2.1.1/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp	2012-02-13 23:37:50.000000000 -0800
+--- source/XMPFiles/FormatSupport/Reconcile_Impl.cpp.orig	2011-11-12 22:57:42.000000000 -0800
++++ source/XMPFiles/FormatSupport/Reconcile_Impl.cpp	2013-01-11 10:59:16.000000000 -0800
 @@ -15,7 +15,7 @@
  
  #if XMP_WinBuild
  #elif XMP_MacBuild
 -	#include "UnicodeConverter.h"
 +	#include <CoreServices/CoreServices.h>
- #elif XMP_UNIXBuild
-   #include <stdlib.h>
-   #include <iconv.h>
+ #endif
+ 
+ // =================================================================================================

Modified: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp	2013-01-13 01:46:10 UTC (rev 101526)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__XMPFiles_Impl.hpp	2013-01-13 01:47:07 UTC (rev 101527)
@@ -1,5 +1,5 @@
---- a/source/XMPFiles/XMPFiles_Impl.hpp.orig	2012-02-13 23:32:15.000000000 -0800
-+++ b/source/XMPFiles/XMPFiles_Impl.hpp	2012-02-13 23:33:03.000000000 -0800
+--- source/XMPFiles/XMPFiles_Impl.hpp.orig	2011-11-12 22:57:42.000000000 -0800
++++ source/XMPFiles/XMPFiles_Impl.hpp	2013-01-11 10:20:43.000000000 -0800
 @@ -35,7 +35,7 @@
  	#define snprintf _snprintf
  #else
@@ -8,4 +8,4 @@
 +		#include <CoreServices/CoreServices.h>
  	#endif
  	// POSIX headers for both Mac and generic UNIX.
- 	#include <pthread.h>
+ 	#include <fcntl.h>

Deleted: trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp	2013-01-13 01:46:10 UTC (rev 101526)
+++ trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.cpp	2013-01-13 01:47:07 UTC (rev 101527)
@@ -1,20 +0,0 @@
---- bogus/source/common/LargeFileAccess.cpp.orig	2009-06-03 00:52:35.000000000 -0700
-+++ bogus/source/common/LargeFileAccess.cpp	2009-06-03 00:53:01.000000000 -0700
-@@ -37,7 +37,7 @@
- 		FSRef fileRef;
- 		SInt8 perm = ( (mode == 'r') ? fsRdPerm : fsRdWrPerm );
- 		HFSUniStr255 dataForkName;
--		SInt16 refNum;
-+		FSIORefNum refNum;
- 		
- 		OSErr err = FSGetDataForkName ( &dataForkName );
- 		if ( err != noErr ) LFA_Throw ( "LFA_Open: FSGetDataForkName failure", kLFAErr_ExternalFailure );
-@@ -98,7 +98,7 @@
- 		FSRef fileRef;
- 		SInt8 perm = ( (mode == 'r') ? fsRdPerm : fsRdWrPerm );
- 		HFSUniStr255 rsrcForkName;
--		SInt16 refNum;
-+		FSIORefNum refNum;
- 		
- 		OSErr err = FSGetResourceForkName ( &rsrcForkName );
- 		if ( err != noErr ) LFA_Throw ( "LFA_OpenRsrc: FSGetResourceForkName failure", kLFAErr_ExternalFailure );

Modified: trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp	2013-01-13 01:46:10 UTC (rev 101526)
+++ trunk/dports/graphics/exempi/files/patch-source__common__LargeFileAccess.hpp	2013-01-13 01:47:07 UTC (rev 101527)
@@ -1,13 +1,11 @@
---- a/source/common/LargeFileAccess.hpp.orig	2012-02-13 23:24:53.000000000 -0800
-+++ b/source/common/LargeFileAccess.hpp	2012-02-13 23:25:03.000000000 -0800
-@@ -42,9 +42,9 @@ using namespace std;
- 	#include <Windows.h>
+--- source/common/LargeFileAccess.hpp.orig	2011-11-12 22:57:42.000000000 -0800
++++ source/common/LargeFileAccess.hpp	2013-01-11 10:20:43.000000000 -0800
+@@ -19,7 +19,7 @@
  	#define snprintf _snprintf
  #else
-	#if XMP_MacBuild
+ 	#if XMP_MacBuild
 -		#include <Files.h>
 +		#include <CoreServices/CoreServices.h>
-	#endif
+ 	#endif
  	// POSIX headers for both Mac and generic UNIX.
  	#include <pthread.h>
- 	#include <fcntl.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130112/88586031/attachment.html>


More information about the macports-changes mailing list