[96163] trunk/dports/audio/MMDAgent

hum at macports.org hum at macports.org
Wed Aug 1 23:31:14 PDT 2012


Revision: 96163
          https://trac.macports.org/changeset/96163
Author:   hum at macports.org
Date:     2012-08-01 23:31:12 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
MMDAgent: update to 1.3; modify description and long_description; delete portaudio dependency; add patch-Library_Julius.diff to fix sed locale; add patch-Library_MMDAgent.diff to include OpenGL header; delete patch-Makefile.diff, which was integrated into the upstream.

Modified Paths:
--------------
    trunk/dports/audio/MMDAgent/Portfile
    trunk/dports/audio/MMDAgent/files/patch-Plugin_Audio.diff

Added Paths:
-----------
    trunk/dports/audio/MMDAgent/files/patch-Library_Julius.diff
    trunk/dports/audio/MMDAgent/files/patch-Library_MMDAgent.diff

Removed Paths:
-------------
    trunk/dports/audio/MMDAgent/files/patch-Makefile.diff

Modified: trunk/dports/audio/MMDAgent/Portfile
===================================================================
--- trunk/dports/audio/MMDAgent/Portfile	2012-08-02 06:12:00 UTC (rev 96162)
+++ trunk/dports/audio/MMDAgent/Portfile	2012-08-02 06:31:12 UTC (rev 96163)
@@ -4,20 +4,20 @@
 PortSystem          1.0
 
 name                MMDAgent
-version             1.2
+version             1.3
 categories          audio japanese multimedia
-platforms           darwin
 maintainers         hum openmaintainer
-license             BSD
 
+description         a toolkit for building voice interaction systems
+long_description    ${name} is ${description}.
+
 homepage            http://www.mmdagent.jp/
-description         MMDAgent is a toolkit for building voice interaction systems.
-long_description    ${description}
+platforms           darwin
+license             BSD
 
 # Install sample data and scripts in the example package.
 set ex_name         ${name}_Example
-#set ex_distname     ${ex_name}-${version}
-set ex_distname     ${ex_name}-1.1
+set ex_distname     ${ex_name}-${version}
 
 use_zip             yes
 distfiles-append    ${ex_distname}${extract.suffix}:ex
@@ -26,26 +26,18 @@
                     sourceforge:project/mmdagent/${ex_name}/${ex_distname}/:ex
 
 checksums           ${distname}${extract.suffix} \
-                    rmd160  a0ecbf3e599b3d327d09daa0c7a50f38bfdc7956 \
-                    sha256  eed9e47c156fa115163e54853cefa275bd4a06da29ecf80083fc8403d5d7cab7 \
+                    rmd160  d10a0f11b8ac9bd3b5ccb29e0748e6c0595bda6f \
+                    sha256  a23f553b80cb57c4382b95b721288b80aaf1f8bf638fb4be65c22c864cef537d \
                     ${ex_distname}${extract.suffix} \
-                    rmd160  69ef644ceeec042a0aa41d53b5b86e365761c087 \
-                    sha256  8a280c83ec5778b29d711bfd368e57c5fba31aa3fdc4d46ae02ef471e4bf8930
+                    rmd160  e0547acc5ccfb825c018daeda8b7b001cb013401 \
+                    sha256  a5db6f41a72ffb129d4c77e2c54493af92d1dbd9e6427d7a4aa3759e03c67d78
 
-supported_archs     i386
-
-depends_lib         port:portaudio
-
-patchfiles          patch-Makefile.diff \
+patchfiles          patch-Library_Julius.diff \
+                    patch-Library_MMDAgent.diff \
                     patch-Plugin_Audio.diff
-patch.pre_args      -p1
-post-patch {
-    foreach module {Julius Open\_JTalk} {
-        reinplace "s|\\.\\./Library_PortAudio/lib/PortAudio.a|${prefix}/lib/libportaudio.a|" \
-            ${worksrcpath}/Plugin_${module}/Makefile.carbon
-    }
-}
 
+supported_archs     i386
+
 use_configure       no
 
 use_parallel_build  no

Added: trunk/dports/audio/MMDAgent/files/patch-Library_Julius.diff
===================================================================
--- trunk/dports/audio/MMDAgent/files/patch-Library_Julius.diff	                        (rev 0)
+++ trunk/dports/audio/MMDAgent/files/patch-Library_Julius.diff	2012-08-02 06:31:12 UTC (rev 96163)
@@ -0,0 +1,8 @@
+--- Library_Julius/Makefile.carbon.orig	2012-08-01 22:16:36.000000000 +0900
++++ Library_Julius/Makefile.carbon	2012-08-02 14:49:58.000000000 +0900
+@@ -165,4 +165,4 @@
+ 
+ src/libsent/include/sent/config.h:
+ 	cd src/libsent; chmod +x ./configure; ./configure --with-mictype=libportaudio --without-sndfile; cd ../..;
+-	sed -i -e 's/gzip command/zlib/g' src/libsent/include/sent/config.h
++	env LC_CTYPE="C" sed -i -e 's/gzip command/zlib/g' src/libsent/include/sent/config.h

Added: trunk/dports/audio/MMDAgent/files/patch-Library_MMDAgent.diff
===================================================================
--- trunk/dports/audio/MMDAgent/files/patch-Library_MMDAgent.diff	                        (rev 0)
+++ trunk/dports/audio/MMDAgent/files/patch-Library_MMDAgent.diff	2012-08-02 06:31:12 UTC (rev 96163)
@@ -0,0 +1,14 @@
+--- Library_MMDAgent/src/lib/Render.cpp.orig	2012-08-01 22:14:20.000000000 +0900
++++ Library_MMDAgent/src/lib/Render.cpp	2012-08-02 14:40:10.000000000 +0900
+@@ -42,7 +42,11 @@
+ /* headers */
+ 
+ #include "MMDAgent.h"
++#ifdef __APPLE__ 
++#include <OpenGL/glu.h>
++#else
+ #include <GL/glu.h>
++#endif
+ 
+ /* compareDepth: qsort function for reordering */
+ static int compareDepth(const void *a, const void *b)

Deleted: trunk/dports/audio/MMDAgent/files/patch-Makefile.diff
===================================================================
--- trunk/dports/audio/MMDAgent/files/patch-Makefile.diff	2012-08-02 06:12:00 UTC (rev 96162)
+++ trunk/dports/audio/MMDAgent/files/patch-Makefile.diff	2012-08-02 06:31:12 UTC (rev 96163)
@@ -1,140 +0,0 @@
-diff -ur MMDAgent-1.1/Library_Bullet_Physics/Makefile MMDAgent-1.1.Lion/Library_Bullet_Physics/Makefile
---- MMDAgent-1.1/Library_Bullet_Physics/Makefile	2011-08-03 09:09:08.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_Bullet_Physics/Makefile	2011-08-13 03:42:12.000000000 +0900
-@@ -154,7 +154,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer
- INCLUDE  = -I src/src
-
- all: $(TARGET)
-diff -ur MMDAgent-1.1/Library_GLee/Makefile MMDAgent-1.1.Lion/Library_GLee/Makefile
---- MMDAgent-1.1/Library_GLee/Makefile	2011-08-03 09:06:20.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_GLee/Makefile	2011-08-13 04:44:48.000000000 +0900
-@@ -7,7 +7,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer
- INCLUDE  = -I src
-
- all: $(TARGET)
-diff -ur MMDAgent-1.1/Library_JPEG/Makefile MMDAgent-1.1.Lion/Library_JPEG/Makefile
---- MMDAgent-1.1/Library_JPEG/Makefile	2011-08-03 09:06:28.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_JPEG/Makefile	2011-08-13 03:42:36.000000000 +0900
-@@ -52,7 +52,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer
- INCLUDE  = -I src
-
- all: $(TARGET)
-diff -ur MMDAgent-1.1/Library_Julius/Makefile.carbon MMDAgent-1.1.Lion/Library_Julius/Makefile.carbon
---- MMDAgent-1.1/Library_Julius/Makefile.carbon	2011-08-03 09:06:18.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_Julius/Makefile.carbon	2011-08-13 04:58:48.000000000 +0900
-@@ -139,7 +139,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer \
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer \
-            -DHAVE_ZLIB \
-            -DHAVE_STRCASECMP
- INCLUDE  = -I src/libjulius/include \
-diff -ur MMDAgent-1.1/Library_MMDAgent/Makefile MMDAgent-1.1.Lion/Library_MMDAgent/Makefile
---- MMDAgent-1.1/Library_MMDAgent/Makefile	2011-08-03 09:05:06.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_MMDAgent/Makefile	2011-08-13 03:40:46.000000000 +0900
-@@ -22,7 +22,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer \
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer \
-            -DMMDAGENT
- INCLUDE  = -I ../Library_Bullet_Physics/include \
-            -I ../Library_GLee/include \
-diff -ur MMDAgent-1.1/Library_MMDFiles/Makefile MMDAgent-1.1.Lion/Library_MMDFiles/Makefile
---- MMDAgent-1.1/Library_MMDFiles/Makefile	2011-08-03 09:05:16.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_MMDFiles/Makefile	2011-08-13 03:41:18.000000000 +0900
-@@ -28,7 +28,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer \
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer \
-            -DMMDFILES_DONTUPDATEMATRICESFORIK
- INCLUDE  = -I ../Library_Bullet_Physics/include \
-            -I ../Library_GLee/include \
-diff -ur MMDAgent-1.1/Library_Open_JTalk/Makefile.carbon MMDAgent-1.1.Lion/Library_Open_JTalk/Makefile.carbon
---- MMDAgent-1.1/Library_Open_JTalk/Makefile.carbon	2011-08-03 09:07:24.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_Open_JTalk/Makefile.carbon	2011-08-13 04:51:36.000000000 +0900
-@@ -44,7 +44,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer \
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer \
-            -finput-charset=cp932 \
-            -fexec-charset=cp932 \
-            -D DIC_VERSION=102 \
-diff -ur MMDAgent-1.1/Library_hts_engine_API/Makefile MMDAgent-1.1.Lion/Library_hts_engine_API/Makefile
---- MMDAgent-1.1/Library_hts_engine_API/Makefile	2011-08-03 09:06:20.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_hts_engine_API/Makefile	2011-08-13 04:52:02.000000000 +0900
-@@ -15,7 +15,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer \
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer \
-            -DAUDIO_PLAY_PORTAUDIO
- INCLUDE  = -I ../Library_PortAudio/include \
-            -I src/include
-diff -ur MMDAgent-1.1/Library_libpng/Makefile MMDAgent-1.1.Lion/Library_libpng/Makefile
---- MMDAgent-1.1/Library_libpng/Makefile	2011-08-03 09:05:56.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_libpng/Makefile	2011-08-13 03:42:24.000000000 +0900
-@@ -21,7 +21,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer
- INCLUDE  = -I ../Library_zlib/include \
-            -I src
-
-diff -ur MMDAgent-1.1/Library_zlib/Makefile MMDAgent-1.1.Lion/Library_zlib/Makefile
---- MMDAgent-1.1/Library_zlib/Makefile	2011-08-03 09:05:30.000000000 +0900
-+++ MMDAgent-1.1.Lion/Library_zlib/Makefile	2011-08-13 03:42:46.000000000 +0900
-@@ -21,7 +21,7 @@
-
- CXX      = gcc
- AR       = ar
--CXXFLAGS = -Wall -O6 -fomit-frame-pointer \
-+CXXFLAGS = -m32 -Wall -O6 -fomit-frame-pointer \
-            -D_LARGEFILE64_SOURCE=1 \
-            -DNO_VIZ
- INCLUDE  = -I src
-diff -ur MMDAgent-1.1/Makefile MMDAgent-1.1.Lion/Makefile
---- MMDAgent-1.1/Makefile	2011-08-03 09:09:08.000000000 +0900
-+++ MMDAgent-1.1.Lion/Makefile	2011-08-13 04:38:20.000000000 +0900
-@@ -147,7 +147,6 @@
- 	cd Library_MMDAgent       && make
- 	cd Library_MMDFiles       && make
- 	cd Library_zlib           && make
--	cd Library_PortAudio      && make -f Makefile.carbon
- 	cd Library_hts_engine_API && make
- 	cd Library_Open_JTalk     && make -f Makefile.carbon
- 	cd Library_Julius         && make -f Makefile.carbon
-@@ -168,7 +167,6 @@
- 	cd Library_MMDAgent       && make                    clean
- 	cd Library_MMDFiles       && make                    clean
- 	cd Library_zlib           && make                    clean
--	cd Library_PortAudio      && make -f Makefile.carbon clean
- 	cd Library_hts_engine_API && make                    clean
- 	cd Library_Open_JTalk     && make -f Makefile.carbon clean
- 	cd Library_Julius         && make -f Makefile.carbon clean
-diff -ur MMDAgent-1.1/Plugin_Julius/Makefile.carbon MMDAgent-1.1.Lion/Plugin_Julius/Makefile.carbon

Modified: trunk/dports/audio/MMDAgent/files/patch-Plugin_Audio.diff
===================================================================
--- trunk/dports/audio/MMDAgent/files/patch-Plugin_Audio.diff	2012-08-02 06:12:00 UTC (rev 96162)
+++ trunk/dports/audio/MMDAgent/files/patch-Plugin_Audio.diff	2012-08-02 06:31:12 UTC (rev 96163)
@@ -1,5 +1,5 @@
---- MMDAgent-1.1/Plugin_Audio/Audio_Thread.cpp.orig	2011-08-03 09:01:38.000000000 +0900
-+++ MMDAgent-1.1/Plugin_Audio/Audio_Thread.cpp	2011-11-26 21:06:05.000000000 +0900
+--- Plugin_Audio/Audio_Thread.cpp.orig	2011-08-03 09:01:38.000000000 +0900
++++ Plugin_Audio/Audio_Thread.cpp	2011-11-26 21:06:05.000000000 +0900
 @@ -48,7 +48,7 @@
  #ifdef __APPLE__
  #include <Carbon/Carbon.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120801/657b39ff/attachment-0001.html>


More information about the macports-changes mailing list