summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-02-07 04:37:09 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-02-07 04:37:09 +0000
commit331b324d25ffa204d09e560627427495325fcec5 (patch)
tree81d0039e8db22f55c105dac5ec9d5bc528fb4173 /sci-visualization
parentStable on x86; bug #121776 (diff)
downloadhistorical-331b324d25ffa204d09e560627427495325fcec5.tar.gz
historical-331b324d25ffa204d09e560627427495325fcec5.tar.bz2
historical-331b324d25ffa204d09e560627427495325fcec5.zip
Initial import (fixes bug #102325). Many thanks to Tim Cera <timcera@earthlink.net> for his ebuild and patches.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gfsview/ChangeLog12
-rw-r--r--sci-visualization/gfsview/Manifest15
-rw-r--r--sci-visualization/gfsview/files/digest-gfsview-0.43
-rw-r--r--sci-visualization/gfsview/files/gtk-client-events-handling.patch35
-rw-r--r--sci-visualization/gfsview/gfsview-0.4.ebuild39
-rw-r--r--sci-visualization/gfsview/metadata.xml9
6 files changed, 113 insertions, 0 deletions
diff --git a/sci-visualization/gfsview/ChangeLog b/sci-visualization/gfsview/ChangeLog
new file mode 100644
index 000000000000..498eac954ab4
--- /dev/null
+++ b/sci-visualization/gfsview/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sci-visualization/gfsview
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gfsview/ChangeLog,v 1.1 2006/02/07 04:37:09 markusle Exp $
+
+*gfsview-0.4 (07 Feb 2006)
+
+ 07 Feb 2006; Markus Dittrich <markusle@gentoo.org>
+ +files/gtk-client-events-handling.patch, +metadata.xml,
+ +gfsview-0.4.ebuild:
+ Initial import (fixes bug #102325). Many thanks to Tim Cera
+ <timcera@earthlink.net> for his ebuild and patches.
+
diff --git a/sci-visualization/gfsview/Manifest b/sci-visualization/gfsview/Manifest
new file mode 100644
index 000000000000..7ad2b03a77cb
--- /dev/null
+++ b/sci-visualization/gfsview/Manifest
@@ -0,0 +1,15 @@
+MD5 8d456145f2c81c33cb6d381460090af3 ChangeLog 505
+RMD160 d570fb434ec4585caa5992123340b32208a287b7 ChangeLog 505
+SHA256 58cdaff1527c33cec11cc6ddafbbc83c86f52d02136572d65b2f0db7de5b04ed ChangeLog 505
+MD5 0aa0f156bafb93c3a7e3f9420681c47b files/digest-gfsview-0.4 235
+RMD160 7dc8d61ccc0ebdc6e44685b0587d83d6d25bda65 files/digest-gfsview-0.4 235
+SHA256 98ecf796568574c1161b9fdfb14b295285a486f983de0284a36fab76a4fd507f files/digest-gfsview-0.4 235
+MD5 d73e040c74528c3ce7779fd10f5967ec files/gtk-client-events-handling.patch 869
+RMD160 408af1227852ab8e69fdb6d92b92a962114dfb46 files/gtk-client-events-handling.patch 869
+SHA256 c68b3163dedd075c4ad55876c020fb313c75f5531e0492288713fdbaaa18cf76 files/gtk-client-events-handling.patch 869
+MD5 4b33ab069b0c24548b26417871938d10 gfsview-0.4.ebuild 977
+RMD160 fed9cef8b2f12c1a10c2089981b5402970d9c5b1 gfsview-0.4.ebuild 977
+SHA256 3f8cdf8f6a187f1bf755368f65c0fca22135b262adb1d169d00f57018ff841b6 gfsview-0.4.ebuild 977
+MD5 041650a939ada57b9df1755a488ad1b7 metadata.xml 254
+RMD160 991c43f74018cbcaaa60b41290c912a8b61091c8 metadata.xml 254
+SHA256 80784c7acbd54102b4d3fc01c3fb2ae5862732093798671596c67a8350c25454 metadata.xml 254
diff --git a/sci-visualization/gfsview/files/digest-gfsview-0.4 b/sci-visualization/gfsview/files/digest-gfsview-0.4
new file mode 100644
index 000000000000..5bc0e696e354
--- /dev/null
+++ b/sci-visualization/gfsview/files/digest-gfsview-0.4
@@ -0,0 +1,3 @@
+MD5 b352c141754faa7302ac4ba9af29738f gfsview-0.4.tar.gz 299158
+RMD160 77d5bdfec579eddfe3e16478257cf6b9658e4ec8 gfsview-0.4.tar.gz 299158
+SHA256 34b976f742976e07b0671bae5e8a4717f5dd4d0e5afebfa95238e72e7b4908a5 gfsview-0.4.tar.gz 299158
diff --git a/sci-visualization/gfsview/files/gtk-client-events-handling.patch b/sci-visualization/gfsview/files/gtk-client-events-handling.patch
new file mode 100644
index 000000000000..f6f9ff7c8099
--- /dev/null
+++ b/sci-visualization/gfsview/files/gtk-client-events-handling.patch
@@ -0,0 +1,35 @@
+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.ebuild b/sci-visualization/gfsview/gfsview-0.4.ebuild
new file mode 100644
index 000000000000..37e86b9ce73a
--- /dev/null
+++ b/sci-visualization/gfsview/gfsview-0.4.ebuild
@@ -0,0 +1,39 @@
+# 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.1 2006/02/07 04:37:09 markusle 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="~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/metadata.xml b/sci-visualization/gfsview/metadata.xml
new file mode 100644
index 000000000000..a3ced4f52edf
--- /dev/null
+++ b/sci-visualization/gfsview/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>markusle@gentoo.org</email>
+ <name>Markus Dittrich</name>
+ </maintainer>
+ <herd>sci</herd>
+</pkgmetadata>