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

Francis Devereux francis at bright-interactive.co.uk
Wed Jun 11 13:12:31 UTC 2014


On 10 Jun 2014, at 18:31, Bastien ROUCARIES <roucaries.bastien at gmail.com> wrote:

> 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

Thanks.

>> 
>> 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


Thanks for the pointer. I think that the svn URL in README.source may need updating - svn init with https://www.imagemagick.org/subversion/ImageMagick/ doesn't work for me but it does with https://subversion.imagemagick.org/subversion/ImageMagick/:

diff --git a/debian/README.source b/debian/README.source
index 4f6c6c4..43a9f91 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -5,7 +5,7 @@ This package use gitpkg over quilt over git svn
 * clone repo
 
 git clone git+ssh://login@git.debian.org/git/collab-maint/imagemagick.git
-git svn init -s --prefix=origin/  https://www.imagemagick.org/subversion/ImageMagick/
+git svn init -s --prefix=origin/  https://subversion.imagemagick.org/subversion/ImageMagick/
 git config gitpkg.orig-compressor bzip2
 git config gitpkg.deb-export-hook /usr/share/gitpkg/hooks/quilt-patches-deb-export-hook
 git config gitpkg.pre-export-hook /usr/share/gitpkg/hooks/pristine-tar-pre-export-hook

Even with the new svn URL I am not able to complete the instructions in README.source because "git svn fetch" fails with the error "Last fetched revision of refs/remotes/origin/ImageMagick-6.4.9 was r1, but we are about to fetch: r1!". Does "git svn fetch" work for you?


> , do you want to do a
> backport ?

Yes, if there was an official wheezy backport of a recent version of ImageMagick then I wouldn't need to make my own package.

> 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.

I have had a look at #740495 and it is my understanding that several packages FTBFS when the experimental version of imagemagick is installed, and that a change to cmake is needed to fix this. Have I understood correctly?

Have you seen that #746228 was closed with a new version of digikam? I have had a look at the digikam upstream source code and debian packaging but I haven't managed to work out how the new version fixes the FTBFS.

Francis

> 
> Bastien

-- 
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