summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pinto dos Santos (danielpi) <danielpi@gmx.net>2008-11-14 23:15:20 +0000
committerDaniel Pinto dos Santos (danielpi) <danielpi@gmx.net>2008-11-14 23:15:20 +0000
commit0365e98fd62a482ec7bad1c393f0232a4b3a3b30 (patch)
tree3df779ad9582d9ea10eebdf6b63ca75a69bcd1b0 /app-accessibility
parentlicenses/julius: adding the license for julius (diff)
downloadsunrise-0365e98fd62a482ec7bad1c393f0232a4b3a3b30.tar.gz
sunrise-0365e98fd62a482ec7bad1c393f0232a4b3a3b30.tar.bz2
sunrise-0365e98fd62a482ec7bad1c393f0232a4b3a3b30.zip
app-accessibility/julius: New ebuild for julius, see bug #245475. Thanks to idl0r and Tommy.
svn path=/sunrise/; revision=7351
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/julius/ChangeLog10
-rw-r--r--app-accessibility/julius/Manifest7
-rw-r--r--app-accessibility/julius/files/julius-4.1-makefile.patch296
-rw-r--r--app-accessibility/julius/files/julius-4.1-mkfacrash.patch12
-rw-r--r--app-accessibility/julius/files/julius-4.1-newParam.patch67
-rw-r--r--app-accessibility/julius/julius-4.1.ebuild36
-rw-r--r--app-accessibility/julius/metadata.xml8
7 files changed, 436 insertions, 0 deletions
diff --git a/app-accessibility/julius/ChangeLog b/app-accessibility/julius/ChangeLog
new file mode 100644
index 000000000..389409930
--- /dev/null
+++ b/app-accessibility/julius/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-accessibility/julius
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 14 Nov 2008; Daniel Pinto dos Santos (danielpi) <danielpi@gmx.net>
+ +julius-4.1.ebuild, +files/julius-4.1-makefile.patch,
+ +files/julius-4.1-mkfacrash.patch, +files/julius-4.1-newParam.patch,
+ +metadata.xml:
+ New ebuild for julius, see bug #245475. Thanks to idl0r and Tommy.
+
diff --git a/app-accessibility/julius/Manifest b/app-accessibility/julius/Manifest
new file mode 100644
index 000000000..b43b986d6
--- /dev/null
+++ b/app-accessibility/julius/Manifest
@@ -0,0 +1,7 @@
+AUX julius-4.1-makefile.patch 10908 RMD160 d59ea21d9c0279bf28be2a03206dc5733fad338e SHA1 40df0f52c81433aac90bbe399cc1df3f11c58b63 SHA256 8fa76475548cde8133c398a6dbaccee3d0be2d797746adb6e2126ef709f9d467
+AUX julius-4.1-mkfacrash.patch 578 RMD160 7f44847081f4779c77106429d6f635ea82b3f1b6 SHA1 ed59e6accacfbe202024534331d2782d8c73b075 SHA256 9f596306b82478cd33c749760865165da2aacc3289b81fb0ea252b83625ba3bf
+AUX julius-4.1-newParam.patch 3687 RMD160 353736266f7667ecae0aaa9c5bdb95d1c6701030 SHA1 a67e098bdbf9392c79a501a528a7bc057753e5c5 SHA256 c594e947b49555d53fe8c27f82df1cc7eda32882df706c34cf20e3a7810f8c23
+DIST julius-4.1.tar.gz 1133938 RMD160 bf7621c07147986ddd1dd446e28feeb3eae163db SHA1 7ec08930febc399ac6b220b6c8882f6d49339b29 SHA256 56e12b556946027962ba2706bf84286cac9ab417b79bcbf5b2b19cf31020f418
+EBUILD julius-4.1.ebuild 857 RMD160 5ccdeaf0cf14060e61bd837d162ebfc720ffc623 SHA1 33f71c8fb0c1de619316a9386e9f05173fd69e63 SHA256 88352d0d31161e4f639bcaaa01a2897fd777f2d061856fff55bd3c6ce36dd794
+MISC ChangeLog 408 RMD160 f6ea3e5311496b8bf16ce377dbcc72bece058cf8 SHA1 20d81d428545a8f01173266123bc2d57ef1ccf8a SHA256 a27e8352a421c68e4f57c1d30c635ed2bc273d7580ae0943b6233e4c4e4e21a1
+MISC metadata.xml 233 RMD160 330c0bca7b6e8ac119c86c76aa1cdacbd75a3be5 SHA1 3ab9c3538c3efcb3e27dc47329f1a7519c51942e SHA256 734cac1d66a42bc20422cdd070a512580a2394a73f530b82ac793599d1c908da
diff --git a/app-accessibility/julius/files/julius-4.1-makefile.patch b/app-accessibility/julius/files/julius-4.1-makefile.patch
new file mode 100644
index 000000000..6de5f31b0
--- /dev/null
+++ b/app-accessibility/julius/files/julius-4.1-makefile.patch
@@ -0,0 +1,296 @@
+diff -Naur working/dists/julius-4.1/adinrec/Makefile.in working/dists/julius-4.1_mod/adinrec/Makefile.in
+--- adinrec/Makefile.in 2008-10-02 21:57:01.000000000 +1300
++++ adinrec/Makefile.in 2008-11-10 15:27:34.000000000 +1300
+@@ -37,7 +37,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/adintool/Makefile.in working/dists/julius-4.1_mod/adintool/Makefile.in
+--- adintool/Makefile.in 2008-10-02 21:57:01.000000000 +1300
++++ adintool/Makefile.in 2008-11-10 15:27:52.000000000 +1300
+@@ -37,7 +37,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/generate-ngram/Makefile.in working/dists/julius-4.1_mod/generate-ngram/Makefile.in
+--- generate-ngram/Makefile.in 2008-10-02 21:57:01.000000000 +1300
++++ generate-ngram/Makefile.in 2008-11-10 15:28:13.000000000 +1300
+@@ -33,7 +33,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) $(OBJ) *~ core
+diff -Naur working/dists/julius-4.1/gramtools/accept_check/Makefile.in working/dists/julius-4.1_mod/gramtools/accept_check/Makefile.in
+--- gramtools/accept_check/Makefile.in 2008-10-02 21:57:02.000000000 +1300
++++ gramtools/accept_check/Makefile.in 2008-11-10 15:28:35.000000000 +1300
+@@ -36,7 +36,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/gramtools/dfa_determinize/Makefile.in working/dists/julius-4.1_mod/gramtools/dfa_determinize/Makefile.in
+--- gramtools/dfa_determinize/Makefile.in 2008-10-02 21:57:02.000000000 +1300
++++ gramtools/dfa_determinize/Makefile.in 2008-11-10 15:28:53.000000000 +1300
+@@ -35,7 +35,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/gramtools/dfa_minimize/Makefile.in working/dists/julius-4.1_mod/gramtools/dfa_minimize/Makefile.in
+--- gramtools/dfa_minimize/Makefile.in 2008-10-02 21:57:02.000000000 +1300
++++ gramtools/dfa_minimize/Makefile.in 2008-11-10 15:29:15.000000000 +1300
+@@ -35,7 +35,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/gramtools/generate/Makefile.in working/dists/julius-4.1_mod/gramtools/generate/Makefile.in
+--- gramtools/generate/Makefile.in 2008-10-02 21:57:02.000000000 +1300
++++ gramtools/generate/Makefile.in 2008-11-10 15:29:35.000000000 +1300
+@@ -35,7 +35,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/gramtools/gram2sapixml/Makefile.in working/dists/julius-4.1_mod/gramtools/gram2sapixml/Makefile.in
+--- gramtools/gram2sapixml/Makefile.in 2007-12-18 21:45:47.000000000 +1300
++++ gramtools/gram2sapixml/Makefile.in 2008-11-10 15:29:55.000000000 +1300
+@@ -18,7 +18,7 @@
+
+ install.bin:
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ echo nothing to do
+diff -Naur working/dists/julius-4.1/gramtools/mkdfa/Makefile.in working/dists/julius-4.1_mod/gramtools/mkdfa/Makefile.in
+--- gramtools/mkdfa/Makefile.in 2007-12-18 21:45:47.000000000 +1300
++++ gramtools/mkdfa/Makefile.in 2008-11-10 15:30:26.000000000 +1300
+@@ -19,12 +19,12 @@
+ install:
+ (cd $(SUBDIR); $(MAKE) install)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ install.bin:
+ (cd $(SUBDIR); $(MAKE) install.bin)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ (cd $(SUBDIR); $(MAKE) clean)
+diff -Naur working/dists/julius-4.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in working/dists/julius-4.1_mod/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
+--- gramtools/mkdfa/mkfa-1.44-flex/Makefile.in 2007-12-18 21:45:47.000000000 +1300
++++ gramtools/mkdfa/mkfa-1.44-flex/Makefile.in 2008-11-10 15:30:47.000000000 +1300
+@@ -44,7 +44,7 @@
+
+ install.bin:
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) *.o *~ core
+diff -Naur working/dists/julius-4.1/gramtools/nextword/Makefile.in working/dists/julius-4.1_mod/gramtools/nextword/Makefile.in
+--- gramtools/nextword/Makefile.in 2008-10-02 21:57:02.000000000 +1300
++++ gramtools/nextword/Makefile.in 2008-11-10 15:31:09.000000000 +1300
+@@ -36,7 +36,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/gramtools/yomi2voca/Makefile.in working/dists/julius-4.1_mod/gramtools/yomi2voca/Makefile.in
+--- gramtools/yomi2voca/Makefile.in 2007-12-18 21:45:48.000000000 +1300
++++ gramtools/yomi2voca/Makefile.in 2008-11-10 15:31:25.000000000 +1300
+@@ -18,7 +18,7 @@
+
+ install.bin:
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ echo nothing to do
+diff -Naur working/dists/julius-4.1/jclient-perl/Makefile.in working/dists/julius-4.1_mod/jclient-perl/Makefile.in
+--- jclient-perl/Makefile.in 2008-10-02 21:57:03.000000000 +1300
++++ jclient-perl/Makefile.in 2008-11-10 15:31:57.000000000 +1300
+@@ -18,7 +18,7 @@
+
+ install.bin:
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ echo nothing to do
+diff -Naur working/dists/julius-4.1/jcontrol/Makefile.in working/dists/julius-4.1_mod/jcontrol/Makefile.in
+--- jcontrol/Makefile.in 2008-10-02 21:57:03.000000000 +1300
++++ jcontrol/Makefile.in 2008-11-10 15:32:12.000000000 +1300
+@@ -32,7 +32,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) $(OBJ)
+diff -Naur working/dists/julius-4.1/julius/Makefile.in working/dists/julius-4.1_mod/julius/Makefile.in
+--- julius/Makefile.in 2008-10-02 21:57:03.000000000 +1300
++++ julius/Makefile.in 2008-11-10 15:32:37.000000000 +1300
+@@ -26,10 +26,10 @@
+ ## install
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-bindir=@bindir@
+-libdir=@libdir@
+-includedir=@includedir@
+-mandir=@mandir@
++bindir=$(DESTDIR)/@bindir@
++libdir=$(DESTDIR)/@libdir@
++includedir=$(DESTDIR)/@includedir@
++mandir=$(DESTDIR)/@mandir@
+ INSTALL=@INSTALL@
+ INSTALL_DATA=@INSTALL_DATA@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
+diff -Naur working/dists/julius-4.1/libjulius/Makefile.in working/dists/julius-4.1_mod/libjulius/Makefile.in
+--- libjulius/Makefile.in 2008-10-03 04:01:59.000000000 +1300
++++ libjulius/Makefile.in 2008-11-10 15:33:17.000000000 +1300
+@@ -26,9 +26,9 @@
+ ## install
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-bindir=@bindir@
+-libdir=@libdir@
+-includedir=@includedir@
++bindir=$(DESTDIR)/@bindir@
++libdir=$(DESTDIR)/@libdir@
++includedir=$(DESTDIR)/@includedir@
+ INSTALL=@INSTALL@
+ INSTALL_DATA=@INSTALL_DATA@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
+diff -Naur working/dists/julius-4.1/libsent/Makefile.in working/dists/julius-4.1_mod/libsent/Makefile.in
+--- libsent/Makefile.in 2008-10-03 04:01:59.000000000 +1300
++++ libsent/Makefile.in 2008-11-10 15:33:37.000000000 +1300
+@@ -25,9 +25,9 @@
+ ## install
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-bindir=@bindir@
+-libdir=@libdir@
+-includedir=@includedir@
++bindir=$(DESTDIR)/@bindir@
++libdir=$(DESTDIR)/@libdir@
++includedir=$(DESTDIR)/@includedir@
+ INSTALL=@INSTALL@
+ INSTALL_DATA=@INSTALL_DATA@
+ INSTALL_PROGRAM=@INSTALL_PROGRAM@
+diff -Naur working/dists/julius-4.1/man/Makefile.in working/dists/julius-4.1_mod/man/Makefile.in
+--- man/Makefile.in 2008-10-03 04:01:59.000000000 +1300
++++ man/Makefile.in 2008-11-10 15:48:22.000000000 +1300
+@@ -19,16 +19,16 @@
+ install: install.man install.man.ja
+
+ install.man:
+- ${INSTALL} -d @mandir@/man1
++ ${INSTALL} -d $(DESTDIR)@mandir@/man1
+ for f in *.1; do \
+- @INSTALL_DATA@ $$f @mandir@/man1/$$f; \
++ @INSTALL_DATA@ $$f $(DESTDIR)/@mandir@/man1/$$f; \
+ done
+
+ install.man.ja:
+- ${INSTALL} -d @mandir@/man1/ja
++ ${INSTALL} -d $(DESTDIR)@mandir@/man1/ja
+ cd ja;
+ for f in *.1; do \
+- @INSTALL_DATA@ $$f @mandir@/man1/ja/$$f; \
++ @INSTALL_DATA@ $$f $(DESTDIR)/@mandir@/man1/ja/$$f; \
+ done
+ cd ..
+
+diff -Naur working/dists/julius-4.1/mkbingram/Makefile.in working/dists/julius-4.1_mod/mkbingram/Makefile.in
+--- mkbingram/Makefile.in 2008-10-02 21:57:03.000000000 +1300
++++ mkbingram/Makefile.in 2008-11-10 15:34:25.000000000 +1300
+@@ -33,7 +33,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) $(OBJ)
+diff -Naur working/dists/julius-4.1/mkbinhmm/Makefile.in working/dists/julius-4.1_mod/mkbinhmm/Makefile.in
+--- mkbinhmm/Makefile.in 2008-10-02 21:57:04.000000000 +1300
++++ mkbinhmm/Makefile.in 2008-11-10 15:34:43.000000000 +1300
+@@ -33,7 +33,7 @@
+
+ install.bin: mkbinhmm mkbinhmmlist
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ mkbinhmm mkbinhmmlist @bindir@
++ @INSTALL_PROGRAM@ mkbinhmm mkbinhmmlist $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) mkbinhmm.o mkbinhmmlist.o
+diff -Naur working/dists/julius-4.1/mkgshmm/Makefile.in working/dists/julius-4.1_mod/mkgshmm/Makefile.in
+--- mkgshmm/Makefile.in 2008-10-02 21:57:04.000000000 +1300
++++ mkgshmm/Makefile.in 2008-11-10 15:35:07.000000000 +1300
+@@ -24,7 +24,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+diff -Naur working/dists/julius-4.1/mkss/Makefile.in working/dists/julius-4.1_mod/mkss/Makefile.in
+--- mkss/Makefile.in 2008-10-02 21:57:04.000000000 +1300
++++ mkss/Makefile.in 2008-11-10 15:35:22.000000000 +1300
+@@ -37,7 +37,7 @@
+
+ install.bin: $(TARGET)
+ ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
diff --git a/app-accessibility/julius/files/julius-4.1-mkfacrash.patch b/app-accessibility/julius/files/julius-4.1-mkfacrash.patch
new file mode 100644
index 000000000..906e79367
--- /dev/null
+++ b/app-accessibility/julius/files/julius-4.1-mkfacrash.patch
@@ -0,0 +1,12 @@
+diff -Naur working/dists/julius-4.1/gramtools/mkdfa/mkfa-1.44-flex/triplet.c working/dists/julius-4.1_mod2/gramtools/mkdfa/mkfa-1.44-flex/triplet.c
+--- gramtools/mkdfa/mkfa-1.44-flex/triplet.c 2007-12-18 21:45:47.000000000 +1300
++++ gramtools/mkdfa/mkfa-1.44-flex/triplet.c 2008-11-10 15:40:09.000000000 +1300
+@@ -150,7 +150,7 @@
+ FAQ *newFAQ;
+
+ if( fa != NULL ){
+- if( (newFAQ = malloc( sizeof(newFAQ) )) == NULL ){
++ if( (newFAQ = malloc( sizeof(FAQ) )) == NULL ){
+ errMes( "Can't malloc queue for breadth-first search of triplet list" );
+ }
+ newFAQ->fa = fa;
diff --git a/app-accessibility/julius/files/julius-4.1-newParam.patch b/app-accessibility/julius/files/julius-4.1-newParam.patch
new file mode 100644
index 000000000..6f545ee76
--- /dev/null
+++ b/app-accessibility/julius/files/julius-4.1-newParam.patch
@@ -0,0 +1,67 @@
+diff -Naur julius-4.1/libjulius/include/julius/extern.h julius-4.1_new/libjulius/include/julius/extern.h
+--- libjulius/include/julius/extern.h 2008-09-25 07:00:05.000000000 +0200
++++ libjulius/include/julius/extern.h 2008-11-03 10:22:19.000000000 +0100
+@@ -109,9 +109,9 @@
+ void malloc_wordtrellis(RecogProcess *r);
+ void free_wordtrellis(StackDecode *dwrk);
+ void scan_word(NODE *now, HTK_Param *param, RecogProcess *r);
+-void next_word(NODE *now, NODE *new, NEXTWORD *nword, HTK_Param *param, RecogProcess *r);
+-void start_word(NODE *new, NEXTWORD *nword, HTK_Param *param, RecogProcess *r);
+-void last_next_word(NODE *now, NODE *new, HTK_Param *param, RecogProcess *r);
++void next_word(NODE *now, NODE *newParam, NEXTWORD *nword, HTK_Param *param, RecogProcess *r);
++void start_word(NODE *newParam, NEXTWORD *nword, HTK_Param *param, RecogProcess *r);
++void last_next_word(NODE *now, NODE *newParam, HTK_Param *param, RecogProcess *r);
+
+ /* wav2mfcc.c */
+ boolean wav2mfcc(SP16 speech[], int speechlen, Recog *recog);
+diff -Naur julius-4.1/libsent/include/sent/htk_hmm.h julius-4.1_new/libsent/include/sent/htk_hmm.h
+--- libsent/include/sent/htk_hmm.h 2008-09-30 05:58:18.000000000 +0200
++++ libsent/include/sent/htk_hmm.h 2008-11-03 10:22:19.000000000 +0100
+@@ -428,16 +428,16 @@
+ char *get_cov_str(short covtype);
+ char *get_dur_str(short durtype);
+ /* rdhmmdef_trans.c */
+-void trans_add(HTK_HMM_INFO *hmm, HTK_HMM_Trans *new);
++void trans_add(HTK_HMM_INFO *hmm, HTK_HMM_Trans *newParam);
+ HTK_HMM_Trans *get_trans_data(FILE *, HTK_HMM_INFO *);
+ void def_trans_macro(char *, FILE *, HTK_HMM_INFO *);
+ /* rdhmmdef_state.c */
+ HTK_HMM_State *get_state_data(FILE *, HTK_HMM_INFO *);
+ void def_state_macro(char *, FILE *, HTK_HMM_INFO *);
+ HTK_HMM_State *state_lookup(HTK_HMM_INFO *hmm, char *keyname);
+-void state_add(HTK_HMM_INFO *hmm, HTK_HMM_State *new);
++void state_add(HTK_HMM_INFO *hmm, HTK_HMM_State *newParam);
+ /* rdhmmdef_mpdf.c */
+-void mpdf_add(HTK_HMM_INFO *hmm, HTK_HMM_PDF *new);
++void mpdf_add(HTK_HMM_INFO *hmm, HTK_HMM_PDF *newParam);
+ HTK_HMM_PDF *mpdf_lookup(HTK_HMM_INFO *hmm, char *keyname);
+ HTK_HMM_PDF *get_mpdf_data(FILE *fp, HTK_HMM_INFO *hmm, int mix_num, short stream_id);
+ void def_mpdf_macro(char *name, FILE *fp, HTK_HMM_INFO *hmm);
+ -445,22 +445,22 @@
+ HTK_HMM_Dens *get_dens_data(FILE *, HTK_HMM_INFO *);
+ void def_dens_macro(char *, FILE *, HTK_HMM_INFO *);
+ HTK_HMM_Dens *dens_lookup(HTK_HMM_INFO *hmm, char *keyname);
+-void dens_add(HTK_HMM_INFO *hmm, HTK_HMM_Dens *new);
++void dens_add(HTK_HMM_INFO *hmm, HTK_HMM_Dens *newParam);
+ /* rdhmmdef_var.c */
+ HTK_HMM_Var *get_var_data(FILE *, HTK_HMM_INFO *);
+ void def_var_macro(char *, FILE *, HTK_HMM_INFO *);
+-void var_add(HTK_HMM_INFO *hmm, HTK_HMM_Var *new);
++void var_add(HTK_HMM_INFO *hmm, HTK_HMM_Var *newParam);
+ /* rdhmmdef_streamweight.c */
+ HTK_HMM_StreamWeight *get_streamweight_data(FILE *fp, HTK_HMM_INFO *hmm);
+ void def_streamweight_macro(char *, FILE *, HTK_HMM_INFO *);
+-void sw_add(HTK_HMM_INFO *hmm, HTK_HMM_StreamWeight *new);
++void sw_add(HTK_HMM_INFO *hmm, HTK_HMM_StreamWeight *newParam);
+ /* rdhmmdef_data.c */
+ void def_HMM(char *, FILE *, HTK_HMM_INFO *);
+ HTK_HMM_Data *htk_hmmdata_new(HTK_HMM_INFO *);
+-void htk_hmmdata_add(HTK_HMM_INFO *hmm, HTK_HMM_Data *new);
++void htk_hmmdata_add(HTK_HMM_INFO *hmm, HTK_HMM_Data *newParam);
+ /* rdhmmdef_tiedmix.c */
+ void tmix_read(FILE *fp, HTK_HMM_PDF *mpdf, HTK_HMM_INFO *hmm);
+-void codebook_add(HTK_HMM_INFO *hmm, GCODEBOOK *new);
++void codebook_add(HTK_HMM_INFO *hmm, GCODEBOOK *newParam);
+ /* rdhmmdef_regtree.c */
+ void def_regtree_macro(char *name, FILE *fp, HTK_HMM_INFO *hmm);
+ /* rdhmmdef_hmmlist.c */ \ No newline at end of file
diff --git a/app-accessibility/julius/julius-4.1.ebuild b/app-accessibility/julius/julius-4.1.ebuild
new file mode 100644
index 000000000..5c847d784
--- /dev/null
+++ b/app-accessibility/julius/julius-4.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=1
+
+inherit eutils
+
+DESCRIPTION="High-performance, two-pass large vocabulary continuous speech recognition"
+HOMEPAGE="http://julius.sourceforge.jp/en_index.php"
+SRC_URI="mirror://sourceforge.jp/${PN}/33146/${P}.tar.gz"
+
+LICENSE="julius"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="alsa gtk gzip sndfile zlib"
+
+DEPEND=">=sys-libs/readline-4.1
+ sys-libs/glibc
+ alsa? ( media-libs/alsa-lib )
+ gtk? ( x11-libs/gtk+:1 )
+ gzip? ( app-arch/gzip )
+ sndfile? ( media-libs/libsndfile )
+ zlib? ( sys-libs/zlib )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/julius-4.1-makefile.patch
+ epatch "${FILESDIR}"/julius-4.1-newParam.patch
+ epatch "${FILESDIR}"/julius-4.1-mkfacrash.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
diff --git a/app-accessibility/julius/metadata.xml b/app-accessibility/julius/metadata.xml
new file mode 100644
index 000000000..a2f28ff50
--- /dev/null
+++ b/app-accessibility/julius/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>maintainer-wanted</herd>
+ <use>
+ <flag name="gzip">Use gzip compression</flag>
+ </use>
+</pkgmetadata> \ No newline at end of file