bug-gnupod
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnupod] artwork support apparently (but not really) broken on ubunt


From: H. Langos
Subject: [Bug-gnupod] artwork support apparently (but not really) broken on ubuntu
Date: Tue, 30 Jun 2009 17:07:55 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

GNUpod's configure script tries to run "convert --version" and checks
the returncode to determine if convert from imagemagick is installed.

This (accidentially) works as convert accepts "--version" eventhough
the correct option would be "-version".

On Debian both commands return with 0, which for configure means OK.

> $ convert -version ; echo $?
> Version: ImageMagick 6.3.7 12/10/08 Q16 http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
> 
> 0
> $ convert --version ; echo $?
> Version: ImageMagick 6.3.7 12/10/08 Q16 http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
> 
> 0

Apparently imagemagick 6.4 on ubuntu 9.04 prefers not to be detected 
that way. Eventhough this version also accepts --version and -version, 
the return code in both cases is 1.

> address@hidden:~/idm$ convert -version ; echo $?
> Version: ImageMagick 6.4.5 2009-01-22 Q16 OpenMP http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
> 
> 1
> address@hidden:~/idm$ convert --version ; echo $?
> Version: ImageMagick 6.4.5 2009-01-22 Q16 OpenMP http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
> 
> 1

This leads configure to the assumption that something is broken and
therefore artwork would not work. But as far as I've looked into the code, 
this finding is not used anywhere in the code. So artwork operations will 
still be tried and will work as long as imagemagick is installed.

Somebody should get in touch with the imagemagic developers and try to find 
out if that is intended behavior or just an oversight.

Volunteers?

cheers
-henrik





reply via email to

[Prev in Thread] Current Thread [Next in Thread]