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.
I can confirm this. carlo: should a local use flag for optional support be added or force it to be installed stright away?
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.
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.
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.
(In reply to comment #4) > Sorry for trying to help. I do thank you, do not missunderstand my words. :)
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.
I'll set this as hard dependency for now. Once 'on by default' local flags feature is stable we might change it.
Fixed in CVS. Thanks for reporting it.