[Ubuntu] Re: PostGIS / Postgres on the Live DVD

Alan Boudreault aboudreault at mapgears.com
Mon Jan 18 08:37:57 EST 2010


Alex,

Personnally, I'm using cowbuilder to build/test packages before the upload. I 
think the first step would be to setup a cowbuilder environment:

https://wiki.ubuntu.com/CowdancerHowto
http://wiki.debian.org/cowbuilder
https://wiki.ubuntu.com/PbuilderHowto (About pbuilder, which is used by 
cowbuilder. Useful for the .pbuilderrc configuration example)

You'll also need an account on alioth.debian to be able to checkout the 
debianGis source packages: 

http://wiki.debian.org/DebianGis/InfoForDevelopers

Once you have created the chroot environment that you want to build packages 
in and generated the package source (debuild -S -sa), you can test it with a 
command like:

sudo cowbuilder --build --distribution karmic package_version.dsc

Then, the package can be upload on launchpad with the "dput" utility: 
https://help.launchpad.net/Packaging/PPA/Uploading

Normally, for Karmic... it's the only thing you have to do because Karmic is 
very similar to debian unstable so no modification are needed. Of course, for 
the older releases some changes are always needed.

http://www.debian.org/doc/maint-guide/

Let me know how you're learning process goes. 

regards,
Alan

On January 17, 2010 11:43:12 pm Alex Mandel wrote:
> Alan,
> 
> Would you mind explaining the process for uploading the new package.
> I've been trying to learn but it's not very clear how to take a Debian
> package and make sure it works for Ubuntu and upload it.
> 
> Thanks,
> Alex
> 
> Alan Boudreault wrote:
> > Alex,
> >
> > I've just uploaded postgis 1.4 for karmic in UbuntuGIS. It should be
> > build and published in a hour or so.
> >
> > Alan
> >
> > Alex Mandel wrote:
> >> For the purposes of the live DVD we're working on Karmic is the target.
> >> So I'm only bringing up the idea of postgis 1.4 package for that.
> >>
> >> Thanks,
> >> Alex
> >>
> >> Alan Boudreault wrote:
> >>> I meant that postgis 1.4 would not work in *Jaunty* unless we add
> >>> postgresql 8.4 also? Perhaps postgis 1.4 is compatible with postgresql
> >>> 8.3 ?
> >>>
> >>> Alan
> >>>
> >>> Hamish wrote:
> >>>> Alan wrote:
> >>>>> I guess that postgis 1.4 will only work in Karmic since
> >>>>> postgresql 8.4 has been introduced in this release ?
> >>>>
> >>>> No, postgis 1.3 is in karmic as AFAIK works fine there.
> >>>>
> >>>> postgresql 8.3 still exists and is now available in a package
> >>>> called "postgres-8.3".
> >>>>
> >>>> also of interest are the postgresql-8.3-postgis and
> >>>> libpostgis-java binary packages built from the same postgis
> >>>> source package.
> >>>>
> >>>>
> >>>> http://packages.ubuntu.com/search?keywords=postgres
> >>>> http://packages.qa.debian.org/p/postgis.html
> >>>>
> >>>>
> >>>> Hamish
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the Ubuntu mailing list