Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Possible to get just kdm?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
goku238
n00b
n00b


Joined: 19 Jan 2003
Posts: 14

PostPosted: Mon Nov 17, 2003 2:22 am    Post subject: Possible to get just kdm? Reply with quote

I want KDM, but not kde. Possible?

Sorry if this is a "noob" question.
_________________
My Sig.
Back to top
View user's profile Send private message
steel300
Veteran
Veteran


Joined: 10 Jul 2003
Posts: 1155

PostPosted: Mon Nov 17, 2003 4:29 am    Post subject: Reply with quote

kdm is part of kdebase and kdeartwork. If you just emerge those you will have kdm, without kde.
_________________
Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it.
Back to top
View user's profile Send private message
[herb]
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 173
Location: Ontario, Canada

PostPosted: Mon Nov 17, 2003 5:34 am    Post subject: Reply with quote

Isn't kdebase essentially KDE though? :D
_________________
PC: Antec 350W PSU, AMD Athlon64 3000+, ASUS K8V Deluxe Mobo, 512MB PC3200@400MHz, ATI Radeon 9800 Pro 128MB, 80GB Maxtor HDD @ 7200RPM
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Mon Nov 17, 2003 9:32 am    Post subject: Reply with quote

kdm is a part of kdebase and since it relies on libtool generated libs from kcontrol it isn't straightforward to install kdm by itself; a few modifications to the ebuild itself would be necessary. If you're up to it, then you may like to try out the following changes to /usr/portage/kde-base/kdebase-3.1.4.ebuild:

Change the src_compile() function to:
Code:

src_compile() {
   kde_src_compile myconf
   kde_src_compile configure
   kde_remove_flag kdm/kfrontend -fomit-frame-pointer
   cd ${S}/kcontrol/background
   make || die
   cd ${S}/kdm
   make || die
}

Then change the src_install() function to:
Code:

src_install() {
   cd ${S}/kdm
   DESTDIR=${D} make install || die
   cd ${D}/${KDEDIR}/share/config/kdm || die
   sed -e "s:SessionTypes=:SessionTypes=kde-${PV},:" \
   -e "s:Session=${PREFIX}/share/config/kdm/Xsession:Session=/etc/X11/xdm/Xsession:" \
   ${FILESDIR}/${PVR}/kdmrc > kdmrc
   cp ${FILESDIR}/${PVR}/backgroundrc .
}

Now we should be able to emerge only kdm from kdebase:
Code:

# USE="-*" emerge kdebase

I haven't tried this out myself so I'd like to know how well (or indeed if) it works. :)

Ciao, Brandy.
_________________
Faber est suae quisque fortunae.
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