<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[115154] trunk/dports/audio/open_jtalk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/115154">115154</a></dd>
<dt>Author</dt> <dd>hum@macports.org</dd>
<dt>Date</dt> <dd>2013-12-26 19:19:41 -0800 (Thu, 26 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>open_jtalk: update to 1.07; install additional documents; fix open_jtalk_demo script to specify htsvoice files.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsaudioopen_jtalkPortfile">trunk/dports/audio/open_jtalk/Portfile</a></li>
<li><a href="#trunkdportsaudioopen_jtalkfilesopen_jtalk_demo">trunk/dports/audio/open_jtalk/files/open_jtalk_demo</a></li>
<li><a href="#trunkdportsaudioopen_jtalkfilespatchMakefilediff">trunk/dports/audio/open_jtalk/files/patch-Makefile.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsaudioopen_jtalkPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/audio/open_jtalk/Portfile (115153 => 115154)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/open_jtalk/Portfile        2013-12-27 01:56:06 UTC (rev 115153)
+++ trunk/dports/audio/open_jtalk/Portfile        2013-12-27 03:19:41 UTC (rev 115154)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> PortSystem          1.0
</span><span class="cx"> 
</span><span class="cx"> name                open_jtalk
</span><del>-version             1.06
</del><ins>+version             1.07
</ins><span class="cx"> categories          audio japanese
</span><span class="cx"> platforms           darwin
</span><span class="cx"> maintainers         hum openmaintainer
</span><span class="lines">@@ -18,8 +18,8 @@
</span><span class="cx"> master_sites        sourceforge:project/open-jtalk/Open%20JTalk/open_jtalk-${version}
</span><span class="cx"> 
</span><span class="cx"> checksums           ${distname}${extract.suffix} \
</span><del>-                    rmd160  397e12e7366fd98a5e91ff887345d985c9608794 \
-                    sha256  cb0a17a5301458c7ea1992dbed61feb75a109af208ffdacf6a3459ecda980be7
</del><ins>+                    rmd160  eee8278652bdcd6f0e93eb0d7d8ca27f7eea791a \
+                    sha256  080efce34ba53b07f986fcc98e7bce54d08c42a7a9feb4dcd2bb0e88ce182ed1 \
</ins><span class="cx"> 
</span><span class="cx"> depends_lib         port:hts_engine_API \
</span><span class="cx">                     port:libiconv
</span><span class="lines">@@ -33,11 +33,19 @@
</span><span class="cx"> configure.args      --with-hts-engine-header-path=${prefix}/include \
</span><span class="cx">                     --with-hts-engine-library-path=${prefix}/lib
</span><span class="cx"> 
</span><ins>+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS COPYING ChangeLog NEWS README \
+        ${destroot}${docdir}
+}
+
</ins><span class="cx"> default_variants    +voice
</span><span class="cx"> 
</span><span class="cx"> set voice_nitech    hts_voice_nitech_jp_atr503_m001-1.05
</span><span class="cx"> #set voice_nitech    hts_voice_nitech_jp_atr503_m001-${version}
</span><del>-set voice_mei       MMDAgent_Example-1.3.1
</del><ins>+set voice_mei       MMDAgent_Example-1.4
</ins><span class="cx"> set voice_nitech_dist  ${voice_nitech}${extract.suffix}
</span><span class="cx"> set voice_mei_dist     ${voice_mei}.zip
</span><span class="cx"> 
</span><span class="lines">@@ -48,16 +56,16 @@
</span><span class="cx">                         sourceforge:project/mmdagent/MMDAgent_Example/${voice_mei}/:mei
</span><span class="cx"> 
</span><span class="cx">     checksums-append    ${voice_nitech_dist} \
</span><del>-                        sha1    4298eaef57f86b7c502488aad2f95963da75f061 \
</del><span class="cx">                         rmd160  0cbb453a8af84e30f840d174cd13ed30dcd9fe7d \
</span><ins>+                        sha256  2e555c88482267b2931c7dbc7ecc0e3df140d6f68fc913aa4822f336c9e0adfc \
</ins><span class="cx">                         ${voice_mei_dist} \
</span><del>-                        rmd160  592277091d8ded3e7fe0f037e2d4d96f3ca85b5a \
-                        sha256  0521ae9b7fc4b300d2364ad7595acf3285fac517ed8496324c8df54af09aacd3
</del><ins>+                        rmd160  f85fbb8e93505f60989452697d95418a3c2ed0cf \
+                        sha256  44096d92a8d2aef0e6079dc18cf0ec25f557aa5df5476c8c8b099cba8019c11a
</ins><span class="cx">     extract.only-delete ${voice_mei_dist}
</span><span class="cx"> 
</span><span class="cx">     post-extract {
</span><span class="cx">         ui_debug &quot;Extracting ${voice_mei_dist}&quot;
</span><del>-        system &quot;unzip -q ${distpath}/${voice_mei_dist} -d ${workpath}&quot;
</del><ins>+        system -W ${workpath} &quot;unzip -q ${distpath}/${voice_mei_dist}&quot;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     post-destroot {
</span></span></pre></div>
<a id="trunkdportsaudioopen_jtalkfilesopen_jtalk_demo"></a>
<div class="modfile"><h4>Modified: trunk/dports/audio/open_jtalk/files/open_jtalk_demo (115153 => 115154)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/open_jtalk/files/open_jtalk_demo        2013-12-27 01:56:06 UTC (rev 115153)
+++ trunk/dports/audio/open_jtalk/files/open_jtalk_demo        2013-12-27 03:19:41 UTC (rev 115154)
</span><span class="lines">@@ -14,11 +14,11 @@
</span><span class="cx"> DIC_DIR=@prefix@/lib/open_jtalk/dic
</span><span class="cx"> 
</span><span class="cx"> VOICE_ROOT=@prefix@/lib/open_jtalk/voice
</span><del>-VOICE_NITECH=&quot;$VOICE_ROOT/nitech&quot;
-VOICE_MEI_BASE=&quot;$VOICE_ROOT/mei_&quot;
</del><ins>+VOICE_NITECH=&quot;$VOICE_ROOT/nitech/nitech_jp_atr503_m001&quot;
+VOICE_MEI_BASE=&quot;$VOICE_ROOT/mei/mei_&quot;
</ins><span class="cx"> VOICE_TONE=normal
</span><span class="cx"> VOICE_MEI=&quot;$VOICE_MEI_BASE$VOICE_TONE&quot;
</span><del>-VOICE_DIR=&quot;$VOICE_MEI&quot;
</del><ins>+VOICE_BASE=&quot;$VOICE_MEI&quot;
</ins><span class="cx"> 
</span><span class="cx"> INFILE=/dev/stdin
</span><span class="cx"> 
</span><span class="lines">@@ -26,8 +26,8 @@
</span><span class="cx">     case &quot;$1&quot; in
</span><span class="cx">         -h|--help)   usage ;;
</span><span class="cx">         -i|--infile) INFILE=&quot;$2&quot;; shift 2 ;;
</span><del>-        -v|--voice)  [ &quot;$2&quot; == &quot;nitech&quot; ] &amp;&amp; VOICE_DIR=&quot;$VOICE_NITECH&quot;; shift 2 ;;
-        -t|--tone)   VOICE_DIR=&quot;$VOICE_MEI_BASE$2&quot;; shift 2 ;;
</del><ins>+        -v|--voice)  [ &quot;$2&quot; == &quot;nitech&quot; ] &amp;&amp; VOICE_BASE=&quot;$VOICE_NITECH&quot;; shift 2 ;;
+        -t|--tone)   VOICE_BASE=&quot;$VOICE_MEI_BASE$2&quot;; shift 2 ;;
</ins><span class="cx">         &quot;&quot;)          INFILE=/dev/stdin ;;
</span><span class="cx">         *)           INFILE=&quot;$1&quot;; shift ;;
</span><span class="cx">     esac
</span><span class="lines">@@ -38,27 +38,8 @@
</span><span class="cx"> while read LINE
</span><span class="cx"> do
</span><span class="cx">     echo $LINE | @prefix@/bin/iconv -t EUC-JP | \
</span><del>-        @prefix@/bin/open_jtalk -s 48000 -p 240 -a 0.55 \
-        -td $VOICE_DIR/tree-dur.inf \
-        -tf $VOICE_DIR/tree-lf0.inf \
-        -tm $VOICE_DIR/tree-mgc.inf \
-        -tl $VOICE_DIR/tree-lpf.inf \
-        -md $VOICE_DIR/dur.pdf \
-        -mf $VOICE_DIR/lf0.pdf \
-        -mm $VOICE_DIR/mgc.pdf \
-        -ml $VOICE_DIR/lpf.pdf \
-        -df $VOICE_DIR/lf0.win1 \
-        -df $VOICE_DIR/lf0.win2 \
-        -df $VOICE_DIR/lf0.win3 \
-        -dm $VOICE_DIR/mgc.win1 \
-        -dm $VOICE_DIR/mgc.win2 \
-        -dm $VOICE_DIR/mgc.win3 \
-        -dl $VOICE_DIR/lpf.win1 \
-        -cf $VOICE_DIR/gv-lf0.pdf \
-        -cm $VOICE_DIR/gv-mgc.pdf \
-        -ef $VOICE_DIR/tree-gv-lf0.inf \
-        -em $VOICE_DIR/tree-gv-mgc.inf \
-        -k  $VOICE_DIR/gv-switch.inf \
</del><ins>+        @prefix@/bin/open_jtalk \
+        -m $VOICE_BASE.htsvoice \
</ins><span class="cx">         -x  $DIC_DIR \
</span><span class="cx">         -ow $WAVFILE &amp;&amp; afplay $WAVFILE
</span><span class="cx"> done &lt; &quot;$INFILE&quot;
</span></span></pre></div>
<a id="trunkdportsaudioopen_jtalkfilespatchMakefilediff"></a>
<div class="modfile"><h4>Modified: trunk/dports/audio/open_jtalk/files/patch-Makefile.diff (115153 => 115154)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/open_jtalk/files/patch-Makefile.diff        2013-12-27 01:56:06 UTC (rev 115153)
+++ trunk/dports/audio/open_jtalk/files/patch-Makefile.diff        2013-12-27 03:19:41 UTC (rev 115154)
</span><span class="lines">@@ -9,9 +9,9 @@
</span><span class="cx">  
</span><span class="cx">  dic_DATA   = char.bin matrix.bin sys.dic unk.dic left-id.def right-id.def rewrite.def pos-id.def
</span><span class="cx">  
</span><del>---- mecab-naist-jdic/Makefile.in.orig        2010-12-18 18:14:24.000000000 +0900
-+++ mecab-naist-jdic/Makefile.in        2011-04-10 16:31:36.000000000 +0900
-@@ -167,7 +167,7 @@
</del><ins>+--- mecab-naist-jdic/Makefile.in.orig        2013-12-24 23:26:07.000000000 +0900
++++ mecab-naist-jdic/Makefile.in        2013-12-27 11:15:12.000000000 +0900
+@@ -165,7 +165,7 @@
</ins><span class="cx">  EXTRA_DIST = COPYING Makefile.mak naist-jdic.csv matrix.def left-id.def pos-id.def rewrite.def right-id.def char.def unk.def feature.def
</span><span class="cx">  DISTCLEANFILES = *.log *.out *~
</span><span class="cx">  MAINTAINERCLEANFILES = Makefile.in char.bin matrix.bin sys.dic unk.dic
</span></span></pre>
</div>
</div>

</body>
</html>