You are not logged in.

#1 2006-11-08 17:22:16

IsSuE
Member
Registered: 2006-04-29
Posts: 309

KDE without GTK dependencies

Hi there!

I just wanted to completly switch to KDE. But when I installed KDE, I noticed that KDE depends on GTK and GTK2. So my question is, how to get rid of GTK dependencies?

thx

Offline

#2 2006-11-08 19:45:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,800

Re: KDE without GTK dependencies

apps that require gtk on my system :
imlib wxgtk xmms

apps that require gtk2 on my system :
acroread azureus gnokii gtk2-perl gtkspell libglade librsvg
mozilla-firefox mozilla-thunderbird pioneers poppler seamonkey
vmware-workstation wxgtk

kdegraphics requires imlib
kdeutils requires xmms
vlc requires wxgtk

(The above are just some examples, there are probably a lot more)

If you really want to run kde without gtk/gtk2 you will have to compile your own version of many kde packages and miss out on a lot of fine applications.
I remember seeing a thread about splitting kde in more packages, maybe that will help you getting started, but your looking at a LOT of work.

What benefit do you hope to gain by not using gtk/gtk2 ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2006-11-08 19:52:27

IsSuE
Member
Registered: 2006-04-29
Posts: 309

Re: KDE without GTK dependencies

its just some kind of stupidity of myself smile
I hate mixing up things, so I dont wanna mix qt and gtk smile
there is no real technical reason for that.

Offline

#4 2006-11-09 16:35:51

superstoned
Member
Registered: 2006-09-04
Posts: 268

Re: KDE without GTK dependencies

well, i don't like the fact KDEUTILS pulls in XMMS. it's a waste of space. there is already a patch available to remove that ancient piece of software, and i'd love to see it in the kde packages in arch. (i reported this as a wish).
i have no problem with imlib, its simply a good library - and it would go against KDE's most basic values not to use it...

i'd say not having GTK saves space on disk, and especially in memory, simply giving a performance benefit.

but i have many more low-level libraries which require, for some weird reason, gtk. poppler is an example, as are gnokki (required by KDEPIM) librsvg and libgpod. i'd love to see those cleaned up, as i don't use any gtk apps except firefox for the occasional site which doesn't work in konqi. imlib2 for example doesn't depend on GTK anymore, a good thing (R).


-=] life sucks deeply [=-

Offline

#5 2006-11-09 16:38:57

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: KDE without GTK dependencies

IsSuE wrote:

I just wanted to completly switch to KDE. But when I installed KDE, I noticed that KDE depends on GTK and GTK2. So my question is, how to get rid of GTK dependencies?

The easiest way?  Install Gentoo and run

USE="-gtk -xmms" emerge kde-meta

Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#6 2006-11-09 18:25:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: KDE without GTK dependencies

Kdeutils depends on xmms because of superkaramba.  If you don't use the functionality which needs xmms, you can remove it:
pacman -Rdsc xmms

Offline

#7 2006-11-10 10:55:19

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE without GTK dependencies

Snowman wrote:

pacman -Rdsc xmms

This is not a solution, because user must first install packages before doing pacman -Rd.
Installing kde with --ignore xmms might help, but on every pacman -Syu Pacman will want to downolad xmms and gtk1 again. And IgnorePkg option in pacman.conf doesn't help too, because it ignores listed packages during upgrade, not during first install.

This was discussed before.


to live is to die

Offline

#8 2006-11-10 20:16:20

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: KDE without GTK dependencies

I just tried it and I didn't got this behavior. I 'pacman -Rd gtk' then did a 'pacman -Syu'. Pacman didn't tried to install gtk even if I have lots of stuff depending on it...

I do agree that it's just a temporary/poor  solution.

Offline

#9 2006-11-10 20:35:53

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE without GTK dependencies

Snowman wrote:

I just tried it and I didn't got this behavior. I 'pacman -Rd gtk' then did a 'pacman -Syu'. Pacman didn't tried to install gtk even if I have lots of stuff depending on it...

Then it's bug in pacman, IMHO.
I already reported similar bug when pacman doesn't install dependencies.


to live is to die

Offline

#10 2006-11-11 18:08:19

IsSuE
Member
Registered: 2006-04-29
Posts: 309

Re: KDE without GTK dependencies

chrismortimore wrote:
IsSuE wrote:

I just wanted to completly switch to KDE. But when I installed KDE, I noticed that KDE depends on GTK and GTK2. So my question is, how to get rid of GTK dependencies?

The easiest way?  Install Gentoo and run

USE="-gtk -xmms" emerge kde-meta

I definitly wont switch to gentoo just because of a kde w/o gtk o_O

Offline

#11 2006-11-11 18:12:53

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE without GTK dependencies

There is kde-split repo:

[kde-split]
Server = http://gotux.altervista.org/arch/i686/

But not all KDE packages are there yet. I think they were compiled without GTK/XMMS/etc. dependencies.


to live is to die

Offline

#12 2006-11-11 22:07:30

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: KDE without GTK dependencies

IsSuE wrote:

I definitly wont switch to gentoo just because of a kde w/o gtk o_O

Neither would I.  But to be honest, I'm not fussed about a couple megs of package sitting on my system doing nothing.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#13 2006-11-11 22:09:57

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: KDE without GTK dependencies

i once tried to have a linux without gtk (i was using gentoo at these times). believe me : one day or another you will install a program that requires gtk, only because you won't be able to find a qt equivalent. so don"t bother...


what goes up must come down

Offline

#14 2006-11-11 22:12:38

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: KDE without GTK dependencies

brazzmonkey wrote:

i once tried to have a linux without gtk (i was using gentoo at these times). believe me : one day or another you will install a program that requires gtk, only because you won't be able to find a qt equivalent. so don"t bother...

Very few still use GTK 1 though.  Most (that I know of) have switched to GTK 2.  The only I know of that use GTK 1 is XMMS and Gkrellm.  Personally, I still use Gkrellm, so I accept GTK 1 living on my system.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#15 2006-11-13 11:02:43

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE without GTK dependencies

Bug #5662 is now fixed! wink
8)  big_smile


to live is to die

Offline

#16 2006-11-15 19:15:46

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE without GTK dependencies

But still pacman -S kde wants to download gtk and gtk2.  :evil:
gtk is required by imlib, gtk2 - by gnokii and poppler.
Could this be fixed, please?


to live is to die

Offline

#17 2006-11-15 23:45:18

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: KDE without GTK dependencies

Romashka wrote:

But still pacman -S kde wants to download gtk and gtk2.  :evil:
gtk is required by imlib, gtk2 - by gnokii and poppler.
Could this be fixed, please?

file another bug smile

Offline

#18 2006-11-15 23:56:08

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE without GTK dependencies

iphitus wrote:

file another bug smile

Done. smile
FR #5841


to live is to die

Offline

#19 2006-11-16 11:22:14

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: KDE without GTK dependencies

GTK1 can be removed if you don't need kdegraphics, since mplayer no longer depends on GTK1.

Offline

#20 2006-11-18 13:28:52

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE without GTK dependencies

Romashka wrote:
iphitus wrote:

file another bug smile

Done. smile
FR #5841

And closed. sad


to live is to die

Offline

#21 2006-11-18 16:32:18

superstoned
Member
Registered: 2006-09-04
Posts: 268

Re: KDE without GTK dependencies

i hope someone can fix poppler to remove the GTK dependency, same with gnocci. those are, after all, basic libraries, supposed to be shared between desktop environments. so they should not depend on one! that's just bloath... i hope KDE 4 will dump imlib and use imlib2, which happens not to depend on gtk anymore. and also libdv depends on GTK, does it really need to? it's an optional dependency, as far as i can see, so i'd love to see it removed...


-=] life sucks deeply [=-

Offline

Board footer

Powered by FluxBB