diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-15 19:35:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-15 19:35:07 +0000 |
commit | f3cf2780ef1095d5279877643d6ceba7dd48f511 (patch) | |
tree | 4feceaaf1ef35ca2ba61260f548a13f6925f7a65 /sci-visualization/gfsview | |
parent | BSD licenses cleanup, bug 301123. (diff) | |
download | gentoo-2-f3cf2780ef1095d5279877643d6ceba7dd48f511.tar.gz gentoo-2-f3cf2780ef1095d5279877643d6ceba7dd48f511.tar.bz2 gentoo-2-f3cf2780ef1095d5279877643d6ceba7dd48f511.zip |
Version bump, now builds, and stay in main tree. Batch mode disabled because libOSmesa is forced disabled in media-libs/mesa
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/gfsview')
-rw-r--r-- | sci-visualization/gfsview/ChangeLog | 12 | ||||
-rw-r--r-- | sci-visualization/gfsview/files/gtk-client-events-handling.patch | 35 | ||||
-rw-r--r-- | sci-visualization/gfsview/gfsview-0.4.2.ebuild | 23 | ||||
-rw-r--r-- | sci-visualization/gfsview/gfsview-0.4.ebuild | 37 | ||||
-rw-r--r-- | sci-visualization/gfsview/gfsview-20091219.ebuild | 28 |
5 files changed, 38 insertions, 97 deletions
diff --git a/sci-visualization/gfsview/ChangeLog b/sci-visualization/gfsview/ChangeLog index 6bd2a22f10bf..89fcd4446692 100644 --- a/sci-visualization/gfsview/ChangeLog +++ b/sci-visualization/gfsview/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-visualization/gfsview -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gfsview/ChangeLog,v 1.4 2007/02/22 01:08:35 jokey Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gfsview/ChangeLog,v 1.5 2010/01/15 19:35:06 bicatali Exp $ + +*gfsview-20091219 (15 Jan 2010) + + 15 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> -gfsview-0.4.ebuild, + -gfsview-0.4.2.ebuild, +gfsview-20091219.ebuild, + -files/gtk-client-events-handling.patch: + Version bump, now builds, and stay in main tree. Batch mode disabled + because libOSmesa is forced disabled in media-libs/mesa 22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog: Redigest for Manifest2 diff --git a/sci-visualization/gfsview/files/gtk-client-events-handling.patch b/sci-visualization/gfsview/files/gtk-client-events-handling.patch deleted file mode 100644 index f6f9ff7c8099..000000000000 --- a/sci-visualization/gfsview/files/gtk-client-events-handling.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -Naur gfsview-0.4/view/gfkgl.c gfsview-0.4-new/view/gfkgl.c ---- gfsview-0.4/view/gfkgl.c 2005-10-11 22:55:13.000000000 +0000 -+++ gfsview-0.4-new/view/gfkgl.c 2006-02-06 20:07:45.000000000 +0000 -@@ -2376,16 +2376,21 @@ - - static gboolean client_event (GtkWidget * view, GdkEventClient * msg) - { -- FILE * fp; -- GfsGl2PSParams * p; -- -- GFK_GL_UNPACK_MSG (msg, fp, p); -- gfs_gl2ps (p, fp, "", view); -- if (fp == stdout || fp == stderr) -- fflush (fp); -- else -- fclose (fp); -- g_free (p); -+ gchar * name = gdk_atom_name (msg->message_type); -+ -+ if (!strcmp (name, "GFS_SAVE_EVENT")) { -+ FILE * fp; -+ GfsGl2PSParams * p; -+ -+ GFK_GL_UNPACK_MSG (msg, fp, p); -+ gfs_gl2ps (p, fp, "", view); -+ if (fp == stdout || fp == stderr) -+ fflush (fp); -+ else -+ fclose (fp); -+ g_free (p); -+ } -+ g_free (name); - return TRUE; - } - diff --git a/sci-visualization/gfsview/gfsview-0.4.2.ebuild b/sci-visualization/gfsview/gfsview-0.4.2.ebuild deleted file mode 100644 index 850b651c43fd..000000000000 --- a/sci-visualization/gfsview/gfsview-0.4.2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gfsview/gfsview-0.4.2.ebuild,v 1.2 2007/07/15 02:36:19 mr_bones_ Exp $ - -inherit eutils - -DESCRIPTION="GfsView is a graphical viewer for Gerris simulation files." -HOMEPAGE="http://gfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/gfs/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="" -DEPEND=">=x11-libs/gtkglext-1.0.6 - >=x11-libs/gtk+-2.4.0 - >=sci-libs/gerris-0.8.0" - -src_install() { - make DESTDIR="${D}" install || die "Install failed" - dodoc AUTHORS ChangeLog NEWS README TODO -} diff --git a/sci-visualization/gfsview/gfsview-0.4.ebuild b/sci-visualization/gfsview/gfsview-0.4.ebuild deleted file mode 100644 index 9963b1b20f1e..000000000000 --- a/sci-visualization/gfsview/gfsview-0.4.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gfsview/gfsview-0.4.ebuild,v 1.3 2007/07/15 02:36:19 mr_bones_ Exp $ - -inherit eutils - -DESCRIPTION="GfsView is a graphical viewer for Gerris simulation files." -HOMEPAGE="http://gfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/gfs/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="" -DEPEND=">=x11-libs/gtkglext-1.0.6 - >=x11-libs/gtk+-2.4.0 - >=sci-libs/gerris-0.8.0" - -src_unpack() { - unpack "${A}" || die "Unpacking the source failed" - cd "${S}" || die "Failed to change directory" - - # apply upstream patch to fix crashes when - # clicking on menu items - epatch "${FILESDIR}"/gtk-client-events-handling.patch -} - -src_compile() { - econf || die "Configure failed" - emake || die "Make failed" -} - -src_install() { - make DESTDIR="${D}" install || die "Install failed" - dodoc AUTHORS ChangeLog NEWS README TODO -} diff --git a/sci-visualization/gfsview/gfsview-20091219.ebuild b/sci-visualization/gfsview/gfsview-20091219.ebuild new file mode 100644 index 000000000000..8ade7cfa86a9 --- /dev/null +++ b/sci-visualization/gfsview/gfsview-20091219.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gfsview/gfsview-20091219.ebuild,v 1.1 2010/01/15 19:35:06 bicatali Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="Graphical viewer for Gerris simulation files." +HOMEPAGE="http://gfs.sourceforge.net/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +DEPEND=">=x11-libs/gtkglext-1.0.6 + >=x11-libs/gtk+-2.4.0 + >=sci-libs/gerris-${PV}" +RDEPEND="${DEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${PN}-snapshot-091219" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} |