Re: Modern packaging for postgis

From: Sebastiaan Couwenberg <sebastic(at)xs4all(dot)nl>
To: Markus Wanner <markus(at)bluegap(dot)ch>
Cc: Debian GIS Project <debian-gis(at)lists(dot)debian(dot)org>, PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>, Christoph Berg <myon(at)debian(dot)org>
Subject: Re: Modern packaging for postgis
Date: 2016-10-10 08:59:28
Message-ID: 2650902b-53d7-6361-f675-c4b012cdf98b@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

On 10/10/2016 10:13 AM, Sebastiaan Couwenberg wrote:
> On 10/10/2016 09:36 AM, Markus Wanner wrote:
>> On 10/09/2016 12:02 AM, Sebastiaan Couwenberg wrote:
>>> I've prepared a branch with changes to modernize the postgis packaging:
>>>
>>> https://anonscm.debian.org/cgit/pkg-grass/postgis.git/log/?h=modern-packaging
>> [...]
>>> The rules file is switched to use the dh sequencer to not need explicit
>>> calls to the various dh_* utilities. This added dh_perl amongst others
>>> for which the substitution variable was added to the -scripts package.
>>
>> I'm worried about backwards-compatibility, here.
>>
>> At least the current build already failed building the source package
>> for wheezy, trusty and precise:
>>
>> dpkg-source: error: syntax error in source/debian/control at line 27:
>> continued value line not in field
>> dpkg-buildpackage: error: dpkg-source -i -I --before-build source gave
>> error exit status 25
>
> This is indeed something that needs to be fixed, as postgis-binaries
> built successfully on these distributions before.

The generate-pgdg-source script in pgapt doesn't handle the restructured
control file yet, it creates an invalid control file when it strips the
libsfcgal-dev dependency for the old distributions that don't have sfcgal.

The attached patch fixes generate-pgdg-source to handle the restructured
control file correctly.

Christoph, can you apply the patch in pgapt.git?

Kind Regards,

Bas

--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

Attachment Content-Type Size
0001-Handle-libsfcgal-dev-build-dependency-in-restructure.patch inode/symlink 990 bytes

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2016-10-10 09:45:50 Re: Modern packaging for postgis
Previous Message Sebastiaan Couwenberg 2016-10-10 08:13:08 Re: Modern packaging for postgis