[Pkg-gmagick-im-team] ImageMagick Debian packaging

Bastien ROUCARIES roucaries.bastien at gmail.com
Tue Jun 10 17:31:36 UTC 2014


On Tue, Jun 10, 2014 at 6:56 PM, Francis Devereux
<francis at bright-interactive.co.uk> wrote:
> Hi Bastien,
>
> I hope you don't mind me emailing you directly.

You are welcome
>
> I am trying to make a package of a recent version of ImageMagick that can be installed on Wheezy machines. Is there a mailing list or similar where I can discuss this?

Yes ImageMagick Packaging Team here in cc
>
> I have found the git repository at git://git.debian.org/collab-maint/imagemagick and I am basing my work on it. I am not sure about the correct branches to use (for debian branch and upstream branch) - it seems to have a branch for every ImageMagick Debian version instead of the branch-per-Debian-distro or a single debian branch that other git-buildpackage repositories use. I have made some guesses though and am currently working on packaging ImageMagick 6.8.9.0.


No you should use gitpkg see a README.source, do you want to do a
backport ? If so it will be more interesting to get newer imagemagick
in jessie. They are some ABI change and unfortunatly cmake break here.
See meta bug #740495, if you could help at this front we should get
quickly a backport.

Bastien

> You can see my work so far at https://github.com/brightinteractive/debian-imagemagick/tree/bright/6.8.9.0-1brightwheezy1
>
> At present when I try to build packages (with "git-buildpackage --git-debian-branch=bright/6.8.9.0-1brightwheezy1 --git-upstream-branch=upstream/6.8.9.0 --git-no-pristine-tar") then I encounter errors* when imagemagick/debian/scripts/removeprivacybreach tries to process ImageMagick's HTML documentation. It looks like these errors are happening because the HTML files are not valid XML. My current approach is to go through all the HTML files and make them valid XML, but this seems quite labour-intensive, is there a better way?
>
> If converting the HTML files to valid XML is the right thing to do then would you like me to contribute these changes and if so how?


>
> Best regards,
>
> Francis
>
> *Here is the start of the errors that I get:
>
> # now apply privacy cleanning rules
> find /home/francis/src/debian/imagemagick/debian/tmp-indep/usr/share/doc/imagemagick-doc \
>              -maxdepth 3 -type f -and -name '*.html' -and -not -empty -print0 \
>              | xargs -r -0 -n 1 debian/scripts/removeprivacybreach
> /home/francis/src/debian/imagemagick/debian/tmp-indep/usr/share/doc/imagemagick-doc/www/changelog.html:2034: parser error : Opening and ending tag mismatch: dl line 231 and dd
> perator. But near-unity distortions (no scaling) are    still overly blurry.</dd
>                                                                                ^
> /home/francis/src/debian/imagemagick/debian/tmp-indep/usr/share/doc/imagemagick-doc/www/changelog.html:3531: parser error : Opening and ending tag mismatch: div line 228 and dl
> roper Windows icon image files (patch provided by    Robert M. Jansen).</dd></dl
>                                                                                ^
> /home/francis/src/debian/imagemagick/debian/tmp-indep/usr/share/doc/imagemagick-doc/www/changelog.html:3532: parser error : Opening and ending tag mismatch: body line 68 and div
> </div>
>       ^
> /home/francis/src/debian/imagemagick/debian/tmp-indep/usr/share/doc/imagemagick-doc/www/changelog.html:3550: parser error : Opening and ending tag mismatch: html line 7 and body
> </body>
>        ^
> /home/francis/src/debian/imagemagick/debian/tmp-indep/usr/share/doc/imagemagick-doc/www/changelog.html:3551: parser error : Extra content at the end of the document
> </html>
> ^
>
>
>
> --
> Bright Interactive Ltd, Ninth Floor, Tower Point, 44 North Road, Brighton, BN1 1YR
> Registered in England No. 3865036. VAT Reg. No. 786 6073 86
>
> Registered Office: 12-13 Ship Street, Brighton, East Sussex, BN1 1AD
>



More information about the Pkg-gmagick-im-team mailing list