View | Details | Raw Unified
Collapse All | Expand All

(-) diction/diction-1.07.ebuild (-1 / +13 lines)
 Lines 2-7    Link Here 
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.07.ebuild,v 1.5 2006/06/01 14:25:54 seemant Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.07.ebuild,v 1.5 2006/06/01 14:25:54 seemant Exp $
inherit eutils
DESCRIPTION="Diction and style checkers for english and german texts"
DESCRIPTION="Diction and style checkers for english and german texts"
HOMEPAGE="http://www.gnu.org/software/diction/diction.html"
HOMEPAGE="http://www.gnu.org/software/diction/diction.html"
SRC_URI="http://www.moria.de/~michael/diction/${P}.tar.gz"
SRC_URI="http://www.moria.de/~michael/diction/${P}.tar.gz"
 Lines 9-19   SRC_URI="http://www.moria.de/~michael/di Link Here 
LICENSE="GPL-2"
LICENSE="GPL-2"
SLOT="0"
SLOT="0"
KEYWORDS="amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
KEYWORDS="amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
IUSE=""
IUSE="unicode"
DEPEND="sys-devel/gettext"
DEPEND="sys-devel/gettext"
RDEPEND="virtual/libintl"
RDEPEND="virtual/libintl"
src_unpack() {
	unpack ${A}; cd ${S}
	epatch ${FILESDIR}/${P}-style_fail_on_bad_lang.patch
	if use unicode; then
		iconv -f ISO-8859-1 -t UTF-8 de > de.new || die "charset conversion failed."
		mv de.new de
	fi
}
src_compile() {
src_compile() {
	./configure --prefix=/usr ||die
	./configure --prefix=/usr ||die
	emake || die
	emake || die
(-) diction/diction-1.09.ebuild (-1 / +13 lines)
 Lines 2-7    Link Here 
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.09.ebuild,v 1.1 2006/04/25 21:06:29 seemant Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.09.ebuild,v 1.1 2006/04/25 21:06:29 seemant Exp $
inherit eutils
DESCRIPTION="Diction and style checkers for english and german texts"
DESCRIPTION="Diction and style checkers for english and german texts"
HOMEPAGE="http://www.gnu.org/software/diction/diction.html"
HOMEPAGE="http://www.gnu.org/software/diction/diction.html"
SRC_URI="http://www.moria.de/~michael/diction/${P}.tar.gz"
SRC_URI="http://www.moria.de/~michael/diction/${P}.tar.gz"
 Lines 9-19   SRC_URI="http://www.moria.de/~michael/di Link Here 
LICENSE="GPL-2"
LICENSE="GPL-2"
SLOT="0"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
IUSE=""
IUSE="unicode"
DEPEND="sys-devel/gettext"
DEPEND="sys-devel/gettext"
RDEPEND="virtual/libintl"
RDEPEND="virtual/libintl"
src_unpack() {
	unpack ${A}; cd ${S}
	epatch ${FILESDIR}/${P}-style_fail_on_bad_lang.patch
	if use unicode; then
		iconv -f ISO-8859-1 -t UTF-8 de > de.new || die "charset conversion failed."
		mv de.new de
	fi
}
src_install() {
src_install() {
	make DESTDIR=${D} install
	make DESTDIR=${D} install
	dodoc NEWS README
	dodoc NEWS README
(-) diction/files/diction-1.07-style_fail_on_bad_lang.patch (+12 lines)
Added Link Here 
# Fix for problem spotted by Matthias Langer in bug #131637
Index: diction-1.07/style.c
===================================================================
--- diction-1.07/style.c	{cset 980e7b47-4932-44e5-a761-6c69c6a771e1}
@@ -894,6 +894,11 @@ int main(int argc, char *argv[]) /*{{{*/
   }
   /*}}}*/
   newHit(&lengths);
   if (optind==argc) sentence("style",stdin,"(stdin)",style,docLanguage,0);
   else while (optind<argc)
   {
(-) diction/files/diction-1.09-style_fail_on_bad_lang.patch (+12 lines)
Added Link Here 
# Fix for problem spotted by Matthias Langer in bug #131637
Index: diction-1.10/style.c
===================================================================
--- diction-1.10/style.c	{cset f20f6f20-d7da-4aa0-9160-88cf480ce937}
@@ -911,6 +911,11 @@ int main(int argc, char *argv[]) /*{{{*/
   }
   /*}}}*/
   newHit(&lengths);
   if (optind==argc) sentence("style",stdin,"(stdin)",style,docLanguage);
   else while (optind<argc)
   {