summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-06-14 11:10:46 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-06-14 11:10:46 +0000
commit5bb016047c49d064b73ccea0c3153e9ff35af505 (patch)
treec9ce1a37a19920a8e66bc9d68c03bc521d3d13a7 /sci-geosciences/grass
parentremove old, drop creole dep (diff)
downloadgentoo-2-5bb016047c49d064b73ccea0c3153e9ff35af505.tar.gz
gentoo-2-5bb016047c49d064b73ccea0c3153e9ff35af505.tar.bz2
gentoo-2-5bb016047c49d064b73ccea0c3153e9ff35af505.zip
Fix -opengl nonviz patch to work with latest. Fix -nls build.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences/grass')
-rw-r--r--sci-geosciences/grass/ChangeLog6
-rw-r--r--sci-geosciences/grass/files/grass-6.4.0_rc6-html-nonviz.patch43
-rw-r--r--sci-geosciences/grass/grass-6.4.0_rc6.ebuild16
3 files changed, 57 insertions, 8 deletions
diff --git a/sci-geosciences/grass/ChangeLog b/sci-geosciences/grass/ChangeLog
index d0420145f2c0..c6dab66836cf 100644
--- a/sci-geosciences/grass/ChangeLog
+++ b/sci-geosciences/grass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-geosciences/grass
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/ChangeLog,v 1.82 2010/06/13 09:14:43 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/ChangeLog,v 1.83 2010/06/14 11:10:46 scarabeus Exp $
+
+ 14 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ grass-6.4.0_rc6.ebuild, +files/grass-6.4.0_rc6-html-nonviz.patch:
+ Fix -opengl nonviz patch to work with latest. Fix -nls build.
13 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org>
files/grass-pkgconf.patch:
diff --git a/sci-geosciences/grass/files/grass-6.4.0_rc6-html-nonviz.patch b/sci-geosciences/grass/files/grass-6.4.0_rc6-html-nonviz.patch
new file mode 100644
index 000000000000..09cbadd83309
--- /dev/null
+++ b/sci-geosciences/grass/files/grass-6.4.0_rc6-html-nonviz.patch
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+ <title>RAW OUTPUT 3d3Kyh1D</title>
+ <meta name="robots" content="noindex, nofollow" />
+ </head>
+ <body>
+ <pre>--- tools/build_html_index.sh.old 2010-06-14 12:44:05.000000000 +0200
++++ tools/build_html_index.sh 2010-06-14 12:46:01.000000000 +0200
+@@ -135,7 +135,6 @@
+ &lt;/ul&gt;
+
+ &lt;ul&gt;
+- &lt;li&gt;&lt;a href=\&quot;nviz.html\&quot;&gt;nviz&lt;/a&gt; 3D visualization and animation tool&lt;/li&gt;
+ &lt;li&gt;&lt;a href=\&quot;xganim.html\&quot;&gt;xganim&lt;/a&gt; tool for animating a raster map series&lt;/li&gt;
+ &lt;/ul&gt;&lt;/td&gt;
+ &lt;/tr&gt;
+@@ -245,11 +244,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 [ &quot;$MACOSX&quot; ] ; then
+ cp -f grass_icon.png $HTMLDIR/
+@@ -302,7 +301,7 @@
+ echo &quot;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;a href=\&quot;full_index.html#r3\&quot;&gt;r3.*&lt;/a&gt; &lt;/td&gt;&lt;td&gt;raster3D commands&lt;/td&gt;&lt;/tr&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;
+ echo &quot;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;a href=\&quot;full_index.html#v\&quot;&gt;v.*&lt;/a&gt; &lt;/td&gt;&lt;td&gt;vector commands&lt;/td&gt;&lt;/tr&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;
+ echo &quot;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;a href=\&quot;gis.m.html\&quot;&gt;gis.m&lt;/a&gt; &lt;/td&gt;&lt;td&gt;GUI frontend to GIS menus and display&lt;/td&gt;&lt;/tr&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;
+-echo &quot;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;a href=\&quot;nviz.html\&quot;&gt;nviz&lt;/a&gt; &lt;/td&gt;&lt;td&gt;visualization suite&lt;/td&gt;&lt;/tr&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;
++#echo &quot;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;a href=\&quot;nviz.html\&quot;&gt;nviz&lt;/a&gt; &lt;/td&gt;&lt;td&gt;visualization suite&lt;/td&gt;&lt;/tr&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;
+ echo &quot;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;a href=\&quot;wxGUI.html\&quot;&gt;wxGUI&lt;/a&gt; &lt;/td&gt;&lt;td&gt;wxPython-based GUI frontend&lt;/td&gt;&lt;/tr&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;
+ echo &quot;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;a href=\&quot;xganim.html\&quot;&gt;xganim&lt;/a&gt; &lt;/td&gt;&lt;td&gt;raster map slideshow&lt;/td&gt;&lt;/tr&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;
+ echo &quot;&lt;/table&gt;&quot; &gt;&gt; &quot;$FULLINDEX&quot;</pre>
+ </body>
+ </html> \ No newline at end of file
diff --git a/sci-geosciences/grass/grass-6.4.0_rc6.ebuild b/sci-geosciences/grass/grass-6.4.0_rc6.ebuild
index 54de95389685..e8e23e794a68 100644
--- a/sci-geosciences/grass/grass-6.4.0_rc6.ebuild
+++ b/sci-geosciences/grass/grass-6.4.0_rc6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.0_rc6.ebuild,v 1.5 2010/05/04 10:53:41 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.0_rc6.ebuild,v 1.6 2010/06/14 11:10:46 scarabeus Exp $
EAPI="3"
@@ -127,7 +127,7 @@ pkg_setup() {
src_prepare() {
if ! use opengl; then
- epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch
+ epatch "${FILESDIR}"/${P}-html-nonviz.patch
fi
base_src_prepare
@@ -237,11 +237,13 @@ src_install() {
rm -rf man/ || die
# translations
- dodir /usr/share/locale/ || die
- mv locale/* "${D}"/usr/share/locale/ || die
- rm -rf locale/ || die
- # pt_BR is broken
- mv "${D}"/usr/share/locale/pt_br "${D}"/usr/share/locale/pt_BR || die
+ if use nls; then
+ dodir /usr/share/locale/ || die
+ mv locale/* "${D}"/usr/share/locale/ || die
+ rm -rf locale/ || die
+ # pt_BR is broken
+ mv "${D}"/usr/share/locale/pt_br "${D}"/usr/share/locale/pt_BR || die
+ fi
popd &> /dev/null