Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767802 - media-gfx/imagemagick: enable png by default
Summary: media-gfx/imagemagick: enable png by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Codec Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-29 05:07 UTC by David Michael
Modified: 2021-02-01 15:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)