Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421491 - [kde-overlay] app-editors/kile: change okular depend for USE=ps -> USE=postscript
Summary: [kde-overlay] app-editors/kile: change okular depend for USE=ps -> USE=postsc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-16 21:30 UTC by Kevin Lyles
Modified: 2016-05-21 12:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Lyles 2012-06-16 21:30:54 UTC
The summary says it all.  Here's RDEPEND from the ebuild:

RDEPEND="${DEPEND}
	$(add_kdebase_dep kdebase-data)
	|| (
		$(add_kdebase_dep okular 'pdf?,ps')
		app-text/acroread
	)
	virtual/latex-base
	virtual/tex-base
	pdf? (
		app-text/dvipdfmx
		app-text/ghostscript-gpl
	)
	png? (
		app-text/dvipng
		media-gfx/imagemagick[png]
	)
"

This causes acroread to be used since okular now has postscript in place of ps.

Reproducible: Always

Steps to Reproduce:
1. Re-emerge okular if you haven't already, to get the new use flags
2. Emerge kile without acroread installed

Actual Results:  
Acroread is pulled in even though okular is installed

Expected Results:  
Okular is used to satisfy the dependency

I believe replacing the okular line from RDEPEND with:
		$(add_kdebase_dep okular 'pdf?,postscript')
will do the trick.


$ emerge --info kile
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-3.2.12-desktop-vanilla x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.12-desktop-vanilla-x86_64-AMD_FX-tm-6100_Six-Core_ith-gentoo-2.1
Timestamp of tree: Sat, 16 Jun 2012 20:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usremp/hddtemp.db"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java//fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandborminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmexmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average=9"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafilestrict news parallel-fetch parallel-install protect-owned sandbox sfperms plitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfedbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en_US en"
MAKEOPTS="--jobs=12 --load-average=9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --comce --whole-file --delete --stats --human-readable --timeout=180 --exclude=--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="3dnow X a52 aac acl acpi aim alsa amd64 bash-completion berkdb bluetog btrfs bzip2 cairo caps cjk cli consolekit cracklib crypt cscope css cupsbus declarative dga dri dts dvd dvdr emboss encode exif fam ffmpeg fftw fifontconfig fontforge fortran gd gdbm gif git gpm gsm gtk gtk3 handbook hddicu idn imagemagick inotify ipv6 jabber jpeg jpeg2k kde kipi lame latex lcy libsamplerate lm_sensors lua lzma lzo mad matroska mikmod mmap mmx mng mmp4 mpeg mpi mplayer msn mudflap multilib musicbrainz ncurses network-cronsplugin ntfs ogg openal opencl opengl openmp openvg pam pango pch pcre pdf plasma png policykit portaudio postscript ppds pppd qt3support qt4 readliion smp speex spell sse sse2 sse3 ssl ssse3 startup-notification subversionk tcpd theora threads tiff tk truetype udev udisks unicode upower usb vaam-syntax vnc vorbis vpx wxwidgets x264 xattr xcb xcomposite xinerama xml xsaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atit87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel tel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_pcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps lvm" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx radeon vesa" 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-editors/kile-2.1.2 was built with the following:
USE="(consolekit) handbook (multilib) pdf png (policykit) (-aqua) -debug"

$
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-06-17 05:00:21 UTC
Fixed for gentoo-x86. Leaving open in case kile is also in the kde-overlay.
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2012-06-17 05:46:23 UTC
Fixed in KDE overlay, closing.