Completely replace lcms1 by lcms2 in Ubuntu

Bug #885324 reported by Till Kamppeter
26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Enblend
Fix Released
Medium
Christoph Spiel
Inkscape
Fix Released
High
Jon A. Cruz
Wine
Fix Released
Wishlist
digiKam
Fix Released
Medium
cegui-mk2 (Ubuntu)
Fix Released
Undecided
Unassigned
cups-filters (Ubuntu)
Fix Released
High
Till Kamppeter
darkroom (Ubuntu)
Fix Released
Undecided
Unassigned
dcraw (Ubuntu)
Fix Released
Medium
Unassigned
digikam (Ubuntu)
Fix Released
Medium
Rohan Garg
enblend (Ubuntu)
Invalid
Medium
Unassigned
enblend-enfuse (Ubuntu)
Fix Released
Medium
Unassigned
f-spot (Ubuntu)
Won't Fix
Medium
Unassigned
geeqie (Ubuntu)
Fix Released
Medium
Unassigned
gimp (Ubuntu)
Fix Released
Medium
Unassigned
gimp-plugin-registry (Ubuntu)
Fix Released
Undecided
Unassigned
imagemagick (Ubuntu)
Fix Released
Medium
broucaries
inkscape (Ubuntu)
Fix Released
Medium
Canonical Desktop Team
lcms (Ubuntu)
Fix Released
Medium
Unassigned
libkdcraw (Ubuntu)
Fix Released
Medium
Philip Muškovac
libmng (Ubuntu)
Fix Released
Medium
Unassigned
libraw (Ubuntu)
Fix Released
Medium
Chris Halse Rogers
openjdk-6 (Ubuntu)
Fix Released
Medium
Unassigned
photoprint (Ubuntu)
Fix Released
Undecided
Unassigned
poppler (Ubuntu)
Fix Released
Medium
Canonical Desktop Team
python-imaging (Ubuntu)
Fix Released
Medium
Unassigned
rawstudio (Ubuntu)
Won't Fix
Medium
Unassigned
scribus (Ubuntu)
Fix Released
Medium
Unassigned
shotwell (Ubuntu)
Fix Released
Low
Canonical Desktop Team
ufraw (Debian)
Fix Released
Unknown
ufraw (Ubuntu)
Fix Released
Medium
Unassigned
wine1.4 (Ubuntu)
Won't Fix
Low
Unassigned
xsane (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Many packages in Ubuntu use the liblcms1 library (source package lcms). This library is discontinued upstream and replaced by liblcms2. Due to this, bugs in liblcms1 are not fixed any more upstream and important improvements in color reproduction and safety against crashes are not done. Therefore we should remove lcms1 and migrate all programs using it to lcms2.

Launchpad doesn't usually scale to track transitions like these. Please see a tracker instead:
http://people.canonical.com/~ubuntu-archive/transitions/lcms2.html

Related branches

Revision history for this message
In , Sergei Steshenko (sergstesh) wrote :

While running 'configure' I see these lines in its screen output:

    154 checking lcms.h usability... no
    155 checking lcms.h presence... no
    156 checking for lcms.h... no
    157 checking lcms/lcms.h usability... no
    158 checking lcms/lcms.h presence... no
    159 checking for lcms/lcms.h... no
.

According to http://sourceforge.net/projects/lcms/files/ at the moment the latest tarball is lcms2-2.0a.tar.gz and its header files (when installed) are:

"
sergei@amdam2:~/junk> ls -ltr /mnt/sdb8/sergei/AFSWD_debug/install/lcms-2.0/include/
total 117
-rw-r--r-- 1 qemu users 24622 2010-07-05 03:59 lcms2_plugin.h
-rw-r--r-- 1 qemu users 91214 2010-07-05 03:59 lcms2.h
sergei@amdam2:~/junk>
".

I.e. configure should check for version 2.0 or later and check existence of 'lcms2.h' rather than 'lcms.h' file.

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

Which distributions include lcms2?

Revision history for this message
In , Arethusa26 (arethusa26) wrote :

(In reply to comment #1)
> Which distributions include lcms2?

As far as I could tell, no distribution carries lcms2 in a primary package repository, although Fedora seems to have it in updates-candidate and Gentoo carries an ebuild marked as testing.

Revision history for this message
In , Dmitry-baikal (dmitry-baikal) wrote :

Then this is not a bug at all, at the most just an enhancement request.

Revision history for this message
In , Sergei Steshenko (sergstesh) wrote :

(In reply to comment #1)
> Which distributions include lcms2?

I have no idea and I don't care. I build and install everything I need in the directories I want, which are not system directories. From time to time I upgrade packages versions.

So, less than a month ago I discovered the new lcms version and upgraded.

Revision history for this message
In , Sergei Steshenko (sergstesh) wrote :

(In reply to comment #3)
> Then this is not a bug at all, at the most just an enhancement request.

Maybe.

But then I see a chicken-egg problem. A distro can't start supporting 'lcms2' because 'wine' doesn't support it and 'wine' won't support 'lcms2' because no distro includes it.

Revision history for this message
In , Dmitry-baikal (dmitry-baikal) wrote :

(In reply to comment #5)
> But then I see a chicken-egg problem. A distro can't start supporting 'lcms2'
> because 'wine' doesn't support it and 'wine' won't support 'lcms2' because no
> distro includes it.

Not really. Distributions don't care what version of packages Wine supports.
Besides, there are many other projects that use lcms.

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

> But then I see a chicken-egg problem. A distro can't start supporting 'lcms2'
> because 'wine' doesn't support it and 'wine' won't support 'lcms2' because no
> distro includes it.

lcms2 can be installed alongside lcms1 exactly for this reason.

Revision history for this message
In , Sergei Steshenko (sergstesh) wrote :

(In reply to comment #7)
> > But then I see a chicken-egg problem. A distro can't start supporting 'lcms2'
> > because 'wine' doesn't support it and 'wine' won't support 'lcms2' because no
> > distro includes it.
>
> lcms2 can be installed alongside lcms1 exactly for this reason.

I know. And my environment can cope with it. Other packages which use 'lcms' silently accepted 'lcms2', so other than for 'wine' I have no need to keep both versions.

Probably in half year the issue will become relevant for 'wine'.

Revision history for this message
In , Austin English (austinenglish) wrote :

Created attachment 36970
initial support

Work in progress, but not sure when I'll pick it up, so leaving here for now in case someone else wants to finish it.

29 comments hidden view all 124 comments
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Packages concerned are both in Main and Universe, nost important are naturally the ones in Main. With them being migrated we can at least demote lcms to Universe.

Changed in inkscape (Ubuntu):
assignee: nobody → Alex Valavanis (valavanisalex)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

cups itself does not use lcms, but the add-on filter pdftoraster does. The upstream author of the filter is informed.

Changed in cups (Ubuntu):
importance: Undecided → High
milestone: none → precise-alpha-1
status: New → In Progress
Revision history for this message
Adam Dingle (adam-yorba) wrote :

Shotwell itself does not use lcms; it uses libraw, which depends on lcms1 in Ubuntu. Note that libraw 0.13.8 (present in Oneiric) can build using either lcms1 or lcms2. So to solve this particular dependency I suspect that you only need to update your libraw packaging to build using lcms2. You might also consider updating Precise to the latest libraw (0.14.3) while you're at it.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Adam, on my system there is shotwell installed but no libraw and I really cannot find such a library. Are you sure that there is a libraw? Where is it, or what is its correct name?

Revision history for this message
Adam Dingle (adam-yorba) wrote :

Till: Yes, there really is a libraw. :) You're not seeing it because on Ubuntu Shotwell is built using libraw as a static library, so libraw is compiled into the Shotwell executable. It would be nice to use a shared library instead, but we can't do that at the moment because libraw.so currently lives inside libraw-dev, which we can't expect end users to install. Instead, libraw.so should be broken out into a separate package. I've created a separate Launchpad ticket for this issue: #885645.

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Source changes are needed for Inkscape for build to succeed with lcms2, so I have forwarded this upstream

tags: added: build
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Unassigning myself for Inkscape (Ubuntu) for now. I'll hopefully come back to this when I have had more time to read the API.

Changed in inkscape (Ubuntu):
assignee: Alex Valavanis (valavanisalex) → nobody
status: In Progress → Triaged
Revision history for this message
Adam Dingle (adam-yorba) wrote :

I was mistaken: the libraw shared library is available in an Ubuntu package today ('libraw2'). We should build Shotwell to use this shared library and depend on this package. I've ticketed that as #890372.

Revision history for this message
Adam Dingle (adam-yorba) wrote :

...and we also need libraw itself to link to lcms2 rather than lcms1. I've ticketed that as bug #890379.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Martin Pitt (pitti)
Changed in cups (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
Changed in libraw (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
Martin Pitt (pitti)
Changed in poppler (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Changed in shotwell (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
Martin Pitt (pitti)
Changed in shotwell (Ubuntu):
assignee: Chris Halse Rogers (raof) → Canonical Desktop Team (canonical-desktop-team)
Changed in dcraw (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
Martin Pitt (pitti)
Changed in inkscape (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Martin Pitt (pitti) wrote :

Synced libraw 0.14.0-1 from Debian which uses lcms2 now.

Changed in libraw (Ubuntu):
status: New → Fix Released
Changed in shotwell (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Dave Walker (davewalker)
Changed in cups (Ubuntu):
milestone: precise-alpha-1 → precise-alpha-2
Revision history for this message
Christoph Spiel (cspiel) wrote :

I have a working patch in my local repository.

The Enblend team is discussing the problems arising from
LCMS V2's "unbounded mode" and how to best dodge them.

Changed in enblend:
assignee: nobody → Christoph Spiel (cspiel)
importance: Undecided → Medium
status: New → In Progress
B Bobo (yout-bobo123)
tags: added: precise
Revision history for this message
Christoph Spiel (cspiel) wrote :

Fixed in rev d0828152af73.

Changed in enblend:
status: In Progress → Fix Committed
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

New unstable version will have this fix in debian. For now in experimental. Wait for release team

Changed in imagemagick (Ubuntu):
assignee: nobody → broucaries (roucaries-bastien+bugs)
status: New → Fix Released
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Please revert to in progress....

Martin Pitt (pitti)
Changed in imagemagick (Ubuntu):
status: Fix Released → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Upstream patch/mail about poppler lcms2 conversion:

  http://<email address hidden>/msg06258.html

Seems lcms2 is a slight performance regression. Let's see how this develops upstream.

Changed in poppler (Ubuntu):
status: New → Triaged
Bryce Harrington (bryce)
Changed in inkscape:
importance: Undecided → High
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

pitti, they talk about only 5-10 % performance loss in Poppler, but for getting a much less crashing, more reliable, and maintained CM library, I would accept this performance loss. So I think I should add Otani-san's patch for further testing to Precise's package of Poppler.

Otani-san, thank you very much for the patch. I will try it out on Ubuntu's Poppler. 5-10 % performance loss is not much for the gain of stability and reliability. It should get applied.

Albert, I also highly recommend to apply this patch upstream, as using a more stable, maintained library is much more important then having 5-10 % better performance.

Changed in poppler (Ubuntu):
importance: Undecided → Medium
milestone: none → precise-alpha-2
status: Triaged → In Progress
Changed in poppler (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package poppler - 0.18.3-0ubuntu2

---------------
poppler (0.18.3-0ubuntu2) precise; urgency=low

  * debian/patches/poppler-lcm2.patch: Ported Poppler from liblcms1 which is
    not maintained any more upstream to the up-to-date liblcms2. Thanks to
    Koji Otani for the patch (LP: #885324).
  * debian/control: Build-depend on liblcms2-dev and not on liblcms-dev any
    more.
 -- Till Kamppeter <email address hidden> Fri, 20 Jan 2012 09:25:18 +0100

Changed in poppler (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For the migration of CUPS I got a patch from Koji Otani now which I am currently applying upstream to the new cups-filters packge (see https://blueprints.launchpad.net/ubuntu/+spec/desktop-p-new-cups-filters-package). As this is not yet packaged for Ubuntu I cannot move the "cups" task to "cups-filters" yet.

Revision history for this message
dino99 (9d9) wrote :

Wine1.2 & wine1.3 are affected too.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

libcms2 patch for cups-filters is applied and committed upstream now.

Otani-san, thanks for your patch!

10 comments hidden view all 124 comments
Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

It seems this is no longer a mere enhancement request and needs some escalation in priority - liblcms1 is deprecated upstream, not receiving fixes, and is being slated for removal from distributions. See, for instance, https://bugs.launchpad.net/ubuntu/+source/lcms/+bug/885324

Changed in lcms:
importance: Unknown → Wishlist
status: Unknown → Confirmed
no longer affects: lcms
Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

(In reply to comment #10)
> It seems this is no longer a mere enhancement request and needs some escalation
> in priority - liblcms1 is deprecated upstream, not receiving fixes, and is
> being slated for removal from distributions. See, for instance,
> https://bugs.launchpad.net/ubuntu/+source/lcms/+bug/885324

When will liblcms1 be removed from which distributions? How about 32-bit
versions of liblcms2 for current 64-bit distros? I doubt we want to support
both version 1 and version 2 of liblcms in Wine.

Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

On Ubuntu, we'd like to migrate everything away from liblcms1 by 12.04, which means this would need to be done in the 1.4 timetable.

At a distro level, supporting 32-on-64 lcms2 is just as easy as lcms1. On Ubuntu 12.04, for instance, it's already multiarched and you can just apt-get install liblcms2-2:i386. So I'd expect it to be quite available.

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

(In reply to comment #12)
> On Ubuntu, we'd like to migrate everything away from liblcms1 by 12.04, which
> means this would need to be done in the 1.4 timetable.
>
> At a distro level, supporting 32-on-64 lcms2 is just as easy as lcms1. On
> Ubuntu 12.04, for instance, it's already multiarched and you can just apt-get
> install liblcms2-2:i386. So I'd expect it to be quite available.

Sure, but I asked about *current* distro versions. Without a reasonable
transition period Wine is forced to support both versions of liblcms.

Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

Fair enough, but without supporting both versions for a bit we will _never_ be able to migrate and will end up using a deprecated unsupported library forever.

To answer your question as far as Ubuntu goes, 11.10, 11.04, 10.10, and 10.04 rely on ia32-libs, so in order to support them I'll have to update the ia32-libs in the PPA to include liblcms2 (this isn't hard).

Changed in wine:
importance: Unknown → Wishlist
status: Unknown → Confirmed
Revision history for this message
Albert Astals Cid (aacid) wrote :

As poppler maintainer i want to mention that this is not going to happen upstream anytime soon unless the huge regressions in speed (some files go to 0.5 sec in rendering to 5 sec) are fixed in lcms2.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The file where rendering with Poppler/lcms2 gets significantly slower is altona_technical_1v2_x3.pdf on http://www.eci.org/doku.php?id=es:downloads It also gets significantly slower when rendering with GhostScript/lcms2 on Precise (compared to Ghostscript/lcms1 on Oneiric).

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Poppler/lcms2 performance issue reported to lcms upstream:

https://github.com/mm2/Little-CMS/issues/2

Martin Pitt (pitti)
Changed in inkscape (Ubuntu):
milestone: none → ubuntu-12.04-beta-2
Martin Pitt (pitti)
Changed in cups (Ubuntu):
milestone: precise-alpha-2 → ubuntu-12.04-beta-1
affects: cups (Ubuntu) → cups-filters (Ubuntu)
Changed in cups-filters (Ubuntu):
status: In Progress → Fix Released
Martin Pitt (pitti)
Changed in cups-filters (Ubuntu):
milestone: ubuntu-12.04-beta-1 → precise-alpha-2
Changed in inkscape:
assignee: nobody → Jon A. Cruz (jon-joncruz)
status: New → In Progress
Revision history for this message
Jon A. Cruz (jon-joncruz) wrote :

Fixed in revision #10969.

Changed in inkscape:
milestone: none → 0.49
status: In Progress → Fix Committed
Changed in inkscape:
status: Fix Committed → In Progress
Philip Muškovac (yofel)
Changed in libkdcraw (Ubuntu):
assignee: nobody → Philip Muškovac (yofel)
Philip Muškovac (yofel)
Changed in kdegraphics (Ubuntu):
status: New → Invalid
Philip Muškovac (yofel)
Changed in digikam (Ubuntu):
assignee: nobody → Philip Muškovac (yofel)
status: New → In Progress
Changed in libkdcraw (Ubuntu):
status: New → In Progress
Changed in inkscape:
status: In Progress → Fix Committed
Philip Muškovac (yofel)
Changed in digikam (Ubuntu):
status: In Progress → Triaged
Changed in digikam:
importance: Unknown → Medium
status: Unknown → New
Changed in inkscape:
milestone: 0.49 → 0.48.3
Ted Gould (ted)
Changed in inkscape:
status: Fix Committed → Fix Released
Changed in digikam:
status: New → Fix Released
Changed in inkscape (Ubuntu):
status: Triaged → Fix Released
Martin Pitt (pitti)
Changed in dcraw (Ubuntu):
milestone: none → ubuntu-12.04-beta-2
no longer affects: wine1.2 (Ubuntu)
affects: wine1.3 (Ubuntu) → wine1.4 (Ubuntu)
Changed in wine1.4 (Ubuntu):
status: New → Triaged
Changed in dcraw (Ubuntu):
milestone: ubuntu-12.04-beta-2 → none
Martin Pitt (pitti)
Changed in inkscape (Ubuntu):
status: Fix Released → Triaged
Martin Pitt (pitti)
Changed in dcraw (Ubuntu):
assignee: Chris Halse Rogers (raof) → nobody
Philip Muškovac (yofel)
Changed in libkdcraw (Ubuntu):
status: In Progress → Fix Committed
Changed in wine1.4 (Ubuntu):
importance: Undecided → Low
Changed in digikam:
status: Fix Released → Unknown
Changed in inkscape (Ubuntu):
status: Triaged → Fix Released
44 comments hidden view all 124 comments
Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

Cmake configuration trace is different between libkdcraw and digiKam :

-- -------------------------------------------------------------------------
-- Starting CMake configuration for: libkdcraw
-- Check for LCMS2 availability...
-- Found JPEG: /usr/lib64/libjpeg.so
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp

...

---------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Found Jasper: /usr/lib64/libjasper.so
-- Check for Kdcraw library in local sub-folder...
...
-- Check for LCMS2 availability...
-- checking for module 'lcms2'
-- found lcms2, version 2.3
-- Found LCMS2: lcms2
-- Identified libjpeg version: 80+
-- Found MySQL server executable at: /usr/sbin/mysqld
-- Found MySQL install_db executable at: /usr/bin/mysql_install_db
...

Why ?

Gilles Caulier

Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

Note : I started cmake configuration script with "-DENABLE_LCMS2=on"

Gilles

Revision history for this message
In , Anantapalani (anantapalani) wrote :

(In reply to comment #29)
> Note : I started cmake configuration script with "-DENABLE_LCMS2=on"
>
> Gilles

Strange, works fine for me, either together (digikam-sc) or separately (libkdcraw, digikam). Here is separately:

-- Starting CMake configuration for: libkdcraw
...
-- Check for LCMS2 availability...
-- Found lcms version 2.03, c:/kderoot/lib/lcms-2.lib
-- Found LCMS2: c:/kderoot/lib/lcms-2.lib c:/kderoot/include

-- Found JPEG: c:/kderoot/lib/jpeg.lib
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: /openmp

----------------------------------------

-- Starting CMake configuration for: digikam
...
-- Check for LCMS2 availability...
-- Found lcms version 2.03, c:/kderoot/lib/lcms-2.lib
-- Found LCMS2: c:/kderoot/lib/lcms-2.lib c:/kderoot/include

-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: /openmp

Revision history for this message
In , Anantapalani (anantapalani) wrote :

Git commit b0cfc14a4dad0bd137fdf8d9493c378dbecca652 by Ananta Palani.
Committed on 03/03/2012 at 08:11.
Pushed by palani into branch 'master'.

Give libkdcraw cmake modules preference over pre-existing ones.

M +1 -1 CMakeLists.txt

http://commits.kde.org/libkdcraw/b0cfc14a4dad0bd137fdf8d9493c378dbecca652

Revision history for this message
In , Anantapalani (anantapalani) wrote :

Gilles,

Could you have another version of FindLCMS2.cmake on your system somewhere? Your 'found' message does not look consistent with the file included in libkdcraw/digikam:

Found lcms version ${LCMS2_MAJOR_VERSION}.${LCMS2_MINOR_VERSION}, ${LCMS2_LIBRARIES}

so maybe cmake is using the wrong one? The commit I just made may fix your problem regardless.

-Ananta

Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

No other lcms2 cmake find script is on my computer.

I updated my local git and cleaned cmake cache. trace is better :

-- Starting CMake configuration for: libkdcraw
-- Check for LCMS2 availability...
-- checking for module 'lcms2'
-- found lcms2, version 2.3
-- Found lcms version 2.03, /usr/lib64/liblcms2.so
-- Found LCMS2: /usr/lib64/liblcms2.so /usr/include
-- Found JPEG: /usr/lib64/libjpeg.so
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * LCMS2 - A small-footprint color management engine
   * libjpeg - JPEG image format support

...

-- Starting CMake configuration for: digikam
-- Found Jasper: /usr/lib64/libjasper.so
-- Check for Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: /mnt/data/Devel/GIT/2.x/extra/libkdcraw
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: /mnt/data/Devel/GIT/2.x/extra/libkexiv2
-- Check Kipi library in local sub-folder...
-- Found Kipi library in local sub-folder: /mnt/data/Devel/GIT/2.x/extra/libkipi
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder: /mnt/data/Devel/GIT/2.x/extra/libkface
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: /mnt/data/Devel/GIT/2.x/extra/libkgeomap
-- checking for module 'libpgf'
-- package 'libpgf' not found
-- Could NOT find any working clapack installation
-- Check for LCMS2 availability...
-- Found lcms version 2.03, /usr/lib64/liblcms2.so
-- Found LCMS2: /usr/lib64/liblcms2.so /usr/include
-- Identified libjpeg version: 80+
-- Found MySQL server executable at: /usr/sbin/mysqld
...

i need to check OSX now...

Gilles Caulier

Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

Work fine under MACOSX :

-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkdcraw
-- Check for LCMS2 availability...
-- checking for module 'lcms2'
-- found lcms2, version 2.2
-- Found lcms version 2.02, /opt/local/lib/liblcms2.dylib
-- Found LCMS2: /opt/local/lib/liblcms2.dylib /opt/local/include
-- Found JPEG: /opt/local/lib/libjpeg.dylib

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * LCMS2 - A small-footprint color management engine
   * libjpeg - JPEG image format support

...

-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Found Jasper: /opt/local/lib/libjasper.dylib
-- Check for Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: /Users/gilles/Devel/2.x/extra/libkdcraw
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: /Users/gilles/Devel/2.x/extra/libkexiv2
-- Check Kipi library in local sub-folder...
-- Found Kipi library in local sub-folder: /Users/gilles/Devel/2.x/extra/libkipi
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder: /Users/gilles/Devel/2.x/extra/libkface
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: /Users/gilles/Devel/2.x/extra/libkgeomap
-- checking for module 'libpgf'
-- package 'libpgf' not found
-- Found clapack includes: /System/Library/Frameworks/vecLib.framework/Headers
-- Found clapack library: /usr/lib/libclapack.dylib
-- Check for LCMS2 availability...
-- Found lcms version 2.02, /opt/local/lib/liblcms2.dylib
-- Found LCMS2: /opt/local/lib/liblcms2.dylib /opt/local/include
-- Identified libjpeg version: 80+
...

Gilles Caulier

Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

All compile fine under MACOSX through macport :

[ 56%] Building C object core/digikam/CMakeFiles/digikamcore.dir/__/libs/3rdparty/clapack/lsame.c.o
[ 57%] Building C object core/digikam/CMakeFiles/digikamcore.dir/__/libs/3rdparty/clapack/sfe.c.o
[ 57%] Building C object core/digikam/CMakeFiles/digikamcore.dir/__/libs/3rdparty/clapack/util.c.o
[ 57%] Building C object core/digikam/CMakeFiles/digikamcore.dir/__/libs/3rdparty/clapack/xerbla.c.o
[ 57%] Building CXX object core/digikam/CMakeFiles/digikamcore.dir/__/libs/dklcms/digikam-lcms.cpp.o
[ 57%] Building CXX object core/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/dimgbuiltinfilter.cpp.o
[ 57%] Building CXX object core/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/dimgthreadedfilter.cpp.o
[ 57%] Building CXX object core/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/dimgfiltermanager.cpp.o

I close this file now...

Gilles Caulier

Changed in libkdcraw (Ubuntu):
status: Fix Committed → Fix Released
Rohan Garg (rohangarg)
Changed in digikam (Ubuntu):
assignee: Philip Muškovac (yofel) → Rohan Garg (rohangarg)
status: Triaged → In Progress
Changed in digikam (Ubuntu):
status: In Progress → Fix Released
Changed in digikam:
status: Unknown → Fix Released
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Under debian build with newer version

Changed in imagemagick (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

This is fixed upstream in enblend-enfuse 4.1.

Revision history for this message
Micah Gersten (micahg) wrote :

Was already fixed in quantal

Changed in imagemagick (Ubuntu):
status: Fix Committed → Fix Released
tmodes (tmodes)
Changed in enblend:
status: Fix Committed → Fix Released
Philip Muškovac (yofel)
no longer affects: kdegraphics (Ubuntu)
dino99 (9d9)
tags: added: raring saucy
Revision history for this message
In , Detlef (winspool) wrote :

I send a patch to add support for lcms2 with a fallback to lcms v1:
http://source.winehq.org/patches/data/96110

As info for distribution support for lcms2:
Ubuntu 11.10 has liblcms2-2 as a "main" package (section libs).

--
By by ... Detlef

Revision history for this message
Detlef (winspool) wrote :
Revision history for this message
In , Detlef (winspool) wrote :

(In reply to comment #15)
> I send a patch to add support for lcms2 with a fallback to lcms v1:
> http://source.winehq.org/patches/data/96110

BUG: The patch was still using the includes for lcms v1
     To fix compilation while using lcms2.h,
     add a #include <icc34.h> after the #include <lcms2.h>
     (icc34.h comes with the liblcms v1 dev package)

I prepare a better patch in the near future.

--
By by .. Detlef

B Bobo (yout-bobo123)
Changed in f-spot (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

Fixed by d40c91262b91f72c44151a1481a77acfe71ba044.

Changed in wine:
status: Confirmed → Fix Released
Revision history for this message
In , Alexandre Julliard (julliard) wrote :

Closing bugs fixed in 1.7.0.

Revision history for this message
In , Christoph-maxiom (christoph-maxiom) wrote :

Roadmap says:

# future plans:
# 2.7 will compile against lcms2 by default but lcms1 will stay as a fallback
# 2.8 will support lcms2 only, probably ENABLE_LCMS2 will be removed too
# unless we decide to support another color managment library

Any plan to make lcms2 the default now, if both are found?

Changed in f-spot (Ubuntu):
status: Confirmed → Triaged
Changed in dcraw (Ubuntu):
importance: Undecided → Medium
Changed in digikam (Ubuntu):
importance: Undecided → Medium
Changed in enblend (Ubuntu):
importance: Undecided → Medium
Changed in enblend-enfuse (Ubuntu):
importance: Undecided → Medium
Changed in f-spot (Ubuntu):
importance: Undecided → Medium
Changed in geeqie (Ubuntu):
importance: Undecided → Medium
Changed in gimp (Ubuntu):
importance: Undecided → Medium
Changed in imagemagick (Ubuntu):
importance: Undecided → Medium
Changed in lcms (Ubuntu):
importance: Undecided → Medium
Changed in libkdcraw (Ubuntu):
importance: Undecided → Medium
Changed in libmng (Ubuntu):
importance: Undecided → Medium
Changed in libraw (Ubuntu):
importance: Undecided → Medium
Changed in openjdk-6 (Ubuntu):
importance: Undecided → Medium
Changed in python-imaging (Ubuntu):
importance: Undecided → Medium
Changed in rawstudio (Ubuntu):
importance: Undecided → Medium
Changed in scribus (Ubuntu):
importance: Undecided → Medium
Changed in ufraw (Ubuntu):
importance: Undecided → Medium
Changed in xsane (Ubuntu):
importance: Undecided → Medium
Changed in gimp (Ubuntu):
status: New → Confirmed
Changed in gimp (Ubuntu):
status: Confirmed → Triaged
Rolf Leggewie (r0lf)
description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

It's best to use transition tracker:
http://people.canonical.com/~ubuntu-archive/transitions/lcms2.html

It shows proper dependencies rounds & rathers information based on the archive state across both source and binary packages across all architectures.

description: updated
Revision history for this message
Matthias Klose (doko) wrote :

libmng using lcms2 uploaded to trusty

Changed in libmng (Ubuntu):
status: New → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

gimp fixed in trusty

Changed in gimp (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

python-imaging/pillow fixed in trusty

Changed in python-imaging (Ubuntu):
status: New → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

openjdk-6 doesn't have this dependency anymore

Changed in openjdk-6 (Ubuntu):
status: New → Fix Released
Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

Nominating for 1.6.2 so I can put it into Ubuntu 14.04 LTS and Wine won't be the only package still using old lcms.

Revision history for this message
In , Alexandre Julliard (julliard) wrote :

Removing 1.6.x milestone from bugs included in 1.6.2.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package enblend-enfuse - 4.1.2+dfsg-2ubuntu1

---------------
enblend-enfuse (4.1.2+dfsg-2ubuntu1) trusty; urgency=medium

  * Merge from Debian, remaining changes:
    - Build-depend on libglew-dev rather than libglew1.5-dev | libglew1.4-dev
      | libglew-dev.
    - Build using -O1 on arm
 -- Jackson Doak <email address hidden> Wed, 22 Jan 2014 06:23:44 +1100

Changed in enblend-enfuse (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dcraw - 9.21-0.2

---------------
dcraw (9.21-0.2) unstable; urgency=medium

  * Non-maintainer upload.
  * Upload to unstable.

 -- Andreas Metzler <email address hidden> Thu, 19 Jun 2014 07:52:40 +0200

Changed in dcraw (Ubuntu):
status: New → Fix Released
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Fixed in 1.4.2.dfsg.2+r18267-0.1 (already merged in ubuntu)

Changed in scribus (Ubuntu):
status: New → Fix Released
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

enblend is not in the archives any more (last upload to hardy)

Changed in enblend (Ubuntu):
status: New → Invalid
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Fixed in Wine 1.6.2

Changed in wine1.4 (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
dino99 (9d9) wrote :

Still some packages using lcms1 on Utopic: xsane for example

tags: added: utopic
Revision history for this message
Logan Rosen (logan) wrote :

This bug was fixed in the package cegui-mk2 - 0.7.6-3.3

---------------
cegui-mk2 (0.7.6-3.3) unstable; urgency=medium

  * Non-maintainer upload.
  * Remove unneeded depdendency on liblcms-dev (Closes: #745530) and libmng-dev
    which would also pull-in lcms.

 -- Tobias Frost <email address hidden> Sun, 03 Aug 2014 19:09:41 +0200

cegui-mk2 (0.7.6-3.2) unstable; urgency=medium

  * Non-maintainer upload.
  * debian/control: Switch to automake1.11. (Closes: #724357)

 -- Eric Dorland <email address hidden> Mon, 03 Mar 2014 22:54:44 -0500

cegui-mk2 (0.7.6-3.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Fix "boost 1.53 is going away" Removing versioned dependencies
    (Closes: #731019)

 -- Tobias Frost <email address hidden> Sat, 11 Jan 2014 14:47:21 +0000

cegui-mk2 (0.7.6-3) unstable; urgency=low

  * Bump Standards-Version to 3.9.4.
  * debian/control:
    + OGRE dependency was updated to 1.8. (Closes: #704781)
    + Boost dependency was updated to 1.53.

 -- Muammar El Khatib <email address hidden> Sun, 14 Aug 2013 20:41:39 +0200

Changed in cegui-mk2 (Ubuntu):
status: New → Fix Released
Revision history for this message
Michal Čihař (nijel) wrote :

Fixed in 1:1.2-1

Changed in geeqie (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

f-spot has been removed from vivid, in response to a corresponding removal from Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764646).

Changed in f-spot (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package darkroom - 1.5.0~svn1280265-0ubuntu2

---------------
darkroom (1.5.0~svn1280265-0ubuntu2) vivid; urgency=medium

  * Build with LittleCMS 2 (LP: #885324).
 -- Colin Watson <email address hidden> Mon, 24 Nov 2014 17:53:12 +0000

Changed in darkroom (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xsane - 0.998-6ubuntu1

---------------
xsane (0.998-6ubuntu1) vivid; urgency=medium

  * Resynchronise with Debian (LP: #885324). Remaining changes:
    - debian/patches/pot_desktop_msgid.patch: Add .desktop file Name and
      Comment to the POT.
    - debian/control:
      + Depend on firefox instead of iceweasel.
    - debian/xsane.desktop:
      + Use generic scanner icon instead of outdated/confusing xsane icon.
      + Modified to match POT changes.

xsane (0.998-6) unstable; urgency=medium

  * QA upload.
  * Update Build-Depends to point to liblcms2-dev instead of liblcms1-dev.
    Unfortunately, xsane is not yet ready for liblcms2 so until that is
    fixed it will build without LCMS support. This is done so that
    #745524 can be reduced to important severity and stay in testing.
 -- Colin Watson <email address hidden> Tue, 25 Nov 2014 13:39:09 +0000

Changed in xsane (Ubuntu):
status: New → Fix Released
Revision history for this message
Graham Inggs (ginggs) wrote :

Fix released in ufraw 0.20-1.

Changed in ufraw (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

photoprint (0.4.2~pre2-2.2) unstable; urgency=low

  * Non-maintainer upload.
  * Applying patch from Hideki Ymanae (Closes: #725537)
  * Change B-D from lcms1-dev to lcms2-dev (Closes: #745516)
  * B-D on libtiff-dev, not libtiff4-dev" (Closes: #736038)

 -- Tobias Frost <email address hidden> Mon, 11 Aug 2014 20:53:54 +0200

Changed in photoprint (Ubuntu):
status: New → Fix Released
Changed in ufraw (Debian):
status: Unknown → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

rawstudio has been removed from utopic, in response to a corresponding removal from Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764089).

Changed in rawstudio (Ubuntu):
status: New → Won't Fix
Revision history for this message
Colin Watson (cjwatson) wrote :

gimp-plugin-registry (7.20140602) unstable; urgency=medium

  * [b8040b86] Update debian/README.source and add a symlink for github
  * [b73b5126] Migrato to lcms2.
    Thanks to Moritz Muehlenhoff (Closes: #745528)
  * [e018d41b] Auto update of debian/control
  * [6f8c53e9] Removing old seperate+ patches.
  * Bump version number, skipping version 6 as it went forgotten
    during the last upload....

 -- Bernd Zeimetz <email address hidden> Mon, 02 Jun 2014 22:48:39 +0200

Changed in gimp-plugin-registry (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

And I've now removed lcms from vivid, so this bug is finally done.

Changed in lcms (Ubuntu):
status: New → Fix Released
Displaying first 40 and last 40 comments. View all 124 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.