Bug 172295 - digiKam has a hard dependency on Jasper library
Summary: digiKam has a hard dependency on Jasper library
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 4.4.0
Platform: Gentoo Packages Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 21:02 UTC by Luke-Jr
Modified: 2014-10-31 17:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2008-10-06 21:02:56 UTC
Version:            (using KDE 4.1.2)
Installed from:    Gentoo Packages

Digikam cannot be built without the Jasper library. It would be nice if this were possible.
Comment 1 caulier.gilles 2008-10-07 08:01:49 UTC
What's the problem with Jasper library exactly ? This library is available for all system BOX normally (linux/mac/win32)... 

Gilles Caulier
Comment 2 Luke-Jr 2008-10-07 08:03:36 UTC
At one point, Jasper was non-Free and GPL-incompatible.

Now, it's just a mostly useless (since nobody uses jpeg2000) dependency.
Comment 3 caulier.gilles 2008-10-10 10:39:43 UTC
Luke-Jr,

Jasper is non GPL ??? really ???

KDE core use it. and this library is installed on standard by linux dist like Mandriva full GPL edition...

I cannot see a licence problem here...

Note : there is an alternative to Jasper : openJpeg. But for the moment, performance are lesser than Jasper.

Gilles Caulier
Comment 4 caulier.gilles 2008-10-10 10:54:51 UTC
Jasper licence :

http://www.ece.uvic.ca/~mdadams/jasper/LICENSE

sound like GPL compatible...

Gilles Caulier
Comment 5 caulier.gilles 2008-10-10 10:55:48 UTC
Openjpeg is published to BSD licence:

http://www.openjpeg.org/BSDlicense.txt

Gilles Caulier
Comment 6 Luke-Jr 2008-10-10 18:03:49 UTC
*At one point* Japser was non-Free and GPL-incompatible. It has since changed to a BSD-like license.
Comment 7 caulier.gilles 2008-10-12 20:34:44 UTC
Sorry, but i cannot see a fine reason to add an option to disable native JPEG 2000 support in digiKam

Gilles Caulier
Comment 8 caulier.gilles 2014-10-31 17:23:20 UTC
Git commit 471b55515439037ce4de2706347e0393dfc85fc0 by Gilles Caulier.
Committed on 31/10/2014 at 17:22.
Pushed by cgilles into branch 'master'.

make Jasper library optional to support JPEG2000
FIXED-IN: 4.5.0

M  +24   -36   CMakeLists.txt
M  +4    -2    NEWS
M  +3    -3    README
M  +4    -1    app/CMakeLists.txt
M  +3    -3    app/utils/config-digikam.h.cmake.in
M  +12   -3    libs/dialogs/libsinfodlg.cpp
M  +12   -4    libs/dimg/dimg.cpp
M  +22   -3    libs/widgets/common/filesaveoptionsbox.cpp
M  +1    -1    libs/widgets/common/filesaveoptionsbox.h
M  +9    -3    utilities/imageeditor/editor/editorwindow.cpp
M  +15   -12   utilities/importui/widgets/advancedsettings.cpp
M  +8    -3    utilities/queuemanager/CMakeLists.txt
M  +10   -1    utilities/queuemanager/manager/batchtoolsmanager.cpp
M  +28   -12   utilities/setup/setupiofiles.cpp
M  +1    -1    utilities/setup/setupiofiles.h

http://commits.kde.org/digikam/471b55515439037ce4de2706347e0393dfc85fc0