diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2005-08-23 02:47:35 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2005-08-23 02:47:35 +0000 |
commit | a342c17cc172832c00dafb2f11b2d7bb0f64dbd2 (patch) | |
tree | 54b931a47cb68f700a50e422741b316226a366b6 /sci-mathematics/gturing | |
parent | stable on ia64 (diff) | |
download | gentoo-2-a342c17cc172832c00dafb2f11b2d7bb0f64dbd2.tar.gz gentoo-2-a342c17cc172832c00dafb2f11b2d7bb0f64dbd2.tar.bz2 gentoo-2-a342c17cc172832c00dafb2f11b2d7bb0f64dbd2.zip |
Added example files (fixes bug #96002). Fixed GCC 3.4 issues.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-mathematics/gturing')
-rw-r--r-- | sci-mathematics/gturing/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/gturing/Manifest | 13 | ||||
-rw-r--r-- | sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch | 16 | ||||
-rw-r--r-- | sci-mathematics/gturing/gturing-0.1.1.ebuild | 22 |
4 files changed, 40 insertions, 19 deletions
diff --git a/sci-mathematics/gturing/ChangeLog b/sci-mathematics/gturing/ChangeLog index 8d45e4842ba0..6c37b67fd0ec 100644 --- a/sci-mathematics/gturing/ChangeLog +++ b/sci-mathematics/gturing/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/gturing -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gturing/ChangeLog,v 1.2 2004/12/28 20:09:49 swegener Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gturing/ChangeLog,v 1.3 2005/08/23 02:47:35 ribosome Exp $ + + 23 Aug 2005; Olivier Fisette <ribosome@gentoo.org> + +files/gturing-0.1.1-gettext.patch, gturing-0.1.1.ebuild: + Added example files (fixes bug #96002). Fixed GCC 3.4 issues. *gturing-0.1.1 (28 Dec 2004) diff --git a/sci-mathematics/gturing/Manifest b/sci-mathematics/gturing/Manifest index 3e53964d4db4..63f8303cbade 100644 --- a/sci-mathematics/gturing/Manifest +++ b/sci-mathematics/gturing/Manifest @@ -1,14 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 87f1504a768482d4c39415a2696bcd01 gturing-0.1.1.ebuild 609 +MD5 a0cfc16092663b4b7311dc2330ac5b42 gturing-0.1.1.ebuild 754 MD5 e5ce026a0556cc95ef27f7bf1cb75363 ChangeLog 838 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 4e495972145cafe97e445160e6cde60e files/digest-gturing-0.1.1 66 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) - -iD8DBQFB0b2TI1lqEGTUzyQRAk6FAJ9rJ80nGoEaQm6rrEOws0dfk7qX/QCgjkSs -a4K+MJtzD4treChlGtIN2Ks= -=FsDk ------END PGP SIGNATURE----- +MD5 e93c10925468636db26e343be058ff99 files/gturing-0.1.1-gettext.patch 418 diff --git a/sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch b/sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch new file mode 100644 index 000000000000..7cbc25032192 --- /dev/null +++ b/sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch @@ -0,0 +1,16 @@ +--- src/gturing.h~ 2005-08-22 21:37:00.000000000 -0400 ++++ src/gturing.h 2005-08-22 21:39:34.000000000 -0400 +@@ -23,6 +23,13 @@ + static GnomeUIInfo helper_toolbar[]; + static GnomeUIInfo helper_action_menu[]; + ++/* Missing locale/gettext definitions */ ++ ++#include <locale.h> ++#include <libintl.h> ++#define _(String) gettext(String) ++#define N_(String) (String) ++ + /* Internal functions and callbacks */ + + turing *tm; diff --git a/sci-mathematics/gturing/gturing-0.1.1.ebuild b/sci-mathematics/gturing/gturing-0.1.1.ebuild index 98ee15a64413..f9afdbad83d7 100644 --- a/sci-mathematics/gturing/gturing-0.1.1.ebuild +++ b/sci-mathematics/gturing/gturing-0.1.1.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gturing/gturing-0.1.1.ebuild,v 1.1 2004/12/28 05:48:07 ribosome Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gturing/gturing-0.1.1.ebuild,v 1.2 2005/08/23 02:47:35 ribosome Exp $ -DESCRIPTION="GNOME turing machine simulator for" +inherit eutils + +DESCRIPTION="GNOME turing machine simulator" HOMEPAGE="http://www.nuclecu.unam.mx/~arturo/gTuring/" -SRC_URI="mirror://gnome/sources/gturing/0.1/${P}.tar.bz2" +SRC_URI="mirror://gnome/sources/${PN}/${PV}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" @@ -13,12 +15,20 @@ IUSE="" DEPEND=">=gnome-base/libgnomeui-2.0.0" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gettext.patch +} + src_compile() { - econf || die "econf failed" + econf || die emake || die } src_install() { - einstall + einstall || die dodoc README AUTHORS NEWS TODO + insinto /usr/share/doc/${PF}/examples + doins tapes/*.tur } |