Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143584 - digikam asks for dcraw on start but dcraw not part of ebuild dependency
Summary: digikam asks for dcraw on start but dcraw not part of ebuild dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 143776
Blocks: 143603
  Show dependency tree
 
Reported: 2006-08-11 09:25 UTC by Samir M. Nassar
Modified: 2006-08-13 07:42 UTC (History)
1 user (show)

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


Attachments
digikam-0.8.2.ebuild (digikam-0.8.2.ebuild,2.58 KB, text/plain)
2006-08-12 14:28 UTC, Wulf Krueger (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samir M. Nassar 2006-08-11 09:25:18 UTC
Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.4
Last Sync: Thu, 10 Aug 2006 03:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/refugee"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdr cli crypt cups dlloader dri dvd eds elibc_glibc emboss encode foomaticdb gdbm gif gpm gstreamer gtk2 hal ieee1394 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lcms libg++ libwww logitech-mouse mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------------------------------------

On start digikam looks for dcraw but dcraw isn't a dependency of digikam, optional or not. This is with version 8.2.0 of digikam. Digikam works just fine without dcraw. However it should be part of the ebuild.
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-11 12:59:52 UTC
I can confirm this.

carlo: should a local use flag for optional support be added or force it to be installed stright away?
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2006-08-12 14:28:04 UTC
Created attachment 94090 [details]
digikam-0.8.2.ebuild

Here's the 0.8.2 ebuild with the "dcraw" local USE flag (it already exists) and a corresponding conditional dependency added. As dcraw is not vital to using digikam an USE flag is better than making it a mandatory dependency, IMHO.
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-12 15:06:11 UTC
You didn't need to post an ebuild, I'm simply waiting for carlo's reply. However, due to the fact that it shows an error message complaining about it, maybe I should for the dependency to be always installed. We will see.
Comment 4 Wulf Krueger (RETIRED) gentoo-dev 2006-08-12 15:16:10 UTC
Sorry for trying to help. 

The message is just a warning and one can continue using digikam without dcraw. That's why I would prefer a local USE flag. Just my two cents.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-12 15:50:35 UTC
(In reply to comment #4)
> Sorry for trying to help. 

I do thank you, do not missunderstand my words. :)

Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 04:50:12 UTC
For what I've seen in other distributions, cdraw is set as not-optional dependency. I'll set it without USE flag for now. It can be changed later on.
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 06:46:28 UTC
I'll set this as hard dependency for now. Once 'on by default' local flags feature is stable we might change it.
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 07:42:16 UTC
Fixed in CVS. Thanks for reporting it.