KCometen4
Screensavers
Score 84%
Description:

KCometen4 is an OpenGL KDE screensaver. Inside a box is a nifty light show that features lightning and exploding comets. It lets you configure various effects like comet behavior, camera movement, box face images, etc.
Last changelog:

9 years ago

Version 1.0.8
* Remove legacy configure script.
* Fix a few compiler warnings and an error that prevented compilation with clang.

jstamp

8 years ago

Not sure right now. What distro/version are you using, and what KDE4 dev packages do you have installed?

I hope to release a .01 release soon that will take care of these build problems.

Report

poled

8 years ago

MDV2009beta2


$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
-- 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.4.1 (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 Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- 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 - Failed
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.1 include dir: /usr/include
-- Found KDE 4.1 library dir: /usr/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kcometen4-1.0/build

-- Looking for pthread_create in pthreads - not found
and
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Failed

$ make
[ 5%] Generating ui_kcometen4ui.h
Generating moc_kglcometen4.cpp
Generating moc_kcometen4.cpp
Scanning dependencies of target kcometen4.kss
Generating moc_kglcometen4.cpp
Generating moc_kcometen4.cpp
[ 11%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/kcometen4.kss_automoc.o
cc1plus: error: unrecognized option `-fno-threadsafe-statics'
make[2]: *** [src/CMakeFiles/kcometen4.kss.dir/kcometen4.kss_automoc.o] Error 1
make[1]: *** [src/CMakeFiles/kcometen4.kss.dir/all] Error 2
make: *** [all] Error 2

Report

poled

8 years ago

gcc-4.3.1

Report

poled

8 years ago

MDV2009beta2
for gcc-4.3.1

urpmi kernel-devel
urpmi cmake
urpmi gcc-c++-4.3.1
urpmi kdelibs4-devel
urpmi libkdecore4-devel
urpmi kdebase4-workspace-devel


tar -xf 87586-kcometen4-1.0.tar.gz
cd kcometen4-1.0
mkdir build
cd build

$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
-- 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.4.1 (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 Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- 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 Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.1 include dir: /usr/include
-- Found KDE 4.1 library dir: /usr/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pol_ed/kcometen4-1.0/build

$ make
[ 5%] Generating ui_kcometen4ui.h
Generating moc_kglcometen4.cpp
Generating moc_kcometen4.cpp
Scanning dependencies of target kcometen4.kss
Generating moc_kglcometen4.cpp
Generating moc_kcometen4.cpp
[ 11%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/kcometen4.kss_automoc.o
[ 17%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/bezier.o
[ 23%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/cometen3.o
[ 29%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/cometenmath.o
[ 35%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/cometenscene.o
[ 41%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/curvecomet.o
[ 47%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/decal.o
[ 52%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/explosion.o
[ 58%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/glow.o
[ 64%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/kcometen4.o
[ 70%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/kglcometen4.o
[ 76%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/lightning.o
[ 82%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/particlesystem.o
[ 88%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/pcomet.o
[ 94%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/rotatecomet.o
[100%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/vec.o
Linking CXX executable kcometen4.kss
[100%] Built target kcometen4.kss

Report

maninalift

9 years ago

Very nice, It'd be great if this supported skydome+ground as alternative to box.

Report

cserge

9 years ago

Hi

Under archlinux it compiled and installed without any problem.
But it does not work: in the preview I get nothing, and when clicking on the setup button, it does not open any dialog window, so there is no configuration possible.

Serge

Report

jstamp

9 years ago

What happens if you run 'kcometen4.kss --setup' from a console?

Report

cserge

8 years ago

Hi

The install shows this in the console:
[100%] Built target kcometen4.kss
Install the project...
-- Install configuration: ""
-- Installing: /usr/share/apps/kcometen4/pixmaps/lightmap.png
-- Installing: /usr/share/apps/kcometen4/pixmaps/particle.png
-- Installing: /usr/share/kde4/services/ScreenSavers/kcometen4.desktop
-- Installing: /usr/share/man/man1/kcometen4.kss.1

It means it does not install kcometen4.kss because when opening the console and typing
kcometen4.kss --setup
I get:
bash: kcometen4.kss: command not found

When cmake finishes I get:
[100%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/vec.o
(this line is in red: )Linking CXX executable kcometen4.kss
[100%] Built target kcometen4.kss

Serge

Report

jstamp

8 years ago

You're right. It looks like I'll need to update the install directions.

When you run cmake, try this instead:
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local

Does that fix it?

Report

cserge

8 years ago

Hi

Yes it did it. It works now very nicely
I used kcometen in kde3 and now i am very glad to have it "back" in kde4.
You made a great job!

Thank you!!!!

Report

nos4ah2

9 years ago

$~/Desktop/install/kcometen4-1.0/build$ sudo make install

make: *** No rule to make target `install'. Stop.

I have all of the development packages and pre-requisites mentioned and followed the instructions in the INSTALL.

I'm running Kubuntu 8.04 KDE 4.1.

Am I doing something wrong?

Report

jstamp

9 years ago

Not sure. I don't have this problem on my end. What happens if you just try 'make install' without sudo? Do you still get the same error?

If so, tar up:
build/CMakeCache.txt
build/CMakeFiles/
build/cmake*
build/Makefile
and send them too me.

I'll see what I can come up with.

Report

nos4ah2

8 years ago

I tried it again just to make sure I wasn't crazy and it looks like I'm missing a GL component of QT, qgl.h.

I'm not sure where to get this thing - here's my log file from the make:

from /home/nos/Desktop/install/kcometen4-1.0/build/src/kcometen4.kss_automoc.cpp:2:
/home/nos/Desktop/install/kcometen4-1.0/build/src/../../src/kglcometen4.h:26:17: error: qgl.h: No such file or directory
In file included from /home/nos/Desktop/install/kcometen4-1.0/build/src/../../src/kcometen4.h:28,
from /home/nos/Desktop/install/kcometen4-1.0/build/src/moc_kcometen4.cpp:10,
from /home/nos/Desktop/install/kcometen4-1.0/build/src/kcometen4.kss_automoc.cpp:2:
/home/nos/Desktop/install/kcometen4-1.0/build/src/../../src/kglcometen4.h:41: error: expected class-name before ‘{’ token
In file included from /home/nos/Desktop/install/kcometen4-1.0/build/src/kcometen4.kss_automoc.cpp:3:
/home/nos/Desktop/install/kcometen4-1.0/build/src/moc_kglcometen4.cpp:38: error: ‘QGLWidget’ has not been declared
/home/nos/Desktop/install/kcometen4-1.0/build/src/moc_kglcometen4.cpp: In member function ‘virtual void* KGLCometen4::qt_metacast(const char*)’:
/home/nos/Desktop/install/kcometen4-1.0/build/src/moc_kglcometen4.cpp:52: error: ‘QGLWidget’ has not been declared
/home/nos/Desktop/install/kcometen4-1.0/build/src/moc_kglcometen4.cpp: In member function ‘virtual int KGLCometen4::qt_metacall(QMetaObject::Call, int, void**)’:
/home/nos/Desktop/install/kcometen4-1.0/build/src/moc_kglcometen4.cpp:57: error: ‘QGLWidget’ has not been declared
make[2]: *** [src/CMakeFiles/kcometen4.kss.dir/kcometen4.kss_automoc.o] Error 1
make[1]: *** [src/CMakeFiles/kcometen4.kss.dir/all] Error 2
make: *** [all] Error 2

Report

nos4ah2

8 years ago

I installed libqt4-opengl-dev and got past that last problem, now I have a new one. :)


Linking CXX executable kcometen4.kss
/usr/bin/ld: cannot find -lkfile
collect2: ld returned 1 exit status
make[2]: *** [src/kcometen4.kss] Error 1
make[1]: *** [src/CMakeFiles/kcometen4.kss.dir/all] Error 2
make: *** [all] Error 2


I'm almost there! :D
I wouldn't be going through all of this if Kcometen3 wasn't so darn good!

Report

jstamp

8 years ago

libkfile is in kdelibs5-dev. You should also have kdebase-workspace-dev installed too.

I assume you already have those or you probably wouldn't have gotten that far.

What if you rm -rf build and start fresh?

Report

nos4ah2

8 years ago

Same thing... I attached a log beneath. After this, I also tried

sudo apt-get install kdelibs5-dev kdebase-workspace-dev --reinstall

Then I rm -rf build again and ran cmake and make again. Same results there too.


[ 88%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/pcomet.o
[ 94%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/rotatecomet.o
[100%] Building CXX object src/CMakeFiles/kcometen4.kss.dir/vec.o
Linking CXX executable kcometen4.kss
/usr/bin/ld: cannot find -lkfile
collect2: ld returned 1 exit status
make[2]: *** [src/kcometen4.kss] Error 1
make[1]: *** [src/CMakeFiles/kcometen4.kss.dir/all] Error 2
make: *** [all] Error 2

Thanks for the help and the brilliant screensaver!

Report

9 years ago

Version 1.0.8
* Remove legacy configure script.
* Fix a few compiler warnings and an error that prevented compilation with clang.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.0.8
updated Jul 30 2010
added Aug 20 2008
downloads today
0
page views today 1