Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Disabling cups ?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
rezrey
n00b
n00b
Posts: 6
Joined: Thu Dec 24, 2009 11:39 pm
Location: Koekelare, Belgium

Disabling cups ?

  • Quote

Post by rezrey » Tue Nov 01, 2011 5:26 pm

I have no need for a printer so I have disabled cups globally in /etc/make.conf.

But when I want to emerge libreoffice, portage wants to install cups via ghostscript-gpl.

Code: Select all

[ebuild  N     ] net-print/cups-1.4.8-r1  USE="X acl dbus jpeg pam png ssl threads tiff -debug -gnutls -java -kerberos -ldap -perl -php -python -samba -slp -static-libs -xinetd" LINGUAS="-da -de -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 
[ebuild  N     ] app-text/ghostscript-gpl-9.04-r4  USE="X cups dbus gtk -bindist -djvu -idn -jpeg2k -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW" 
[ebuild  N     ] app-office/libreoffice-3.4.3.2-r1  USE="dbus gtk opengl vba (-aqua) -bash-completion -binfilter -branding -custom-cflags -debug -eds -gnome -graphite -gstreamer -java -kde (-kdeenablefinal) -ldap -mysql -nsplugin -odk -python -templates -test -webdav" LINGUAS="-de -en_GB -en_ZA -es -fr -hu -it" 

The following USE changes are necessary to proceed:
#required by net-print/cups-1.4.8-r1, required by app-office/libreoffice-3.4.3.2-r1, required by libreoffice (argument)
>=app-text/ghostscript-gpl-9.04-r4 cups

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.
I must be doing something stupid or missing something here but I can not figure out what...

This is on a fresh install. I never had this problem on previous installs
If somebody could point me in a right direction...
Thanks
Top
ferreirafm
Guru
Guru
Posts: 487
Joined: Thu Jul 28, 2005 7:08 pm
Location: Sao Paulo, Brazil

  • Quote

Post by ferreirafm » Tue Nov 01, 2011 5:43 pm

Hi rezrey,
f you don't want to to install cups, remove the cups USE flag from ghostscript them. It is the default for ghostscript and is independent from you make.conf. If you remove it, however, you won't be able to print to file throughout the virtual printer.
G'luck
Top
rezrey
n00b
n00b
Posts: 6
Joined: Thu Dec 24, 2009 11:39 pm
Location: Koekelare, Belgium

  • Quote

Post by rezrey » Tue Nov 01, 2011 5:51 pm

Thank you for your answer ferreirafm,

but even when I disable cups for ghostscript-gpl in /etc/portage/package.use
it still shows '+cups' ... ???
Top
codestation
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 126
Joined: Sun Nov 09, 2008 8:41 pm
Location: /dev/negi

  • Quote

Post by codestation » Tue Nov 01, 2011 6:03 pm

The cups dep for libreoffice isn't optional (check the ebuild), so you are out of luck. You could ask the maintainer for that ebuild why the cups dep is enforced if it has a --enable-cups in the configure (i assume that it can be disabled too).
Just feel the code...
Top
ferreirafm
Guru
Guru
Posts: 487
Joined: Thu Jul 28, 2005 7:08 pm
Location: Sao Paulo, Brazil

  • Quote

Post by ferreirafm » Tue Nov 01, 2011 6:55 pm

Hi rezrey,
codestation is right, you can't disable the cups USE flag from libreoffice. If you really don't want to install cups, an alternative would be to mask cups or use the libreoffice-bin package. However, it may not work if libreoffice were hardly dependent on cups.
G'Luck
Top
PM17E5
Apprentice
Apprentice
User avatar
Posts: 241
Joined: Tue Feb 10, 2009 5:55 pm

  • Quote

Post by PM17E5 » Mon Nov 07, 2011 4:20 pm

I too am kind of annoyed at this and have no need to print anything. For now I'm just going to go with it but I hope this gets resolved in the future ebuilds.
Top
scarabeus
Developer
Developer
User avatar
Posts: 95
Joined: Sat Oct 25, 2008 10:47 pm
Location: Europe/Prague

  • Quote

Post by scarabeus » Tue Nov 08, 2011 10:01 pm

It wont go away.

Configure switch in 3.4 series is broken.
3.5 series does not provide the switch anymore.

It used to switch between cups printing/internal hardcoded printing support, where the later was removed from 3.5 series.
Top
krenshala
Tux's lil' helper
Tux's lil' helper
Posts: 85
Joined: Sat Jan 28, 2006 6:50 am
Location: Austin TX, NorAm, Sol III

  • Quote

Post by krenshala » Sat Nov 19, 2011 4:53 pm

scarabeus wrote:It wont go away.

Configure switch in 3.4 series is broken.
3.5 series does not provide the switch anymore.

It used to switch between cups printing/internal hardcoded printing support, where the later was removed from 3.5 series.
So, no matter what I am forced to install cups on my system, even though I have been happy running without it for the last six years?

Oh, joy ... so instead of remerging about a dozen packages, I find I need to install 85 all because someone decided I needed to have cups installed. :evil:
krenshala
:wq
Top
seansmr
n00b
n00b
Posts: 58
Joined: Sun Dec 04, 2011 6:11 am
Location: Canada

  • Quote

Post by seansmr » Sat Dec 24, 2011 9:01 am

How disappointing, to have to install a package that will never actually do anything.

At least, if you set cups in package.use and leave -cups in make.conf, you don't have to enable cups support in other packages.
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Sat Dec 24, 2011 10:13 am

seansmr wrote:At least, if you set cups in package.use and leave -cups in make.conf, you don't have to enable cups support in other packages.
Well, might as well not care in this situation, then...

I've also hit this and been pretty pissed about it, I used openoffice-bin for now, but since I only need calc and writer, I'm currently trying if I can live with abiword and gnumeric alone(don't need MS compability anyways).

As for the package, it's a shame thinking about the global plans for the "paperless office", but well, a lot of FOSS packages suck more and more.
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Mon Dec 26, 2011 1:08 am

Can't you put cups into /etc/portage/profile/package.provided?
Or maybe use the libreoffice-bin version?
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Mon Dec 26, 2011 3:35 pm

Martux wrote:Can't you put cups into /etc/portage/profile/package.provided?
Or maybe use the libreoffice-bin version?
Haven't tried package.provided, but lo-bin also tries to force cups

Code: Select all

USE=-cups emerge -ptv libreoffice-bin

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] app-office/libreoffice-bin-3.4.3.2-r1  USE="(-aqua) -gnome -java -kde (-kdeenablefinal)" 105,744 kB
[nomerge       ]  net-print/cups-1.4.8-r22  USE="X acl dbus jpeg ldap pam png ssl threads tiff usb -debug -gnutls -java -kerberos -perl -php -python -samba -slp -static-libs -xinetd" LINGUAS="de -da -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 
[ebuild  N     ]   app-text/ghostscript-gpl-9.04-r5  USE="X cups -bindist -dbus -djvu -gtk -idn -jpeg2k -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW" 29,181 kB
[ebuild  N     ]    net-print/cups-1.4.8-r22  USE="X acl dbus jpeg ldap pam png ssl threads tiff usb -debug -gnutls -java -kerberos -perl -php -python -samba -slp -static-libs -xinetd" LINGUAS="de -da -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 4,441 kB
[ebuild  N     ]     app-text/poppler-0.18.2  USE="cairo cxx introspection jpeg lcms png qt4 tiff utils xpdf-headers -cjk -curl -debug -doc -jpeg2k" 1,937 kB
[ebuild  N     ]    media-fonts/urw-fonts-2.4.9  USE="X" 3,124 kB
[ebuild  N     ]    app-text/poppler-data-0.4.5  4,030 kB
[ebuild  N     ]   net-nds/openldap-2.4.25-r1  USE="berkdb crypt ipv6 minimal ssl tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -odbc -overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd -syslog" 5,128 kB
[ebuild  N     ]  dev-libs/redland-1.0.15  USE="berkdb ssl xml -iodbc -mysql -odbc -postgres -sqlite -static-libs" 1,563 kB
[ebuild  N     ]   dev-libs/rasqal-0.9.28  USE="crypt mhash pcre xml -doc -gmp -static-libs -test" 1,473 kB
[ebuild  N     ]    media-libs/raptor-2.0.6  USE="curl unicode xml -debug -json -static-libs" 1,645 kB
[ebuild  N     ]    app-crypt/mhash-0.9.9.9  USE="-static-libs" 910 kB
[ebuild  N     ]  dev-db/unixODBC-2.3.0-r1  USE="minimal -odbcmanual -static-libs" 1,763 kB
[ebuild  N     ]  sci-mathematics/lpsolve-5.5.2.0  USE="-static-libs" 720 kB
[ebuild  N     ]   sci-libs/colamd-2.7.3  USE="-static-libs" 54 kB
[ebuild  N     ]    sci-libs/ufconfig-3.6.1  USE="-static-libs" 8 kB
[ebuild  N     ]  app-office/libreoffice-l10n-3.4.3-r3  USE="-offlinehelp" LINGUAS="de en -af -ar -as -ast -be -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso -oc -or -pa_IN -pl -pt -pt_BR -ro -ru -rw -sat -sd -sh -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 5,439 kB
[ebuild  N     ]  app-text/libwpg-0.2.1  USE="-doc -static-libs" 328 kB
[ebuild  N     ]  dev-libs/hyphen-2.8.3  USE="-static-libs" 600 kB
[ebuild  N     ]  app-text/libwps-0.2.4  USE="-debug -doc -static-libs" 266 kB
[ebuild  N     ]  media-gfx/graphite2-1.0.3-r1  USE="-perl -test" 4,251 kB
[ebuild  N     ]  app-text/mythes-1.2.2  USE="-static-libs" 4,792 kB
[nomerge       ] net-print/cups-1.4.8-r22  USE="X acl dbus jpeg ldap pam png ssl threads tiff usb -debug -gnutls -java -kerberos -perl -php -python -samba -slp -static-libs -xinetd" LINGUAS="de -da -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 
[ebuild  N     ]  app-text/libpaper-1.1.24-r1  347 kB
[nomerge       ] app-text/libwps-0.2.4  USE="-debug -doc -static-libs" 
[ebuild  N     ]  app-text/libwpd-0.9.4  USE="tools -doc -test" 615 kB
[blocks B      ] app-office/libreoffice-bin ("app-office/libreoffice-bin" is blocking app-office/openoffice-bin-3.3.0)
[blocks B      ] app-office/openoffice-bin ("app-office/openoffice-bin" is blocking app-office/libreoffice-bin-3.4.3.2-r1)

Total: 23 packages (23 new), Size of downloads: 178,350 kB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-office/openoffice-bin-3.3.0::gentoo, installed) pulled in by
    app-office/openoffice-bin required by @selected

  (app-office/libreoffice-bin-3.4.3.2-r1::gentoo, ebuild scheduled for merge) pulled in by
    libreoffice-bin


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
The following USE changes are necessary to proceed:
#required by net-print/cups-1.4.8-r22, required by app-office/libreoffice-bin-3.4.3.2-r1, required by libreoffice-bin (argument)
>=app-text/ghostscript-gpl-9.04-r5 cups
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Mon Dec 26, 2011 9:49 pm

Tricky :)
Emerge cups, then libreoffice, then unmerge cups and put in in package.provided? 8)
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Tue Dec 27, 2011 1:50 pm

Martux wrote:Tricky :)
Emerge cups, then libreoffice, then unmerge cups and put in in package.provided? 8)
Haha, nein. Danke :evil:

May be a "solution", but now for me, just don't care enough.
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Tue Dec 27, 2011 1:52 pm

So did you find another solution or are you just going to live with cups? I mean who cares, you don't even have to start the service anyways.
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Tue Dec 27, 2011 2:06 pm

Well, as I said, I'm now using abiword/gnumeric and (la)tex. If I'd really need some of the office-suites, I could probably live with this dep, but then again, I could also ssh into wifey's Fedora-Box and use her printer.
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Top
acheron2
Tux's lil' helper
Tux's lil' helper
Posts: 106
Joined: Wed Jan 17, 2007 10:43 am

  • Quote

Post by acheron2 » Sun Feb 19, 2012 1:11 pm

How about a package that only installs CUPS headers? Will LibreOffice compile with that? Has anybody tried it?
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sun Feb 19, 2012 3:44 pm

I understand the complaints about the cups dependency (have you tried yet to minimize the USE dependencies for the cups package? one can strip those down a lot) BUT if I understood correctly it's just a switch from some hardcoded internal printing code that was previously hidden from you but nevertheless existed, to a system dependency. Which is perfectly fine from a Gentoo viewpoint, or isn't it?
Top
gerard27
Advocate
Advocate
Posts: 2377
Joined: Sun Jan 04, 2004 3:30 pm
Location: Netherlands

  • Quote

Post by gerard27 » Wed Feb 29, 2012 10:10 am

I wish people would make up their minds re cups or no cups USE flag for lo.
I did emerge -uDN world yesterday and it re-emerged lo with +cups.
Today it wants to re-emerge lo again with -cups!!!
I do want to print from lo,will this prevent it from printing?
Gerard.
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Top
Post Reply

19 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic