Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting rid of 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
vlynd
n00b
n00b


Joined: 23 Jan 2012
Posts: 42

PostPosted: Sun Apr 20, 2014 3:19 pm    Post subject: Getting rid of cups Reply with quote

I am trying to get rid of cups. I don't have a printer and therefor I don't need it.
So in my make.conf, I got the flag -cups.
But it seems impossible. When I unmerge cups and cups-filters, it is always coming back.

Also, ghostscript-gpl always seems to need cups, event if I compile it with the -curl flag.

Code:
# emerge -aqv --update --deep --with-bdeps=y --newuse world
[ebuild  N    ] sys-libs/zlib-1.2.8-r1  USE="minizip -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N    ] net-print/cups-1.7.1-r1  USE="X acl dbus gnutls pam python ssl systemd threads usb -debug -java -kerberos -lprng-compat (-selinux) -static-libs -xinetd -zeroconf" LINGUAS="-ca -es -fr -it -ja -ru" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
[ebuild  N    ] app-text/ghostscript-gpl-9.10-r2  USE="cups dbus -X -bindist -djvu -gtk -idn -static-libs" LINGUAS="de -ja -ko -zh_CN -zh_TW"
[ebuild  N    ] net-print/cups-filters-1.0.43-r1  USE="dbus foomatic jpeg perl png tiff -static-libs -zeroconf"

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-print/cups-1.7.1-r1
# required by net-print/cups-filters-1.0.43-r1
=app-text/ghostscript-gpl-9.10-r2 cups


Why?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32091
Location: 56N 3W

PostPosted: Sun Apr 20, 2014 3:28 pm    Post subject: Reply with quote

vlynd,

Code:
emerge -aqv --update --deep --with-bdeps=y --newuse --tree world

or
Code:
equery depends cups
The latter works with installed packages, the former formats the emerge output.

However app-text/ghostscript-gpl-9.10-r2 cups the cups USE flag is on in ghostscript-gpl.
Is that set in your package.use perhaps?

From the ebuid
Code:
IUSE="bindist cups dbus djvu gtk idn linguas_de static-libs X"
so cups is not forced on there.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
vlynd
n00b
n00b


Joined: 23 Jan 2012
Posts: 42

PostPosted: Sun Apr 20, 2014 3:34 pm    Post subject: Reply with quote

Thanks for the fast reply.

Code:
# equery depends cups
 * These packages depend on cups:
dev-java/icedtea-bin-6.1.12.7 (cups ? >=net-print/cups-1.4)
dev-java/icedtea-bin-7.2.4.3 (X ? >=net-print/cups-1.4)
                             (cups ? >=net-print/cups-1.4)
dev-qt/qtgui-4.8.5-r1 (cups ? net-print/cups)
gnome-base/gnome-settings-daemon-3.10.2 (cups ? >=net-print/cups-1.4[dbus])
net-wireless/bluez-5.15 (cups ? net-print/cups)
www-client/chromium-34.0.1847.116 (cups ? >=net-print/cups-1.3.11)
x11-libs/gtk+-2.24.23 (cups ? net-print/cups)
x11-libs/gtk+-3.10.8 (cups ? >=net-print/cups-1.2)


When I look at the use-flags of all that packages, I see that none of them has the cups-flag enabled (except ghostscript):

Code:
# emerge -avq =dev-java/icedtea-bin-6.1.12.7 =dev-java/icedtea-bin-7.2.4.3 =dev-qt/qtgui-4.8.5-r1 =gnome-base/gnome-settings-daemon-3.10.2 =net-wireless/bluez-5.15 =www-client/chromium-34.0.1847.116 =x11-libs/gtk+-2.24.23 =x11-libs/gtk+-3.10.8
[ebuild  N    ] sys-libs/zlib-1.2.8-r1  USE="minizip -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild   R   ] x11-libs/gtk+-2.24.23  USE="introspection (-aqua) -cups -debug -examples {-test} -vim-syntax -xinerama"
[ebuild   R   ] dev-qt/qtgui-4.8.5-r1  USE="accessibility exceptions glib mng qt3support tiff xv (-aqua) -cups -debug -egl -gtkstyle -nas -nis -pch -trace -xinerama"
[ebuild   R   ] net-wireless/bluez-5.15  USE="obex readline systemd -cups -debug (-selinux) {-test}"
[ebuild   R   ] x11-libs/gtk+-3.10.8  USE="X colord introspection (-aqua) -cups -debug -examples (-packagekit) {-test} -vim-syntax -wayland -xinerama"
[ebuild   R   ] dev-java/icedtea-bin-6.1.12.7  USE="X alsa nsplugin -cjk -cups -doc -examples -source"
[ebuild   R   ] www-client/chromium-34.0.1847.116  USE="pulseaudio tcmalloc -aura -bindist -cups -custom-cflags -gnome -gnome-keyring -kerberos (-neon) (-selinux) {-test}" LINGUAS="de -am -ar -bg -bn -ca -cs -da -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW"
[ebuild   R   ] gnome-base/gnome-settings-daemon-3.10.2  USE="colord i18n policykit udev -cups -debug (-openrc-force) (-packagekit) -short-touchpad-timeout -smartcard {-test}" INPUT_DEVICES="-wacom"
[ebuild  N    ] net-print/cups-1.7.1-r1  USE="X acl dbus gnutls pam python ssl systemd threads usb -debug -java -kerberos -lprng-compat (-selinux) -static-libs -xinetd -zeroconf" LINGUAS="-ca -es -fr -it -ja -ru" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
[ebuild  N    ] app-text/ghostscript-gpl-9.10-r2  USE="cups dbus -X -bindist -djvu -gtk -idn -static-libs" LINGUAS="de -ja -ko -zh_CN -zh_TW"
[ebuild  N    ] net-print/cups-filters-1.0.43-r1  USE="dbus foomatic jpeg perl png tiff -static-libs -zeroconf"
[ebuild   R   ] dev-java/icedtea-bin-7.2.4.3  USE="X alsa nsplugin source -cjk -cups -doc -examples"

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-print/cups-1.7.1-r1
# required by net-print/cups-filters-1.0.43-r1
=app-text/ghostscript-gpl-9.10-r2 cups

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


And the flag isn't enabled in the package.use either:

Code:
# grep cups /etc/portage/package.use
=gnome-base/gnome-3.8.0-r1 classic -extras -accessibility -bluetooth -cdr -cups -flashback
=dev-java/icedtea-bin-7.2.4.3 X alsa nsplugin -cjk -cups -doc -examples source
app-text/ghostscript-gpl -X -cups dbus -gtk -idn -bindist -djvu -static-libs
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32091
Location: 56N 3W

PostPosted: Sun Apr 20, 2014 3:43 pm    Post subject: Reply with quote

vlynd,

I can turn off cups on the command line se it is not being forced on by anything I have installed.
[ebuild UD ] app-text/ghostscript-gpl-9.10-r2 [9.14] USE="X gtk -bindist -cups* -dbus -djvu -idn -static-libs" LINGUAS="-de -ja -ko -zh_CN -zh_TW" 0 kB
Notice the -cups*.

Please post
Code:
emerge --info
and the entire content of /etc/portage/package.use
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
vlynd
n00b
n00b


Joined: 23 Jan 2012
Posts: 42

PostPosted: Sun Apr 20, 2014 3:46 pm    Post subject: Reply with quote

Code:

# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.14.1-gentoo x86_64)
=================================================================
System uname: Linux-3.14.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-3550_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:     3750232 total,   1379232 free
KiB Swap:   23500792 total,  23438760 free
Timestamp of tree: Sun, 20 Apr 2014 10:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://91.121.125.139/gentoo-distfiles/ ftp://91.121.124.139/gentoo-distfiles/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://ftp-stud.hs-esslingen.de/gentoo-portage"
USE="32bit 64bit X a52 aac aalib acl acpi aiglx alsa amd64 apm ares audiofile avi berkdb bigger-fonts bitmap-fonts boost branding bzip2 cairo ccache cdda cdparanoia cdrom cleartype cli colord consolekit corefonts cracklib crypt css ctype curl cxx dbus device-mapper dhcp dri dts dvd dvdr encode exif expat fbcon ffmpeg flac fortran ftp fuse gconf gd gdbm gif glut gmp gnutls gpg gstreamer gtk gtk2 gtk3 gvfs gzip i18n iconv icu idn imlib introspection ipv6 jabber jit jpeg jpeg2k json latex latex3 latexmk lcms libg++ libnotify libsecret libwww lm_sensors logitech-mouse loop-aes lzma mad matroska md5sum memlimit menubar mjpeg mmx mmxext mng modules mouse mp3 mp4 mplayer multilib musepack musicbrainz ncurses nforce2 nls nptl nsplugin nss ntfs ogg oggvorbis opencv opengl openmp openssl opus pam pango pcre pdf perl plugins pmu png policykit posix ppds pulseaudio purple python qt3support qt4 readline rtmp sdl session simplexml smp sndfile soap sockets sox sqlite sqlite3 sse sse-filters sse2 ssh ssl startup-notification suid svg symlink syslog systemd systemd-units tcltk tcpd theora threads tiff timidity tokenizer transcode truetype udev udisks unicode upower usb vcd videos vorbis webgl webkit webm wma wma123 x264 xattr xcb xcomposite xml xpm xscreensaver xsl xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


package.use:
Code:
=net-misc/networkmanager-0.9.8.8 -avahi -consolekit dhcpcd gnutls introspection -nss ppp -systemd -wext -wifi -bluetooth -connection-sharing -dhclient modemmanager -resolvconf -test -vala
=gnome-base/gnome-3.8.0-r1 classic -extras -accessibility -bluetooth -cdr -cups -flashback
=net-im/empathy-3.8.4 -geoloc -gnome -map -debug -gnome-online-accounts -spell -v4l
=net-libs/webkit-gtk-1.8.3-r201 -gstreamer -introspection -jit -webgl -coverage -debug -geoloc -spell -test
=kde-base/kdelibs-4.10.5-r1 semantic-desktop
=kde-base/marble-4.10.5 python -debug -designer-plugin -gps -handbook kde plasma -shapefile -test
=dev-python/PyQt4-4.10.2 declarative sql script
>=media-gfx/exiv2-0.23-r1 xmp
=dev-qt/qtdeclarative-4.8.5 accessibility
=dev-qt/qtsvg-4.8.5 accessibility
=dev-qt/qtgui-4.8.5-r1 accessibility
=dev-qt/qt3support-4.8.5 accessibility
>=gnome-base/gnome-control-center-3.8.6 gnome-online-accounts
=gnome-extra/nm-applet-0.9.8.8 -gconf -introspection -bluetooth -modemmanager
=sys-fs/cryptsetup-1.6.2 gcrypt nls -openssl python udev -kernel -nettle -reencrypt -static -static-libs -urandom
=x11-libs/libdrm-2.4.46 video_cards_nouveau
=dev-python/setuptools-1.1.6 python_targets_python3_2
=virtual/python-argparse-0 python_targets_python3_2
>=virtual/python-argparse-1 python_targets_python3_2
=kde-base/marble-4.11.2 python zip (-aqua) -debug -designer-plugin -gps -handbook kde plasma -shapefile -test
>=gnome-base/gvfs-1.18.3 http
>=dev-libs/folks-0.9.6 eds
=media-libs/sdl-mixer-1.2.12-r3 flac mad mikmod mp3 multilib timidity vorbis wav -fluidsynth midi mod -modplug -playtools -smpeg -static-libs
=dev-python/pip-1.4.1 python_targets_python3_2
dev-vcs/git blksha1 curl gnome-keyring gpg gtk iconv -nls pcre perl python threads webdav -cgi -cvs -doc -emacs -highlight -mediawiki
=kde-base/marble-4.11.5 python zip (-aqua) -debug -designer-plugin -gps -handbook kde plasma -shapefile -test
=media-sound/pulseaudio-4.0  X alsa -asyncns -avahi caps dbus gdbm glib gnome -gtk -ipv6 orc -qt4 -ssl systemd -tcpd udev -webrtc-aec -bluetooth -doc -equalizer -jack -libsamplerate -lirc (-neon) (-oss) -realtime (-system-wide) {-test} -xen
=dev-java/antlr-2.7.7-r2 java
=dev-java/ant-1.9.2 -X -antlr -bcel -bsf -commonslogging -commonsnet -javamail -jdepend -jsch -log4j -oro -regexp -resolver -jai -jmf -testutil
>=dev-python/PyQt4-4.10.3-r2 declarative sql script
=dev-java/icedtea-bin-7.2.4.3 X alsa nsplugin -cjk -cups -doc -examples source
=app-office/libreoffice-bin-4.1.4.2  -gnome
media-sound/beets -beatport -bpd chroma -convert -discogs -doc -echonest_tempo -lastgenre -replaygain
=games-emulation/snes9x-1.53 alsa gtk multilib nls opengl png pulseaudio xrandr xv zlib -debug joystick -netplay -oss -portaudio
app-backup/backintime gnome -kde
app-editors/gvim -acl -gpm gtk nls perl python -cscope -debug gnome -motif -neXt -netbeans -ruby
=media-sound/pulseaudio-2.1-r1 X alsa asyncns avahi caps dbus gdbm glib gtk ipv6 orc ssl systemd tcpd udev webrtc-aec -bluetooth -doc -equalizer gnome -jack
dev-util/meld highlight gnome
sys-devel/make -nls -static
sys-devel/gcc cxx fortran -nls nptl openmp -awt -doc -gcj -go -graphite -mudflap -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla
app-text/ghostscript-gpl -X -cups dbus -gtk -idn -bindist -djvu -static-libs
sys-libs/zlib minizip
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4217

PostPosted: Sun Apr 20, 2014 5:41 pm    Post subject: Reply with quote

I have a similar situation, but there is no way around cups if you want to have icedtea:
vlynd wrote:
dev-java/icedtea-bin-7.2.4.3

Unfortunately, icedtea:7 and icedtea-bin:7 depend unconditionally on cups unless you turn off X (I suppose that turning off X would render icedtea rather useless, 'though I did not dare to try.)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32091
Location: 56N 3W

PostPosted: Sun Apr 20, 2014 5:43 pm    Post subject: Reply with quote

vlynd,

That all looks good.

What does
Code:
USE=-cups  emerge -aqv --update --deep --with-bdeps=y --newuse world
tell?
The USE on the command line overrides USE almost everywhere else. I would like to think it will fail and say that something else needs something built with +cups but I have a feeling that it will just work and we will be none the wiser.

Command live USE is normally a very bad thing as portage will not remember the setting but in this case, the information may be useful.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
vlynd
n00b
n00b


Joined: 23 Jan 2012
Posts: 42

PostPosted: Sun Apr 20, 2014 5:49 pm    Post subject: Reply with quote

NeddySeagoon wrote:
vlynd,

That all looks good.

What does
Code:
USE=-cups  emerge -aqv --update --deep --with-bdeps=y --newuse world
tell?
The USE on the command line overrides USE almost everywhere else. I would like to think it will fail and say that something else needs something built with +cups but I have a feeling that it will just work and we will be none the wiser.

Command live USE is normally a very bad thing as portage will not remember the setting but in this case, the information may be useful.


Code:
# USE=-cups  emerge -aqv --update --deep --with-bdeps=y --newuse world
[ebuild  N    ] sys-libs/zlib-1.2.8-r1  USE="minizip -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N    ] net-print/cups-1.7.1-r1  USE="X acl dbus gnutls pam python ssl systemd threads usb -debug -java -kerberos -lprng-compat (-selinux) -static-libs -xinetd -zeroconf" LINGUAS="-ca -es -fr -it -ja -ru" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
[ebuild  N    ] app-text/ghostscript-gpl-9.10-r2  USE="cups dbus -X -bindist -djvu -gtk -idn -static-libs" LINGUAS="de -ja -ko -zh_CN -zh_TW"
[ebuild  N    ] net-print/cups-filters-1.0.43-r1  USE="dbus foomatic jpeg perl png tiff -static-libs -zeroconf"

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-print/cups-1.7.1-r1
# required by net-print/cups-filters-1.0.43-r1
=app-text/ghostscript-gpl-9.10-r2 cups

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


mv wrote:
I have a similar situation, but there is no way around cups if you want to have icedtea:
vlynd wrote:
dev-java/icedtea-bin-7.2.4.3

Unfortunately, icedtea:7 and icedtea-bin:7 depend unconditionally on cups unless you turn off X (I suppose that turning off X would render icedtea rather useless, 'though I did not dare to try.)


Is cups really required for that? Or may it be a good idea to open a ticket for that?
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4217

PostPosted: Sun Apr 20, 2014 6:15 pm    Post subject: Reply with quote

vlynd wrote:
mv wrote:
I have a similar situation, but there is no way around cups if you want to have icedtea:
vlynd wrote:
dev-java/icedtea-bin-7.2.4.3

Unfortunately, icedtea:7 and icedtea-bin:7 depend unconditionally on cups unless you turn off X (I suppose that turning off X would render icedtea rather useless, 'though I did not dare to try.)


Is cups really required for that? Or may it be a good idea to open a ticket for that?

It seems that this bug is not going to be resolved...
Back to top
View user's profile Send private message
Faustov
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2004
Posts: 100
Location: Warsaw

PostPosted: Tue Jul 08, 2014 2:17 pm    Post subject: Reply with quote

It appears that this is a permanent problem for quite some people, now including myself. Something is forcing ghostscript-gpl to USE cups. Has anyone found a way out of this yet? I'd hate something dirty like packages.provided...
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2368
Location: Dallas area

PostPosted: Tue Jul 08, 2014 2:40 pm    Post subject: Reply with quote

for ghostscript-gpl, it looks like the cups use flag doesn't filter out cups-filters if -cups is used (ebuild problem?)

Code:
COMMON_DEPEND="
    app-text/libpaper
    media-libs/fontconfig
    >=media-libs/freetype-2.4.9:2=
    media-libs/jbig2dec
    >=media-libs/lcms-2.5:2
    >=media-libs/libpng-1.6.2:0=
    >=media-libs/tiff-4.0.1:0=
    >=sys-libs/zlib-1.2.7:=
    virtual/jpeg:0
    !bindist? ( djvu? ( app-text/djvu ) )
    cups? ( >=net-print/cups-1.3.8 )
    dbus? ( sys-apps/dbus )
    gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) )
    idn? ( net-dns/libidn )
    X? ( x11-libs/libXt x11-libs/libXext )
"

DEPEND="${COMMON_DEPEND}
    virtual/pkgconfig
"

RDEPEND="${COMMON_DEPEND}
    >=app-text/poppler-data-0.4.5-r1
    >=media-fonts/urw-fonts-2.4.9
    linguas_ja? ( media-fonts/kochi-substitute )
    linguas_ko? ( media-fonts/baekmuk-fonts )
    linguas_zh_CN? ( media-fonts/arphicfonts )
    linguas_zh_TW? ( media-fonts/arphicfonts )
    !!media-fonts/gnu-gs-fonts-std
    !!media-fonts/gnu-gs-fonts-other
    !<net-print/cups-filters-1.0.36-r2 <-------------- (should be locked out like cups above)
"

_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
Faustov
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2004
Posts: 100
Location: Warsaw

PostPosted: Tue Jul 08, 2014 4:19 pm    Post subject: Reply with quote

Nice find!
It seems that (also?) the app-emul/emul-linux-x86-baselibs pulls it in?

Code:

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-print/cups-1.7.3
# required by app-emulation/emul-linux-x86-baselibs-20140508-r14[abi_x86_32]
# required by sys-boot/grub-0.97-r13[ncurses,-static]
# required by @selected
# required by @world (argument)
>=app-text/ghostscript-gpl-9.14 cups


EDIT: and that's the last one, I could just confirm... So - why would the emul pack require cups all of the sudden, without a USE flag to possibly control that? I am sure it wasn't needed before.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2368
Location: Dallas area

PostPosted: Tue Jul 08, 2014 4:57 pm    Post subject: Reply with quote

You should be able to make a copy of the ebuild in your local portage
and add the cups flag for cups-filter or just remove it.
And then create a new Manifest.

I am running ghostscript-gpl-9.05-r1 from my local directory and it doesn't have cups-filter in it.
I may have removed it, it's been so long I don't remember.


As far as the emul-linux-* I'm still running 20131008-r6 and it doesn't pull in cups.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
Faustov
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2004
Posts: 100
Location: Warsaw

PostPosted: Tue Jul 08, 2014 5:22 pm    Post subject: Reply with quote

That's what I did, however it would be better to know why a complex pack like the baselibs decided to use cups unquestionally... I know it didn't used to do so, but I'd like to use the latest one for Steam.
Back to top
View user's profile Send private message
mmogilvi
n00b
n00b


Joined: 13 May 2011
Posts: 25

PostPosted: Wed Jul 09, 2014 3:25 am    Post subject: Reply with quote

Faustov wrote:
That's what I did, however it would be better to know why a complex pack like the baselibs decided to use cups unquestionally... I know it didn't used to do so, but I'd like to use the latest one for Steam.


emul-linux has included 32-bit libcups since 2006. But now when USE=amd_x86_32 is enabled, emul-linux expects net-print/cups to supply the 32-bit libcups, instead of supplying it itself. With amd_x86_32 enabled, emul-linux is now almost more of a virtual package than a real one.

It isn't really worth making emul-linux have finer granularity in what it pulls in, because the current focus of the multilib effort is fixing package dependencies so that they depend directly on the relevant native package instead of on emul-linux, with the long term intent to get rid of emul-linux completely. The most common packages (such as wine) have already been fixed. See https://wiki.gentoo.org/wiki/Multilib_porting_status#Dependency_update_status .

It may already be possible for you to safely uninstall emul-linux. Perhaps you'll need to track down a few remaining reverse dependencies, and work around them somehow. See http://forums.gentoo.org/viewtopic-p-7509542.html?sid=c5b44664c998872c1c014477e22c3048#7509542 for more information about this (especially "Step 1", and also "Some related links").
Back to top
View user's profile Send private message
Faustov
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2004
Posts: 100
Location: Warsaw

PostPosted: Wed Jul 09, 2014 9:39 am    Post subject: Reply with quote

Thank you for the exhaustive response!

Things are a bit clearer now. I'll perform some Steam cleanups now.
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