Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470836 - media-gfx/ufraw-0.19.2 has media-libs/jasper automagic
Summary: media-gfx/ufraw-0.19.2 has media-libs/jasper automagic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 470502
  Show dependency tree
 
Reported: 2013-05-21 01:30 UTC by Nikoli
Modified: 2017-04-04 15:44 UTC (History)
2 users (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 Nikoli 2013-05-21 01:30:46 UTC
$ grep -i jasper ufraw-0.19.2/{README,configure.ac} -A2
ufraw-0.19.2/README:configure: JPEG2000 (libjasper) support: yes
ufraw-0.19.2/README-configure: TIFF support: yes
ufraw-0.19.2/README-configure: PNG support: yes
--
ufraw-0.19.2/README:The libjasper development package is required to support image files from
ufraw-0.19.2/README-Red movie cameras. If the configuration script does not find this package
ufraw-0.19.2/README-support for such image files will be omitted.
--
ufraw-0.19.2/configure.ac:# Check for libjasper.
ufraw-0.19.2/configure.ac:AC_CHECK_LIB(jasper, jas_image_decode)
ufraw-0.19.2/configure.ac:have_jasper=${ac_cv_lib_jasper_jas_image_decode:-no}
ufraw-0.19.2/configure.ac-
ufraw-0.19.2/configure.ac-# Check for tiff headers and library.
--
ufraw-0.19.2/configure.ac:AC_MSG_NOTICE(JPEG2000 (libjasper) support: $have_jasper)
ufraw-0.19.2/configure.ac-AC_MSG_NOTICE(TIFF support: $have_tiff)
ufraw-0.19.2/configure.ac-AC_MSG_NOTICE(PNG support: $have_png)

/usr/bin/ufraw, /usr/bin/ufraw-batch and /usr/lib64/gimp/2.0/plug-ins/ufraw-gimp link to libjasper.so.1. It is regression: ufraw-0.18 did not have this problem, please add USE jpeg2k. Support for jasper was added in 0.19.
Comment 1 Kobboi 2016-11-27 14:17:33 UTC
Still present in ufraw-0.22
Comment 2 Kobboi 2016-11-27 23:10:20 UTC
Suggested a fix in PR

https://github.com/gentoo/gentoo/pull/2939
Comment 3 Andreas Sturmlechner gentoo-dev 2017-04-04 14:47:13 UTC
lgtm, did you already try to submit this upstream?
Comment 4 Andreas Sturmlechner gentoo-dev 2017-04-04 15:44:19 UTC
Thanks, patch added in git commit 2da389e51d92dbe277d6e7b5cfd8194d5cae4ec3

Please proceed with upstreaming your patch, if you haven't already.