Hi, I have updated officially branched grass-6.1.0.ebuild (v 1.5 2006/10/26 19:33:10 marienz) to the latest grass release (6.2.0). File 99grass-6.2.0 has to be adapted according to 99grass-6.1.0. This ebuild installs cleanly on my x86 and x86_64 systems. It is compatible with recent gdal-grass (http://bugs.gentoo.org/attachment.cgi?id=98261) and qgis (http://bugs.gentoo.org/attachment.cgi?id=99966) ebuilds. Further testing is appreciated! Thanks, Christian
Created attachment 101035 [details] grass-6.2.0.ebuild
Without 'ncurses' flag, the pkg_compile phase fails because of errors in compiling some modules. It's a problem that was reported by Luca Penasa to me with some of my previous rc version ebuilds. I suggest that 'ncurses' can be deleted and the compilation against ncurses be set to default. Also, the dependency on sys-apps/man may be corrected to: || ( sys-apps/man sys-apps/man-db ) as stated in bug #149857 Thanks.
(In reply to comment #2) > the compilation against ncurses be set to default. Sorry, I was thinking of making ncurses an hard dependency. Cheers.
Created attachment 101042 [details] grass-6.2.0-r1.ebuild Emiliano, I had already interpreted your statement as claiming a hard dependency. Also, I had noticed the discussion on ncurses, and had considered it in an earlier version. Finally, I forgot when cleaning up to stick more closely to the 6.1.0 official branch ebuild. sys-apps/man: committed as requested. Bye
Created attachment 101051 [details, diff] Patch to grass-6.2.0-r1.ebuild Where did you read about ncurses debate? Here's a patch to enable curses build with configure's option. Also, it deletes the `use_with ncurses` line. I cannot try the fixes, I have ATM problems with my ISP and I cannot download more than 1.4 Mb or my connection gets a timeout. Also, I cannot test your ebuild, sorry. Thanks.
Emiliano, thanks for the patch, it fixes my improper update. I have patched and reemerged to validate. ncurses: sorry, I really can't recall, where I caught up about issues with the grass build process connected to the ncurses flag. Anyways, ncurses is required, not optional! (see http://grass.itc.it/grass62/source/REQUIREMENTS.html) Bye.
Also, per the 6.2.0 release announcement (http://grass.itc.it/announces/announce_grass620.html) and the updated requirements list (http://grass.itc.it/grass62/source/REQUIREMENTS.html), both FFTW 2.x and 3.x are supported now, so could we remove the dep on just 2.x? Thanks!
Created attachment 101115 [details] grass-6.2.0-r2.ebuild > both FFTW 2.x and 3.x are supported now, so could we remove the dep on just 2.x? Following this advice and others that you can find here: http://article.gmane.org/gmane.comp.gis.grass.user/16193 I've developed a new ebuild, featuring: * proj and X added as hard dependency; * fftw version is not specified; * removed dependency on x11-terms/mlterm if nls useflag is set; * tcl and tk useflags, which require to be both set. If only one of the two is set, emerge will fail; * if glw is set, opengl is a requirement, so it checks also for the opengl useflag; * added 'python' useflag, which compiles python support (experimental); * slight changes to ebuild syntax (substituted `...` stuff with $(...) ). HTH, please feedback.
Created attachment 102991 [details, diff] Patch for grass-6.2.0-r2.ebuild Here is a patch for the ebuild for fixing the --with-proj flag, indicating where are the includes and the shared files of proj. HTH, please feedback.
These are my use flags: USE="aalib dvd cdr ao xinerama swat gnome objc objc++ nsplugin gtk wifi unicode truetype win32codecs X jpeg png gif tiff alsa 3dnow sse aac a52 acpi apache2 bash-completion bzip2 -ipv6 ffmpeg fastcgi doc flash ftp gcj gd-external gmp ieee1394 imagemagick imlib java javascript jpeg2k mp3 mpeg mplayer opengl pcmcia pdf perl php postgres python ruby rdesktop ruby samba sse sse2 xine xv xml zlib x264 usb gnustep mmx xrandr xcomposite geos proj" I get the below error when i try to emerge the patched r2.ebuild, any suggestions? autoconf-28098.out ***** autoconf ***** configure.in:44: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
(In reply to comment #10) > I get the below error when i try to emerge the patched r2.ebuild, any > suggestions? I think the problem is in line 99, 'eautoconf'. Since GRASS configure script is regenerated by upstream developers *before* packing a release, it could be simply deleted from the ebuild. # cd /path/to/grassass-6.2.0-r2.ebuild # sed -i '/eautoconf/d' grass-6.2.0-r2.ebuild # ebuild grass-6.2.0-r2.ebuild digest probably will do the trick. I think it's a good idea to delete that line from this ebuild, also. HTH, please do feedback.
Updated ebuild is inthe tree. Please test and file any new bugs as appropriate...