diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-10-20 06:36:43 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-10-20 06:36:43 +0000 |
commit | 192341cb50d34827db36536e7e3af2782f057baf (patch) | |
tree | 11eb21e0724ce4f9c75537a1e0422d8532777ded /app-accessibility | |
parent | Version bump. Added ~amd64. Cleaned out obsolete build. (Manifest recommit) (diff) | |
download | gentoo-2-192341cb50d34827db36536e7e3af2782f057baf.tar.gz gentoo-2-192341cb50d34827db36536e7e3af2782f057baf.tar.bz2 gentoo-2-192341cb50d34827db36536e7e3af2782f057baf.zip |
get_libdir updates. Now installs header files to close bug #64504.
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/festival/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/festival/Manifest | 4 | ||||
-rw-r--r-- | app-accessibility/festival/festival-1.4.3-r2.ebuild (renamed from app-accessibility/festival/festival-1.4.3.ebuild) | 130 | ||||
-rw-r--r-- | app-accessibility/festival/files/digest-festival-1.4.3-r2 (renamed from app-accessibility/festival/files/digest-festival-1.4.3) | 0 |
4 files changed, 66 insertions, 76 deletions
diff --git a/app-accessibility/festival/ChangeLog b/app-accessibility/festival/ChangeLog index a7922b7e4eef..7e65be235e0b 100644 --- a/app-accessibility/festival/ChangeLog +++ b/app-accessibility/festival/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-accessibility/festival # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.14 2004/10/05 10:33:48 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.15 2004/10/20 06:36:43 eradicator Exp $ + +*festival-1.4.3-r2 (19 Oct 2004) + + 19 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> + +festival-1.4.3-r2.ebuild, -festival-1.4.3.ebuild: + get_libdir updates. Now installs header files to close bug #64504. 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> festival-1.4.3-r1.ebuild, festival-1.4.3.ebuild: diff --git a/app-accessibility/festival/Manifest b/app-accessibility/festival/Manifest index ffdaaa17c226..4085f445a6a0 100644 --- a/app-accessibility/festival/Manifest +++ b/app-accessibility/festival/Manifest @@ -1,8 +1,8 @@ MD5 c62d1afa35565ce6879395b6075b7081 ChangeLog 5902 MD5 fd5c821bac2d2e5acefb3ade602afcf7 festival-1.4.3-r1.ebuild 5618 -MD5 22e279c0a8c177bed7324a02a61d2263 festival-1.4.3.ebuild 6126 MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185 -MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3 863 +MD5 be74014db487f3614713ad6fc377abbf festival-1.4.3-r2.ebuild 5788 +MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3-r2 863 MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3-r1 863 MD5 44bdf5d07947b391cecc75ed8ca49445 files/festival-1.4.2.patch 8724 MD5 b380d6440fe49096f7705d6f1adf01ee files/festival-1.4.3-asterisk.patch 3028 diff --git a/app-accessibility/festival/festival-1.4.3.ebuild b/app-accessibility/festival/festival-1.4.3-r2.ebuild index b847d3004aed..1ed420b7c251 100644 --- a/app-accessibility/festival/festival-1.4.3.ebuild +++ b/app-accessibility/festival/festival-1.4.3-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.4.3.ebuild,v 1.12 2004/10/05 10:33:48 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.4.3-r2.ebuild,v 1.1 2004/10/20 06:36:43 eradicator Exp $ inherit eutils @@ -23,7 +23,7 @@ SRC_URI="${SITE}/${P}-release.tar.gz LICENSE="FESTIVAL BSD as-is" SLOT="0" -KEYWORDS="x86 ppc ~sparc amd64" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="asterisk doc" RDEPEND=">=app-accessibility/speech-tools-1.2.3" @@ -45,59 +45,30 @@ src_unpack() { unpack festvox_us1.tar.gz unpack festvox_us2.tar.gz unpack festvox_us3.tar.gz - epatch ${FILESDIR}/${PN}-gcc3.3.diff - - use asterisk && epatch ${FILESDIR}/${P}-asterisk.patch -} -src_compile() { + cd ${S} - mv config/config.in config/config.in.org - cat config/config.in.org | sed 's@EST=$(TOP)/../speech_tools@EST=/usr/lib/speech-tools@' > config/config.in + use doc && unpack festdoc-1.4.2.tar.gz && mv festdoc-1.4.2 festdoc - econf || die "econf failed" + epatch ${FILESDIR}/${PN}-gcc3.3.diff - # testsuite still fails to build under gcc-3.2 - mv Makefile Makefile.orig - sed -e '/^BUILD_DIRS =/s/testsuite//' Makefile.orig > Makefile + use asterisk && epatch ${FILESDIR}/${P}-asterisk.patch - pushd config/modules/ - cp editline.mak editline.mak.orig - sed -e '/^MODULE_LIBS/s/-ltermcap/-lncurses/' editline.mak.orig \ - > editline.mak - popd + sed -i "s@EST=\$(TOP)/../speech_tools@EST=/usr/$(get_libdir)/speech-tools@" config/config.in - # emake worked for me on SMP - #emake did not work for me because I had -j5. If there is anything greater than - #-j2, emake dies. - #zhen@gentoo.org - make || die + # testsuite still fails to build under gcc-3.2 + # sed -i '/^BUILD_DIRS =/s/testsuite//' Makefile || die - cd ${S} - econf || die "econf failed" - pushd src/arch/festival/ - cp festival.cc festival.cc.orig - sed -e '/^const char \*festival_libdir/s:FTLIBDIR:"/usr/lib/festival":' \ - festival.cc.orig > festival.cc - pushd - pushd config/modules/ - cp editline.mak editline.mak.orig - sed -e '/^MODULE_LIBS/s/-ltermcap/-lncurses/' editline.mak.orig \ - > editline.mak - pushd - - # emake failed for me on SMP - make || die + sed -i "/^const char \*festival_libdir/s:FTLIBDIR:\"/usr/$(get_libdir)/festival\":" src/arch/festival/festival.cc + sed -i '/^MODULE_LIBS/s/-ltermcap/-lncurses/' config/modules/editline.mak || die +} - # Need to fix saytime to look for festival in the correct spot - cp examples/saytime examples/saytime.orig - sed "s:${WORKDIR}/festival/bin/festival:/usr/bin/festival:" \ - examples/saytime.orig > examples/saytime - - # And do the same thing for text2wave - cp bin/text2wave bin/text2wave.orig - sed "s:${WORKDIR}/festival/bin/festival:/usr/bin/festival:" \ - bin/text2wave.orig > bin/text2wave +src_compile() { + econf || die + emake -j1 \ + OPTIMISE_CXXFLAGS="${CXXFLAGS}" \ + OPTIMISE_CCFLAGS="${CFLAGS}" \ + || die } src_install() { @@ -116,12 +87,16 @@ src_install() { einfo "" # Install the main libraries - insinto /usr/lib/festival + insinto /usr/$(get_libdir)/festival doins ${WORKDIR}/festival/lib/* + # Install the header files + insinto /usr/include/festival + doins ${WORKDIR}/festival/src/include/*.h + # Install the dicts and vioces FESTLIB=${WORKDIR}/festival/lib - DESTLIB=/usr/lib/festival + DESTLIB=/usr/$(get_libdir)/festival insinto ${DESTLIB}/dicts doins ${FESTLIB}/dicts/COPYING.poslex \ ${FESTLIB}/dicts/wsj.wp39.poslexR ${FESTLIB}/dicts/wsj.wp39.tri.ngrambin @@ -131,14 +106,14 @@ src_install() { doins ${FESTLIB}/dicts/oald/* FESTLIB=${WORKDIR}/festival/lib/voices/spanish/el_diphone - DESTLIB=/usr/lib/festival/voices/spanish/el_diphone + DESTLIB=/usr/$(get_libdir)/festival/voices/spanish/el_diphone insinto ${DESTLIB}/festvox doins ${FESTLIB}/festvox/* insinto ${DESTLIB}/group doins ${FESTLIB}/group/* FESTLIB=${WORKDIR}/festival/lib/voices/english - DESTLIB=/usr/lib/festival/voices/english + DESTLIB=/usr/$(get_libdir)/festival/voices/english insinto ${DESTLIB}/don_diphone doins ${FESTLIB}/don_diphone/* insinto ${DESTLIB}/don_diphone/festvox @@ -164,8 +139,8 @@ src_install() { doins ${FESTLIB}/rab_diphone/festvox/* insinto ${DESTLIB}/rab_diphone/group doins ${FESTLIB}/rab_diphone/group/* - insinto ${DESTLIB}/us1_mbrola + insinto ${DESTLIB}/us1_mbrola doins ${FESTLIB}/us1_mbrola/* insinto ${DESTLIB}/us1_mbrola/festvox doins ${FESTLIB}/us1_mbrola/festvox/* @@ -180,40 +155,49 @@ src_install() { insinto ${DESTLIB}/us3_mbrola/festvox doins ${FESTLIB}/us3_mbrola/festvox/* + # Sample server.scm configuration for the server + dodir /etc/festival + insinto /etc/festival + doins ${FILESDIR}/server.scm + + # Install the init script + exeinto /etc/init.d + newexe ${FILESDIR}/festival.rc festival + + # Need to fix saytime to look for festival in the correct spot + dosed "s:${WORKDIR}/festival/bin/festival:/usr/bin/festival:" /usr/bin/saytime + dosed "s:${WORKDIR}/festival/bin/festival:/usr/bin/festival:" /usr/bin/text2wave + # Install the docs cd ${S} # needed into /usr - dodoc ACKNOWLEDGMENTS COPYING NEWS README + dodoc ACKNOWLEDGMENTS NEWS README doman doc/festival.1 doc/festival_client.1 - cd ${WORKDIR}/festdoc-1.4.2/festival/html - dohtml *.html - - # Sample .festivalrc - cd ${D}/usr/lib/festival - cat << EOF > festivalrc -(Parameter.set 'Audio_Method 'linux16audio) -;(Parameter.set 'Audio_Method 'esdaudio) -;(Parameter.set 'Audio_Method 'mplayeraudio) -;(Parameter.set 'Audio_Method 'sunaudio) - -; American female -;(set! voice_default 'voice_us1_mbrola) -EOF + if use doc; then + cd ${S}/festdoc/festival/html + dohtml *.html + cd ${S}/festdoc/festival + dodoc festival.ps + cd ${S}/festdoc/festival/info + doinfo * + fi } pkg_postinst() { einfo - einfo ' To test festival, simply type:' + einfo " To test festival, simply type:" einfo ' "saytime"' einfo - einfo ' Or for something more fun:' + einfo " Or for something more fun:" einfo ' "echo "Gentoo can speak" | festival --tts"' einfo - einfo ' A sample ~/.festivalrc is provided in' - einfo ' /usr/lib/festival/festivalrc' + einfo " To enable the festival server at boot, run" + einfo " rc-update add festival default" + einfo + einfo " You must setup the server's port, access list, etc in this file:" + einfo " /etc/festival/server.scm" einfo - einfo ' Emerge mbrola to enable some additional voices' + einfo " Emerge mbrola to enable some additional voices." einfo } - diff --git a/app-accessibility/festival/files/digest-festival-1.4.3 b/app-accessibility/festival/files/digest-festival-1.4.3-r2 index 7933fac5b8b9..7933fac5b8b9 100644 --- a/app-accessibility/festival/files/digest-festival-1.4.3 +++ b/app-accessibility/festival/files/digest-festival-1.4.3-r2 |