[DebianGIS-dev] Bug#598706: Bug#598706: grass-dev should depend on libgdal1-dev

2010-10-01 Thread Francesco P. Lovergine
On Fri, Oct 01, 2010 at 10:43:15PM +1300, Hamish wrote:
 Package: grass-dev
 Version: 6.4.0~rc6+42329-1
 Severity: minor
 
 Hi,
 
 as reported on the UbuntuGIS mailing list,
   http://lists.osgeo.org/pipermail/ubuntu/2010-September/000247.html
 
 building some GRASS addons fails because the grass-dev package does
 not depend on the libgdal1-dev package, only libproj-dev. I'm not sure
 if we really have to have it depend on all of grass's many
 build-depends, but gdal's -dev is a biggie.
 
 as a way of audit, maybe run:
   ldd /usr/lib/grass64/libgrass_*.so | grep '=' | \
   cut -f1 -d'=' | sort | uniq
 
 I don't think we need to depend on all of those, but we shoudln't have
 to depend on anything more than those.
 

Well one rigourously does not need to depend on gdal/ogr stuff to build
grass addons, but that could help.

-- 
Francesco P. Lovergine



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#598706: Bug#598706: grass-dev should depend on libgdal1-dev

2010-10-01 Thread Hamish
Francesco wrote:
 Well one rigourously does not need to depend on gdal/ogr
 stuff to build grass addons, but that could help.

fwiw, a grep suggests the original poster was trying to install one of the 
r.stream.* addons.

looking through the results of:
$ cd /usr/lib/grass64/include/grass/
$ grep include *.h */*.h| cut -f2 -d: | sort | uniq | grep '^#'

besides some OpenGL, X11 and Xm stuff probably only used by
built-in GUI components  nviz, it is really only gdal and geos
(if built with geos support) that I can see which are non-standard
includes.

mostly it is lib/libgrass_vect.so (vector library) which wants
everything. libgrass_gis.so (the main lib) is very self-contained.


Hamish



  



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel