Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 153796
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steve Arnold <nerdboy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Georges <c.georges@cso.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
grass-6.2.0.ebuild grass-6.2.0.ebuild application/octet-stream Christian Georges 2006-11-02 02:56 0000 4.55 KB Details
grass-6.2.0-r1.ebuild grass-6.2.0-r1.ebuild application/octet-stream Christian Georges 2006-11-02 05:46 0000 4.56 KB Details
grass-6.2.0.diff Patch to grass-6.2.0-r1.ebuild patch Emiliano Vavassori 2006-11-02 06:42 0000 649 bytes Details | Diff
grass-6.2.0-r2.ebuild grass-6.2.0-r2.ebuild text/plain Emiliano Vavassori 2006-11-02 18:05 0000 4.70 KB Details
ebuild_proj.patch Patch for grass-6.2.0-r2.ebuild patch Emiliano Vavassori 2006-11-29 08:04 0000 507 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 153796 depends on: Show dependency tree
Bug 153796 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-02 02:51 0000
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 From Christian Georges 2006-11-02 02:56:21 0000 -------
Created an attachment (id=101035) [details]
grass-6.2.0.ebuild

------- Comment #2 From Emiliano Vavassori 2006-11-02 04:44:35 0000 -------
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 From Emiliano Vavassori 2006-11-02 05:00:30 0000 -------
(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 From Christian Georges 2006-11-02 05:46:25 0000 -------
Created an attachment (id=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 From Emiliano Vavassori 2006-11-02 06:42:38 0000 -------
Created an attachment (id=101051) [details]
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 From Christian Georges 2006-11-02 08:42:59 0000 -------
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 From Kurt Zeiler 2006-11-02 11:02:43 0000 -------
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 From Emiliano Vavassori 2006-11-02 18:05:38 0000 -------
Created an attachment (id=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 From Emiliano Vavassori 2006-11-29 08:04:37 0000 -------
Created an attachment (id=102991) [details]
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 From ruckc 2006-12-21 14:38:15 0000 -------
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 From Emiliano Vavassori 2006-12-21 15:54:30 0000 -------
(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 From Steve Arnold 2006-12-29 09:44:33 0000 -------
Updated ebuild is inthe tree.  Please test and file any new bugs as
appropriate...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug