http://bugs.winehq.org/show_bug.cgi?id=23529
Summary: build mechanism tried to find an outdated 'lcms' version Product: Wine Version: 1.2-rc6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: sergstesh@yahoo.com
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.
http://bugs.winehq.org/show_bug.cgi?id=23529
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #1 from Hans Leidekker hans@meelstraat.net 2010-07-06 02:21:25 --- Which distributions include lcms2?
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2010-07-06 02:38:59 --- (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.
http://bugs.winehq.org/show_bug.cgi?id=23529
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|build mechanism tried to |Add support for lcms2 |find an outdated 'lcms' | |version | Severity|normal |enhancement
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-06 02:43:38 --- Then this is not a bug at all, at the most just an enhancement request.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #4 from Sergei Steshenko sergstesh@yahoo.com 2010-07-06 03:21:34 --- (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.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #5 from Sergei Steshenko sergstesh@yahoo.com 2010-07-06 03:23:41 --- (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.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-06 03:32:45 --- (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.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #7 from Hans Leidekker hans@meelstraat.net 2010-07-06 03:35:18 ---
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.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #8 from Sergei Steshenko sergstesh@yahoo.com 2010-07-06 03:55:48 --- (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'.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #9 from Austin English austinenglish@gmail.com 2011-10-17 20:46:32 CDT --- Created attachment 36970 --> http://bugs.winehq.org/attachment.cgi?id=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.
http://bugs.winehq.org/show_bug.cgi?id=23529
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23529
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |scott@open-vote.org Ever Confirmed|0 |1
--- Comment #10 from Scott Ritchie scott@open-vote.org 2012-01-20 20:53:42 CST --- 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
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #11 from Hans Leidekker hans@meelstraat.net 2012-01-21 04:56:14 CST --- (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.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #12 from Scott Ritchie scott@open-vote.org 2012-01-21 16:38:15 CST --- 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.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #13 from Hans Leidekker hans@meelstraat.net 2012-01-22 02:18:54 CST --- (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.
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #14 from Scott Ritchie scott@open-vote.org 2012-01-22 10:29:06 CST --- 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).
http://bugs.winehq.org/show_bug.cgi?id=23529
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
--- Comment #15 from Detlef Riekenberg wine.dev@web.de 2013-05-08 09:59:00 CDT ---
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).
http://bugs.winehq.org/show_bug.cgi?id=23529
--- Comment #16 from Detlef Riekenberg wine.dev@web.de 2013-05-10 15:39:08 CDT --- (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.
http://bugs.winehq.org/show_bug.cgi?id=23529
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d40c91262b91f72c44151a1481a | |77acfe71ba044 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Hans Leidekker hans@meelstraat.net 2013-07-30 02:34:54 CDT --- Fixed by d40c91262b91f72c44151a1481a77acfe71ba044.
http://bugs.winehq.org/show_bug.cgi?id=23529
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2013-08-02 13:19:14 CDT --- Closing bugs fixed in 1.7.0.
http://bugs.winehq.org/show_bug.cgi?id=23529
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
--- Comment #19 from Scott Ritchie scott@open-vote.org --- 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.
https://bugs.winehq.org/show_bug.cgi?id=23529
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Removing 1.6.x milestone from bugs included in 1.6.2.