Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526830 - media-gfx/rawstudio: please remove dependency on media-libs/lcms:0
Summary: media-gfx/rawstudio: please remove dependency on media-libs/lcms:0
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical with 1 vote (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: lcms-1
  Show dependency tree
 
Reported: 2014-10-25 23:01 UTC by Matthias Maier
Modified: 2016-08-11 11:35 UTC (History)
2 users (show)

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


Attachments
rawstudio-2.0-lcms2.patch (rawstudio-2.0-lcms2.patch,4.77 KB, patch)
2015-01-05 14:21 UTC, i.Dark_Templar
Details | Diff
rawstudio-2.0-r2.ebuild (rawstudio-2.0-r1.ebuild,1.43 KB, text/plain)
2015-01-05 14:22 UTC, i.Dark_Templar
Details
rawstudio-2.0-lcms2.patch (rawstudio-2.0-lcms2.patch,9.03 KB, patch)
2015-01-24 20:11 UTC, i.Dark_Templar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Maier gentoo-dev 2014-10-25 23:01:18 UTC
media-libs/lcms:0 is unmaintained, has seen no releases since 2009, and (according to upstream) is affected by unspecified serious security issues. Please 

* either upgrade your package to use media-libs/lcms:2, 
* or hard-disable an optional dependency on media-libs/lcms:0, 
* or mask your package for removal.

Thank you!
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-12-26 20:13:37 UTC
Package will be masked for security reasons on 30/12/2014.
Comment 2 i.Dark_Templar 2015-01-05 14:21:34 UTC
Created attachment 393232 [details, diff]
rawstudio-2.0-lcms2.patch

Patch for building Rawstudio 2.0 with lcms2
Comment 3 i.Dark_Templar 2015-01-05 14:22:45 UTC
Created attachment 393234 [details]
rawstudio-2.0-r2.ebuild

diff -u /usr/portage/media-gfx/rawstudio/rawstudio-2.0-r1.ebuild /usr/local/portage/media-gfx/rawstudio/rawstudio-2.0-r2.ebuild 
--- /usr/portage/media-gfx/rawstudio/rawstudio-2.0-r1.ebuild    2013-09-29 15:31:55.000000000 +0400
+++ /usr/local/portage/media-gfx/rawstudio/rawstudio-2.0-r2.ebuild      2015-01-05 16:42:45.000000000 +0300
@@ -19,7 +19,7 @@
        >=dev-libs/openssl-1:0=
        >=gnome-base/gconf-2
        media-libs/flickcurl
-       media-libs/lcms:0
+       media-libs/lcms:2=
        media-libs/lensfun
        media-libs/libgphoto2:=
        media-libs/libpng:0=
@@ -48,7 +48,8 @@
        epatch \
                "${FILESDIR}"/${P}-libpng15.patch \
                "${FILESDIR}"/${P}-g_thread_init.patch \
-               "${FILESDIR}"/${P}-icon.patch
+               "${FILESDIR}"/${P}-icon.patch \
+               "${FILESDIR}"/${P}-lcms2.patch
        eautoreconf
 }
Comment 4 i.Dark_Templar 2015-01-05 14:23:54 UTC
Please try attached ebuild and patch, it worked for me. I've taken a look at rawstudio git repository, and it looks like next release would be able to build with lcms2 without any patches. So, this patch is temporary.
Comment 5 i.Dark_Templar 2015-01-24 20:11:07 UTC
Created attachment 394796 [details, diff]
rawstudio-2.0-lcms2.patch

New version of patch, last one compiled successfully but failed to run.
Comment 6 Pacho Ramos gentoo-dev 2015-02-03 14:32:21 UTC
dropped
Comment 7 i.Dark_Templar 2015-02-03 14:40:02 UTC
One question: why?

There's even patch available and it is not needed for git version of rawstudio (and, thus, won't be needed for next release).