Re: sfcgal package for postgis and others
> The reply I got from Sebastiaan suggests, that this can't be added, as
> there
> is curretnly no Debian package of sfcgal and it would be unlikely that
> there
> will be one soon either, even if I would file a RFP bug:
> "Packaging it yourself is the most promising road forward"
>
> So I just thought "how difficult could that be" and started doing one...
Awesome, thanks for your work on packaging sfcgal!
> What I have now is 3 binary packages generated along the lines of the
> manual available at
> http://pkg-grass.alioth.debian.org/policy/packaging.html#git-new-package
>
> My package is available at git://git.geggus.net/debian/sfcgal.git, works
> for
> me (postgis support has yet to get tested), and lintian produces only some
> minor warnings:
>
> W: libsfcgal-dev: new-package-should-close-itp-bug
> W: libsfcgal-dev: binary-without-manpage usr/bin/sfcgal-config
> W: libsfcgal1: new-package-should-close-itp-bug
> W: sfcgal-bin: new-package-should-close-itp-bug
> W: sfcgal-bin: binary-without-manpage usr/bin/viewer-SFCGAL
Filing the ITP bug and including the bugnumber in the changelog will get
rid of the itp-bug lintian issues.
You should include a manpage for sfcgal-config, I don't have a specific
package in mind but we have several under the Debian GIS umbrella that
include a manpage for their -config executable. Have a look at geos,
netcdf{,-cxx,-fortran} and/or liblas packages how they add the -config
manpage.
> Upstream sources sfcgal_1.1.0.orig.tar.gz can be obtained from:
> https://github.com/Oslandia/SFCGAL/archive/v1.1.0.tar.gz
>
> Arguably one should rather use git master for the package instead of
> v1.1.0
Yes, using master and the other branches as used by git-buildpackage by
default is highly recommended. Deviating from the git-buildpackage default
should only be done for very good reasons. The recommended repository
layout is documented in the Debian GIS Policy:
http://pkg-grass.alioth.debian.org/policy/repositories.html#git-repository
> My question is now: How would I continue at this stage?
Please join the Debian GIS team on Alioth if you are not a member yet,
this will give you access to the git repositories on Alioth where you
should move your repository too.
How to join the team, and how to create and push to a git repository on
Alioth is all documented in the Debian GIS Policy too.
http://pkg-grass.alioth.debian.org/policy/index.html#membership
http://pkg-grass.alioth.debian.org/policy/packaging.html#git-push
> I'm not a Debian Maintainer, but have been working with the distribution
> as user and sysadmin for 15 years now.
That how I got started in the Debian GIS team too, working with Debian for
over a decade before joining the team to contribute changes I needed for
packages I use.
Kind Regards,
Bas
Reply to: