Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE CVS, Is it worth it?
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
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Thu Jun 19, 2003 12:23 pm    Post subject: KDE CVS, Is it worth it? Reply with quote

The topic says it all. I am running kde3.1.2 now and am 'happy'. However i want to be on the bleeding edge with 'stability'. How far is KDE cvs usable?
I am especially looking for kde-pim updates for kontact. Do you suggest i upgrade to kde cvs without borking my system. Is there any page which shows the common problems faced in kde cvs.

Thanks
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Thu Jun 19, 2003 12:31 pm    Post subject: kde cvs Reply with quote

Kontact is not complete. However, kde-cvs offers many advantages:
kmail tray icon and message notification, konqueror tabbar based on qt's new tab widget, ability to resize your desktop through xrandr. Overall nice. The main programs have never crashed on me. Once in a while I receive dr konqui for some obscure programs that obviously kdeinit restarts after that.

And this along the many little things that escape my mind right now.
Back to top
View user's profile Send private message
Steffen
Apprentice
Apprentice


Joined: 14 Jul 2002
Posts: 159

PostPosted: Thu Jun 19, 2003 9:35 pm    Post subject: Reply with quote

I'm running KDe 3.2 CVS and XFree 4.3 but I'm unable to figure out how to use that XRandR stuff in KDE. Where do I have to look?
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Thu Jun 19, 2003 9:51 pm    Post subject: Reply with quote

Is there an ebuild for this?
Or could you be so nice and post a guideline for compiling kde-cvs?
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
LMCBoy
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 191
Location: San Ramon, CA

PostPosted: Thu Jun 19, 2003 10:54 pm    Post subject: Reply with quote

Master_Of_Disaster wrote:
Is there an ebuild for this?
Or could you be so nice and post a guideline for compiling kde-cvs?


MoD, check out http://cvs.gentoo.org/~danarmak/kde-cvs.html
You'll want to emerge ccache first.

Mario, I am running kde-cvs (yesterday's), and I don't seem to have a kmail systray icon. How do I activate it?

A general dislike I have about KDE-CVS with Dan's live ebuilds is that the sources become stale before I can finish compiling them! By the time I am trying to compile kdeutils, my installed kdelibs is already too old, and I get a compile error. So I update kdelibs, but now all of the packages between kdelibs and kdeutils may be out of date. I have been doing this CVS compile dance nonstop for over a week now :(.

It's not a big deal; everything still works, it would just be nice if I could have all of KDE installed from the same point in CVS. If the live ebuilds downloaded all of the CVS source at once, you'd at least have a much better chance that the entire codebase is self-consistent.

Another dislike is that I can't find where the CVS source code is kept! Any hints?

regards,
LMCBoy
_________________
LMCBoy
Back to top
View user's profile Send private message
Apolonius
Guru
Guru


Joined: 24 Jan 2003
Posts: 325

PostPosted: Thu Jun 19, 2003 11:07 pm    Post subject: Reply with quote

LMCBoy wrote:
Quote:
Another dislike is that I can't find where the CVS source code is kept! Any hints?


take a look in /usr/portage/eclass/kde-source.eclass
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Thu Jun 19, 2003 11:51 pm    Post subject: kde cvs Reply with quote

For kmail systray icon:
Configure->Network->Receiving->Always show system tray
( not very intuitive, i know )

For xrandr:
make sure you have installed qt-5 (or qt-3.2 beta) before compiling kdelibs/kdebase. Without that if you resize your desktop, kde will not be aware of it.

Then create and compile this ebuild to be able to use the kontrol center module and the systray icon for xrandr ( you could also use the command line utility xrandr ):

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit kde-base

need-kde 3

KCVS_MODULE=kdenonbeta
KCVS_SUBDIR=kcmrandr
inherit kde-source

DESCRIPTION="KDE Control Center Module for Resizing and Rotating the X Desktop"
LICENSE="GPL-2"
KEYWORDS="x86"
Back to top
View user's profile Send private message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Thu Jun 19, 2003 11:52 pm    Post subject: cvs source Reply with quote

cvs source is kept in /usr/portage/distfiles/cvs-src/kde
Back to top
View user's profile Send private message
LMCBoy
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 191
Location: San Ramon, CA

PostPosted: Fri Jun 20, 2003 12:05 am    Post subject: Re: cvs source Reply with quote

mario wrote:
cvs source is kept in /usr/portage/distfiles/cvs-src/kde


Hmm, I don't have a kde subdir in /usr/portage/distfiles/cvs-src. Could it be because I am using ccache? I also looked around in my PORTAGE_OVERLAY directory, but couldn't find the soures there either.

And I looked at the kde eclass, but I didn't see anything there that looked obviously like the path to the sources...

any other hints?
LMCBoy
_________________
LMCBoy
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Fri Jun 20, 2003 12:12 am    Post subject: Re: cvs source Reply with quote

LMCBoy wrote:

I also looked around in my PORTAGE_OVERLAY directory, but couldn't find the soures there either.

And I looked at the kde eclass, but I didn't see anything there that looked obviously like the path to the sources...

any other hints?
LMCBoy

I don't think it would be in PORTAGE_OVERLAY unless you put it there. That directory is for ebuilds that you write yourself or get from somewhere like breakmygentoo.net or even these forums.
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
LMCBoy
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 191
Location: San Ramon, CA

PostPosted: Fri Jun 20, 2003 1:49 am    Post subject: Re: cvs source Reply with quote

snakattak3 wrote:

I don't think it would be in PORTAGE_OVERLAY unless you put it there. That directory is for ebuilds that you write yourself or get from somewhere like breakmygentoo.net or even these forums.


I specifically installed kde-cvs ebuilds into PORTAGE_OVERLAY, following advice on Dan Armak's page. However, there

Anyway, the sources must be somewhere, because when I reemerge a package, cvs patches existing files.

:/
_________________
LMCBoy
Back to top
View user's profile Send private message
Exigentsky
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2003
Posts: 81

PostPosted: Fri Jun 20, 2003 2:05 am    Post subject: Patience Reply with quote

Don't expect a stable and usable system in CVS it changes very fast and its definetely not a good idea to run it on your primary desktop.

Just wait, KDE 3.2 will be out in December anyway.
http://dot.kde.org/1055858793/
_________________
No one is a virgin, life screws us all.
Back to top
View user's profile Send private message
iamlarryboy
Guru
Guru


Joined: 25 Jan 2003
Posts: 480
Location: Prince George, BC, Canada

PostPosted: Fri Jun 20, 2003 4:14 am    Post subject: worth it Reply with quote

If you want stability i wouldn't run cvs. However if you want to fool around cvs is really good! I run it as my primary desktop. However, often one package(right now kdelibs) will not compile for weeks so you have to start installing them untill you get to one that won't compile and retry every day till it will install. It can be a pain.
Back to top
View user's profile Send private message
not_registered
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2003
Posts: 148

PostPosted: Fri Jun 20, 2003 8:26 am    Post subject: Reply with quote

cvs either doesnt compile (very rare so far, happened one day) or works and is as stable as a final release for me. however i havent used qt-5 yet so maybe ill try that (and add to instability? :P).
_________________
It's Floam, it's Floam. It's flying foam!
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Fri Jun 20, 2003 4:23 pm    Post subject: Reply with quote

Well it isnt compiling for me now. I am stuck on kdepim-5, which is a dependency for kdenetwork and kdeaddons.
Here is the error i get
-----------------------------------------------------------------------------------
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libical/src/libical -I../libical/src/libicalss -I../libical/src/libical -I../libical/src/libicalss -I./versit -I../ -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o calendar.lo `test -f 'calendar.cpp' || echo './'`calendar.cpp
incidence.h: In member function `bool
KCal::Incidence::DeleteVisitor<T>::visit(KCal::Event*) [with T =
KCal::Calendar]':
calendar.moc:28: instantiated from here
incidence.h:109: void value not ignored as it ought to be
incidence.h: In member function `bool
KCal::Incidence::DeleteVisitor<T>::visit(KCal::Todo*) [with T =
KCal::Calendar]':
calendar.moc:28: instantiated from here
incidence.h:110: void value not ignored as it ought to be
incidence.h: In member function `bool
KCal::Incidence::DeleteVisitor<T>::visit(KCal::Journal*) [with T =
KCal::Calendar]':
calendar.moc:28: instantiated from here
incidence.h:111: void value not ignored as it ought to be
make[3]: *** [calendar.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdepim-5/work/kdepim/libkcal'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-5/work/kdepim/libkcal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-5/work/kdepim'
make: *** [all] Error 2

!!! ERROR: kde-base/kdepim-5 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
------------------------------------------------------------------------------

any ideas how it can sorted?
Thanks
Back to top
View user's profile Send private message
bl
n00b
n00b


Joined: 09 Jun 2003
Posts: 3

PostPosted: Fri Jun 20, 2003 9:58 pm    Post subject: Reply with quote

LMCBoy wrote:
Master_Of_Disaster wrote:
Is there an ebuild for this?
Or could you be so nice and post a guideline for compiling kde-cvs?


MoD, check out http://cvs.gentoo.org/~danarmak/kde-cvs.html
You'll want to emerge ccache first.

Mario, I am running kde-cvs (yesterday's), and I don't seem to have a kmail systray icon. How do I activate it?

A general dislike I have about KDE-CVS with Dan's live ebuilds is that the sources become stale before I can finish compiling them! By the time I am trying to compile kdeutils, my installed kdelibs is already too old, and I get a compile error. So I update kdelibs, but now all of the packages between kdelibs and kdeutils may be out of date. I have been doing this CVS compile dance nonstop for over a week now :(.

It's not a big deal; everything still works, it would just be nice if I could have all of KDE installed from the same point in CVS. If the live ebuilds downloaded all of the CVS source at once, you'd at least have a much better chance that the entire codebase is self-consistent.

Another dislike is that I can't find where the CVS source code is kept! Any hints?

regards,
LMCBoy


If you can find your CVS source code (it's in /usr/portage/distfiles/kde on my system) then you can manually update the kde sources before you start by issuing the following command within each package:

cvs -z4 update -dP

Since you're updating from the HEAD, this won't guarantee you a coherent set of sources, but it should be better than waiting for each package to compile before updating the next one.

Once you've done that, you should be able to force emerge to skip the CVS update phase as follows:

ECVS_SERVER="offline" emerge <whatever>
Back to top
View user's profile Send private message
cato`
Guru
Guru


Joined: 03 Jun 2002
Posts: 430
Location: Norway, Trondheim

PostPosted: Fri Jun 20, 2003 11:58 pm    Post subject: Reply with quote

trumee wrote:
Well it isnt compiling for me now. I am stuck on kdepim-5, which is a dependency for kdenetwork and kdeaddons.
Here is the error i get
-----------------------------------------------------------------------------------
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libical/src/libical -I../libical/src/libicalss -I../libical/src/libical -I../libical/src/libicalss -I./versit -I../ -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o calendar.lo `test -f 'calendar.cpp' || echo './'`calendar.cpp
incidence.h: In member function `bool
KCal::Incidence::DeleteVisitor<T>::visit(KCal::Event*) [with T =
KCal::Calendar]':
calendar.moc:28: instantiated from here
incidence.h:109: void value not ignored as it ought to be
incidence.h: In member function `bool
KCal::Incidence::DeleteVisitor<T>::visit(KCal::Todo*) [with T =
KCal::Calendar]':
calendar.moc:28: instantiated from here
incidence.h:110: void value not ignored as it ought to be
incidence.h: In member function `bool
KCal::Incidence::DeleteVisitor<T>::visit(KCal::Journal*) [with T =
KCal::Calendar]':
calendar.moc:28: instantiated from here
incidence.h:111: void value not ignored as it ought to be
make[3]: *** [calendar.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdepim-5/work/kdepim/libkcal'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-5/work/kdepim/libkcal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-5/work/kdepim'
make: *** [all] Error 2

!!! ERROR: kde-base/kdepim-5 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
------------------------------------------------------------------------------

any ideas how it can sorted?
Thanks


Got the same error, trying again in a couple of hours....
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Sat Jun 21, 2003 1:01 am    Post subject: Reply with quote

I got it sorted out. Just build the kdepim package with -O2 , it worked for me.
Back to top
View user's profile Send private message
RedBeard0531
Guru
Guru


Joined: 21 Sep 2002
Posts: 415
Location: maryland

PostPosted: Sat Jun 21, 2003 3:54 am    Post subject: Reply with quote

Also I've heard that kde doesnt like -fomit-frame-pointers. Check to see that strip-flags ist commented out.
_________________
OH MY GOD! Kenny just killed Kenny!
That Basterd!
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