Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153796 - sci-geosciences/grass-6.2.0 ebuild (version bump)
Summary: sci-geosciences/grass-6.2.0 ebuild (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Steve Arnold
URL: http://grass.itc.it
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 02:51 UTC by Christian Georges
Modified: 2006-12-29 09:44 UTC (History)
6 users (show)

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


Attachments
grass-6.2.0.ebuild (grass-6.2.0.ebuild,4.55 KB, application/octet-stream)
2006-11-02 02:56 UTC, Christian Georges
Details
grass-6.2.0-r1.ebuild (grass-6.2.0-r1.ebuild,4.56 KB, application/octet-stream)
2006-11-02 05:46 UTC, Christian Georges
Details
Patch to grass-6.2.0-r1.ebuild (grass-6.2.0.diff,649 bytes, patch)
2006-11-02 06:42 UTC, Emiliano Vavassori
Details | Diff
grass-6.2.0-r2.ebuild (grass-6.2.0-r2.ebuild,4.70 KB, text/plain)
2006-11-02 18:05 UTC, Emiliano Vavassori
Details
Patch for grass-6.2.0-r2.ebuild (ebuild_proj.patch,507 bytes, patch)
2006-11-29 08:04 UTC, Emiliano Vavassori
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Georges 2006-11-02 02:51:21 UTC
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
Comment 1 Christian Georges 2006-11-02 02:56:21 UTC
Created attachment 101035 [details]
grass-6.2.0.ebuild
Comment 2 Emiliano Vavassori 2006-11-02 04:44:35 UTC
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.
Comment 3 Emiliano Vavassori 2006-11-02 05:00:30 UTC
(In reply to comment #2)
> the compilation against ncurses be set to default.

Sorry, I was thinking of making ncurses an hard dependency.

Cheers.
Comment 4 Christian Georges 2006-11-02 05:46:25 UTC
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
Comment 5 Emiliano Vavassori 2006-11-02 06:42:38 UTC
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.
Comment 6 Christian Georges 2006-11-02 08:42:59 UTC
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.
Comment 7 Kurt Zeiler 2006-11-02 11:02:43 UTC
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!
Comment 8 Emiliano Vavassori 2006-11-02 18:05:38 UTC
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.
Comment 9 Emiliano Vavassori 2006-11-29 08:04:37 UTC
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.
Comment 10 ruckc 2006-12-21 14:38:15 UTC
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.
Comment 11 Emiliano Vavassori 2006-12-21 15:54:30 UTC
(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.
Comment 12 Steve Arnold archtester gentoo-dev 2006-12-29 09:44:33 UTC
Updated ebuild is inthe tree.  Please test and file any new bugs as appropriate...