Compare commits
19 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a8323175a2 | ||
|
14b427ac24 | ||
|
6badd133b9 | ||
|
87e298da65 | ||
|
2482e1c71a | ||
|
5d04eea04f | ||
|
19486ea4ff | ||
|
ee17281a56 | ||
|
188f3c96ea | ||
|
20f5067863 | ||
|
65890e8b6c | ||
|
aea2e5c174 | ||
|
678b7e59b0 | ||
|
949f3ede2e | ||
|
901a6b762e | ||
|
9e867a304f | ||
|
e06b024deb | ||
|
cf869d4748 | ||
|
07d57f15a8 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -0,0 +1,4 @@
|
||||
/julius-4.2.2.tar.gz
|
||||
/japanese-models.tar.gz
|
||||
/v4.4.2.1.tar.gz
|
||||
/dictation-kit-bf4f024.tar.xz
|
349
julius-4.2.2-DESTDIR.patch
Normal file
349
julius-4.2.2-DESTDIR.patch
Normal file
@ -0,0 +1,349 @@
|
||||
diff -up julius-4.2.2/adinrec/Makefile.in.DESTDIR julius-4.2.2/adinrec/Makefile.in
|
||||
--- julius-4.2.2/adinrec/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/adinrec/Makefile.in 2014-09-03 15:59:11.562922371 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): adinrec.c $(LIBSENT)/libsent.
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/adintool/Makefile.in.DESTDIR julius-4.2.2/adintool/Makefile.in
|
||||
--- julius-4.2.2/adintool/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/adintool/Makefile.in 2014-09-03 15:59:11.562922371 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): adintool.c $(LIBSENT)/libsent
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/generate-ngram/Makefile.in.DESTDIR julius-4.2.2/generate-ngram/Makefile.in
|
||||
--- julius-4.2.2/generate-ngram/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/generate-ngram/Makefile.in 2014-09-03 15:59:11.562922371 -0400
|
||||
@@ -33,8 +33,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ) *~ core
|
||||
diff -up julius-4.2.2/gramtools/accept_check/Makefile.in.DESTDIR julius-4.2.2/gramtools/accept_check/Makefile.in
|
||||
--- julius-4.2.2/gramtools/accept_check/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/accept_check/Makefile.in 2014-09-03 15:59:11.562922371 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/dfa_determinize/Makefile.in.DESTDIR julius-4.2.2/gramtools/dfa_determinize/Makefile.in
|
||||
--- julius-4.2.2/gramtools/dfa_determinize/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/dfa_determinize/Makefile.in 2014-09-03 15:59:11.562922371 -0400
|
||||
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/dfa_minimize/Makefile.in.DESTDIR julius-4.2.2/gramtools/dfa_minimize/Makefile.in
|
||||
--- julius-4.2.2/gramtools/dfa_minimize/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/dfa_minimize/Makefile.in 2014-09-03 15:59:11.562922371 -0400
|
||||
@@ -34,8 +34,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/generate/Makefile.in.DESTDIR julius-4.2.2/gramtools/generate/Makefile.in
|
||||
--- julius-4.2.2/gramtools/generate/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/generate/Makefile.in 2014-09-03 15:59:11.563922366 -0400
|
||||
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/gram2sapixml/Makefile.in.DESTDIR julius-4.2.2/gramtools/gram2sapixml/Makefile.in
|
||||
--- julius-4.2.2/gramtools/gram2sapixml/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/gram2sapixml/Makefile.in 2014-09-03 15:59:11.563922366 -0400
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.2.2/gramtools/mkdfa/Makefile.in.DESTDIR julius-4.2.2/gramtools/mkdfa/Makefile.in
|
||||
--- julius-4.2.2/gramtools/mkdfa/Makefile.in.DESTDIR 2012-07-27 04:44:48.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/mkdfa/Makefile.in 2014-09-03 15:59:11.563922366 -0400
|
||||
@@ -18,13 +18,13 @@ all:
|
||||
|
||||
install:
|
||||
(cd $(SUBDIR); $(MAKE) install)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
install.bin:
|
||||
(cd $(SUBDIR); $(MAKE) install.bin)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
(cd $(SUBDIR); $(MAKE) clean)
|
||||
diff -up julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in.DESTDIR julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
|
||||
--- julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in.DESTDIR 2014-09-03 15:59:17.351892716 -0400
|
||||
+++ julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in 2014-09-03 15:59:32.005817646 -0400
|
||||
@@ -43,8 +43,8 @@ $(TARGET): $(OBJS)
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) *.o *~ core
|
||||
diff -up julius-4.2.2/gramtools/nextword/Makefile.in.DESTDIR julius-4.2.2/gramtools/nextword/Makefile.in
|
||||
--- julius-4.2.2/gramtools/nextword/Makefile.in.DESTDIR 2012-07-27 04:44:49.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/nextword/Makefile.in 2014-09-03 15:59:11.563922366 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/gramtools/yomi2voca/Makefile.in.DESTDIR julius-4.2.2/gramtools/yomi2voca/Makefile.in
|
||||
--- julius-4.2.2/gramtools/yomi2voca/Makefile.in.DESTDIR 2012-07-27 04:44:49.000000000 -0400
|
||||
+++ julius-4.2.2/gramtools/yomi2voca/Makefile.in 2014-09-03 15:59:11.563922366 -0400
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.2.2/jclient-perl/Makefile.in.DESTDIR julius-4.2.2/jclient-perl/Makefile.in
|
||||
--- julius-4.2.2/jclient-perl/Makefile.in.DESTDIR 2012-07-27 04:44:49.000000000 -0400
|
||||
+++ julius-4.2.2/jclient-perl/Makefile.in 2014-09-03 15:59:11.563922366 -0400
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.2.2/jcontrol/Makefile.in.DESTDIR julius-4.2.2/jcontrol/Makefile.in
|
||||
--- julius-4.2.2/jcontrol/Makefile.in.DESTDIR 2012-07-27 04:44:49.000000000 -0400
|
||||
+++ julius-4.2.2/jcontrol/Makefile.in 2014-09-03 15:59:11.564922361 -0400
|
||||
@@ -31,8 +31,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ)
|
||||
diff -up julius-4.2.2/julius/Makefile.in.DESTDIR julius-4.2.2/julius/Makefile.in
|
||||
--- julius-4.2.2/julius/Makefile.in.DESTDIR 2012-07-27 04:44:49.000000000 -0400
|
||||
+++ julius-4.2.2/julius/Makefile.in 2014-09-03 15:59:11.564922361 -0400
|
||||
@@ -61,8 +61,8 @@ $(TARGET): $(LIBSENT)/libsent.a $(LIBJUL
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- ${INSTALL_PROGRAM} $(TARGET) ${bindir}/${INSTALLTARGET}
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ ${INSTALL_PROGRAM} $(TARGET) ${DESTDIR}${bindir}/${INSTALLTARGET}
|
||||
|
||||
depend:
|
||||
makedepend -- $(CFLAGS) -- $(OBJSENT)
|
||||
diff -up julius-4.2.2/libjulius/Makefile.in.DESTDIR julius-4.2.2/libjulius/Makefile.in
|
||||
--- julius-4.2.2/libjulius/Makefile.in.DESTDIR 2012-07-27 04:44:49.000000000 -0400
|
||||
+++ julius-4.2.2/libjulius/Makefile.in 2014-09-03 15:59:11.564922361 -0400
|
||||
@@ -90,16 +90,16 @@ $(TARGET): $(OBJ)
|
||||
install: install.lib install.include install.bin
|
||||
|
||||
install.lib: $(TARGET)
|
||||
- ${INSTALL} -d ${libdir}
|
||||
- ${INSTALL_DATA} $(TARGET) ${libdir}
|
||||
+ ${INSTALL} -d ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
|
||||
install.include:
|
||||
- ${INSTALL} -d ${includedir}/julius
|
||||
- ${INSTALL_DATA} include/julius/*.h ${includedir}/julius
|
||||
+ ${INSTALL} -d ${DESTDIR}${includedir}/julius
|
||||
+ ${INSTALL_DATA} include/julius/*.h ${DESTDIR}${includedir}/julius
|
||||
|
||||
install.bin: libjulius-config-dist
|
||||
- ${INSTALL} -d ${bindir}
|
||||
- ${INSTALL_PROGRAM} libjulius-config-dist ${bindir}/libjulius-config
|
||||
+ ${INSTALL} -d ${DESTDIR}${bindir}
|
||||
+ ${INSTALL_PROGRAM} libjulius-config-dist ${DESTDIR}${bindir}/libjulius-config
|
||||
|
||||
depend:
|
||||
makedepend -- $(CFLAGS) -- $(OBJSENT)
|
||||
diff -up julius-4.2.2/libsent/Makefile.in.DESTDIR julius-4.2.2/libsent/Makefile.in
|
||||
--- julius-4.2.2/libsent/Makefile.in.DESTDIR 2012-07-27 04:44:50.000000000 -0400
|
||||
+++ julius-4.2.2/libsent/Makefile.in 2014-09-03 15:59:11.564922361 -0400
|
||||
@@ -144,16 +144,16 @@ $(TARGET): $(OBJ)
|
||||
install: install.lib install.include install.bin
|
||||
|
||||
install.lib: $(TARGET)
|
||||
- ${INSTALL} -d ${libdir}
|
||||
- ${INSTALL_DATA} $(TARGET) ${libdir}
|
||||
+ ${INSTALL} -d ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
|
||||
install.include:
|
||||
- ${INSTALL} -d ${includedir}/sent
|
||||
- ${INSTALL_DATA} include/sent/*.h ${includedir}/sent
|
||||
+ ${INSTALL} -d ${DESTDIR}${includedir}/sent
|
||||
+ ${INSTALL_DATA} include/sent/*.h ${DESTDIR}${includedir}/sent
|
||||
|
||||
install.bin: libsent-config-dist
|
||||
- ${INSTALL} -d ${bindir}
|
||||
- ${INSTALL_PROGRAM} libsent-config-dist ${bindir}/libsent-config
|
||||
+ ${INSTALL} -d ${DESTDIR}${bindir}
|
||||
+ ${INSTALL_PROGRAM} libsent-config-dist ${DESTDIR}${bindir}/libsent-config
|
||||
|
||||
clean:
|
||||
$(RM) *~ src/*/*~ src/*/*.o src/*/*/*.o src/*/*/*/*.o src/*/*/*/*/*.o include/sent/*~
|
||||
diff -up julius-4.2.2/man/Makefile.in.DESTDIR julius-4.2.2/man/Makefile.in
|
||||
--- julius-4.2.2/man/Makefile.in.DESTDIR 2012-07-27 04:44:57.000000000 -0400
|
||||
+++ julius-4.2.2/man/Makefile.in 2014-09-03 15:59:11.564922361 -0400
|
||||
@@ -19,16 +19,16 @@ all:
|
||||
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@/ja/man1
|
||||
+ ${INSTALL} -d ${DESTDIR}@mandir@/ja/man1
|
||||
cd ja;
|
||||
for f in *.1; do \
|
||||
- @INSTALL_DATA@ $$f @mandir@/ja/man1/$$f; \
|
||||
+ @INSTALL_DATA@ $$f ${DESTDIR}@mandir@/ja/man1/$$f; \
|
||||
done
|
||||
cd ..
|
||||
|
||||
diff -up julius-4.2.2/mkbingram/Makefile.in.DESTDIR julius-4.2.2/mkbingram/Makefile.in
|
||||
--- julius-4.2.2/mkbingram/Makefile.in.DESTDIR 2012-07-27 04:44:57.000000000 -0400
|
||||
+++ julius-4.2.2/mkbingram/Makefile.in 2014-09-03 15:59:11.564922361 -0400
|
||||
@@ -32,8 +32,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ)
|
||||
diff -up julius-4.2.2/mkbinhmm/Makefile.in.DESTDIR julius-4.2.2/mkbinhmm/Makefile.in
|
||||
--- julius-4.2.2/mkbinhmm/Makefile.in.DESTDIR 2012-07-27 04:44:57.000000000 -0400
|
||||
+++ julius-4.2.2/mkbinhmm/Makefile.in 2014-09-03 15:59:11.565922356 -0400
|
||||
@@ -32,8 +32,8 @@ mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(L
|
||||
install: install.bin
|
||||
|
||||
install.bin: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) mkbinhmm.o mkbinhmmlist.o
|
||||
diff -up julius-4.2.2/mkgshmm/Makefile.in.DESTDIR julius-4.2.2/mkgshmm/Makefile.in
|
||||
--- julius-4.2.2/mkgshmm/Makefile.in.DESTDIR 2012-07-27 04:44:57.000000000 -0400
|
||||
+++ julius-4.2.2/mkgshmm/Makefile.in 2014-09-03 15:59:11.565922356 -0400
|
||||
@@ -23,8 +23,8 @@ $(TARGET):
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.2.2/mkss/Makefile.in.DESTDIR julius-4.2.2/mkss/Makefile.in
|
||||
--- julius-4.2.2/mkss/Makefile.in.DESTDIR 2012-07-27 04:44:57.000000000 -0400
|
||||
+++ julius-4.2.2/mkss/Makefile.in 2014-09-03 15:59:11.565922356 -0400
|
||||
@@ -36,8 +36,8 @@ $(TARGET): mkss.c $(LIBSENT)/libsent.a $
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
181
julius-4.2.2-sharedlibs.patch
Normal file
181
julius-4.2.2-sharedlibs.patch
Normal file
@ -0,0 +1,181 @@
|
||||
diff -up julius-4.2.2/adinrec/Makefile.in.shared julius-4.2.2/adinrec/Makefile.in
|
||||
--- julius-4.2.2/adinrec/Makefile.in.shared 2012-08-13 13:44:27.067277251 -0400
|
||||
+++ julius-4.2.2/adinrec/Makefile.in 2012-08-13 13:44:27.079277250 -0400
|
||||
@@ -28,7 +28,7 @@ TARGET=adinrec@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): adinrec.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): adinrec.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ adinrec.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.2.2/adintool/Makefile.in.shared julius-4.2.2/adintool/Makefile.in
|
||||
--- julius-4.2.2/adintool/Makefile.in.shared 2012-08-13 13:44:27.068277251 -0400
|
||||
+++ julius-4.2.2/adintool/Makefile.in 2012-08-13 13:44:27.079277250 -0400
|
||||
@@ -28,7 +28,7 @@ TARGET=adintool@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): adintool.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): adintool.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ adintool.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.2.2/generate-ngram/Makefile.in.shared julius-4.2.2/generate-ngram/Makefile.in
|
||||
--- julius-4.2.2/generate-ngram/Makefile.in.shared 2012-08-13 13:44:27.069277251 -0400
|
||||
+++ julius-4.2.2/generate-ngram/Makefile.in 2012-08-13 13:44:27.080277250 -0400
|
||||
@@ -27,7 +27,7 @@ TARGET=generate-ngram@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.2.2/julius/Makefile.in.shared julius-4.2.2/julius/Makefile.in
|
||||
--- julius-4.2.2/julius/Makefile.in.shared 2012-08-13 13:44:27.074277251 -0400
|
||||
+++ julius-4.2.2/julius/Makefile.in 2012-08-13 13:44:27.081277249 -0400
|
||||
@@ -53,7 +53,7 @@ record.o \
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a $(OBJ)
|
||||
+$(TARGET): $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0 $(OBJ)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(GTK_LIBS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.2.2/libjulius/Makefile.in.shared julius-4.2.2/libjulius/Makefile.in
|
||||
--- julius-4.2.2/libjulius/Makefile.in.shared 2012-08-13 13:44:27.074277251 -0400
|
||||
+++ julius-4.2.2/libjulius/Makefile.in 2012-08-13 13:45:53.218274170 -0400
|
||||
@@ -16,8 +16,8 @@ SHELL=/bin/sh
|
||||
LIBSENT=../libsent
|
||||
|
||||
CC=@CC@
|
||||
-CFLAGS=@CFLAGS@
|
||||
-CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ `$(LIBSENT)/libsent-config --cflags`
|
||||
+CFLAGS=@CFLAGS@ -fPIC
|
||||
+CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ -fPIC `$(LIBSENT)/libsent-config --cflags`
|
||||
LDFLAGS=@LDFLAGS@ @LIBS@ -L$(LIBSENT) `$(LIBSENT)/libsent-config --libs`
|
||||
RM=@RM@ -f
|
||||
AR=@AR@ r
|
||||
@@ -35,7 +35,9 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
||||
|
||||
############################################################
|
||||
|
||||
-TARGET = libjulius.a
|
||||
+BASESHAREDLIB=libjulius.so
|
||||
+SHAREDLIB=$(BASESHAREDLIB).0
|
||||
+TARGET=$(SHAREDLIB).0.0
|
||||
|
||||
OBJ = \
|
||||
src/recogmain.o \
|
||||
@@ -82,8 +84,11 @@ src/version.o
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
- $(AR) $@ $?
|
||||
- $(RANLIB) $@
|
||||
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
|
||||
+ ln -s $(TARGET) $(SHAREDLIB)
|
||||
+ ln -s $(TARGET) $(BASESHAREDLIB)
|
||||
+ # $(AR) $@ $?
|
||||
+ # $(RANLIB) $@
|
||||
|
||||
############################################################
|
||||
|
||||
@@ -92,6 +97,8 @@ install: install.lib install.include ins
|
||||
install.lib: $(TARGET)
|
||||
${INSTALL} -d ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
|
||||
|
||||
install.include:
|
||||
${INSTALL} -d ${DESTDIR}${includedir}/julius
|
||||
diff -up julius-4.2.2/libsent/Makefile.in.shared julius-4.2.2/libsent/Makefile.in
|
||||
--- julius-4.2.2/libsent/Makefile.in.shared 2012-08-13 13:44:27.074277251 -0400
|
||||
+++ julius-4.2.2/libsent/Makefile.in 2012-08-13 13:45:39.105274676 -0400
|
||||
@@ -14,13 +14,15 @@ SHELL=/bin/sh
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
|
||||
|
||||
CC=@CC@
|
||||
-CFLAGS=@CFLAGS@
|
||||
-CPPFLAGS=-Iinclude @CPPFLAGS@ @SOUNDINC@ @DEFS@
|
||||
+CFLAGS=@CFLAGS@ -fPIC
|
||||
+CPPFLAGS=-Iinclude @CPPFLAGS@ -fPIC @SOUNDINC@ @DEFS@
|
||||
# LDFLAGS=@LDFLAGS@ @LIBS@
|
||||
RM=@RM@ -f
|
||||
AR=@AR@ r
|
||||
RANLIB=@RANLIB@
|
||||
-TARGET=libsent.a
|
||||
+BASESHAREDLIB=libsent.so
|
||||
+SHAREDLIB=$(BASESHAREDLIB).0
|
||||
+TARGET=$(SHAREDLIB).0.0
|
||||
|
||||
## install
|
||||
prefix=@prefix@
|
||||
@@ -136,8 +138,11 @@ src/wav2mfcc/para.o \
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
- $(AR) $@ $?
|
||||
- $(RANLIB) $@
|
||||
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
|
||||
+ ln -s $(TARGET) $(SHAREDLIB)
|
||||
+ ln -s $(TARGET) $(BASESHAREDLIB)
|
||||
+ # $(AR) $@ $?
|
||||
+ # $(RANLIB) $@
|
||||
|
||||
############################################################
|
||||
|
||||
@@ -146,6 +151,8 @@ install: install.lib install.include ins
|
||||
install.lib: $(TARGET)
|
||||
${INSTALL} -d ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
|
||||
|
||||
install.include:
|
||||
${INSTALL} -d ${DESTDIR}${includedir}/sent
|
||||
diff -up julius-4.2.2/mkbingram/Makefile.in.shared julius-4.2.2/mkbingram/Makefile.in
|
||||
--- julius-4.2.2/mkbingram/Makefile.in.shared 2012-08-13 13:44:27.075277250 -0400
|
||||
+++ julius-4.2.2/mkbingram/Makefile.in 2012-08-13 13:44:27.083277248 -0400
|
||||
@@ -26,7 +26,7 @@ TARGET=mkbingram@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.2.2/mkbinhmm/Makefile.in.shared julius-4.2.2/mkbinhmm/Makefile.in
|
||||
--- julius-4.2.2/mkbinhmm/Makefile.in.shared 2012-08-13 13:44:27.075277250 -0400
|
||||
+++ julius-4.2.2/mkbinhmm/Makefile.in 2012-08-13 13:44:27.083277248 -0400
|
||||
@@ -23,10 +23,10 @@ INSTALL=@INSTALL@
|
||||
|
||||
all: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
|
||||
|
||||
-mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.a
|
||||
+mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmm.o $(LDFLAGS)
|
||||
|
||||
-mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.a
|
||||
+mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmmlist.o $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.2.2/mkss/Makefile.in.shared julius-4.2.2/mkss/Makefile.in
|
||||
--- julius-4.2.2/mkss/Makefile.in.shared 2012-08-13 13:44:27.075277250 -0400
|
||||
+++ julius-4.2.2/mkss/Makefile.in 2012-08-13 13:44:27.083277248 -0400
|
||||
@@ -28,7 +28,7 @@ TARGET=mkss@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): mkss.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): mkss.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkss.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
368
julius-4.4.2.1-DESTDIR.patch
Normal file
368
julius-4.4.2.1-DESTDIR.patch
Normal file
@ -0,0 +1,368 @@
|
||||
diff -up julius-4.4.2.1/adinrec/Makefile.in.DESTDIR julius-4.4.2.1/adinrec/Makefile.in
|
||||
--- julius-4.4.2.1/adinrec/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/adinrec/Makefile.in 2017-11-07 11:53:46.827786050 -0500
|
||||
@@ -36,8 +36,8 @@ $(TARGET): adinrec.c $(LIBSENT)/libsent.
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/adintool/Makefile.in.DESTDIR julius-4.4.2.1/adintool/Makefile.in
|
||||
diff -up julius-4.4.2.1/generate-ngram/Makefile.in.DESTDIR julius-4.4.2.1/generate-ngram/Makefile.in
|
||||
--- julius-4.4.2.1/generate-ngram/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/generate-ngram/Makefile.in 2017-11-07 11:53:46.827786050 -0500
|
||||
@@ -33,8 +33,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ) *~ core
|
||||
diff -up julius-4.4.2.1/gramtools/accept_check/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/accept_check/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/accept_check/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/accept_check/Makefile.in 2017-11-07 11:53:46.827786050 -0500
|
||||
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in 2017-11-07 11:53:46.828786027 -0500
|
||||
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in 2017-11-07 11:53:46.828786027 -0500
|
||||
@@ -34,8 +34,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/gramtools/generate/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/generate/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/generate/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/generate/Makefile.in 2017-11-07 11:53:46.828786027 -0500
|
||||
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in 2017-11-07 11:53:46.829786004 -0500
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.4.2.1/gramtools/mkdfa/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/mkdfa/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/mkdfa/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/mkdfa/Makefile.in 2017-11-07 11:53:46.829786004 -0500
|
||||
@@ -18,13 +18,13 @@ all:
|
||||
|
||||
install:
|
||||
(cd $(SUBDIR); $(MAKE) install)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
install.bin:
|
||||
(cd $(SUBDIR); $(MAKE) install.bin)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
(cd $(SUBDIR); $(MAKE) clean)
|
||||
diff -up julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in 2017-11-07 11:53:46.830785981 -0500
|
||||
@@ -43,8 +43,8 @@ $(TARGET): $(OBJS)
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) *.o *~ core
|
||||
diff -up julius-4.4.2.1/gramtools/nextword/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/nextword/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/nextword/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/nextword/Makefile.in 2017-11-07 11:53:46.830785981 -0500
|
||||
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/gramtools/yomi2voca/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/yomi2voca/Makefile.in
|
||||
--- julius-4.4.2.1/gramtools/yomi2voca/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/gramtools/yomi2voca/Makefile.in 2017-11-07 11:53:46.830785981 -0500
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.4.2.1/jclient-perl/Makefile.in.DESTDIR julius-4.4.2.1/jclient-perl/Makefile.in
|
||||
--- julius-4.4.2.1/jclient-perl/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/jclient-perl/Makefile.in 2017-11-07 11:53:46.830785981 -0500
|
||||
@@ -17,8 +17,8 @@ all:
|
||||
install: install.bin
|
||||
|
||||
install.bin:
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
echo nothing to do
|
||||
diff -up julius-4.4.2.1/jcontrol/Makefile.in.DESTDIR julius-4.4.2.1/jcontrol/Makefile.in
|
||||
--- julius-4.4.2.1/jcontrol/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/jcontrol/Makefile.in 2017-11-07 11:53:46.830785981 -0500
|
||||
@@ -31,8 +31,8 @@ $(TARGET): $(OBJ)
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ)
|
||||
diff -up julius-4.4.2.1/julius/Makefile.in.DESTDIR julius-4.4.2.1/julius/Makefile.in
|
||||
--- julius-4.4.2.1/julius/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/julius/Makefile.in 2017-11-07 11:53:46.831785958 -0500
|
||||
@@ -61,8 +61,8 @@ $(TARGET): $(LIBSENT)/libsent.a $(LIBJUL
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- ${INSTALL_PROGRAM} $(TARGET) ${bindir}/${INSTALLTARGET}
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ ${INSTALL_PROGRAM} $(TARGET) ${DESTDIR}${bindir}/${INSTALLTARGET}
|
||||
|
||||
depend:
|
||||
makedepend -- $(CFLAGS) -- $(OBJSENT)
|
||||
diff -up julius-4.4.2.1/libjulius/Makefile.in.DESTDIR julius-4.4.2.1/libjulius/Makefile.in
|
||||
--- julius-4.4.2.1/libjulius/Makefile.in.DESTDIR 2017-11-07 11:53:46.831785958 -0500
|
||||
+++ julius-4.4.2.1/libjulius/Makefile.in 2017-11-07 11:57:02.898463306 -0500
|
||||
@@ -93,17 +93,17 @@ $(TARGET): $(OBJ)
|
||||
install: install.lib install.include install.bin
|
||||
|
||||
install.lib: $(TARGET)
|
||||
- ${INSTALL} -d ${libdir}
|
||||
- ${INSTALL_DATA} $(TARGET) ${libdir}
|
||||
- ${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
|
||||
+ ${INSTALL} -d ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
|
||||
|
||||
install.include:
|
||||
- ${INSTALL} -d ${includedir}/julius
|
||||
- ${INSTALL_DATA} include/julius/*.h ${includedir}/julius
|
||||
+ ${INSTALL} -d ${DESTDIR}${includedir}/julius
|
||||
+ ${INSTALL_DATA} include/julius/*.h ${DESTDIR}${includedir}/julius
|
||||
|
||||
install.bin: libjulius-config-dist
|
||||
- ${INSTALL} -d ${bindir}
|
||||
- ${INSTALL_PROGRAM} libjulius-config-dist ${bindir}/libjulius-config
|
||||
+ ${INSTALL} -d ${DESTDIR}${bindir}
|
||||
+ ${INSTALL_PROGRAM} libjulius-config-dist ${DESTDIR}${bindir}/libjulius-config
|
||||
|
||||
depend:
|
||||
makedepend -- $(CFLAGS) -- $(OBJSENT)
|
||||
diff -up julius-4.4.2.1/libsent/Makefile.in.DESTDIR julius-4.4.2.1/libsent/Makefile.in
|
||||
--- julius-4.4.2.1/libsent/Makefile.in.DESTDIR 2017-11-07 11:53:46.831785958 -0500
|
||||
+++ julius-4.4.2.1/libsent/Makefile.in 2017-11-07 11:57:52.041386676 -0500
|
||||
@@ -168,17 +168,17 @@ src/phmm/calc_dnn_neon.o: src/phmm/calc_
|
||||
install: install.lib install.include install.bin
|
||||
|
||||
install.lib: $(TARGET)
|
||||
- ${INSTALL} -d ${libdir}
|
||||
- ${INSTALL_DATA} $(TARGET) ${libdir}
|
||||
- ${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
|
||||
+ ${INSTALL} -d ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
+ ${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
|
||||
|
||||
install.include:
|
||||
- ${INSTALL} -d ${includedir}/sent
|
||||
- ${INSTALL_DATA} include/sent/*.h ${includedir}/sent
|
||||
+ ${INSTALL} -d ${DESTDIR}${includedir}/sent
|
||||
+ ${INSTALL_DATA} include/sent/*.h ${DESTDIR}${includedir}/sent
|
||||
|
||||
install.bin: libsent-config-dist
|
||||
- ${INSTALL} -d ${bindir}
|
||||
- ${INSTALL_PROGRAM} libsent-config-dist ${bindir}/libsent-config
|
||||
+ ${INSTALL} -d ${DESTDIR}${bindir}
|
||||
+ ${INSTALL_PROGRAM} libsent-config-dist ${DESTDIR}${bindir}/libsent-config
|
||||
|
||||
clean:
|
||||
$(RM) *~ src/*/*~ src/*/*.o src/*/*/*.o src/*/*/*/*.o src/*/*/*/*/*.o include/sent/*~
|
||||
diff -up julius-4.4.2.1/man/Makefile.in.DESTDIR julius-4.4.2.1/man/Makefile.in
|
||||
--- julius-4.4.2.1/man/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/man/Makefile.in 2017-11-07 11:53:46.831785958 -0500
|
||||
@@ -19,16 +19,16 @@ all:
|
||||
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@/ja/man1
|
||||
+ ${INSTALL} -d ${DESTDIR}@mandir@/ja/man1
|
||||
cd ja;
|
||||
for f in *.1; do \
|
||||
- @INSTALL_DATA@ $$f @mandir@/ja/man1/$$f; \
|
||||
+ @INSTALL_DATA@ $$f ${DESTDIR}@mandir@/ja/man1/$$f; \
|
||||
done
|
||||
cd ..
|
||||
|
||||
diff -up julius-4.4.2.1/mkbingram/Makefile.in.DESTDIR julius-4.4.2.1/mkbingram/Makefile.in
|
||||
--- julius-4.4.2.1/mkbingram/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/mkbingram/Makefile.in 2017-11-07 11:53:46.831785958 -0500
|
||||
@@ -30,8 +30,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ)
|
||||
diff -up julius-4.4.2.1/mkbinhmm/Makefile.in.DESTDIR julius-4.4.2.1/mkbinhmm/Makefile.in
|
||||
--- julius-4.4.2.1/mkbinhmm/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/mkbinhmm/Makefile.in 2017-11-07 11:53:46.831785958 -0500
|
||||
@@ -32,8 +32,8 @@ mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(L
|
||||
install: install.bin
|
||||
|
||||
install.bin: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) mkbinhmm.o mkbinhmmlist.o
|
||||
diff -up julius-4.4.2.1/mkgshmm/Makefile.in.DESTDIR julius-4.4.2.1/mkgshmm/Makefile.in
|
||||
--- julius-4.4.2.1/mkgshmm/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/mkgshmm/Makefile.in 2017-11-07 11:53:46.831785958 -0500
|
||||
@@ -23,8 +23,8 @@ $(TARGET):
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/mkss/Makefile.in.DESTDIR julius-4.4.2.1/mkss/Makefile.in
|
||||
--- julius-4.4.2.1/mkss/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/mkss/Makefile.in 2017-11-07 11:53:46.832785936 -0500
|
||||
@@ -36,8 +36,8 @@ $(TARGET): mkss.c $(LIBSENT)/libsent.a $
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
############################################################
|
||||
|
||||
diff -up julius-4.4.2.1/adintool/Makefile.in.DESTDIR julius-4.4.2.1/adintool/Makefile.in
|
||||
--- julius-4.4.2.1/adintool/Makefile.in.DESTDIR 2017-11-07 12:56:50.579801642 -0500
|
||||
+++ julius-4.4.2.1/adintool/Makefile.in 2017-11-07 12:57:24.699986491 -0500
|
||||
@@ -46,8 +46,8 @@ adintool-gui@EXEEXT@: $(GUIOBJ) $(LIBSEN
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ) $(GUIOBJ)
|
||||
diff -up julius-4.4.2.1/binlm2arpa/Makefile.in.DESTDIR julius-4.4.2.1/binlm2arpa/Makefile.in
|
||||
--- julius-4.4.2.1/binlm2arpa/Makefile.in.DESTDIR 2017-11-07 13:09:36.538708271 -0500
|
||||
+++ julius-4.4.2.1/binlm2arpa/Makefile.in 2017-11-07 13:09:58.698187990 -0500
|
||||
@@ -30,8 +30,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
install: install.bin
|
||||
|
||||
install.bin: $(TARGET)
|
||||
- ${INSTALL} -d @bindir@
|
||||
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
|
||||
+ ${INSTALL} -d ${DESTDIR}@bindir@
|
||||
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ)
|
12
julius-4.4.2.1-cpuidfix.patch
Normal file
12
julius-4.4.2.1-cpuidfix.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up julius-4.4.2.1/libsent/src/phmm/calc_dnn.c.cpuidfix julius-4.4.2.1/libsent/src/phmm/calc_dnn.c
|
||||
--- julius-4.4.2.1/libsent/src/phmm/calc_dnn.c.cpuidfix 2017-11-08 09:47:21.953747290 -0500
|
||||
+++ julius-4.4.2.1/libsent/src/phmm/calc_dnn.c 2017-11-08 09:50:32.508379963 -0500
|
||||
@@ -12,7 +12,7 @@
|
||||
#ifdef _WIN32
|
||||
#include <intrin.h>
|
||||
#else
|
||||
-#if defined(__arm__) || TARGET_OS_IPHONE
|
||||
+#if defined(__arm__) || defined(__aarch64__) || defined(__s390__) || defined(__powerpc__) || defined(__powerpc64__) || TARGET_OS_IPHONE
|
||||
#else
|
||||
#include <cpuid.h>
|
||||
#endif
|
198
julius-4.4.2.1-sharedlibs.patch
Normal file
198
julius-4.4.2.1-sharedlibs.patch
Normal file
@ -0,0 +1,198 @@
|
||||
diff -up julius-4.4.2.1/adinrec/Makefile.in.shared julius-4.4.2.1/adinrec/Makefile.in
|
||||
--- julius-4.4.2.1/adinrec/Makefile.in.shared 2017-11-07 12:39:25.800762025 -0500
|
||||
+++ julius-4.4.2.1/adinrec/Makefile.in 2017-11-07 12:39:25.802761977 -0500
|
||||
@@ -28,7 +28,7 @@ TARGET=adinrec@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): adinrec.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): adinrec.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ adinrec.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.4.2.1/adintool/Makefile.in.shared julius-4.4.2.1/adintool/Makefile.in
|
||||
--- julius-4.4.2.1/adintool/Makefile.in.shared 2016-12-21 10:16:05.000000000 -0500
|
||||
+++ julius-4.4.2.1/adintool/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -37,10 +37,10 @@ TARGET=adintool@EXEEXT@ $(GUITARGET)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-adintool@EXEEXT@: $(OBJ) $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+adintool@EXEEXT@: $(OBJ) $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
-adintool-gui@EXEEXT@: $(GUIOBJ) $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+adintool-gui@EXEEXT@: $(GUIOBJ) $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) $(SDL_CFLAGS) -o $@ $(GUIOBJ) $(LDFLAGS) $(SDL_LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.4.2.1/binlm2arpa/Makefile.in.shared julius-4.4.2.1/binlm2arpa/Makefile.in
|
||||
--- julius-4.4.2.1/binlm2arpa/Makefile.in.shared 2017-11-07 12:41:04.097413660 -0500
|
||||
+++ julius-4.4.2.1/binlm2arpa/Makefile.in 2017-11-07 12:41:19.443047044 -0500
|
||||
@@ -24,7 +24,7 @@ TARGET=binlm2arpa@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.4.2.1/generate-ngram/Makefile.in.shared julius-4.4.2.1/generate-ngram/Makefile.in
|
||||
--- julius-4.4.2.1/generate-ngram/Makefile.in.shared 2017-11-07 12:39:25.800762025 -0500
|
||||
+++ julius-4.4.2.1/generate-ngram/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -27,7 +27,7 @@ TARGET=generate-ngram@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.4.2.1/julius/Makefile.in.shared julius-4.4.2.1/julius/Makefile.in
|
||||
--- julius-4.4.2.1/julius/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
|
||||
+++ julius-4.4.2.1/julius/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -53,7 +53,7 @@ record.o \
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a $(OBJ)
|
||||
+$(TARGET): $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0 $(OBJ)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(GTK_LIBS)
|
||||
|
||||
############################################################
|
||||
diff -up julius-4.4.2.1/libjulius/Makefile.in.shared julius-4.4.2.1/libjulius/Makefile.in
|
||||
--- julius-4.4.2.1/libjulius/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
|
||||
+++ julius-4.4.2.1/libjulius/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -16,8 +16,8 @@ SHELL=/bin/sh
|
||||
LIBSENT=../libsent
|
||||
|
||||
CC=@CC@
|
||||
-CFLAGS=@CFLAGS@
|
||||
-CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ `$(LIBSENT)/libsent-config --cflags`
|
||||
+CFLAGS=@CFLAGS@ -fPIC
|
||||
+CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ -fPIC `$(LIBSENT)/libsent-config --cflags`
|
||||
LDFLAGS=@LDFLAGS@ @LIBS@ -L$(LIBSENT) `$(LIBSENT)/libsent-config --libs`
|
||||
RM=@RM@ -f
|
||||
AR=@AR@ r
|
||||
@@ -37,7 +37,9 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
||||
############################################################
|
||||
|
||||
PKGCONF_FILE = julius-@JULIUS_MAJOR_VERSION@.pc
|
||||
-TARGET = libjulius.a
|
||||
+BASESHAREDLIB=libjulius.so
|
||||
+SHAREDLIB=$(BASESHAREDLIB).0
|
||||
+TARGET=$(SHAREDLIB).0.0
|
||||
|
||||
OBJ = \
|
||||
src/recogmain.o \
|
||||
@@ -85,8 +87,11 @@ src/version.o
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
- $(AR) $@ $?
|
||||
- $(RANLIB) $@
|
||||
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
|
||||
+ ln -s $(TARGET) $(SHAREDLIB)
|
||||
+ ln -s $(TARGET) $(BASESHAREDLIB)
|
||||
+ # $(AR) $@ $?
|
||||
+ # $(RANLIB) $@
|
||||
|
||||
############################################################
|
||||
|
||||
@@ -96,6 +101,8 @@ install.lib: $(TARGET)
|
||||
${INSTALL} -d ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
|
||||
|
||||
install.include:
|
||||
${INSTALL} -d ${DESTDIR}${includedir}/julius
|
||||
diff -up julius-4.4.2.1/libsent/Makefile.in.shared julius-4.4.2.1/libsent/Makefile.in
|
||||
--- julius-4.4.2.1/libsent/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
|
||||
+++ julius-4.4.2.1/libsent/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -12,14 +12,16 @@ SHELL=/bin/sh
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
|
||||
|
||||
CC=@CC@
|
||||
-CFLAGS=@CFLAGS@
|
||||
-CPPFLAGS=-Iinclude @CPPFLAGS@ @SOUNDINC@ @DEFS@
|
||||
+CFLAGS=@CFLAGS@ -fPIC
|
||||
+CPPFLAGS=-Iinclude @CPPFLAGS@ -fPIC @SOUNDINC@ @DEFS@
|
||||
# LDFLAGS=@LDFLAGS@ @LIBS@
|
||||
RM=@RM@ -f
|
||||
AR=@AR@ r
|
||||
RANLIB=@RANLIB@
|
||||
PKGCONF_FILE = sent-@LIBSENT_MAJOR_VERSION@.pc
|
||||
-TARGET=libsent.a
|
||||
+BASESHAREDLIB=libsent.so
|
||||
+SHAREDLIB=$(BASESHAREDLIB).0
|
||||
+TARGET=$(SHAREDLIB).0.0
|
||||
|
||||
## install
|
||||
prefix=@prefix@
|
||||
@@ -144,8 +146,11 @@ src/wav2mfcc/para.o \
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
- $(AR) $@ $?
|
||||
- $(RANLIB) $@
|
||||
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
|
||||
+ ln -s $(TARGET) $(SHAREDLIB)
|
||||
+ ln -s $(TARGET) $(BASESHAREDLIB)
|
||||
+ # $(AR) $@ $?
|
||||
+ # $(RANLIB) $@
|
||||
|
||||
src/phmm/calc_dnn_fma.o: src/phmm/calc_dnn_fma.c
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) @SIMD_FMA_CFLAGS@ -o $@ -c $<
|
||||
@@ -171,6 +176,8 @@ install.lib: $(TARGET)
|
||||
${INSTALL} -d ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
|
||||
${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
|
||||
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
|
||||
|
||||
install.include:
|
||||
${INSTALL} -d ${DESTDIR}${includedir}/sent
|
||||
diff -up julius-4.4.2.1/mkbingram/Makefile.in.shared julius-4.4.2.1/mkbingram/Makefile.in
|
||||
--- julius-4.4.2.1/mkbingram/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
|
||||
+++ julius-4.4.2.1/mkbingram/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -24,7 +24,7 @@ TARGET=mkbingram@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
|
||||
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.4.2.1/mkbinhmm/Makefile.in.shared julius-4.4.2.1/mkbinhmm/Makefile.in
|
||||
--- julius-4.4.2.1/mkbinhmm/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
|
||||
+++ julius-4.4.2.1/mkbinhmm/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -23,10 +23,10 @@ INSTALL=@INSTALL@
|
||||
|
||||
all: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
|
||||
|
||||
-mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.a
|
||||
+mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmm.o $(LDFLAGS)
|
||||
|
||||
-mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.a
|
||||
+mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmmlist.o $(LDFLAGS)
|
||||
|
||||
install: install.bin
|
||||
diff -up julius-4.4.2.1/mkss/Makefile.in.shared julius-4.4.2.1/mkss/Makefile.in
|
||||
--- julius-4.4.2.1/mkss/Makefile.in.shared 2017-11-07 12:39:25.802761977 -0500
|
||||
+++ julius-4.4.2.1/mkss/Makefile.in 2017-11-07 12:39:25.803761953 -0500
|
||||
@@ -28,7 +28,7 @@ TARGET=mkss@EXEEXT@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
-$(TARGET): mkss.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
|
||||
+$(TARGET): mkss.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkss.c $(LDFLAGS)
|
||||
|
||||
############################################################
|
188
julius.spec
Normal file
188
julius.spec
Normal file
@ -0,0 +1,188 @@
|
||||
%global dkcommit bf4f024
|
||||
|
||||
Name: julius
|
||||
Version: 4.4.2.1
|
||||
Release: 4%{?dist}
|
||||
Summary: Large vocabulary continuous speech recognition (LVCSR) decoder software
|
||||
License: Julius
|
||||
URL: https://github.com/julius-speech/julius
|
||||
Source0: https://github.com/julius-speech/julius/archive/v%{version}.tar.gz
|
||||
# Source1: http://julius.sourceforge.jp/archive/japanese-models.tar.gz
|
||||
# Need to generate from git
|
||||
# BE SURE YOU HAVE git-lfs installed before doing a clone
|
||||
# git checkout https://github.com/julius-speech/dictation-kit.git
|
||||
# cd dictation-kit
|
||||
# rm -rf bin src
|
||||
# cd ..
|
||||
# tar --exclude-vcs -cJf dictation-kit-%%{dkcommit}.tar.xz dictation-kit
|
||||
Source1: dictation-kit-%{dkcommit}.tar.xz
|
||||
Patch0: julius-4.4.2.1-DESTDIR.patch
|
||||
Patch1: julius-4.4.2.1-sharedlibs.patch
|
||||
Patch2: julius-4.4.2.1-cpuidfix.patch
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Jcode), alsa-lib-devel, libsndfile-devel, pulseaudio-libs-devel, zlib-devel, readline-devel
|
||||
BuildRequires: SDL2-devel
|
||||
BuildRequires: bison, flex, nkf
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
# Requires:
|
||||
|
||||
%description
|
||||
"Julius" is a high-performance, two-pass large vocabulary continuous speech
|
||||
recognition (LVCSR) decoder software for speech-related researchers and
|
||||
developers. Based on word N-gram and context-dependent HMM, it can perform
|
||||
almost real-time decoding on most current PCs in 60k word dictation task.
|
||||
Major search techniques are fully incorporated such as tree lexicon, N-gram
|
||||
factoring, cross-word context dependency handling, enveloped beam search,
|
||||
Gaussian pruning, Gaussian selection, etc. Besides search efficiency, it is
|
||||
also modularized carefully to be independent from model structures, and
|
||||
various HMM types are supported such as shared-state triphones and
|
||||
tied-mixture models, with any number of mixtures, states, or phones.
|
||||
Standard formats are adopted to cope with other free modeling toolkit such
|
||||
as HTK, CMU-Cam SLM toolkit, etc.
|
||||
|
||||
%package devel
|
||||
Requires: julius = %{version}-%{release}
|
||||
Summary: Development files and libraries for libjulius and libsent
|
||||
|
||||
%description devel
|
||||
Development files and libraries for libjulius and libsent.
|
||||
|
||||
%package japanese-models
|
||||
BuildArch: noarch
|
||||
Requires: julius = %{version}-%{release}
|
||||
Summary: Julius Japanese language model and acoustic models
|
||||
License: Julius
|
||||
|
||||
%description japanese-models
|
||||
A Japanese language model (20k-word trained by newspaper article) and acoustic
|
||||
models (Phonetic tied-mixture triphone / monophone) for use with Julius.
|
||||
|
||||
%prep
|
||||
%setup -q -a 1
|
||||
%patch0 -p1 -b .DESTDIR
|
||||
%patch1 -p1 -b .shared
|
||||
%patch2 -p1 -b .cpuidfix
|
||||
# Fix end-of-line encoding
|
||||
sed -i 's/\r//' Release.txt
|
||||
autoreconf -ifv || :
|
||||
|
||||
%build
|
||||
%configure
|
||||
# this fails
|
||||
# make %{?_smp_mflags}
|
||||
make
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
|
||||
make install DESTDIR=%{buildroot}
|
||||
chmod +x %{buildroot}%{_libdir}/*.so.*
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/julius/
|
||||
cp -a Sample.jconf %{buildroot}%{_datadir}/julius/
|
||||
pushd dictation-kit
|
||||
cp *conf %{buildroot}%{_datadir}/julius/
|
||||
cp -a model/ %{buildroot}%{_datadir}/julius/
|
||||
popd
|
||||
|
||||
# rename to avoid conflict with Oracle Java
|
||||
mv %{buildroot}%{_bindir}/jcontrol %{buildroot}%{_bindir}/julius-jcontrol
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc ChangeLog Release.txt Release-ja.txt
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/accept_check
|
||||
%{_bindir}/adinrec
|
||||
%{_bindir}/adintool
|
||||
%{_bindir}/adintool-gui
|
||||
%{_bindir}/binlm2arpa
|
||||
%{_bindir}/dfa_determinize
|
||||
%{_bindir}/dfa_minimize
|
||||
%{_bindir}/generate
|
||||
%{_bindir}/generate-ngram
|
||||
%{_bindir}/gram2sapixml.pl
|
||||
%{_bindir}/jclient.pl
|
||||
%{_bindir}/julius-jcontrol
|
||||
%{_bindir}/julius
|
||||
%{_bindir}/mkbingram
|
||||
%{_bindir}/mkbinhmm
|
||||
%{_bindir}/mkbinhmmlist
|
||||
%{_bindir}/mkdfa.pl
|
||||
%{_bindir}/mkfa
|
||||
%{_bindir}/mkgshmm
|
||||
%{_bindir}/mkss
|
||||
%{_bindir}/nextword
|
||||
%{_bindir}/yomi2voca.pl
|
||||
%{_libdir}/libjulius.so.*
|
||||
%{_libdir}/libsent.so.*
|
||||
%lang(ja) %{_mandir}/ja/man1/*
|
||||
%{_mandir}/man1/*
|
||||
%dir %{_datadir}/julius/
|
||||
%{_datadir}/julius/*conf
|
||||
|
||||
%files devel
|
||||
%{_bindir}/libjulius-config
|
||||
%{_bindir}/libsent-config
|
||||
%{_includedir}/julius/
|
||||
%{_includedir}/sent/
|
||||
%{_libdir}/libjulius.so
|
||||
%{_libdir}/libsent.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files japanese-models
|
||||
%{_datadir}/julius/model/
|
||||
|
||||
%changelog
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Nov 8 2017 Tom Callaway <spot@fedoraproject.org> - 4.4.2.1-2
|
||||
- fix cpuid.h conditionalization to be more complete
|
||||
|
||||
* Tue Nov 7 2017 Tom Callaway <spot@fedoraproject.org> - 4.4.2.1-1
|
||||
- update to 4.4.2.1
|
||||
- rename jcontrol to julius-jcontrol to avoid conflict with oracle java
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.2.2-10
|
||||
- Rebuild for readline 7.x
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed Sep 3 2014 Tom Callaway <spot@fedoraproject.org> - 4.2.2-7
|
||||
- fix DESTDIR patch so that mkfa and mkdfa.pl get installed
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 4.2.2-3
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Tue Aug 28 2012 Tom Callaway <spot@fedoraproject.org> - 4.2.2-2
|
||||
- fix Source0 URL
|
||||
|
||||
* Mon Aug 13 2012 Tom Callaway <spot@fedoraproject.org> - 4.2.2-1
|
||||
- initial package
|
2
sources
2
sources
@ -0,0 +1,2 @@
|
||||
SHA512 (v4.4.2.1.tar.gz) = 5057a9043db3315136e56e383e3b48db0085f0cde16ebaef07aa5b1e922bd202107a5fa3bf6b391aa28cb7b9328ffe3c506b13fd0a115783a2e52c3e2eb93c61
|
||||
SHA512 (dictation-kit-bf4f024.tar.xz) = d072aa55e988481785a551de95de3ff5ae4b336b5c5d097da56729ddeaa7ecee612018acb1854fcb7b6ff93d6d0c00813799bc37d15d879e5843252bb0ab3292
|
Loading…
Reference in New Issue
Block a user