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)
Created attachment 369784 [details] metadata.xml
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>
Created attachment 369786 [details, diff] files/grass-Makefile.patch
Created attachment 369788 [details, diff] files/grass-colorize.patch
Created attachment 369790 [details, diff] files/grass-pkgconf.patch
*** This bug has been marked as a duplicate of bug 466388 ***