summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Rodolfo Piske <angusyoung@gentoo.org>2004-11-22 18:59:51 +0000
committerOtavio Rodolfo Piske <angusyoung@gentoo.org>2004-11-22 18:59:51 +0000
commit58cd6411ca32053fa3ed741484d6b7ddc086a538 (patch)
tree2272513de90a7795671115a81fa5c1fd3ef1b775 /app-dicts
parentAdded to ~sparc. (Manifest recommit) (diff)
downloadgentoo-2-58cd6411ca32053fa3ed741484d6b7ddc086a538.tar.gz
gentoo-2-58cd6411ca32053fa3ed741484d6b7ddc086a538.tar.bz2
gentoo-2-58cd6411ca32053fa3ed741484d6b7ddc086a538.zip
Added new ebuild: babytrans-0.9.2-r3. This new ebuild is supposed to close bug #72019.umped version because it may or may not affect installed files.
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/babytrans/ChangeLog9
-rw-r--r--app-dicts/babytrans/Manifest9
-rw-r--r--app-dicts/babytrans/babytrans-0.9.2-r3.ebuild45
-rw-r--r--app-dicts/babytrans/files/babytrans-0.9.2-nls.patch11
-rw-r--r--app-dicts/babytrans/files/digest-babytrans-0.9.2-r31
5 files changed, 71 insertions, 4 deletions
diff --git a/app-dicts/babytrans/ChangeLog b/app-dicts/babytrans/ChangeLog
index 33694aaafa18..c4ed58183f7f 100644
--- a/app-dicts/babytrans/ChangeLog
+++ b/app-dicts/babytrans/ChangeLog
@@ -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.
diff --git a/app-dicts/babytrans/Manifest b/app-dicts/babytrans/Manifest
index cb575689be62..adcb4d1b8ae9 100644
--- a/app-dicts/babytrans/Manifest
+++ b/app-dicts/babytrans/Manifest
@@ -1,6 +1,9 @@
+MD5 fa1dca720b3db47bddda05ba180e733b babytrans-0.9.2-r2.ebuild 972
+MD5 544f2101b09b7f7783209f144c58af4e babytrans-0.9.2-r3.ebuild 1172
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 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
index 000000000000..6f275d82ce1d
--- /dev/null
+++ b/app-dicts/babytrans/babytrans-0.9.2-r3.ebuild
@@ -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
index 000000000000..88f5136409ed
--- /dev/null
+++ b/app-dicts/babytrans/files/babytrans-0.9.2-nls.patch
@@ -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
index 000000000000..98ce1ef0fb23
--- /dev/null
+++ b/app-dicts/babytrans/files/digest-babytrans-0.9.2-r3
@@ -0,0 +1 @@
+MD5 635848e6e9287e6a025236c71232df19 babytrans-0.9.2.tar.gz 223204