[102761] trunk/dports/audio/libofa

ryandesign at macports.org ryandesign at macports.org
Thu Feb 7 18:34:44 PST 2013


Revision: 102761
          https://trac.macports.org/changeset/102761
Author:   ryandesign at macports.org
Date:     2013-02-07 18:34:44 -0800 (Thu, 07 Feb 2013)
Log Message:
-----------
libofa:

 * rename configure.in to configure.ac in preparation for automake 1.14
 * patch configure.ac to change AM_CONFIG_HEADER to AC_CONFIG_HEADERS for automake 1.13 compatibility
 * patch examples/protocol.cpp to remove inclusion of curl/types.h and curl/easy.h for compatibility with recent versions of curl (#34103)
 * license GPL-2
 * use googlecode fetchgroup
 * add rmd160 and sha256 checksum types
 * use "use_autoreconf yes" instead of doing it manually

Modified Paths:
--------------
    trunk/dports/audio/libofa/Portfile

Added Paths:
-----------
    trunk/dports/audio/libofa/files/patch-configure.ac.diff
    trunk/dports/audio/libofa/files/patch-examples-protocol.cpp.diff

Removed Paths:
-------------
    trunk/dports/audio/libofa/files/patch-configure
    trunk/dports/audio/libofa/files/patch-configurein

Modified: trunk/dports/audio/libofa/Portfile
===================================================================
--- trunk/dports/audio/libofa/Portfile	2013-02-08 02:17:40 UTC (rev 102760)
+++ trunk/dports/audio/libofa/Portfile	2013-02-08 02:34:44 UTC (rev 102761)
@@ -8,25 +8,31 @@
 categories      audio
 platforms       darwin
 maintainers     nomaintainer
+license         GPL-2
+
 description     Open Fingerprint Architecture
 long_description     LibOFA (Library Open Fingerprint Architecture) is \
     an open-source audio fingerprint created and provided by MusicIP \
     (http://www.musicip.com).
 homepage        http://code.google.com/p/musicip-libofa/
-master_sites    http://musicip-libofa.googlecode.com/files/
-checksums       md5 51507d2c4b432bd2755f48d58471696e
+master_sites    googlecode:musicip-libofa
 
-depends_build   port:libtool \
-                port:autoconf \
-                port:automake
+checksums       md5     51507d2c4b432bd2755f48d58471696e \
+                rmd160  77f393570bb5356026c4b9c7195236bd96cb9143 \
+                sha256  0216466153e92058c5202dea03390ddc7601d916b983f71ce4f4d034405590a0
 
 depends_lib     port:expat \
                 port:curl \
                 port:fftw-3
 
-patchfiles      patch-configurein\
+post-extract {
+    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
+}
+
+patchfiles      patch-configure.ac.diff \
+                patch-examples-protocol.cpp.diff \
                 patch-mathutils
 
-pre-configure   {
-		system "cd ${worksrcpath} && LIBTOOLIZE=${prefix}/bin/glibtoolize autoreconf -vif"
-}
+use_autoreconf  yes
+autoreconf.args -fvi
+autoreconf.env  LIBTOOLIZE=${prefix}/bin/glibtoolize

Deleted: trunk/dports/audio/libofa/files/patch-configure
===================================================================
Copied: trunk/dports/audio/libofa/files/patch-configure.ac.diff (from rev 102734, trunk/dports/audio/libofa/files/patch-configurein)
===================================================================
--- trunk/dports/audio/libofa/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/audio/libofa/files/patch-configure.ac.diff	2013-02-08 02:34:44 UTC (rev 102761)
@@ -0,0 +1,19 @@
+--- configure.ac.orig	2006-05-10 13:00:19.000000000 -0500
++++ configure.ac	2013-02-07 20:20:59.000000000 -0600
+@@ -1,6 +1,6 @@
+ dnl Process this file with autoconf to produce a configure script.
+ AC_INIT(lib/mainprint.cpp)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS([config.h])
+ VERSION="0.9.3"
+ AM_INIT_AUTOMAKE(libofa, "$VERSION")
+ 
+@@ -74,7 +74,7 @@
+ dnl  FFTW for FFTW v2. FFTW3 for FFTW v3. VDSP for vDSP. MKL for MKL
+ dnl TODO: PREANSI for win32
+ 
+-if test x$os = xdarwin; then
++if test x$os = xBROKENdarwin; then
+     AC_MSG_NOTICE([Using vDSP on OS X])
+     LIBS="$LIBS -framework Accelerate"
+     FFT_WRAPPER="fftlibvdsp_op.cpp"

Deleted: trunk/dports/audio/libofa/files/patch-configurein
===================================================================
--- trunk/dports/audio/libofa/files/patch-configurein	2013-02-08 02:17:40 UTC (rev 102760)
+++ trunk/dports/audio/libofa/files/patch-configurein	2013-02-08 02:34:44 UTC (rev 102761)
@@ -1,11 +0,0 @@
---- configure.in~	2010-01-05 23:15:50.000000000 -0800
-+++ configure.in	2010-01-05 23:09:41.000000000 -0800
-@@ -74,7 +74,7 @@
- dnl  FFTW for FFTW v2. FFTW3 for FFTW v3. VDSP for vDSP. MKL for MKL
- dnl TODO: PREANSI for win32
- 
--if test x$os = xdarwin; then
-+if test x$os = xBROKENdarwin; then
-     AC_MSG_NOTICE([Using vDSP on OS X])
-     LIBS="$LIBS -framework Accelerate"
-     FFT_WRAPPER="fftlibvdsp_op.cpp"

Added: trunk/dports/audio/libofa/files/patch-examples-protocol.cpp.diff
===================================================================
--- trunk/dports/audio/libofa/files/patch-examples-protocol.cpp.diff	                        (rev 0)
+++ trunk/dports/audio/libofa/files/patch-examples-protocol.cpp.diff	2013-02-08 02:34:44 UTC (rev 102761)
@@ -0,0 +1,11 @@
+--- examples/protocol.cpp.orig	2006-05-10 13:05:42.000000000 -0500
++++ examples/protocol.cpp	2013-02-07 20:27:42.000000000 -0600
+@@ -12,8 +12,6 @@
+ #include <map>
+ #include <expat.h>
+ #include <curl/curl.h>
+-#include <curl/types.h>
+-#include <curl/easy.h>
+ 
+ using namespace std;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130207/5f6bf07b/attachment-0001.html>


More information about the macports-changes mailing list