Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324105 - www-client/chromium: Patches to make cups optional
Summary: www-client/chromium: Patches to make cups optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 11:30 UTC by Enne Eziarc
Modified: 2010-10-30 01:03 UTC (History)
1 user (show)

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


Attachments
Patch against chromium-6.0.427.0.ebuild (ebuild.patch,737 bytes, patch)
2010-06-15 11:30 UTC, Enne Eziarc
Details | Diff
filesdir/chromium-disable-print.patch (chromium-disable-print.patch,767 bytes, text/plain)
2010-06-15 11:31 UTC, Enne Eziarc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2010-06-15 11:30:03 UTC
As per request in the forum URL:
Comment 1 Enne Eziarc 2010-06-15 11:30:52 UTC
Created attachment 235395 [details, diff]
Patch against chromium-6.0.427.0.ebuild
Comment 2 Enne Eziarc 2010-06-15 11:31:46 UTC
Created attachment 235399 [details]
filesdir/chromium-disable-print.patch
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-06-15 11:55:52 UTC
An follow up on bug 323557 ...
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-17 20:00:52 UTC
Thanks for the patch. I used a slightly different (more likely to get accepted by upstream) solution, but you found the right file and place, which has helped me a lot. Enjoy the updated ebuild. :)
Comment 5 Robert Bradbury 2010-10-12 08:17:57 UTC
I believe the current chromium-7 ebuilds are wrong.  The chromium-7 ebuilds all shifted to a dependency on cups-1.4 which I cannot believe is required.  Every time I have tried to upgrade from cups-1.3 to cups 1.4 on my system it has failed.  I believe all chromium ebuilds should depend on a "minimum" cups ebuild and not on whatever happens to be the "current" gentoo cups ebuild version.

If chromium-7 requires cups 1.4 please point me at a source which indicates why this is the case.  Otherwise I would like to request that chromium-7 ebuilds have the same cups dependencies as the chromium-6 ebuilds.

Failing this I am likely to mask chromium-7 because I am in no rush to attempt a cups-1.3 upgrade again.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-10-12 08:32:35 UTC
(In reply to comment #5)
> I believe the current chromium-7 ebuilds are wrong.

Please do not post unrelated comments to a closed bug.

> If chromium-7 requires cups 1.4 please point me at a source which indicates why
> this is the case.

huh? Just in case, please take a look at https://bugs.gentoo.org/show_bug.cgi?id=327041 and https://bugs.gentoo.org/show_bug.cgi?id=338516

> Failing this I am likely to mask chromium-7 because I am in no rush to attempt
> a cups-1.3 upgrade again.

Bug report is not a place for rants like the above. Gentoo gives you freedom to mask packages you don't want.
Comment 7 Robert Bradbury 2010-10-30 01:03:30 UTC
I would disagree that this is RESOLVED FIXED and would request that it be REOPENED.

The problem appears to lie on the assorted dependencies of various ebuilds on specific versions of CUPS, e.g. 1.3.11 and 1.4.4 with no rhyme or reason.  In particular chromium-bin appears to have different logic with respect to which chromium versions require chromium-1.4.4 and that makes no sense at all.

A) CUPS should be optional and *all* of the ebuilds should not fail if -cups is specified.
B) CUPS versions should *NOT* be specified unless it is confirmed that that specific version of cups is *really* required (in which case it would be nice if this bug or another specified *why* that was the case).  If newer versions of chromium require a higher level of PDF capability to print properly then it isn't a cups dependency.  It is a cups dependency but the program(s) cups uses to handle the PDF which is the critical element.

I say this because I've tried to upgrade cups to 1.4.1 and 1.4.4 upgrade and each time I've been forced to fall back to 1.3.  It is a rare user program which requires a specific version of cups.  What about cups-1.2?  Is it known that chromium does not work with that?