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

Bug 767802

Summary: media-gfx/imagemagick: enable png by default
Product: Gentoo Linux Reporter: David Michael <fedora.dm0>
Component: Current packagesAssignee: Codec Project <codec>
Status: RESOLVED FIXED    
Severity: enhancement CC: dilfridge
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Michael 2021-01-29 05:07:27 UTC
PNG support was enabled by default for other projects recently like gd (https://github.com/gentoo/gentoo/commit/2e15facc8941344ea63c3089eb3b3d63fd636041) and freetype (https://github.com/gentoo/gentoo/commit/44ff2e1d1297036dfee1a5fa4ebbf4aebf29375b), and it is a default USE flag for desktop profiles.  Does it make sense to enable it by default for ImageMagick so PNG images can be edited on non-desktop systems without profile changes?
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-01-29 15:08:06 UTC
freetype was just changed because of cairo which is a common dep to avoid user interaction.

I am not aware of any common rdep on imagemagick requiring png support.

But I have no strong opinion here. I can do it with the next bump next week.
Comment 2 David Michael 2021-01-29 15:28:11 UTC
I don't know of any dependencies on imagemagick[png] either; I was just giving examples of basic packages pulling it into the system by default, so enabling it probably won't have any impact on system size.  (Some other common packages that would install libpng via dependencies are grub, gdk-pixbuf, and doxygen[dot].)

This request was for my own usage of magick where PNG seems to be the most common format I'd edit, but ImageMagick can't work with much other than bitmap images without configuring flags for it.
Comment 3 Larry the Git Cow gentoo-dev 2021-02-01 15:01:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a1943a68e4d021f369fbc069777d873e3e0cdf

commit b8a1943a68e4d021f369fbc069777d873e3e0cdf
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-02-01 14:58:47 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-02-01 15:01:07 +0000

    media-gfx/imagemagick: enable USE=png by default
    
    Closes: https://bugs.gentoo.org/767802
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 media-gfx/imagemagick/imagemagick-6.9.11.61.ebuild | 2 +-
 media-gfx/imagemagick/imagemagick-7.0.10.61.ebuild | 2 +-
 media-gfx/imagemagick/imagemagick-9999.ebuild      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)