summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Rodolfo Piske <angusyoung@gentoo.org>2004-09-10 21:00:45 +0000
committerOtavio Rodolfo Piske <angusyoung@gentoo.org>2004-09-10 21:00:45 +0000
commit9ac081f65f5a05443627b9c07107dd67e3db53f3 (patch)
tree8630475d464bac138c7384aea56918c9025e29c8 /app-dicts/babytrans
parentVersion bump (diff)
downloadhistorical-9ac081f65f5a05443627b9c07107dd67e3db53f3.tar.gz
historical-9ac081f65f5a05443627b9c07107dd67e3db53f3.tar.bz2
historical-9ac081f65f5a05443627b9c07107dd67e3db53f3.zip
Added patch and dictionary files that were missing
Diffstat (limited to 'app-dicts/babytrans')
-rw-r--r--app-dicts/babytrans/ChangeLog13
-rw-r--r--app-dicts/babytrans/Changelog8
-rw-r--r--app-dicts/babytrans/Manifest6
-rw-r--r--app-dicts/babytrans/babytrans-0.9.2-r1.ebuild56
-rw-r--r--app-dicts/babytrans/files/babytrans-0.9.2-r1.patch10
-rw-r--r--app-dicts/babytrans/files/dictionary19
-rw-r--r--app-dicts/babytrans/files/digest-babytrans-0.9.2-r11
7 files changed, 104 insertions, 9 deletions
diff --git a/app-dicts/babytrans/ChangeLog b/app-dicts/babytrans/ChangeLog
new file mode 100644
index 000000000000..cc472c3a8798
--- /dev/null
+++ b/app-dicts/babytrans/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans/ChangeLog,v 1.1 2004/09/10 21:00:45 angusyoung Exp $
+
+ 10 Oct 2004; Otavio Piske <angusyoung@gentoo.org> babytrans-0.9.2-r1.ebuild
+ Added patch to compile against gcc 3.3 or bigger and added dictionary
+
+* babytrans-0.9.2-r1 (10 Oct 2004)
+
+ 10 Oct 2004; Otavio Piske <angusyoung@gentoo.org> babytrans-0.9.2.ebuild :
+ Initial release (bug #26156)
+
+* babytrans-0.9.2 (10 Oct 2004)
diff --git a/app-dicts/babytrans/Changelog b/app-dicts/babytrans/Changelog
deleted file mode 100644
index 1cd6a330c56d..000000000000
--- a/app-dicts/babytrans/Changelog
+++ /dev/null
@@ -1,8 +0,0 @@
-# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans/Changelog,v 1.1 2004/09/10 05:52:23 angusyoung Exp $
-
- 10 Oct 2004; Otavio Piske <angusyoung@gentoo.org> babytrans-0.9.2.ebuild :
- Initial release (bug #26156)
-
-* babytrans-0.9.2 (10 Oct 2004)
diff --git a/app-dicts/babytrans/Manifest b/app-dicts/babytrans/Manifest
index 09e4981adb0e..6d106d5a05e5 100644
--- a/app-dicts/babytrans/Manifest
+++ b/app-dicts/babytrans/Manifest
@@ -1,4 +1,8 @@
MD5 8a2fd041e588ff0144d51a36572f4e70 babytrans-0.9.2.ebuild 1156
-MD5 fd6890d453e411670467313dd81e1c79 Changelog 362
+MD5 2054ee7cbb20e8fa90febf530ece1558 babytrans-0.9.2-r1.ebuild 1194
+MD5 644505c7da2727cde5df2c949e7a5f23 ChangeLog 549
MD5 d378a890367f8f48c801b0ead6464e2f metadata.xml 264
+MD5 f678700249988dcfab3b3b2a777727ef files/digest-babytrans-0.9.2-r1 67
+MD5 f113d0b6d519f81f3993cd526820045d files/dictionary 450
+MD5 bafd18d9e8a5779740e82b469a235fcc files/babytrans-0.9.2-r1.patch 241
MD5 f678700249988dcfab3b3b2a777727ef files/digest-babytrans-0.9.2 67
diff --git a/app-dicts/babytrans/babytrans-0.9.2-r1.ebuild b/app-dicts/babytrans/babytrans-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..c4c39b7c893c
--- /dev/null
+++ b/app-dicts/babytrans/babytrans-0.9.2-r1.ebuild
@@ -0,0 +1,56 @@
+# 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-r1.ebuild,v 1.1 2004/09/10 21:00:45 angusyoung Exp $
+
+IUSE="gnome"
+
+S=${WORKDIR}/${P}
+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 "
+
+RDEPEND="=x11-libs/gtk+-1.2*
+ >=app-dicts/babytrans-en-0.1
+ >=app-dicts/babytrans-en2pt-0.1"
+
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/src
+ epatch ${FILESDIR}/${PF}.diff
+ cd ${S}
+}
+
+src_compile() {
+
+ local myopts
+
+ use gnome \
+ myopts="${myopts} --enable-gnome" \
+ || myopts="${myopts} --disable-gnome"
+
+ ./configure \
+ --prefix=/usr \
+ --host=${CHOST} \
+ ${myopts} || die
+
+ make || die
+}
+
+src_install() {
+#Some stuff to create a gnome menu entry.
+ use gnome && ( \
+ insinto /usr/share/gnome/apps/Utilities
+ doins ${FILESDIR}/babytrans.desktop
+ )
+ insinto /usr/bin
+ einstall || die
+ insinto /usr/share/babytrans
+ doins ${FILESDIR}/dictionary
+ dodoc AUTHORS COPYING README
+}
diff --git a/app-dicts/babytrans/files/babytrans-0.9.2-r1.patch b/app-dicts/babytrans/files/babytrans-0.9.2-r1.patch
new file mode 100644
index 000000000000..0185f0227f1e
--- /dev/null
+++ b/app-dicts/babytrans/files/babytrans-0.9.2-r1.patch
@@ -0,0 +1,10 @@
+--- main.cc 2004-05-07 00:57:29.199564360 -0300
++++ main.cc.old 2004-05-07 01:02:08.232144960 -0300
+@@ -27,6 +27,7 @@
+ # error "HAVE_CONFIG_H not set"
+ #endif
+
++#include <assert.h>
+ #include <iostream>
+ #include <string>
+ #include <vector>
diff --git a/app-dicts/babytrans/files/dictionary b/app-dicts/babytrans/files/dictionary
new file mode 100644
index 000000000000..6ab8c676549e
--- /dev/null
+++ b/app-dicts/babytrans/files/dictionary
@@ -0,0 +1,19 @@
+# Aliases for babytrans
+#
+# Syntax:
+# path = path_to_dictionary_file
+# language_abbreviation = language_name , language_file
+
+# uncomment this line to use a personal directory
+# (see documentation)
+# path = ~/.babytrans
+#
+# Edited in version 0.9.2
+
+de = Deutsch , Engtoger.dic
+en = English , Engtoeng.dic
+es = Español , Engtospa.dic
+fr = Français , Engtofre.dic
+# he = Hebrew , Engtoheb.dic
+it = Italiano , Engtoita.dic
+pt = Português , Engtoptg.dic
diff --git a/app-dicts/babytrans/files/digest-babytrans-0.9.2-r1 b/app-dicts/babytrans/files/digest-babytrans-0.9.2-r1
new file mode 100644
index 000000000000..98ce1ef0fb23
--- /dev/null
+++ b/app-dicts/babytrans/files/digest-babytrans-0.9.2-r1
@@ -0,0 +1 @@
+MD5 635848e6e9287e6a025236c71232df19 babytrans-0.9.2.tar.gz 223204