The ebuilds both try to install /usr/bin/qalculate as a symlink to /usr/bin/qalculate-{kde,gtk}. No regressions were found in either program when removing the symlink. --- Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64) ================================================================= System uname: 2.6.22-gentoo-r5 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-50 Timestamp of tree: Sat, 22 Sep 2007 16:20:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -msse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildsyspkg ccache collision-protect distcc distlocks metadata-transfer multilib-strict sandbox sfperms sign strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 apache2 arts bash-completion bitmap-fonts bzip2 cdda cdparanoia cdr cli cracklib crypt cups cvs dbus directfb divx dri dts dvd dvdnav dvdr dvdread emerald encode exif fbcon ffmpeg firefox ftp fuse gdbm gif glitz glut gmail gnutls gpm gstreamer gtk gtk2 hal history httpd iconv icq imagemagick imap isdnlog jabber jack jpeg jpeg2k kde kdm keyring lm_sensors maildir mbox midi mime mmx mod mp3 mpd mpeg mplayer mudflap musepack mysql mysqli ncurses network nntp nptl nptlonly nsplugin nvidia ogg opengl openmp oscar pam pcmcia pcre pdf php png pop pppd python qt3 qt4 readline reflection rtsp sdl sdl-image session shout skins smp spl sql sse sse2 ssl statistics stream subversion svg symlink tcpd test tetex threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vim-syntax vlm vorbis webdav widescreen wifi wxwindows x264 xcomposite xinerama xml xorg xosd xscreensaver xvid zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 131642 [details, diff] patch for the qalculate-kde ebuild
Created attachment 131644 [details, diff] patch for the qalculate-gtk ebuild
Hi Torsten, Thanks for the note! I was (sort of) aware if this, but somehow my underlying assumption always was that users would install either the kde or gtk ebuild but not both, since they both offer exactly the same functionality (even though the ebuilds currently don't explicitly disallow it). So the question would be should be disallow installing both at the same time or get rid of the (convenient) link as you suggested? I've no real preference, to be honest. Thanks, Markus
I only noticed the issue because I was testing all the qalculate stuff, it's really unlikely that someone wants to actually use both packages. Yet it is possible. A blocking dependency would be overkill IMO and the symlink isn't used by either .desktop file, so most users will start the qalculate-{gtk,kde} executable directly anyway. That's why I opted for removing the symlink.
I've added a patch for each ebuild removing the link to qalculate. Thanks, Markus