View previous topic :: View next topic |
Author |
Message |
goku238 n00b
Joined: 19 Jan 2003 Posts: 14
|
Posted: Mon Nov 17, 2003 2:22 am Post subject: Possible to get just kdm? |
|
|
I want KDM, but not kde. Possible?
Sorry if this is a "noob" question. _________________ My Sig. |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Mon Nov 17, 2003 4:29 am Post subject: |
|
|
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 |
|
|
[herb] Apprentice
Joined: 14 Oct 2003 Posts: 173 Location: Ontario, Canada
|
Posted: Mon Nov 17, 2003 5:34 am Post subject: |
|
|
Isn't kdebase essentially KDE though? _________________ 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 |
|
|
Brandy Bodhisattva
Joined: 08 Jun 2003 Posts: 820 Location: New Zealand
|
Posted: Mon Nov 17, 2003 9:32 am Post subject: |
|
|
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 |
|
|
|