Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500614 - sci-geosciences/grass-6.4.3 version bump
Summary: sci-geosciences/grass-6.4.3 version bump
Status: RESOLVED DUPLICATE of bug 466388
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-02-07 13:23 UTC by Ulf Norberg
Modified: 2015-01-06 08:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
grass-6.4.3.ebuild (grass-6.4.3.ebuild,9.67 KB, text/plain)
2014-02-07 13:23 UTC, Ulf Norberg
Details
metadata.xml (metadata.xml,1.35 KB, text/plain)
2014-02-07 13:24 UTC, Ulf Norberg
Details
files/grass-Makefile.patch (grass-Makefile.patch,3.17 KB, patch)
2014-02-07 13:26 UTC, Ulf Norberg
Details | Diff
files/grass-colorize.patch (grass-colorize.patch,2.14 KB, patch)
2014-02-07 13:26 UTC, Ulf Norberg
Details | Diff
files/grass-pkgconf.patch (grass-pkgconf.patch,1.29 KB, patch)
2014-02-07 13:27 UTC, Ulf Norberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulf Norberg 2014-02-07 13:23:15 UTC
Created attachment 369782 [details]
grass-6.4.3.ebuild

Hello,

I did some work to get the lastest upstream (grass-6.4.3) work in Gentoo and hopefully also fixed some of the bugs.  Use what you find usefull...

Ulf

Summary of changes:

* grass-6.4.3.  New upstream.  Fixes #423615 (see also #466388). Probably fixes #466628, #488346.

* Use eclass python-single-r1 (see #483082) so that grass builds OK even if system default is python3.

* Set GRASS_PYTHON=${EPYTHON} in Init.sh (fixes #381759).

* New use flag 'geos' to build with sci-libs/geos

* Use sed (instead of patch) to fix ffmpeg include locations (see
  #466388).

* New use flag 'dem' to make it optional to build DEM.

* New use flag 'doc' to build the html-version of the programmer's manual.  Needs app-doc/doxygen

* New use flag 'colors' - patch to make grass output colored messages in the terminal (Gentoo users like term colors, right?)

* New use flag 'wxpsmaps' to depends on virtual/python-imaging that is needed to for preview mode in wxGUI Cartographic Composer.

* Update gui/wxpython/psmap/utils.py - needs to use "from PIL import Image as PILImage" to use the PIL-stuff.

* New use flag 'tcltk'.  Some modules (e.g. NVIZ) needs Tcl/Tk and can be useful even if using xwWidgets (and I also think that opengl can be usefull for some modules without NVIZ).  Also, people may want several GUIs installed together (wxpython and tcltk).

* If built without tcltk: sed the makefiles to remove the tcltk-stuff so it will not be installed.

* Update g.manual to use /usr/share/doc/${PF} and /usr/share/man

* Change section of all man pages from 1 to 1grass as Debian do.  Also see #381599.

* Keep so-libraries in /usr/lib/grass64/lib (fixes #475188).  Having them in /usr/lib triggers "QA Notice: The following shared libraries lack a SONAME".  This will likely break qgis[+grass] and the following change is needed in qgis-1.8.0.ebuild (but I have no tested extensively...):
  -$(usex grass "-DGRASS_PREFIX=/usr/" "")
  +$(usex grass "-DGRASS_PREFIX=/usr/$(get_libdir)/grass64" "")

* Use make_desktop_entry to create .desktop-file (Fixes #475184 and perhaps also #360337 and #421459).  QA Notice for the old .desktop-file due to extension in icon name and empty Path.

* Removed "--with-tcltk-libs=${TCL_LIBDIR}".  Tcl/Tk library is found automatically by configure (fixes #451358)

* Change INSTDIR to /usr/$(get_libdir)/${MY_PM} in configure, and patch Makefile to use DESTDIR.  This way most path's get written correctly during build.

* Replaced the html-nonviz.patch with a sed'ing

* Removed dependency on media-libs/mesa[motif] when build with opengl+motif - not available anymore (wrt #487958, perhaps?)

* Use eclass l10n and respect LINGUAS (Fixes #403653)
Comment 1 Ulf Norberg 2014-02-07 13:24:26 UTC
Created attachment 369784 [details]
metadata.xml
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 13:25:18 UTC
Comment on attachment 369784 [details]
metadata.xml

--- metadata.xml        2014-01-07 16:10:55.490966248 +0100
+++ -   2014-02-07 14:25:08.578835719 +0100
@@ -2,10 +2,22 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <herd>sci-geosciences</herd>
-  <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>
+  <longdescription>
+GRASS GIS (Geographic Resources Analysis Support System) is an open
+source, Free Software Geographical Information System (GIS) with
+raster, topological vector, image processing, and graphics production
+functionality that operates on various platforms through a graphical
+user interface (GUI) or command line interface (CLI).
+  </longdescription>
   <use>
-    <flag name="gmath">Enable gmath wrapper for BLAS/Lapack (<pkg>virtual/blas</pkg>, <pkg>virtual/lapack</pkg>)</flag>
+    <flag name="colors">Enable patch to get colored messages in terminal</flag>
+    <flag name="doc">Programmer's Manual - not required for normal use</flag>
+    <flag name="gem">Build GRASS Extensions Manager (GEM) - used to download, compile and install additional GRASS modules</flag>
+    <flag name="geos">Add support for geometry engine (<pkg>sci-libs/geos</pkg>)</flag>
+    <flag name="gmath">Enable gmath wrapper for BLAS/Lapack</flag>
+    <flag name="motif">Enable motif for the "xganim" module</flag>
+    <flag name="opengl">Add support for OpenGL (3D graphics) - required for NVIZ visualization</flag>
+    <flag name="tcltk">Add support for Tcl/Tk. Reguired for tcltk (gis.m) and oldtcltk (d.m) GUI, and for NVIZ visualization</flag>
+    <flag name="wxpsmaps">Enable preview mode in wxGUI Cartographic Composer</flag>
   </use>
 </pkgmetadata>
Comment 3 Ulf Norberg 2014-02-07 13:26:03 UTC
Created attachment 369786 [details, diff]
files/grass-Makefile.patch
Comment 4 Ulf Norberg 2014-02-07 13:26:57 UTC
Created attachment 369788 [details, diff]
files/grass-colorize.patch
Comment 5 Ulf Norberg 2014-02-07 13:27:27 UTC
Created attachment 369790 [details, diff]
files/grass-pkgconf.patch
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-06 08:42:06 UTC

*** This bug has been marked as a duplicate of bug 466388 ***