[59183] trunk/dports/graphics/exempi

jmr at macports.org jmr at macports.org
Sun Oct 11 01:45:29 PDT 2009


Revision: 59183
          http://trac.macports.org/changeset/59183
Author:   jmr at macports.org
Date:     2009-10-11 01:45:26 -0700 (Sun, 11 Oct 2009)
Log Message:
-----------
exempi: fix 64-bit build (#20965)

Modified Paths:
--------------
    trunk/dports/graphics/exempi/Portfile

Added Paths:
-----------
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am
    trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp

Modified: trunk/dports/graphics/exempi/Portfile
===================================================================
--- trunk/dports/graphics/exempi/Portfile	2009-10-11 08:07:03 UTC (rev 59182)
+++ trunk/dports/graphics/exempi/Portfile	2009-10-11 08:45:26 UTC (rev 59183)
@@ -22,13 +22,23 @@
                 sha1    f05a4c1d609c0e3cafdf839c16ec46afae1b160d \
                 rmd160  e79500f804e162df340e669deea620408e4926b4
 
+patch.args      -p1
+
 # see http://trac.macports.org/ticket/19894
 
 if { ${os.platform} == "darwin" &&  ${os.major} > 8 } {
-    patchfiles      patch-source__common__LargeFileAccess.cpp
-    patch.args      -p1
+    patchfiles-append      patch-source__common__LargeFileAccess.cpp
 }
 
+# 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 \
+                           patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp
+    use_autoreconf         yes
+    configure.cppflags-append     -DXMP_64
+}
+
 configure.args  --enable-unittest=no
 
 variant unit_test description {Enable unit test}  {

Added: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am	                        (rev 0)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FileHandlers__Makefile.am	2009-10-11 08:45:26 UTC (rev 59183)
@@ -0,0 +1,10 @@
+--- 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\

Added: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am	                        (rev 0)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Makefile.am	2009-10-11 08:45:26 UTC (rev 59183)
@@ -0,0 +1,18 @@
+--- 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
+@@ -37,7 +37,7 @@
+ noinst_LTLIBRARIES = libformatsupport.la
+ noinst_HEADERS = IPTC_Support.hpp  PSIR_Support.hpp\
+ 	Reconcile_Impl.hpp   RIFF_Support.hpp  XMPScanner.hpp\
+-	ID3_Support.hpp  PNG_Support.hpp   QuickTime_Support.hpp\
++	ID3_Support.hpp  PNG_Support.hpp
+ 	ReconcileLegacy.hpp  TIFF_Support.hpp  GIF_Support.hpp
+ 
+ 
+@@ -58,6 +58,5 @@
+ 	SWF_Support.hpp SWF_Support.cpp\
+ 	XDCAM_Support.hpp XDCAM_Support.cpp\
+ 	TIFF_FileWriter.cpp  XMPScanner.cpp  GIF_Support.cpp \
+-	QuickTime_Support.cpp \
+ 	ASF_Support.hpp ASF_Support.cpp \
+ 	$(NULL)

Added: trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp
===================================================================
--- trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp	                        (rev 0)
+++ trunk/dports/graphics/exempi/files/patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp	2009-10-11 08:45:26 UTC (rev 59183)
@@ -0,0 +1,10 @@
+--- bogus/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp.orig	2009-02-17 04:10:42.000000000 +0000
++++ bogus/source/XMPFiles/FormatSupport/Reconcile_Impl.cpp	2009-10-02 22:25:43.000000000 +0100
+@@ -16,6 +16,7 @@
+ #if XMP_WinBuild
+ #elif XMP_MacBuild
+ 	#include "UnicodeConverter.h"
++	#include "Script.h"
+ #elif XMP_UNIXBuild
+   #include <stdlib.h>
+   #include <iconv.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091011/81a5392b/attachment-0001.html>


More information about the macports-changes mailing list