aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-geosciences/grass/Manifest15
-rw-r--r--sci-geosciences/grass/files/99grass-63
-rw-r--r--sci-geosciences/grass/files/99grass-6.23
-rw-r--r--sci-geosciences/grass/files/grass-6.2.0-html-nonviz.patch39
-rw-r--r--sci-geosciences/grass/files/grass-6.2.1-ffmpeg-fix.patch24
-rw-r--r--sci-geosciences/grass/files/grass-6.2.1-gcc43.patch11
-rw-r--r--sci-geosciences/grass/files/grass-6.2.1-html-nonviz.patch33
-rw-r--r--sci-geosciences/grass/files/grass-6.2.1-html-nviz-fix.patch22
-rw-r--r--sci-geosciences/grass/files/grass-6.3.0-gcc44.patch11
-rw-r--r--sci-geosciences/grass/files/grass-6.3.0-html-nonviz.patch14
-rw-r--r--sci-geosciences/grass/files/grass-6.3.0-o_creat.patch36
-rw-r--r--sci-geosciences/grass/files/grass-6.4.0-html-nonviz.patch33
-rw-r--r--sci-geosciences/grass/files/grass_icon.pngbin4470 -> 0 bytes
-rw-r--r--sci-geosciences/grass/grass-6.4.0_rc5.ebuild286
-rw-r--r--sci-geosciences/grass/metadata.xml19
15 files changed, 0 insertions, 549 deletions
diff --git a/sci-geosciences/grass/Manifest b/sci-geosciences/grass/Manifest
deleted file mode 100644
index bab39b5e1..000000000
--- a/sci-geosciences/grass/Manifest
+++ /dev/null
@@ -1,15 +0,0 @@
-AUX 99grass-6 100 RMD160 e62ea08a12a22039fbe8fb396e011fd9b769ff2f SHA1 8ef4acdbb4330b64a51e7b8304f9c68fce17c438 SHA256 dce426f95d7be7f7deae328537ad8666d4ff140dc6de0bb65495f23ad1a5e8f8
-AUX 99grass-6.2 68 RMD160 08c932be282925ca1316664ba7ef9654a0543488 SHA1 ba73dcd993687fc0bfa95d97ff1ce30fb05bfa45 SHA256 bf7b1df4b9d9f71ffdd36cf924cb374032fd49ba0277a5cc7a4f77658cdc76e4
-AUX grass-6.2.0-html-nonviz.patch 1721 RMD160 ad57109c03792e8376ccbe2ed8ff459b850cdf20 SHA1 20122b510bc7e52dfbaac04fd8587281d99a08e6 SHA256 492475975bb08f5b24f6c043a8bdfce32a1b22b5432127223dfe36e1ba66057c
-AUX grass-6.2.1-ffmpeg-fix.patch 816 RMD160 eaefa978b965e1b66d0efec6d3ba8a07d4515307 SHA1 322b5ed2089f5b94f74ba38924cde7fe2611918c SHA256 2cbdfe11078783cf5bc95a5f4baaa05769c0921025737d8afdcf638321b4b501
-AUX grass-6.2.1-gcc43.patch 488 RMD160 23dfe1e408063330281258ae04dee5b07427b5f9 SHA1 c09e881eb3dde567ed1414075f1cbb33426928b4 SHA256 59346dd5aa8d4411622843db8256f20f7cddd1cc506757dd0b7820fa8f7349a4
-AUX grass-6.2.1-html-nonviz.patch 1742 RMD160 39103490f48abcc53f1fb8f3d9df48910866fab6 SHA1 a98486fb4b21f5ef42084d37ec0e6addc655fdc2 SHA256 73b7661832230f5ea1dadf983d6ce723b2f87bd3bafc4e939f36f7620d764270
-AUX grass-6.2.1-html-nviz-fix.patch 592 RMD160 7935449babc7dd6a07cffad66513c404a266848f SHA1 653a049d80fba93968620f7dc4e0ec2bbfb8edba SHA256 df2bfefc4aa6ddb030eb4a809a3cc885ade69e526a0ec99cd31fe1b751e05c41
-AUX grass-6.3.0-gcc44.patch 387 RMD160 d104b2cbea3ee14d8f266da122d9e4aef63dc6b0 SHA1 1ce70dbb99f64419361816a75e6948d8960d4f4f SHA256 210e7f7f34ec04caf41bd312f5c90c7be206656766e98725f27185e0c8759f80
-AUX grass-6.3.0-html-nonviz.patch 763 RMD160 054b336fcc47d64e56a40d2dda955732047ceb08 SHA1 e8f10078f8cccc5a47d2f2c8bed1d9ace7ed2598 SHA256 e870d724170a9d629a5d0bb8897a2e2f5d1b25eed204a7450061f26d48192981
-AUX grass-6.3.0-o_creat.patch 1469 RMD160 dd2cec8103c07eabd906f3792544bf2225cb1287 SHA1 3bb27a3069abb47b3ac6a9480c508a036d1f3aba SHA256 b9bb9ea09414fbcb00b52520cd4e98147d3de199401efe9996eb6f911fd7ef05
-AUX grass-6.4.0-html-nonviz.patch 2043 RMD160 054a8510ba051656ea89652995a975473fc64dc7 SHA1 49f3f75a1090a3012d60df729aeadb1bafe24417 SHA256 f037db888e1ac33185615207240e98a836fd9efdb5021d0e2f166ea121c98112
-AUX grass_icon.png 4470 RMD160 b4a6deeb6ce859a57c6aba3c4095e2dd718f36e9 SHA1 6839c28ec1d01c486d45a245a159fced3c0d0810 SHA256 c6c873f24bb59b8ff98000b500ca3a047ca86af216b4b7b1593baef5f2fbe6a9
-DIST grass-6.4.0RC5.tar.gz 21087594 RMD160 3fa11d2672a4717a7f348cec3810bcbe51700202 SHA1 6f1f069d3044555f578c62e0601965ff745462b8 SHA256 2a9b43f5ca4946c204a20b286ebb49fe08ef022ea1537595cb9b8d1009aa8e7a
-EBUILD grass-6.4.0_rc5.ebuild 7728 RMD160 4b926eb0aeaf4741b6783487b2bfb313ec6a138e SHA1 e922fa5126335bbffd970508f05b5b83275883ec SHA256 f3e1577ffb85f51f89b390da7ecbfc1e133569b7af7d519d2090c0001852f9f5
-MISC metadata.xml 783 RMD160 1b1fa970a119a29ee5502815e2dd8103be600526 SHA1 75c6aef32f661f74e29c550e84af8b637d70e98d SHA256 2cb454a8c266d344c7830cee33fffde971164a0d3456b6ff0c1f28a76f0034cd
diff --git a/sci-geosciences/grass/files/99grass-6 b/sci-geosciences/grass/files/99grass-6
deleted file mode 100644
index 320734474..000000000
--- a/sci-geosciences/grass/files/99grass-6
+++ /dev/null
@@ -1,3 +0,0 @@
-GRASS_LD_LIBRARY_PATH="/usr/grass60/lib"
-LDPATH="/usr/grass60/lib"
-CONFIG_PROTECT="/usr/grass60/etc" \ No newline at end of file
diff --git a/sci-geosciences/grass/files/99grass-6.2 b/sci-geosciences/grass/files/99grass-6.2
deleted file mode 100644
index 1c7065791..000000000
--- a/sci-geosciences/grass/files/99grass-6.2
+++ /dev/null
@@ -1,3 +0,0 @@
-GRASS_LD_LIBRARY_PATH="/usr/grass62/lib"
-LDPATH="/usr/grass62/lib"
-
diff --git a/sci-geosciences/grass/files/grass-6.2.0-html-nonviz.patch b/sci-geosciences/grass/files/grass-6.2.0-html-nonviz.patch
deleted file mode 100644
index 5ddb4d6f6..000000000
--- a/sci-geosciences/grass/files/grass-6.2.0-html-nonviz.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- tools/build_html_index.sh.orig 2006-12-29 11:55:46.000000000 -0800
-+++ tools/build_html_index.sh 2006-12-29 11:58:10.000000000 -0800
-@@ -129,10 +129,12 @@
-
- #copy over CSS:
- cp -f grassdocs.css $HTMLDIR/
--cp -f grassdocs.css $HTMLDIR/nviz/
-+# patch for no opengl
-+#cp -f grassdocs.css $HTMLDIR/nviz/
- #copy over GRASS logo:
- cp -f grass.smlogo.gif $HTMLDIR/
--cp -f grass.smlogo.gif $HTMLDIR/nviz/
-+# patch for no opengl
-+#cp -f grass.smlogo.gif $HTMLDIR/nviz/
- #copy over GEM docs:
- mkdir -p $HTMLDIR/gem
- cp -f $GEMDIR/docs/GEM-Manual/*.html $HTMLDIR/gem/
-@@ -161,7 +163,8 @@
- echo "<tr><td>&nbsp;&nbsp;r.* </td><td>raster commands</td></tr>" >> $FULLINDEX
- echo "<tr><td>&nbsp;&nbsp;r3.* </td><td>raster3D commands</td></tr>" >> $FULLINDEX
- echo "<tr><td>&nbsp;&nbsp;v.* </td><td>vector commands</td></tr>" >> $FULLINDEX
--echo "<tr><td>&nbsp;&nbsp;nviz </td><td>visualization command</td></tr>" >> $FULLINDEX
-+# patch for no opengl
-+#echo "<tr><td>&nbsp;&nbsp;nviz </td><td>visualization command</td></tr>" >> $FULLINDEX
- echo "</table>" >> $FULLINDEX
- echo "<p>" >> $FULLINDEX
-
-@@ -240,9 +243,10 @@
- echo "<li><a href=\"$MODCLASS.html\">$MODCLASS commands</a></li>" >> $FILENAME
- done
-
-+# patch for no opengl (no nviz)
- #extra stuff for 'nviz' and 'xganim' and GUIs:
- echo "<li><a href=\"gis.m.html\">gis.m</a> and <a href=\"d.m.html\">d.m</a> GIS managers</li>" >> $FILENAME
--echo "<li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>" >> $FILENAME
-+#echo "<li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>" >> $FILENAME
- echo "<li><a href=\"xganim.html\">xganim</a> tool for animating a raster map series</li>" >> $FILENAME
-
- echo "</ul>" >> $FILENAME
diff --git a/sci-geosciences/grass/files/grass-6.2.1-ffmpeg-fix.patch b/sci-geosciences/grass/files/grass-6.2.1-ffmpeg-fix.patch
deleted file mode 100644
index 3e52df7a5..000000000
--- a/sci-geosciences/grass/files/grass-6.2.1-ffmpeg-fix.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- lib/ogsf/gsd_img_ppm.c.orig 2007-08-22 19:07:35.000000000 -0700
-+++ lib/ogsf/gsd_img_ppm.c 2007-08-22 19:10:58.000000000 -0700
-@@ -119,10 +119,9 @@
-
- avcodec_init();
-
-- register_avcodec(&mpeg1video_encoder); /* just mpeg1 */
-- /* -- use with othe formats ...
-+ /* register_avcodec(&mpeg1video_encoder); just mpeg1 */
-+ /* -- use with all formats ... */
- avcodec_register_all();
-- */
-
- /* find the mpeg1 video encoder */
- codec = avcodec_find_encoder(CODEC_ID_MPEG1VIDEO);
-@@ -144,7 +143,7 @@
- For Xvid the canvas size must be a multiple of (4?). Best try 16,
- 720x720. (File->Set Canval Size) Otherwise the codec won't open.
- */
-- register_avcodec(&xvid_encoder);
-+ avcodec_register_all();
- codec = avcodec_find_encoder(CODEC_ID_XVID);
- bitrate=2000000;
- #endif
diff --git a/sci-geosciences/grass/files/grass-6.2.1-gcc43.patch b/sci-geosciences/grass/files/grass-6.2.1-gcc43.patch
deleted file mode 100644
index 556ac7316..000000000
--- a/sci-geosciences/grass/files/grass-6.2.1-gcc43.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -aur grass-6.2.3.orig/raster/r.terraflow/IOStream/include/ami_stream.h grass-6.2.3/raster/r.terraflow/IOStream/include/ami_stream.h
---- grass-6.2.3.orig/raster/r.terraflow/IOStream/include/ami_stream.h 2004-11-09 14:29:58.000000000 +0100
-+++ grass-6.2.3/raster/r.terraflow/IOStream/include/ami_stream.h 2008-03-21 01:03:36.000000000 +0100
-@@ -51,6 +51,7 @@
- #include <fcntl.h>
- #include <errno.h>
- #include <unistd.h>
-+#include <cstring>
-
- #include <iostream>
- using namespace std;
diff --git a/sci-geosciences/grass/files/grass-6.2.1-html-nonviz.patch b/sci-geosciences/grass/files/grass-6.2.1-html-nonviz.patch
deleted file mode 100644
index 194673562..000000000
--- a/sci-geosciences/grass/files/grass-6.2.1-html-nonviz.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- tools/build_html_index.sh.orig 2007-07-01 09:47:50.000000000 -0700
-+++ tools/build_html_index.sh 2007-07-01 09:52:47.000000000 -0700
-@@ -129,10 +129,10 @@
-
- #copy over CSS:
- cp -f grassdocs.css $HTMLDIR/
--cp -f grassdocs.css $HTMLDIR/nviz/
-+#cp -f grassdocs.css $HTMLDIR/nviz/
- #copy over GRASS logo:
- cp -f grass.smlogo.gif $HTMLDIR/
--cp -f grass.smlogo.gif $HTMLDIR/nviz/
-+#cp -f grass.smlogo.gif $HTMLDIR/nviz/
- #copy over GEM docs:
- mkdir -p $HTMLDIR/gem
- cp -f $GEMDIR/docs/GEM-Manual/*.html $HTMLDIR/gem/
-@@ -163,7 +163,7 @@
- echo "<tr><td>&nbsp;&nbsp;r3.* </td><td>raster3D commands</td></tr>" >> $FULLINDEX
- echo "<tr><td>&nbsp;&nbsp;v.* </td><td>vector commands</td></tr>" >> $FULLINDEX
- echo "<tr><td>&nbsp;&nbsp;<a href=\"gis.m.html\">gis.m</a> </td><td>GUI frontend to GIS menus and display</td></tr>" >> $FULLINDEX
--echo "<tr><td>&nbsp;&nbsp;<a href=\"nviz.html\">nviz</a> </td><td>visualization suite</td></tr>" >> $FULLINDEX
-+#echo "<tr><td>&nbsp;&nbsp;<a href=\"nviz.html\">nviz</a> </td><td>visualization suite</td></tr>" >> $FULLINDEX
- echo "<tr><td>&nbsp;&nbsp;<a href=\"xganim.html\">xganim</a> </td><td>raster map slideshow</td></tr>" >> $FULLINDEX
- echo "</table>" >> $FULLINDEX
- echo "<p>" >> $FULLINDEX
-@@ -245,7 +245,7 @@
-
- #extra stuff for 'nviz' and 'xganim' and GUIs:
- echo "<li><a href=\"gis.m.html\">gis.m</a> and <a href=\"d.m.html\">d.m</a> GIS managers</li>" >> $FILENAME
--echo "<li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>" >> $FILENAME
-+#echo "<li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>" >> $FILENAME
- echo "<li><a href=\"xganim.html\">xganim</a> tool for animating a raster map series</li>" >> $FILENAME
-
- echo "</ul>" >> $FILENAME
diff --git a/sci-geosciences/grass/files/grass-6.2.1-html-nviz-fix.patch b/sci-geosciences/grass/files/grass-6.2.1-html-nviz-fix.patch
deleted file mode 100644
index 75997702a..000000000
--- a/sci-geosciences/grass/files/grass-6.2.1-html-nviz-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- tools/build_html_index.sh.orig 2006-11-20 08:02:23.000000000 -0800
-+++ tools/build_html_index.sh 2007-08-22 17:49:12.000000000 -0700
-@@ -127,12 +127,16 @@
-
- ################
-
--#copy over CSS:
-+#copy over CSS and GRASS logo:
- cp -f grassdocs.css $HTMLDIR/
--cp -f grassdocs.css $HTMLDIR/nviz/
--#copy over GRASS logo:
- cp -f grass.smlogo.gif $HTMLDIR/
-+if ! test -d $HTMLDIR/nviz
-+then
-+ mkdir $HTMLDIR/nviz
-+fi
-+cp -f grassdocs.css $HTMLDIR/nviz/
- cp -f grass.smlogo.gif $HTMLDIR/nviz/
-+
- #copy over GEM docs:
- mkdir -p $HTMLDIR/gem
- cp -f $GEMDIR/docs/GEM-Manual/*.html $HTMLDIR/gem/
diff --git a/sci-geosciences/grass/files/grass-6.3.0-gcc44.patch b/sci-geosciences/grass/files/grass-6.3.0-gcc44.patch
deleted file mode 100644
index d90f07428..000000000
--- a/sci-geosciences/grass/files/grass-6.3.0-gcc44.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nupr grass-6.3.0/imagery/i.atcorr/Output.h~ grass-6.3.0/imagery/i.atcorr/Output.h
---- grass-6.3.0/imagery/i.atcorr/Output.h~ 2009-04-29 20:49:42.000000000 +0000
-+++ grass-6.3.0/imagery/i.atcorr/Output.h 2009-04-29 20:49:50.000000000 +0000
-@@ -1,6 +1,7 @@
- #ifndef MY_OUTPUT_H
- #define MY_OUTPUT_H
-
-+#include <cstdio>
- #include <iostream>
- #include <sstream>
- #include <string>
diff --git a/sci-geosciences/grass/files/grass-6.3.0-html-nonviz.patch b/sci-geosciences/grass/files/grass-6.3.0-html-nonviz.patch
deleted file mode 100644
index 47c2633a6..000000000
--- a/sci-geosciences/grass/files/grass-6.3.0-html-nonviz.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- tools/build_html_index.sh.orig 2008-04-16 10:21:15.000000000 +0200
-+++ tools/build_html_index.sh 2008-04-16 10:23:52.000000000 +0200
-@@ -141 +141 @@
--cp -f grassdocs.css $HTMLDIR/nviz/
-+#cp -f grassdocs.css $HTMLDIR/nviz/
-@@ -145 +145 @@
--cp -f grass_logo.png $HTMLDIR/nviz/
-+#cp -f grass_logo.png $HTMLDIR/nviz/
-@@ -182 +182 @@
--echo "<tr><td>&nbsp;&nbsp;<a href=\"nviz.html\">nviz</a> </td><td>visualization suite</td></tr>" >> $FULLINDEX
-+#echo "<tr><td>&nbsp;&nbsp;<a href=\"nviz.html\">nviz</a> </td><td>visualization suite</td></tr>" >> $FULLINDEX
-@@ -262 +262 @@
--echo "<li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>" >> $FILENAME
-+#echo "<li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>" >> $FILENAME
diff --git a/sci-geosciences/grass/files/grass-6.3.0-o_creat.patch b/sci-geosciences/grass/files/grass-6.3.0-o_creat.patch
deleted file mode 100644
index 32893044a..000000000
--- a/sci-geosciences/grass/files/grass-6.3.0-o_creat.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-open with O_CREAT in second argument needs 3 arguments.
-2009-03-05 Martin von Gagern
-Reference: https://bugs.gentoo.org/261283
-
-Index: grass-6.3.0/raster/r.drain/main.c
-===================================================================
---- grass-6.3.0.orig/raster/r.drain/main.c
-+++ grass-6.3.0/raster/r.drain/main.c
-@@ -296,8 +296,8 @@ int main(int argc, char **argv)
- tempfile1 = G_tempfile();
- tempfile2 = G_tempfile();
-
-- fe = open(tempfile1, O_RDWR | O_CREAT);
-- fd = open(tempfile2, O_RDWR | O_CREAT);
-+ fe = open(tempfile1, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
-+ fd = open(tempfile2, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
-
- /* transfer the input map to a temp file */
- for (i = 0; i < nrows; i++) {
-Index: grass-6.3.0/raster/r.fill.dir/main.c
-===================================================================
---- grass-6.3.0.orig/raster/r.fill.dir/main.c
-+++ grass-6.3.0/raster/r.fill.dir/main.c
-@@ -196,9 +196,9 @@ main(int argc, char **argv)
- tempfile2 = G_tempfile();
- tempfile3 = G_tempfile();
-
-- fe=open(tempfile1,O_RDWR|O_CREAT); /* elev */
-- fd=open(tempfile2,O_RDWR|O_CREAT); /* dirn */
-- fm=open(tempfile3,O_RDWR|O_CREAT); /* problems */
-+ fe=open(tempfile1,O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); /* elev */
-+ fd=open(tempfile2,O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); /* dirn */
-+ fm=open(tempfile3,O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); /* problems */
-
- G_message(_("Reading map..."));
- for(i=0;i<nrows;i++)
diff --git a/sci-geosciences/grass/files/grass-6.4.0-html-nonviz.patch b/sci-geosciences/grass/files/grass-6.4.0-html-nonviz.patch
deleted file mode 100644
index a879ad223..000000000
--- a/sci-geosciences/grass/files/grass-6.4.0-html-nonviz.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- tools/build_html_index.sh 2009-05-05 21:04:00.000000000 +0200
-+++ tools/build_html_index.sh.new 2010-01-27 10:33:02.000000000 +0100
-@@ -139,7 +139,6 @@
- <li><a href=\"displaydrivers.html\">Display drivers</a></li>
- <li><a href=\"gis.m.html\">gis.m</a> and <a href=d.m.html>d.m</a> GIS managers</li>
- <li><a href=\"wxGUI.html\">wxGUI</a> wxPython-based GUI frontend</li>
-- <li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>
- <li><a href=\"xganim.html\">xganim</a> tool for animating a raster map series</li>
- <li><a href=\"display.html\">Display commands manual</a></li>
- </ul></td>
-@@ -235,11 +234,11 @@
- #copy over CSS:
- cp -f grassdocs.css $HTMLDIR/
- mkdir -p $HTMLDIR/nviz/
--cp -f grassdocs.css $HTMLDIR/nviz/
-+#cp -f grassdocs.css $HTMLDIR/nviz/
- chmod a+r $HTMLDIR/grassdocs.css $HTMLDIR/nviz/grassdocs.css
- #copy over GRASS logo:
- cp -f grass_logo.png $HTMLDIR/
--cp -f grass_logo.png $HTMLDIR/nviz/
-+#cp -f grass_logo.png $HTMLDIR/nviz/
- chmod a+r $HTMLDIR/grass_logo.png $HTMLDIR/nviz/grass_logo.png
- if [ "$MACOSX" ] ; then
- cp -f grass_icon.png $HTMLDIR/
-@@ -292,7 +291,7 @@
- echo "<tr><td>&nbsp;&nbsp;<a href=\"full_index.html#r3\">r3.*</a> </td><td>raster3D commands</td></tr>" >> "$FULLINDEX"
- echo "<tr><td>&nbsp;&nbsp;<a href=\"full_index.html#v\">v.*</a> </td><td>vector commands</td></tr>" >> "$FULLINDEX"
- echo "<tr><td>&nbsp;&nbsp;<a href=\"gis.m.html\">gis.m</a> </td><td>GUI frontend to GIS menus and display</td></tr>" >> "$FULLINDEX"
--echo "<tr><td>&nbsp;&nbsp;<a href=\"nviz.html\">nviz</a> </td><td>visualization suite</td></tr>" >> "$FULLINDEX"
-+#echo "<tr><td>&nbsp;&nbsp;<a href=\"nviz.html\">nviz</a> </td><td>visualization suite</td></tr>" >> "$FULLINDEX"
- echo "<tr><td>&nbsp;&nbsp;<a href=\"wxGUI.html\">wxGUI</a> </td><td>wxPython-based GUI frontend</td></tr>" >> "$FULLINDEX"
- echo "<tr><td>&nbsp;&nbsp;<a href=\"xganim.html\">xganim</a> </td><td>raster map slideshow</td></tr>" >> "$FULLINDEX"
- echo "</table>" >> "$FULLINDEX"
diff --git a/sci-geosciences/grass/files/grass_icon.png b/sci-geosciences/grass/files/grass_icon.png
deleted file mode 100644
index f1a0ca375..000000000
--- a/sci-geosciences/grass/files/grass_icon.png
+++ /dev/null
Binary files differ
diff --git a/sci-geosciences/grass/grass-6.4.0_rc5.ebuild b/sci-geosciences/grass/grass-6.4.0_rc5.ebuild
deleted file mode 100644
index 9e3b7eb40..000000000
--- a/sci-geosciences/grass/grass-6.4.0_rc5.ebuild
+++ /dev/null
@@ -1,286 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit eutils distutils fdo-mime versionator wxwidgets
-
-MY_PV=$(get_version_component_range 1-2 ${PV})
-MY_PVM=$(delete_all_version_separators ${MY_PV})
-MY_PM=${PN}${MY_PVM}
-MY_P=${PN}-$(get_version_component_range 1-3 ${PV})RC5
-
-DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D vizualization."
-HOMEPAGE="http://grass.osgeo.org//"
-SRC_URI="http://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="6"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="ffmpeg fftw gmath jpeg largefile motif mysql nls odbc opengl png \
-postgres python readline sqlite tiff truetype wxwindows X"
-
-RESTRICT="strip"
-
-RDEPEND=">=sys-libs/zlib-1.1.4
- >=sys-libs/ncurses-5.3
- >=sys-libs/gdbm-1.8.0
- || (
- sys-apps/man
- sys-apps/man-db )
- sci-libs/gdal
- >=sci-libs/proj-4.4.7
- ffmpeg? ( media-video/ffmpeg )
- fftw? ( sci-libs/fftw )
- gmath? ( virtual/blas
- virtual/lapack )
- jpeg? ( media-libs/jpeg )
- mysql? ( dev-db/mysql )
- odbc? ( >=dev-db/unixODBC-2.0.6 )
- opengl? ( virtual/opengl )
- motif? ( x11-libs/openmotif )
- png? ( >=media-libs/libpng-1.2.2 )
- postgres? ( || (
- >=virtual/postgresql-base-8.0
- >=virtual/postgresql-server-8.0 )
- )
- python? ( dev-lang/python )
- readline? ( sys-libs/readline )
- sqlite? ( dev-db/sqlite )
- tiff? ( >=media-libs/tiff-3.5.7 )
- truetype? ( >=media-libs/freetype-2.0 )
- wxwindows? (
- >=dev-python/wxpython-2.8.1.1
- >=dev-lang/python-2.4
- )
- X? (
- x11-libs/libXmu
- x11-libs/libXext
- x11-libs/libXp
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libSM
- x11-libs/libICE
- x11-libs/libXpm
- x11-libs/libXaw
- >=dev-lang/tcl-8.4
- >=dev-lang/tk-8.4
- )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/flex-2.5.4a
- >=sys-devel/bison-1.35
- wxwindows? ( >=dev-lang/swig-1.3.31 )
- X? (
- x11-proto/xproto
- x11-proto/xextproto
- )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- local myblas
- elog ""
- elog "This version enables the experimental wxpython interface, which"
- elog "you may want to try. If the legacy GUI seems a little wonky in"
- elog "this version, just enable the wxwindows USE flag and rebuild"
- elog "grass to use it."
- elog ""
- if use gmath; then
- for d in $(eselect lapack show); do myblas=${d}; done
- if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
- ewarn "You need to set lapack to atlas or reference. Do:"
- ewarn " eselect lapack set <impl>"
- ewarn "where <impl> is atlas, threaded-atlas or reference"
- die "setup failed"
- fi
- for d in $(eselect blas show); do myblas=${d}; done
- if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
- ewarn "You need to set blas to atlas or reference. Do:"
- ewarn " eselect blas set <impl>"
- ewarn "where <impl> is atlas, threaded-atlas or reference"
- die "setup failed"
- fi
- fi
-
- if use opengl && ! use X; then
- ewarn "GRASS OpenGL support needs X (will also pull in Tcl/Tk)."
- die "Please set the X useflag."
- fi
-}
-
-src_prepare() {
- epatch rpm/fedora/grass-readline.patch
-
- sed -i -e "s:buff\[12:buff\[16:g" general/g.parser/main.c \
- || die "sed failed"
-
- if ! use opengl; then
- epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch
- fi
-
- # patch missing math functions (yes, this is still needed)
- sed -i -e "s:\$(EXTRA_LIBS):\$(EXTRA_LIBS) \$(MATHLIB):g" include/Make/Shlib.make
- echo "MATHLIB=-lm" >> include/Make/Rules.make
-}
-
-src_configure() {
- local myconf
- addpredict /var/cache/fontconfig
- # wxwindows needs python (see bug #237495)
- use wxwindows && distutils_python_version
-
- myconf="--prefix=/usr --with-cxx --enable-shared \
- --with-gdal=$(type -P gdal-config) --with-curses --with-proj \
- --with-includes=/usr/include --with-libs=/usr/$(get_libdir) \
- --with-proj-includes=/usr/include \
- --with-proj-libs=/usr/$(get_libdir) \
- --with-proj-share=/usr/share/proj \
- --without-glw"
-
- if use X; then
- if has_version ">=dev-lang/tcl-8.5"; then
- TCL_LIBDIR="/usr/$(get_libdir)/tcl8.5"
- else
- TCL_LIBDIR="/usr/$(get_libdir)/tcl8.4"
- fi
- myconf="${myconf} --with-tcltk --with-x \
- --with-tcltk-includes=/usr/include \
- --with-tcltk-libs=${TCL_LIBDIR}"
- if use wxwindows; then
- WX_GTK_VER=2.8
- need-wxwidgets unicode
- myconf="${myconf} --with-python --with-wxwidgets=${WX_CONFIG}"
- else
- # USE=python must be enabled above if wxwindows is enabled
- myconf="${myconf} $(use_with python) --without-wxwidgets"
- fi
- else
- myconf="${myconf} --without-tcltk --without-x"
- fi
-
- if use opengl; then
- myconf="${myconf} --with-opengl --with-opengl-libs=/usr/$(get_libdir)/opengl/xorg-x11/lib"
- else
- myconf="${myconf} --without-opengl"
- fi
-
- if use truetype; then
- myconf="${myconf} --with-freetype \
- --with-freetype-includes=/usr/include/freetype2"
- fi
-
- if use mysql; then
- myconf="${myconf} --with-mysql --with-mysql-includes=/usr/include/mysql \
- --with-mysql-libs=/usr/$(get_libdir)/mysql"
- else
- myconf="${myconf} --without-mysql"
- fi
-
- if use sqlite; then
- myconf="${myconf} --with-sqlite --with-sqlite-includes=/usr/include \
- --with-sqlite-libs=/usr/$(get_libdir)"
- else
- myconf="${myconf} --without-sqlite"
- fi
-
- # Old ffmpeg is gone, but new is a pita with all those include dirs,
- # thus, a rather funky configure...
- if use ffmpeg; then
- ffmlib_conf="--with-ffmpeg --with-ffmpeg-libs=/usr/$(get_libdir)"
- else
- myconf="${myconf} --without-ffmpeg"
- fi
-
- myconf="${myconf} --with-libs=/usr/$(get_libdir) \
- $(use_enable amd64 64bit) \
- $(use_with fftw) \
- $(use_with gmath blas) \
- $(use_with gmath lapack) \
- $(use_with jpeg) \
- $(use_enable largefile) \
- $(use_with motif) \
- $(use_with nls) \
- $(use_with odbc) \
- $(use_with png) \
- $(use_with postgres) \
- $(use_with readline) \
- $(use_with tiff)"
-
- if use ffmpeg; then
- "${S}"/configure ${myconf} ${ffmlib_conf} \
- --with-ffmpeg-includes="/usr/include/libavcodec \
- /usr/include/libavdevice /usr/include/libavfilter \
- /usr/include/libavformat /usr/include/libavutil \
- /usr/include/libpostproc /usr/include/libswscale" \
- || die "ffmpeg configure failed!"
- else
- "${S}"/configure ${myconf} || die "configure failed!"
- fi
-}
-
-src_compile() {
- # looks like we no longer need the vdigit symlink build hack
- emake -j1 || die "make failed!"
-}
-
-src_install() {
- elog "Grass Home is ${MY_PM}"
- make install UNIX_BIN="${D}"usr/bin BINDIR="${D}"usr/bin \
- PREFIX="${D}"usr INST_DIR="${D}"usr/${MY_PM} \
- || die "make install failed!"
-
- # get rid of DESTDIR in script path
- sed -i -e "s@${D}@/@" "${D}"usr/bin/${MY_PM}
-
- # Grass Extension Manager conflicts with ruby gems
- mv "${D}"usr/bin/gem "${D}"usr/${MY_PM}/bin/
-
- ebegin "Adding env.d and desktop entry for Grass6..."
- generate_files
- doenvd 99grass-6
- if use X; then
- doicon "${FILESDIR}"/grass_icon.png
- domenu ${MY_PM}-grass.desktop
- fi
- eend ${?}
-}
-
-pkg_postinst() {
- use X && fdo-mime_desktop_database_update
-
- elog "Note this version re-enables support for threads in Tcl and Tk."
- elog "Enable the threads USE flag and rebuild to try it."
-}
-
-pkg_postrm() {
- use X && fdo-mime_desktop_database_update
-}
-
-generate_files() {
- local GUI="-gui"
- use wxwindows && GUI="-wxpython"
-
- cat <<-EOF > 99grass-6
- GRASS_LD_LIBRARY_PATH="/usr/${MY_PM}/lib"
- LDPATH="/usr/${MY_PM}/lib"
- MANPATH="/usr/${MY_PM}/man"
- GRASS_HOME="/usr/${MY_PM}"
- EOF
-
- cat <<-EOF > ${MY_PM}-grass.desktop
- [Desktop Entry]
- Encoding=UTF-8
- Version=1.0
- Name=Grass ${PV}
- Type=Application
- Comment=GRASS (Geographic Resources Analysis Support System), the original GIS.
- Exec=${TERM} -T Grass -e /usr/bin/${MY_PM} ${GUI}
- Path=
- Icon=grass_icon.png
- Categories=Science;Education;
- Terminal=false
- EOF
-}
diff --git a/sci-geosciences/grass/metadata.xml b/sci-geosciences/grass/metadata.xml
deleted file mode 100644
index 97c4debb0..000000000
--- a/sci-geosciences/grass/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci-geosciences</herd>
-<maintainer>
- <email>nerdboy@gentoo.org</email>
- <name>Steve Arnold</name>
-</maintainer>
-<longdescription>The original GIS, yes the first one, developed by the US Army Corp of Engineers, now an active open source GIS.
-See the GRASS Documentation Project for more info http://grass.itc.it/gdp/index.php
-</longdescription>
-<use>
- <flag name='gdal'>Enable support for <pkg>sci-libs/gdal</pkg>
- (Grass 5 only)</flag>
- <flag name='gmath'>Enable gmath wrapper for BLAS/Lapack
- (<pkg>virtual/blas</pkg>, <pkg>virtual/lapack</pkg>)</flag>
- <flag name='largefile'>Enable LFS support for huge files</flag>
-</use>
-</pkgmetadata>