Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 179943 (IM634)

Summary: media-gfx/imagemagick-6.3.4-r1 stabilization request
Product: Gentoo Linux Reporter: Chris Ritchey <rethnor>
Component: New packagesAssignee: Karol Wojtaszek (RETIRED) <sekretarz>
Status: RESOLVED FIXED    
Severity: enhancement CC: graphics+disabled, ppc
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B3? [ebuild]
Package list:
Runtime testing required: ---
Attachments: imagemagick-6.3.4.ebuild
imagemagick-6.3.4-docs.patch

Description Chris Ritchey 2007-05-27 00:12:40 UTC
This is a new ebuild submission for version 6.3.4 version of ImageMagick. The new version contains support for openexr and HDR Imaging.

new use flags:
q8 & q32: enables 8 or 32 bit quantum-depth
openexr: enables use of the openexr for exr file processing
hdri: enables hdr imaging.
Comment 1 Chris Ritchey 2007-05-27 00:15:16 UTC
Created attachment 120404 [details]
imagemagick-6.3.4.ebuild

ebuild for ImageMagick version 6.3.4. This new version includes support for exr images via openexr and HDRI.

new use flags: q8, q32, hdri, openexr
Comment 2 Chris Ritchey 2007-05-27 00:16:15 UTC
Created attachment 120406 [details, diff]
imagemagick-6.3.4-docs.patch
Comment 3 Chris Ritchey 2007-05-27 00:18:38 UTC
I forgot to mention, the q8 and q32 flags are taken from bug 152894
Comment 4 fatih komurcu 2007-06-03 18:11:58 UTC
actually, when i tried to emerge imagemagick-6.3.4, it was looking for a "missing" imagemagick-6.3.4-docs.patch. anyways, commenting the "epatch "${FILESDIR}"/${PN}-${PV}-docs.patch"line in the 6.3.4 ebuild fixed the problem.(i have "doc" USE flag, if it matters)
Comment 5 Chris Ritchey 2007-06-04 04:52:18 UTC
the imagemagick-6.3.4-docs.patch file is attached to this bug post, download it and use it. However I use -doc flag so I'm not sure if it *actually* worked.
Comment 6 Karol Wojtaszek (RETIRED) gentoo-dev 2007-06-17 13:29:24 UTC
This version fixes security bug. As in imagemagick changelog:
2007-06-11 6.3.4-9 Cristy <quetzlzacatenango@image...>
# Converting a jpg to pdf is creating an empty pdf object (reference
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8954).
# Respect the '-set type:hinting off option' (bug report from Richard Jones).
# WritePSDImage vulnerable to exploitable heap corruption (reference
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8967).
#
2007-06-09 6.3.4-8 Cristy <quetzlzacatenango@image...>
# SetMagickRegistry() post-increment the value 'id' (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8944).

Removed s390, arm, x86-fbsd, sh because of additional deps. Please add to testing.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-17 14:50:56 UTC
I suggest replacing:
	local hdri
	if use hdri ; then
		hdri=" --enable-hdri"
	fi
...
	${hdri} \

With:
	$(use_enable hdri) \
Comment 8 Chris Ritchey 2007-06-18 14:24:17 UTC
Thanks Arfrever, I've never written an ebuild before so I just looked up other refs and modified the old one. Would I have to make this change and update the ebuild or will someone else modify/attach a new ebuild?
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-18 15:13:19 UTC
(In reply to comment #8)
> Would I have to make this change and update the ebuild or will someone else
> modify/attach a new ebuild?

No. My suggestion was rather addressed to Karol Wojtaszek / Sekretarz who committed your ebuild to the tree.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/imagemagick/imagemagick-6.3.4-r1.ebuild?rev=1.1&view=markup
Comment 10 Karol Wojtaszek (RETIRED) gentoo-dev 2007-06-18 20:40:25 UTC
changed code to use use_enable
Comment 11 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-06-23 18:08:47 UTC
Reassigning to security.

Arches please test and mark stable. Target keywords are:

imagemagick-6.3.4-r1.ebuild:KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2007-06-23 20:36:25 UTC
alpha/ia64/x86 stable
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2007-06-23 22:28:15 UTC
Stable for HPPA.
Comment 14 Joshua Kinard gentoo-dev 2007-06-24 03:08:36 UTC
mips stable.
Comment 15 Christoph Mende (RETIRED) gentoo-dev 2007-06-24 13:22:29 UTC
amd64 done
Comment 16 Gustavo Zacarias (RETIRED) gentoo-dev 2007-06-25 14:53:48 UTC
sparc stable.
Comment 17 Markus Rothe (RETIRED) gentoo-dev 2007-06-26 05:46:09 UTC
ppc64 stable
Comment 18 Luca Barbato gentoo-dev 2007-06-26 07:08:20 UTC
marked ppc