From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-accessibility/julius/Manifest | 7 + .../julius/files/julius-4.2.2-install.patch | 344 +++++++++++++++++++++ .../julius/files/julius-4.2.2-ldflags.patch | 11 + app-accessibility/julius/julius-4.2.2.ebuild | 62 ++++ app-accessibility/julius/metadata.xml | 11 + 5 files changed, 435 insertions(+) create mode 100644 app-accessibility/julius/Manifest create mode 100644 app-accessibility/julius/files/julius-4.2.2-install.patch create mode 100644 app-accessibility/julius/files/julius-4.2.2-ldflags.patch create mode 100644 app-accessibility/julius/julius-4.2.2.ebuild create mode 100644 app-accessibility/julius/metadata.xml (limited to 'app-accessibility/julius') diff --git a/app-accessibility/julius/Manifest b/app-accessibility/julius/Manifest new file mode 100644 index 000000000000..c7e1be10b40a --- /dev/null +++ b/app-accessibility/julius/Manifest @@ -0,0 +1,7 @@ +AUX julius-4.2.2-install.patch 9771 SHA256 66f5e8d98e1032d059b766c67191be558f93b5a64fd7f1c25c63de115d268304 SHA512 5a25ce1fcee2c1a4bb8c029729e962f8889099a3c5452f769e9d86ed465a28e951b657afd8664f2721b42727ccf73f4c443d1087edc2103f54505045f8b936b4 WHIRLPOOL 3f32d6865ecd0afee599a3c4ed1f75f91a935d9458e1d1f56f68012a90837503c7454465e14f8b7e724796e3f430dd990ba06751b45202c19e7a8b309e440576 +AUX julius-4.2.2-ldflags.patch 261 SHA256 8723017f48153e145ae39368dabaaeeb665cc7edeaf195c1caacec9b0d95fcd1 SHA512 76158c7beee64247c1b4923f79f3bc608324afdab179a0c8eebab3a77d34ca73911f473498c705ea7601976fbeccb8a22a2e4736d631182c51281069a2e8f461 WHIRLPOOL e5609ba8aa75f059302452aa651bc54aaa3688d2e842d45755eb0d41c359beaee3f64c39ad74b2dcb31a8a73d960a28d6f0e561a59cd07617f001e43db3bf243 +DIST julius-4.2.2.tar.gz 1720888 SHA256 f53caf18be4fb8266b988071855565dccb78c09f00f1d36a8e258b7be6b3cef5 SHA512 c1d6c4016cf326becc2e8945c08cbab9b5acefd0e648b6e35b3078850b1746b5bbdb994fccc66c0adab175fb45fc86c25b8a655047a97c130a2f8e922d3d1c0f WHIRLPOOL 51f25ca9cedafc47239e5645a75ffda3eadc0b4e1053d90bf5c22d366d3557c29e9f496b9d45f1d3c5a5cdc92993710429196a679a29307815cd8e052de6cb99 +EBUILD julius-4.2.2.ebuild 1371 SHA256 1956369de583d0a5f87e9ca8f015c382f0a65a47854604b7208ffddb7ebfe429 SHA512 76519014651dfbcbd88b5c8015ef786bd455bb8bf67ccc564be27aedd3fb66588aac306bee75bde53b658f4b3329a5ea4f40289712d024861c6a1bac9f986ff8 WHIRLPOOL be663f8d7856f132fbecadb82a0fdceff55594d8f5e8417719931f6eef3060139490113d341535d11ecd8f600ad4cbed6f0b7524c11b7d03d662354af74d9238 +MISC ChangeLog 2505 SHA256 4ed1429223a7285823d3d19b74d7e52856bd6ed7465cc7576fddfeda5c7339c9 SHA512 14c82991a2d760ced4b30c78b941118453d7eaadd8a888b5beeb68218d1ca2a34d539e862258d48016e092c2dd7760c5eece06e59c2641a15366b03afe86e375 WHIRLPOOL 74fc2882a077ae1f4e48520f5d49410a86f37be23902ab1282e512b0dbb9341ee34a4539b6ecbd1e7cba00e5a85484c1b118f4250495cb245a36ac127f3e6db2 +MISC ChangeLog-2015 951 SHA256 40a624bae59e31263d5449a1ee908b8d509014bf8f9c520802934fdf2cfc16c2 SHA512 2b59fdeaad113f7cd47eb22d412101c3b186d5d86f3200c0a099452c8297bb668deb980b6adba4dbe83b9d1dd603c88129293bb962d817ef067878d89127898c WHIRLPOOL 3f883b60ea3ebe55fc9189447caf89192b6aee6963f66727db0b759723ed21e83beb4ca0281296141284064daf5ccb0136c45136fe57563237b10e0fdfc0da56 +MISC metadata.xml 348 SHA256 89baddb78ef48ab7ad483f6b4d430874485f138416465c02c19f51ed0484ade7 SHA512 a537f387dfb607d6f90321336e8002f6bb49169bb6fbbbdfc0135a9c110180529b84c69efbe68f9ed682321d03f65737ad2041fc5a98a97cd72fe1a68b771c1c WHIRLPOOL 91b6e23dd91df01a8e4ff52cd12e27e8bb6c50ad51bcea34f5ba6a053237cafb289698dc2a7f507e80418af005261af403f8e63b75424a3b74aa06efb0b86d34 diff --git a/app-accessibility/julius/files/julius-4.2.2-install.patch b/app-accessibility/julius/files/julius-4.2.2-install.patch new file mode 100644 index 000000000000..d40b6c69fdcc --- /dev/null +++ b/app-accessibility/julius/files/julius-4.2.2-install.patch @@ -0,0 +1,344 @@ +From: Julian Ospald +Date: Sun Mar 31 20:38:49 UTC 2013 +Subject: respect DESTDIR + +--- julius-4.2.2/libsent/Makefile.in ++++ julius-4.2.2/libsent/Makefile.in +@@ -144,16 +144,16 @@ + 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/*~ +--- julius-4.2.2/libjulius/Makefile.in ++++ julius-4.2.2/libjulius/Makefile.in +@@ -90,16 +90,16 @@ + 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) +--- julius-4.2.2/julius/Makefile.in ++++ julius-4.2.2/julius/Makefile.in +@@ -61,8 +61,8 @@ + 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) +--- julius-4.2.2/mkbingram/Makefile.in ++++ julius-4.2.2/mkbingram/Makefile.in +@@ -32,8 +32,8 @@ + 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) +--- julius-4.2.2/mkbinhmm/Makefile.in ++++ julius-4.2.2/mkbinhmm/Makefile.in +@@ -32,8 +32,8 @@ + 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 +--- julius-4.2.2/adinrec/Makefile.in ++++ julius-4.2.2/adinrec/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/adintool/Makefile.in ++++ julius-4.2.2/adintool/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/mkgshmm/Makefile.in ++++ julius-4.2.2/mkgshmm/Makefile.in +@@ -23,8 +23,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/mkss/Makefile.in ++++ julius-4.2.2/mkss/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/jcontrol/Makefile.in ++++ julius-4.2.2/jcontrol/Makefile.in +@@ -31,19 +31,19 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@/jucontrol + + clean: + $(RM) $(OBJ) + $(RM) config.log config.cache + $(RM) *~ core +- $(RM) $(TARGET) $(TARGET).exe ++ $(RM) $(TARGET) $(TARGET).exe jucontrol + + distclean: + $(RM) $(OBJ) + $(RM) config.log config.cache + $(RM) *~ core +- $(RM) $(TARGET) $(TARGET).exe ++ $(RM) $(TARGET) $(TARGET).exe jucontrol + $(RM) config.status + $(RM) Makefile +--- julius-4.2.2/gramtools/accept_check/Makefile.in ++++ julius-4.2.2/gramtools/accept_check/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/dfa_determinize/Makefile.in ++++ julius-4.2.2/gramtools/dfa_determinize/Makefile.in +@@ -35,8 +35,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/dfa_minimize/Makefile.in ++++ julius-4.2.2/gramtools/dfa_minimize/Makefile.in +@@ -34,8 +34,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/generate/Makefile.in ++++ julius-4.2.2/gramtools/generate/Makefile.in +@@ -35,8 +35,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/gram2sapixml/Makefile.in ++++ julius-4.2.2/gramtools/gram2sapixml/Makefile.in +@@ -17,8 +17,8 @@ + 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 +--- julius-4.2.2/gramtools/mkdfa/Makefile.in ++++ julius-4.2.2/gramtools/mkdfa/Makefile.in +@@ -18,13 +18,13 @@ + + 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) +--- julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in ++++ julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in +@@ -43,8 +43,8 @@ + 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 +--- julius-4.2.2/gramtools/nextword/Makefile.in ++++ julius-4.2.2/gramtools/nextword/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/yomi2voca/Makefile.in ++++ julius-4.2.2/gramtools/yomi2voca/Makefile.in +@@ -17,8 +17,8 @@ + 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 +--- julius-4.2.2/generate-ngram/Makefile.in ++++ julius-4.2.2/generate-ngram/Makefile.in +@@ -33,8 +33,8 @@ + 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 +--- julius-4.2.2/jclient-perl/Makefile.in ++++ julius-4.2.2/jclient-perl/Makefile.in +@@ -17,8 +17,8 @@ + 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 +--- julius-4.2.2/man/Makefile.in ++++ julius-4.2.2/man/Makefile.in +@@ -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@/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 --git a/app-accessibility/julius/files/julius-4.2.2-ldflags.patch b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch new file mode 100644 index 000000000000..a5c3645a52f1 --- /dev/null +++ b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch @@ -0,0 +1,11 @@ +--- julius-4.2.2/jcontrol/Makefile.in ++++ julius-4.2.2/jcontrol/Makefile.in +@@ -14,7 +14,7 @@ + CC=@CC@ + CFLAGS=@CFLAGS@ + CPPFLAGS=@CPPFLAGS@ @DEFS@ +-LDFLAGS=@LIBS@ @EXTRALIB@ ++LDFLAGS += @LIBS@ @EXTRALIB@ + RM=@RM@ -f + prefix=@prefix@ + exec_prefix=@exec_prefix@ diff --git a/app-accessibility/julius/julius-4.2.2.ebuild b/app-accessibility/julius/julius-4.2.2.ebuild new file mode 100644 index 000000000000..7cf68ebb5a72 --- /dev/null +++ b/app-accessibility/julius/julius-4.2.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="Large Vocabulary Continuous Speech Recognition Engine" +HOMEPAGE="http://julius.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/julius/56549/${P}.tar.gz" + +LICENSE="julius" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+alsa oss portaudio pulseaudio sndfile" +REQUIRED_USE="^^ ( alsa oss portaudio pulseaudio )" + +RDEPEND=" + dev-lang/perl + dev-perl/Jcode + sys-libs/readline:0 + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-sound/pulseaudio ) + sndfile? ( media-libs/libsndfile )" +DEPEND="${RDEPEND} + sys-devel/flex" + +pkg_setup() { + tc-export CC CXX +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-install.patch \ + "${FILESDIR}"/${P}-ldflags.patch +} + +src_configure() { + local mymic i + for i in alsa oss portaudio pulseaudio ; do + use ${i} && mymic=${i} + done + + econf \ + --with-mictype=${mymic} \ + $(use_with sndfile) +} + +src_install() { + default + if ! has ja ${LINGUAS} ; then + rm -r "${ED}"/usr/share/man/ja || die + fi +} + +pkg_postinst() { + eerror "IMPORTANT NOTICE" + elog "/usr/bin/jcontrol has been renamed to /usr/bin/jucontrol" + elog "to avoid file collision with dev-java/java-config." + elog "If this creates a problem with applications, file a gentoo bug." +} diff --git a/app-accessibility/julius/metadata.xml b/app-accessibility/julius/metadata.xml new file mode 100644 index 000000000000..1631e86a2744 --- /dev/null +++ b/app-accessibility/julius/metadata.xml @@ -0,0 +1,11 @@ + + + + + accessibility@gentoo.org + Gentoo Accessibility Project + + + julius + + -- cgit v1.2.3