Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Alan McKinnon
On 02/10/2015 17:42, Grant Edwards wrote:
> On 2015-10-02, Andrew Lowe  wrote:
>> Hi all,
>>  I'm getting disillusioned with the direction KDE is taking, with
>> respect to forcing users to use things they don't want to. The semantic
>> desktop, or whatever they are now calling bits and pieces of it, is one
>> thing that comes immediately to mind.
>>
>>  Anyway, I've decided to move on and am thinking of going to lxqt. The
>> problem is that I'm used to several KDE apps, kwooty, kwrite and a few
>> more. Is it possible to run something such as lxqt and then emerge in
>> kde apps where it will bring in just a few kde libraries, which I can
>> live with, but not the whole desktop environment?
> 
> Yes, for some value of "a few libraries".
> 
> I've used KDE apps on XFCE systems (which is gtk based).  It can be
> done. It requires a lot of KDE librarys, but you don't have to use the
> KDE desktop.
> 
> But, in my experience, whenever there's a major upgrade to KDE and you
> have KDE apps that require different versions of libraries, or
> backwards compatibility features built into libraries, it gets ugly
> fast.  At that point, I ususally end up uninstalling all KDE apps/libs
> and doing without for a while.


With situations like this, one has to apply some intelligence (and the
reverse is also true - running gtk/Gnome apps on a KDE system). A few
simple apps like say okular or konsole will be very manageable, as they
have specific narrow functionality and are not core.

As soon as you get into apps like dolphin or, god forbid, plasma - then
the wheels come off. Both those things hook into core KDE functionality
and go to the heart of what makes KDE KDE. Plasma in the context of gtk
doesn't make any sense to me, plasma really is intended to drive the
heart of a KDE desktop. ANd god help anyone that tries to run anything
with kdepim in it - that abomination should not even run on KDE!

I have the reverse here, a few GTK apps on a KDE desktop and it's very
manageable. The main apps are handbrake, firefox, thunderbird. I see no
reason why the opposite wouldn't also be true if the admin is smart


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Walter Dnes
On Fri, Oct 02, 2015 at 06:30:03PM +0200, Alan McKinnon wrote

> With situations like this, one has to apply some intelligence (and the
> reverse is also true - running gtk/Gnome apps on a KDE system). A few
> simple apps like say okular or konsole will be very manageable, as they
> have specific narrow functionality and are not core.

  You'd be surprised.  First some background on my system.  When I
installed it as 32-bit years ago, I went with USE="-*" like so...

USE="-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin
offensive openssl posix readline ssl threads vim-syntax zlib X dga dri
exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg opengl png rtmp
theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid xvmc"

  When I re-did it as 64-bit, I went to "the regular way" like so...

USE="X apng bindist ffmpeg jpeg png truetype x264 x265 xorg -acl -berkdb
-chatzilla -cracklib -crypt -gallium -gdbm -gmp-autoupdate -graphite
-gstreamer -iconv -introspection -ipc -iptables -ipv6 -libav -llvm -nls
-openmp -pam -pch -roaming -sendmail -tcpd -udev -udisks -unicode
-upower -xinerama"

  When Xpdf was deprecated, I eventually settled on mupdf, which is nice
and lightweight.  I skipped okular, because it brought in a big chunk of
KDE.  Just for s and giggles, I had a look today at what would be
required to build okular on my system.  Repeat emerge commands showed
that my package.use would require the following extras...

dev-qt/qtcore qt3support
app-text/poppler qt4
dev-qt/qtsql qt3support
dev-qt/qtgui qt3support
sys-apps/dbus X
media-video/vlc dbus ogg vorbis
sys-libs/zlib minizip
sys-libs/ncurses unicode
sys-auth/consolekit policykit
dev-qt/qtdeclarative qt3support
dev-qt/qtopengl qt3support

  File-attached is the "emerge -pv okular" output.  To summarize...
Total: 53 packages (50 new, 3 reinstalls), Size of downloads: 329,492 KiB

...because a pdf-reader really needs libogg, libvorbis, www-misc/htdig,
qtcore-4.8.6-r4, 2 versions of qtgui, qt3support, qtwebkit, libdbusmenu,
strigi, spidermonkey, phonon, vlc, polkit, consolekit, etc, etc.

  Similarly, gnumeric is a great spreadsheet, but it's being loaded
with a ton of egregiously unnecessary GNOME dependancies, via gtk3
and goffice.  Remember when Bill Gates showed how IE.EXE was an
eensy-weensy-teensy-itty-bitty little program that you could easily
remove?  But he failed to mention that it was merely an interface to a
whole bunch of Windows libraries that were continuously running in the
background.  Similarly, gnumeric has been adding hard dependancies on
various GNOME libraries over time.

  I try to keep a minimal profile.  Every so often, stuff like dbus,
harfbuzz, ghostscript, etc, etc, have been added as hard dependancies
to gnumeric.  I'd be willing to contribute money to developers who would
fork gnumeric, and move it off of GTK and on to FTLK (Fast Light Tool
Kit) http://www.fltk.org/index.php and get rid of hard dependancies on
a bunch of GNOME stuff.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Walter Dnes
On Fri, Oct 02, 2015 at 04:33:09PM -0400, Walter Dnes wrote
> 
>   File-attached is the "emerge -pv okular" output.  To summarize...
> Total: 53 packages (50 new, 3 reinstalls), Size of downloads: 329,492 KiB

  Oops; forgot the attachment.  Here it is...

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications


e_okular.txt.gz
Description: Binary data


Re: [gentoo-user] Re: Using KDE apps in a non KDE environment

2015-10-02 Thread Neil Bothwick
On Fri, 2 Oct 2015 16:33:09 -0400, Walter Dnes wrote:

>   File-attached is the "emerge -pv okular" output.  To summarize...
> Total: 53 packages (50 new, 3 reinstalls), Size of downloads: 329,492
> KiB
> 
> ...because a pdf-reader really needs libogg, libvorbis, www-misc/htdig,
> qtcore-4.8.6-r4, 2 versions of qtgui, qt3support, qtwebkit, libdbusmenu,
etc.

That's because Okular is not a PDF reader, it's a "Universal document
viewer", so it needs to support a lot of formats and protocols. That
does mean that if you need a simple PDF reader and don't run KDE, Okular
may well be way OTT, but it is very good at handling PDFs and forms.


-- 
Neil Bothwick

A real programmer never documents his code.
It was hard to make, it should be hard to read


pgpv6zZUkK8kD.pgp
Description: OpenPGP digital signature