[Pkg-postgresql-public] Dropping postgresql 8.3 for squeeze

Dimitri Fontaine dfontaine at hi-media.com
Wed Jan 6 16:50:09 UTC 2010


Martin Pitt <mpitt at debian.org> writes:
> Dimitri Fontaine [2009-12-30 21:04 +0100]:
>> Thinking about it some more, I guess a common script to drive the PGXS
>> based building of extensions for a given PostgreSQL version would have
>> its place into postgresql-common-dev or something. That would better fit
>> as a binary package from
>>   http://packages.debian.org/source/sid/postgresql-common
>> I plan to prepare the script then send it to you, would you want a
>> complete patch against your package, just the script or nothing thx?
> Just the files should be enough, but of course I'll appreciate a
> complete debdiff including changelog, debian/control and dh_install
> changes, etc. :-)

So I've finally had some time to spend on this, so please find attached
a proof of concept debdiff. What's missing is a manpage for the newer
/usr/bin/pg_buildext tool (is the path right?), but I'm confused about
how you manage the sources of yours. Do you directly edit the nroff

You can find an example of usage here:

What remains to be done would be, apart from adapting some more packages
to use the tool, to handle build-dependancies at this level. The prefix
package for example now has:

  Build-Depends: debhelper (>= 7), postgresql-dev-common,
                 postgresql-server-dev-8.3, postgresql-server-dev-8.4

Those last two dependencies could go to postgresql-dev-common, that
you'd maintain for us all so that I don't have to change this when the
package migrates. Then there's the dynamic debian/control issue that I
don't know how to tackle yet. Will RTFM about this clue you gave me.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: postgresql-dev-common.patch
Type: text/x-diff
Size: 3205 bytes
Desc: postgresql-dev-common patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20100106/dff0a1ad/attachment.patch>

More information about the Pkg-postgresql-public mailing list