[Pkg-octave-devel] Problems in octaviz

Rafael Laboissiere Rafael Laboissiere <rafael@debian.org>
Sat, 5 Mar 2005 13:17:46 +0100


* Dirk Eddelbuettel <edd@debian.org> [2005-03-05 05:37]:

> 
> On 4 March 2005 at 21:00, Dirk Eddelbuettel wrote:
> | 
> | I also find OpenGL header packages somewhat bewildering as far as the
> | Build-Depends go. For R's (small but very impressive) add-on rgl (Debian
> | binary package r-cran-rgl) I now use this in the Build-Depends. 
> | 
> |          xlibmesa-gl-dev | libgl1-dev, xlibmesa-glu-dev | libglu1-dev
> | 
> | after the most recent improvement. But then the bug report asked me to make
> | that libgl1-dev + libglu1-dev --- which apt-cache search doesn't find where
> | the older libgl-dev + libglu-dev are found.  Maybe I will have to revert
> | that... 
> | 
> | In any event, OpenGL does use virtual packages and the above gives you a real
> | defaulting to a virtual as is common.
> 
> I asked Chris Lawrence, who had filed that bug against rgl, and he said:
> 
>    The build dependency should be on libgl-dev, but the binary dependency
>    should be on libgl1.

As regards the build-dependency on libgl-dev, we do not really care, because
we already depend on libvtk4, which in its turn depends on libgl-dev. As
regards the binary dependency, it is currently automatically calculated by
dh_shlibdeps.  When I build octaviz, I get:

$ apt-cache show octaviz | grep Depends
Depends: libvtk4 (>= 4.4.2), libc6 (>= 2.3.2.ds1-4), libgcc1 (>= 1:3.4.1-3),
libice6 | xlibs (>> 4.1.0), libsm6 | xlibs (>> 4.1.0), libstdc++5 (>=
1:3.3.4-1), libvtk4, libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>>
4.1.0), libxt6 | xlibs (>> 4.1.0), octave2.1 (>= 2.1.61), octave2.1 (<<
2.1.62)

I think the above is okay, because libvtk4 depends on xlibmesa-gl | libgl1.

I am still puzzled by the build failure that Rafael Rodriguez is having.
 
-- 
Rafael