This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Installing the train-clock on Kubuntu 8.10?

Tags: None
(comma "," separated)
isaacj87
Registered Member
Posts
3
Karma
0
OS
Hey,

I know it's a trivial question, but I was wondering if someone could help me install the train-clock plasmoid. For those who don't remember what it looks like, you can see it in this picture at the bottom right. I remember it being the standard clock on the KDE4 beta, but it has since been removed and is stuck in limbo. If someone could give me instructions on how to check it out of the SVN repo, I'd really appreciate it! Thanks in advance. :)

P.S. Also, if anyone knows the current status of the train-clock, I'd appreciate that as well.
User avatar
GeneralZod
KDE Developer
Posts
77
Karma
1
OS
isaacj87 wrote:Hey,

I know it's a trivial question, but I was wondering if someone could help me install the train-clock plasmoid. For those who don't remember what it looks like, you can see it in this picture at the bottom right. I remember it being the standard clock on the KDE4 beta, but it has since been removed and is stuck in limbo. If someone could give me instructions on how to check it out of the SVN repo, I'd really appreciate it! Thanks in advance. :)

P.S. Also, if anyone knows the current status of the train-clock, I'd appreciate that as well.


It still lives in Playground, round about here:

svn://anonsvn.kde.org/home/kde/trunk/pl ... ase/plasma

If you have subversion installed, "svn co" with that URL should check it out. Note that this is the trunk version, and may not build against KDE4.1.x, if that's what you're using. It's easiest to check out and compile the whole playground module - compiling individual parts of it is slightly tricky.

You'll need to ask your distro what package all the necessary KDE development headers live in.

The train clock seems to be largely abandoned by its creators, and looks a bit wonky when placed on the desktop. In the panel it looks OK, though. It's status is probably best described as "up for adoption" :)

Good luck!


ssj-gz.blogspot.com: KDE4Daily, Konqueror4 Restoration
isaacj87
Registered Member
Posts
3
Karma
0
OS
Hey GeneralZod,

I remember you telling me about the train-clock on the Ubuntu Forums. I'll see what I can do. When you say compile the entire playground module, does that mean I should remove the plasma-addons package? Or are they not related?

Thanks!
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS
They are not related, just compile it.


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
User avatar
GeneralZod
KDE Developer
Posts
77
Karma
1
OS
isaacj87 wrote:Hey GeneralZod,

I remember you telling me about the train-clock on the Ubuntu Forums. I'll see what I can do. When you say compile the entire playground module, does that mean I should remove the plasma-addons package? Or are they not related?

Thanks!


Oh - hello again, then :)

plasma-addons is indeed unrelated, so can be left alone. I should have said the entire plasma playground module - which is basically what you get if you svn co the URL I gave :)


ssj-gz.blogspot.com: KDE4Daily, Konqueror4 Restoration
User avatar
Mirko
Registered Member
Posts
14
Karma
0
OS
I really hope someone takes care of this plasmoid, this is one of my favourites and I prefer it to the classic digital clock.
I would like to have something like this in my panel, including the date:
http://www.nuno-icons.com/images/estilo ... tions3.png


User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS
Yeah, I also would love to use this clock. Unfortanetly, it's still broken in playground :( I'm using 9.04 btw.
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS
bump

Is there anybody out there who could fix the source so it compiles and installs again?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The Train clock compiled without problems here, although I use KDE Trunk.

The following CMake patch was required however.

Code: Select all
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 1029908)
+++ CMakeLists.txt      (working copy)
@@ -1,5 +1,10 @@
 project(plasma-train-clock)

+find_package(KDE4 REQUIRED)
+include (KDE4Defaults)
+add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+include_directories(${KDE4_INCLUDES})
+
 set(clock_SRCS
     clock.cpp
     clocknumber.cpp)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS
Thanks, it seems to compile fine with your patch, however, it won't make:

Code: Select all
heimen-at-kubuntu@heimen-at-compaq:~/kdeplayground/plasma/applets/train-clock/build$ cmake - DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..                                                                                                             
-- The C compiler identification is GNU                                                                                     
-- The CXX compiler identification is GNU                                                                                   
-- Check for working C compiler: /usr/bin/gcc                                                                               
-- Check for working C compiler: /usr/bin/gcc -- works                                                                       
-- Detecting C compiler ABI info                                                                                             
-- Detecting C compiler ABI info - done                                                                                     
-- Check for working CXX compiler: /usr/bin/c++                                                                             
-- Check for working CXX compiler: /usr/bin/c++ -- works                                                                     
-- Detecting CXX compiler ABI info                                                                                           
-- Detecting CXX compiler ABI info - done                                                                                   
-- Looking for Q_WS_X11                                                                                                     
-- Looking for Q_WS_X11 - found                                                                                             
-- Looking for Q_WS_WIN                                                                                                     
-- Looking for Q_WS_WIN - not found.                                                                                         
-- Looking for Q_WS_QWS                                                                                                     
-- Looking for Q_WS_QWS - not found.                                                                                         
-- Looking for Q_WS_MAC                                                                                                     
-- Looking for Q_WS_MAC - not found.                                                                                         
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)                                                                             
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so                                                                                                       
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found                                                                                               
-- Looking for gethostbyname                                                                                                 
-- Looking for gethostbyname - found                                                                                         
-- Looking for connect                                                                                                       
-- Looking for connect - found                                                                                               
-- Looking for remove                                                                                                       
-- Looking for remove - found                                                                                               
-- Looking for shmat                                                                                                         
-- Looking for shmat - found                                                                                                 
-- Looking for IceConnectionNumber in ICE                                                                                   
-- Looking for IceConnectionNumber in ICE - found                                                                           
-- Found X11: /usr/lib/libX11.so                                                                                             
-- Looking for include files CMAKE_HAVE_PTHREAD_H                                                                           
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                                                                   
-- Looking for pthread_create in pthreads                                                                                   
-- Looking for pthread_create in pthreads - not found                                                                       
-- Looking for pthread_create in pthread                                                                                     
-- Looking for pthread_create in pthread - found                                                                             
-- Found Threads: TRUE                                                                                                       
-- Found Automoc4: /usr/bin/automoc4                                                                                         
-- Found Perl: /usr/bin/perl                                                                                                 
-- Phonon Version: 4.3.1                                                                                                     
-- Found Phonon: /usr/lib/libphonon.so                                                                                       
-- Found Phonon Includes: /usr/include/KDE;/usr/include                                                                     
-- Performing Test _OFFT_IS_64BIT                                                                                           
-- Performing Test _OFFT_IS_64BIT - Failed                                                                                   
-- Performing Test HAVE_FPIE_SUPPORT                                                                                         
-- Performing Test HAVE_FPIE_SUPPORT - Success                                                                               
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL                                                                           
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success                                                                 
-- Performing Test __KDE_HAVE_GCC_VISIBILITY                                                                                 
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success                                                                       
-- Found KDE 4.3 include dir: /usr/include                                                                                   
-- Found KDE 4.3 library dir: /usr/lib                                                                                       
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler                                                   
-- Found automoc4: /usr/bin/automoc4                                                                                         
-- Configuring done                                                                                                         
-- Generating done                                                                                                           
-- Build files have been written to: /home/heimen-at-kubuntu/kdeplayground/plasma/applets/train-clock/build                 
heimen-at-kubuntu@heimen-at-compaq:~/kdeplayground/plasma/applets/train-clock/build$ make -j3                               
heimen-at-kubuntu@heimen-at-compaq:~/kdeplayground/plasma/applets/train-clock/build$ sudo make install                       
make: *** There is no line to make 'install'.  Stopped.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Was anything output during the "make -j3" stage of the compilation?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS
Nope, make -j3 returned nothing.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The make command should have returned something. Which version of CMake are you using? Version 2.6.2 is currently recommended.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS
I guess version 2.6.4, since this is the output I get from cmake --version:

heimen-at-kubuntu@heimen-at-compaq:~$ cmake --version
cmake version 2.6-patch 4
heimen-at-kubuntu@heimen-at-compaq:~$

Btw, why is 2.6.2 recommended? 2.6.4 is out since may this year...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I believe 2.6.2 is the lowest version currently required by KDE. It is likely to be the most tested for KDE as a result, but usage of a newer version should not make a difference.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient