Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Trying to disable semantic-desktop use env var
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1725
Location: San Jose, CA

PostPosted: Mon Jan 23, 2012 1:13 am    Post subject: [solved] Trying to disable semantic-desktop use env var Reply with quote

semantic-desktop is causing me grief. akonadi sucks all my cpus until I kill its three sequential processes. To alleviate that problem I'm trying to disable semantic-desktop in my USE var, but it doesn't work.

I changed the var did an emerge -DNuv world and then once I tried the revdep-rebuild I got this message:


Code:
emerge -pv kdelibs nepomuk kdepimlibs kdepim-runtime klinkstatus kdepim-common-libs akonadiconsole kalarm korganizer kaddressbook kjots knode kmail

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] kde-base/kdelibs-4.7.4  USE="acl alsa bzip2 fam handbook jpeg2k mmx nls opengl (policykit) semantic-desktop* spell sse sse2 ssl udev udisks upower -3dnow (-altivec) (-aqua) -bindist -debug -doc -kerberos -lzma -openexr -test -zeroconf" 0 kB                                                             
[ebuild   R    ] kde-base/nepomuk-4.7.4  USE="handbook (-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/kdepimlibs-4.7.4-r1  USE="handbook ldap semantic-desktop* (-aqua) -debug -test" 0 kB
[ebuild   R    ] kde-base/kdepim-runtime-4.7.4  USE="(-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/klinkstatus-4.7.4 [4.3.5] USE="handbook tidy (-aqua) -debug (-kdeenablefinal%) (-kdeprefix%)" 2,655 kB                                                                                   
[ebuild   R    ] kde-base/kdepim-common-libs-4.7.4  USE="(-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/akonadiconsole-4.7.4  USE="(-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/kalarm-4.7.4  USE="handbook (-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/korganizer-4.7.4  USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/kaddressbook-4.7.4  USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/kjots-4.7.4  USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/knode-4.7.4  USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild   R    ] kde-base/kmail-4.7.4-r1  USE="handbook kontact (-aqua) -debug -test" 0 kB

Total: 13 packages (1 upgrade, 12 reinstalls), Size of downloads: 2,655 kB

The following USE changes are necessary to proceed:
#required by kde-base/klinkstatus-4.7.4, required by klinkstatus (argument)
>=kde-base/kdepimlibs-4.7.4-r1 semantic-desktop
#required by kde-base/nepomuk-4.7.4, required by nepomuk (argument)
=kde-base/kdelibs-4.7.4 semantic-desktop


I have -semantic-desktop in my USE statement, why the hell is it trying to enable it for kdepimlibs?

Is there a way around this or is semantic-desktop required for KDE 4.7?

Thanks in advance,

Raydude

PS

Here's emerge --info: (but its incomplete, it does not show all of my use lines. Don't know why.

Code:
Portage 2.1.10.41 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.1.4-gentoo x86_64)
=================================================================
System uname: Linux-3.1.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Sun, 22 Jan 2012 17:00:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.4.6, 2.6.6-r2, 2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.3.4, 4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-local vmware secondlife
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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"
CPPFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local /var/lib/layman/vmware /var/lib/layman/secondlife"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi administrator akonadi alsa amd64 ao aspell audio audiofile bash-completion berkdb binary-drivers bittorrent bluetooth bonjour boost branding bzip2 cairo cdda cddax cddb cdio cdparanoia cdr cdrom cdsound cgi cleartype cli cmake consolekit corefonts cracklib crypt css csv cups cupsddk curl curlwrappers cxx dbus dc1394 dcc dcc_video dcc_voice declarative device-mapper dhcpcd disk-partition diskio dri dts dvd dvdr eclipse efi emacs emacs22icons emboss emoticon encode exif extras faac faad fam fat fax fbcon fbcondecor ffmpeg fftw firefox flac fmod fortran ftp fuse games gd gdbm gdu gif gimp git glib gnome gnutls gpm gstreamer gtk hal hpcups hpijs html htmltidy iconv id3 id3tag ieee1394 ipv6 irda jpeg jpeg2k kde kdm kipi lame laptop lcms ldap libnotify lm_sensors logviewer mad matroska midi mjpeg mmx mng modules mozilla mp3 mp3tunes mp4 mpd mpeg mplayer mudflap multilib mysql mythtv ncurses net nfs nfsv3 nfsv4 nls nptl nptlonly nsplugin nvidia nxclient ogg ogg123 openal opengl openmp openssl oss oxygen pam pango pcre pdf phonon php plasma png policykit posix postscript ppds pppd qt3support qt4 qtmultimedia quicktime rar raw rdesktop readline samba samba4 scanner sdl session sftp sms spell sql sse sse2 sse3 ssl startup-notification subversion svg sysfs syslog tcpd theora thesaurus thunderbird tidy tiff tk truetype twolame udev udev-acl unicode unzip upnp usb v4l2 vdpau video vorbis wav webcam webkit wma x264 xcb xcomposite xinerama xml xorg xorgmodule xscreensaver xulrunner xv 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 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 stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia 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:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Some day there will only be free software.


Last edited by RayDude on Mon Jan 23, 2012 7:44 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2630

PostPosted: Mon Jan 23, 2012 1:56 am    Post subject: Reply with quote

Well unfortunately just changing the use flag does not go smoothly. I had to emerge -C some stuff and then run depclean to get portage to stop trying to pull that stuff. Here is a list of programs that would be installed if I reset the semantic-desktop:

dev-db/libiodbc-3.52.7
dev-libs/shared-desktop-ontologies
dev-db/virtuoso-odbc
dev-db/virtuoso-server
dev-libs/soprano
app-office/akonadi-server
kde-base/nepomuk

I think nepomuk is the trouble maker, but I don't really remember.
I hope this is helpful.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5589

PostPosted: Mon Jan 23, 2012 6:21 am    Post subject: Reply with quote

I don't have it enabled too, not sure how I did it and I'm at work now (we have fedora 8 here not gentoo) so I can double check when I'll get home but I'm sure that I don't have nepomuk installed.

try the following, remove nepomuk, disable the flag and run emerge -atvuDN world.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1725
Location: San Jose, CA

PostPosted: Mon Jan 23, 2012 7:43 am    Post subject: Reply with quote

This did it for me:

Code:

emerge --update --newuse --deep --with-bdeps=y @world
emerge --depclean
revdep-rebuild

_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
orionbelt
Apprentice
Apprentice


Joined: 05 Apr 2006
Posts: 171
Location: Brussels, Belgium

PostPosted: Sat Mar 03, 2012 1:16 am    Post subject: Reply with quote

RayDude wrote:
This did it for me:

Code:

emerge --update --newuse --deep --with-bdeps=y @world
emerge --depclean
revdep-rebuild

I've been trying for some time now to install korganizer without semantic-desktop. Nearly two years ago i was told that our KDE malevolent dictators have decided to force semantic-desktop down our throats whether we like it or not and there's nothing that Gentoo can do about it. Apparently the semantics of offering downgraded and crippled applications throughout KDE4 is of lesser concern to them... :?

So i was very glad to read that you found a solution, but i am not sure why or how it works :) . I run "emerge --update --deep --newuse --ask --verbose --tree world" every time i update my system. From the emerge man pages, i am not sure what the difference between world and @world might be (i think none), nor can i tell why--with-bdeps=y makes a difference here. From the man page for the --with-bdeps option: "In dependency calculations, pull in build time dependencies that are not strictly required. This defaults to ´n´ for installation actions, meaning they will not be installed." So if you instead say 'y', which dependencies will be installed in our case here, and how does this solve the problem?

Just to be clear, my aim here is to install korganizer without pulling along the semantic-desktop stuff such as nepomuk. Some of these nasties can presumably be deactivated from KDE's control panel once installed, but i am not sure this can be done for all of them, and why have them installed in the first place if i know i won't need them? After all, Gentoo is about configurability and choice, is it not...
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2630

PostPosted: Sat Mar 03, 2012 1:29 am    Post subject: Reply with quote

Quote:
Just to be clear, my aim here is to install korganizer without pulling along the semantic-desktop stuff such as nepomuk. Some of these nasties can presumably be deactivated from KDE's control panel once installed, but i am not sure this can be done for all of them, and why have them installed in the first place if i know i won't need them? After all, Gentoo is about configurability and choice, is it not...

First off, korganizer requires use=semantic-desktop. And you are correct about not being able to disable all of the semantic stuff from system settings. Gentoo is indeed about choice: you can choose to use KDE or not. You can chose to use that particular app or not. It would be completely impractical to rewrite KDE to remove the semantic desktop dependency from all the apps.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
orionbelt
Apprentice
Apprentice


Joined: 05 Apr 2006
Posts: 171
Location: Brussels, Belgium

PostPosted: Sat Mar 03, 2012 2:30 am    Post subject: Reply with quote

Dear swordmaster,

Thanks for the super-fast reply :)

Quote:
First off, korganizer requires use=semantic-desktop. And you are correct about not being able to disable all of the semantic stuff from system settings.

Bummer...

Quote:
Gentoo is indeed about choice: you can choose to use KDE or not.

Well, my problem is with korganizer, not with KDE. If i stop using KDE, i'll still have this problem unless i find a korganizer replacement (see below).

But since you mentioned it... :) I did exit KDE some years ago, switching to XFCE. But after a while i switched back to KDE because several aspects of XFCE were even more half-baked than KDE, first among them being an almost complete lack of internationalization. I mean, if i locked my screen while on a non-latin keyboard layout, i'd have to kill X because i could not switch keyboard layouts while the screen was locked in order to type my password! ! (that was about 6 years ago, not sure whether they fixed it now)

The point is, KDE is not just "yet another" linux app. It is an infrastructure component, a major front end for linux and a very good one at that, offering a very flexible and configurable (not to mention good-looking) Window Manager, for example. Indeed, i use KDE mostly as a WM, i only have a very small number of KDE apps that i use, and i am mostly a console user. There is a huge investment (of man-hours as well as of hopes!) to KDE to adopt a "like it or leave it" approach so lightly, especially when i don't see why it would be so hard to accommodate most everyone's needs...


Quote:
You can chose to use that particular app or not.

Well, i've been trying to find a worthy (for my needs) replacement for some time now, to no avail. I'd be glad to consider suggestions from people. Most of my problems stem from my need for relatively sophisticated recurrence rules, and none of the packages i checked out support them. For example, i just tried Osmo again and i saw no improvements in its recurrence abilities since a couple of years ago... I'd have no problem using a command-line tool, but i'd still like it to pop up reminder windows. And even though i use complex rules, i'd rather steer away from Turing-complete organizer languages that i'd have to think about hard and debug to be sure i get my reminder when i must! ;-)

Still, this is an option that i *am* currently exploring, for example i could perhaps play with one of the available python calendar/organizers to see if i can adapt it to my needs... But it's sad having to abandon korganizer just for semantic-desktop when *i do not see why on earth it should be a required dependence* !

Quote:
It would be completely impractical to rewrite KDE to remove the semantic desktop dependency from all the apps.

Perhaps they should have thought through the consequences of their choice *before* adding the semantic-desktop dependences to KDE ?

Just as they could have perhaps thought about the consequences of having a limited number of developers when they decided to make KDE4 a complete rewrite, which led to downgrading the features and/or level of bugginess of many *core* KDE3 applications like konsole, kmix, and the keyboard layout switcher (just to name a few) and even discontinuing others?...
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1725
Location: San Jose, CA

PostPosted: Wed Mar 07, 2012 7:34 pm    Post subject: Reply with quote

Sorry I didn't reply sooner. Many kde apps require symantic-desktop, kmail does. Disabling it requires that you emerge -C all the apps that need it. I think there's an equery to do that, I simply equery list "*" | grep kde and removed everything, then set -symantic-desktop and emerged kde-meta.

Sorry this is so loose, I'm drawing from memory.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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