Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why is IcedTea Dependent on CUPS ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
system_exit
n00b
n00b


Joined: 07 Jul 2011
Posts: 6

PostPosted: Thu Jul 07, 2011 10:25 pm    Post subject: Why is IcedTea Dependent on CUPS ? Reply with quote

Can someone explain me why icedtea depends on CUPS?

It kind of irritates me because I had only problems wit CUPS and I am pretty much happy running LPRng - what I do no need is to screw my settings with CUPS installation. Can I get rid of the thing somehow ?
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Jul 07, 2011 10:45 pm    Post subject: Reply with quote

Well I cannot explain why the OpenJDK builder dev-java/icedtea depends on CUPS, even less that dev/java/icedtea6-bin, that is the Gentoo binary build, does not depends on CUPS.
Would then mean that CUPS is a dependency required by the tools needed to build icedtea.

Anyway... while waiting for the exact reason... you might want to try CUPS-free icedtea6-bin.
Back to top
View user's profile Send private message
sera
Developer
Developer


Joined: 29 Feb 2008
Posts: 986
Location: CET

PostPosted: Fri Jul 08, 2011 6:35 am    Post subject: Reply with quote

aCOSwt wrote:
Well I cannot explain why the OpenJDK builder dev-java/icedtea depends on CUPS, even less that dev/java/icedtea6-bin, that is the Gentoo binary build, does not depends on CUPS.


Cups is an optional runtime dependency. If it's there java applications can print. If not an exception is raised attempting to do so. To be able to optionally use cups at runtime the headers need to be available at build time. That's why the binaries get away without this dependency.

aCOSwt wrote:
Would then mean that CUPS is a dependency required by the tools needed to build icedtea.

Would be an ebuild bug.

aCOSwt wrote:
Anyway... while waiting for the exact reason... you might want to try CUPS-free icedtea6-bin.

Or just install icedtea and don't bother configuring cups.
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Jul 08, 2011 7:20 am    Post subject: Reply with quote

sera wrote:
Cups is an optional runtime dependency. If it's there java applications can print. If not an exception is raised attempting to do so. To be able to optionally use cups at runtime the headers need to be available at build time. That's why the binaries get away without this dependency.

8) This makes sense. Thank you sera for this explanation.
Back to top
View user's profile Send private message
Sigma Kappa
n00b
n00b


Joined: 04 Mar 2012
Posts: 45

PostPosted: Fri Jun 28, 2013 6:29 am    Post subject: Reply with quote

My laptop faces and issue of a circular dependency icedtea-bin <---> cups. Personally, I don't need either of them. I thought of breaking this cycle with building icedtea-bin, and could find a formula so that emerge does not complain: USE="-jpeg -cups -java" emerge icedtea-bin.
However, building icedtea without Java support (as suggested by the -java USE-flag) seems absurd.
Any comments on this?

Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum