diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-accessibility/julius | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-accessibility/julius')
-rw-r--r-- | app-accessibility/julius/Manifest | 1 | ||||
-rw-r--r-- | app-accessibility/julius/files/julius-4.2.2-install.patch | 344 | ||||
-rw-r--r-- | app-accessibility/julius/files/julius-4.2.2-ldflags.patch | 11 | ||||
-rw-r--r-- | app-accessibility/julius/julius-4.2.2.ebuild | 63 | ||||
-rw-r--r-- | app-accessibility/julius/metadata.xml | 8 |
5 files changed, 427 insertions, 0 deletions
diff --git a/app-accessibility/julius/Manifest b/app-accessibility/julius/Manifest new file mode 100644 index 000000000000..25a9d054531e --- /dev/null +++ b/app-accessibility/julius/Manifest @@ -0,0 +1 @@ +DIST julius-4.2.2.tar.gz 1720888 SHA256 f53caf18be4fb8266b988071855565dccb78c09f00f1d36a8e258b7be6b3cef5 SHA512 c1d6c4016cf326becc2e8945c08cbab9b5acefd0e648b6e35b3078850b1746b5bbdb994fccc66c0adab175fb45fc86c25b8a655047a97c130a2f8e922d3d1c0f WHIRLPOOL 51f25ca9cedafc47239e5645a75ffda3eadc0b4e1053d90bf5c22d366d3557c29e9f496b9d45f1d3c5a5cdc92993710429196a679a29307815cd8e052de6cb99 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 <hasufell@gentoo.org> +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..94aedc4cf597 --- /dev/null +++ b/app-accessibility/julius/julius-4.2.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..cbed4e8e981f --- /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>accessibility</herd> + <upstream> + <remote-id type="sourceforge-jp">julius</remote-id> + </upstream> +</pkgmetadata> |