Added new ebuild: babytrans-0.9.2-r3. This new ebuild is supposed to close bug #72019...
authorOtavio Rodolfo Piske <angusyoung@gentoo.org>
Mon, 22 Nov 2004 18:59:51 +0000 (18:59 +0000)
committerOtavio Rodolfo Piske <angusyoung@gentoo.org>
Mon, 22 Nov 2004 18:59:51 +0000 (18:59 +0000)
app-dicts/babytrans/ChangeLog
app-dicts/babytrans/Manifest
app-dicts/babytrans/babytrans-0.9.2-r3.ebuild [new file with mode: 0644]
app-dicts/babytrans/files/babytrans-0.9.2-nls.patch [new file with mode: 0644]
app-dicts/babytrans/files/digest-babytrans-0.9.2-r3 [new file with mode: 0644]

index 33694aaafa1885aa6af250c76f1ce8aa2d991ebb..c4ed58183f7fd0f05cfcf630c08f30b587c466ff 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-dicts/babytrans
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans/ChangeLog,v 1.9 2004/10/15 16:04:22 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans/ChangeLog,v 1.10 2004/11/22 18:59:51 angusyoung Exp $
+
+*babytrans-0.9.2-r3 (22 Nov 2004)
+
+  22 Nov 2004; Otavio Piske <angusyoung@gentoo.org>
+  +files/babytrans-0.9.2-nls.patch, +babytrans-0.9.2-r3.ebuild:
+  Added babytrans-0.9.2-r3 along with a patch which is supposed to solve bug
+  #72019
 
   15 Oct 2004; David Holm <dholm@gentoo.org> babytrans-0.9.2-r2.ebuild:
   Added to ~ppc.
index cb575689be62dd7924d601a3f7840ae3bf58e27c..b39c6faecf11fc16437ab6ced173a09fbe4947a4 100644 (file)
@@ -1,6 +1,9 @@
-MD5 8ac12edbfdc3ea616218baa4f3064a9c ChangeLog 2077
-MD5 d378a890367f8f48c801b0ead6464e2f metadata.xml 264
 MD5 fa1dca720b3db47bddda05ba180e733b babytrans-0.9.2-r2.ebuild 972
-MD5 f113d0b6d519f81f3993cd526820045d files/dictionary 450
-MD5 bafd18d9e8a5779740e82b469a235fcc files/babytrans-0.9.2-gcc.patch 241
+MD5 9f7dc8e8d64525e06f20285b69852ee0 babytrans-0.9.2-r3.ebuild 1177
+MD5 9feb4bc27d2d4eba3be6829b4dd9a4b0 ChangeLog 2321
+MD5 d378a890367f8f48c801b0ead6464e2f metadata.xml 264
+MD5 8d33578864907eca17d1fb89d605dfc2 files/babytrans-0.9.2-nls.patch 414
 MD5 f678700249988dcfab3b3b2a777727ef files/digest-babytrans-0.9.2-r2 67
+MD5 f678700249988dcfab3b3b2a777727ef files/digest-babytrans-0.9.2-r3 67
+MD5 bafd18d9e8a5779740e82b469a235fcc files/babytrans-0.9.2-gcc.patch 241
+MD5 f113d0b6d519f81f3993cd526820045d files/dictionary 450
diff --git a/app-dicts/babytrans/babytrans-0.9.2-r3.ebuild b/app-dicts/babytrans/babytrans-0.9.2-r3.ebuild
new file mode 100644 (file)
index 0000000..6f275d8
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans/babytrans-0.9.2-r3.ebuild,v 1.1 2004/11/22 18:59:51 angusyoung Exp $
+
+inherit eutils
+
+DESCRIPTION="BabyTrans is a Linux clone of the popular Babylon Translator for Windows."
+SRC_URI="http://fjolliton.free.fr/babytrans/test/${P}.tar.gz"
+HOMEPAGE="http://fjolliton.free.fr/"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="=x11-libs/gtk+-1.2*
+       =dev-libs/glib-1.2*
+       >=app-dicts/babytrans-en"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}/src
+       epatch ${FILESDIR}/${P}-gcc.patch
+
+       # Using make install instead of einstall causes a problem with sandbox.
+       # This simple patch is supposed to solve this.
+       cd ${S}/po
+       epatch ${FILESDIR}/${P}-nls.patch
+}
+
+src_install() {
+       # Requested by bug 72019
+       make install DESTDIR=${D} || die
+
+       insinto /usr/share/babytrans
+       doins ${FILESDIR}/dictionary
+       dodoc AUTHORS README
+}
+
+pkg_postinst() {
+       einfo ""
+       einfo "Now you should install one of the babytrans dictionaries"
+       einfo "available in portage. You can find then in $PORTDIR under"
+       einfo "the app-dicts category"
+       einfo ""
+}
diff --git a/app-dicts/babytrans/files/babytrans-0.9.2-nls.patch b/app-dicts/babytrans/files/babytrans-0.9.2-nls.patch
new file mode 100644 (file)
index 0000000..88f5136
--- /dev/null
@@ -0,0 +1,11 @@
+--- Makefile.in.in.orig        2004-11-22 18:23:51.920290360 -0200
++++ Makefile.in.in     2004-11-22 18:24:39.144111248 -0200
+@@ -123,7 +123,7 @@
+           *)     destdir=$(localedir);; \
+         esac; \
+         lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+-        dir=$$destdir/$$lang/LC_MESSAGES; \
++        dir=$(DESTDIR)/$$destdir/$$lang/LC_MESSAGES; \
+         if test -r "$(MKINSTALLDIRS)"; then \
+           $(MKINSTALLDIRS) $$dir; \
+         else \
diff --git a/app-dicts/babytrans/files/digest-babytrans-0.9.2-r3 b/app-dicts/babytrans/files/digest-babytrans-0.9.2-r3
new file mode 100644 (file)
index 0000000..98ce1ef
--- /dev/null
@@ -0,0 +1 @@
+MD5 635848e6e9287e6a025236c71232df19 babytrans-0.9.2.tar.gz 223204