Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Using KDE apps in a non KDE environment
Date: Fri, 02 Oct 2015 20:33:53
Message-Id: 20151002203309.GA13349@waltdnes.org
In Reply to: Re: [gentoo-user] Re: Using KDE apps in a non KDE environment by Alan McKinnon
1 On Fri, Oct 02, 2015 at 06:30:03PM +0200, Alan McKinnon wrote
2
3 > With situations like this, one has to apply some intelligence (and the
4 > reverse is also true - running gtk/Gnome apps on a KDE system). A few
5 > simple apps like say okular or konsole will be very manageable, as they
6 > have specific narrow functionality and are not core.
7
8 You'd be surprised. First some background on my system. When I
9 installed it as 32-bit years ago, I went with USE="-*" like so...
10
11 USE="-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin
12 offensive openssl posix readline ssl threads vim-syntax zlib X dga dri
13 exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg opengl png rtmp
14 theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid xvmc"
15
16 When I re-did it as 64-bit, I went to "the regular way" like so...
17
18 USE="X apng bindist ffmpeg jpeg png truetype x264 x265 xorg -acl -berkdb
19 -chatzilla -cracklib -crypt -gallium -gdbm -gmp-autoupdate -graphite
20 -gstreamer -iconv -introspection -ipc -iptables -ipv6 -libav -llvm -nls
21 -openmp -pam -pch -roaming -sendmail -tcpd -udev -udisks -unicode
22 -upower -xinerama"
23
24 When Xpdf was deprecated, I eventually settled on mupdf, which is nice
25 and lightweight. I skipped okular, because it brought in a big chunk of
26 KDE. Just for ####s and giggles, I had a look today at what would be
27 required to build okular on my system. Repeat emerge commands showed
28 that my package.use would require the following extras...
29
30 dev-qt/qtcore qt3support
31 app-text/poppler qt4
32 dev-qt/qtsql qt3support
33 dev-qt/qtgui qt3support
34 sys-apps/dbus X
35 media-video/vlc dbus ogg vorbis
36 sys-libs/zlib minizip
37 sys-libs/ncurses unicode
38 sys-auth/consolekit policykit
39 dev-qt/qtdeclarative qt3support
40 dev-qt/qtopengl qt3support
41
42 File-attached is the "emerge -pv okular" output. To summarize...
43 Total: 53 packages (50 new, 3 reinstalls), Size of downloads: 329,492 KiB
44
45 ...because a pdf-reader really needs libogg, libvorbis, www-misc/htdig,
46 qtcore-4.8.6-r4, 2 versions of qtgui, qt3support, qtwebkit, libdbusmenu,
47 strigi, spidermonkey, phonon, vlc, polkit, consolekit, etc, etc.
48
49 Similarly, gnumeric is a great spreadsheet, but it's being loaded
50 with a ton of egregiously unnecessary GNOME dependancies, via gtk3
51 and goffice. Remember when Bill Gates showed how IE.EXE was an
52 eensy-weensy-teensy-itty-bitty little program that you could easily
53 remove? But he failed to mention that it was merely an interface to a
54 whole bunch of Windows libraries that were continuously running in the
55 background. Similarly, gnumeric has been adding hard dependancies on
56 various GNOME libraries over time.
57
58 I try to keep a minimal profile. Every so often, stuff like dbus,
59 harfbuzz, ghostscript, etc, etc, have been added as hard dependancies
60 to gnumeric. I'd be willing to contribute money to developers who would
61 fork gnumeric, and move it off of GTK and on to FTLK (Fast Light Tool
62 Kit) http://www.fltk.org/index.php and get rid of hard dependancies on
63 a bunch of GNOME stuff.
64
65 --
66 Walter Dnes <waltdnes@××××××××.org>
67 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Re: Using KDE apps in a non KDE environment Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Re: Using KDE apps in a non KDE environment Walter Dnes <waltdnes@××××××××.org>