[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [DebianGIS] tilecache package for Etch



On Mon, Jan 05, 2009 at 02:40:34PM +0100, Ivan Mincik wrote:
> On Monday 05 January 2009, Paul Wise wrote:
> > On Mon, Jan 5, 2009 at 9:22 PM, Ivan Mincik <ivan.mincik@gmail.com> wrote:
> > 
> > > Has anybody an experience what kind of problems  can I expect if I will lower python-support dependency version to 0.5.6 to make it installable in Etch ?
> > 
> > Probably none. The best way to do that is to rebuild it on an etch system:
> > 
> > apt-get install python python-support python-setuptools
> > build-essential devscripts fakeroot
> > dget -x http://ftp.de.debian.org/debian/pool/main/t/tilecache/tilecache_2.03-1.dsc
> > cd tilecache-2.03
> > debuild
> > sudo debi
> > 
> > If that works, perhaps a DD could upload the result to etch-backports
> > on backports.org.
> Yes, rebuilding went fine. I have tested resulting package by running /usr/sbin/tilecache_seed and /usr/sbin/tilecache_http_server. It seems to be OK. It would be fine to get it into backports.
> 
> For running /usr/sbin/tilecache_http_server there is dependency on wsgiref  (http://cheeseshop.python.org/pypi/wsgiref). It doesn't exist in Etch, but it is in Lenny.
> Shouldn't it be marked as dependency in Lenny package ? 

No, because the tilecache package itself doesn't require it; it's an
optional component that some configurations need. (Essentially,
tilecache_http_server is an 'example' server; it's not designed to be
the only way to use TileCache, and I wouldn't recommend it for
production.)

You could argue that one of the following should happen:
 * The tilecache http server should be packaged in another binary
   package, which had a dependancy on python-wsgiref | python >= 2.5
 * There should be a Suggests of python-wsgiref
 * The documentation should mention that this is a dependancy of running
   the server. 

I chose the latter; the manpage explains that you need wsgiref to run
the http_server.   

Regards,
-- 
Christopher Schmidt
MetaCarta



Reply to: