Registered Member
|
Hello,
I try to compile a email notify plasmoid from here But unfortunately I get compile errors I am unable to fix. I have greped for all mentioned variables and have added KDE4_ but still no luck. Maybe someone can, please, tell me how I have to read this message... Thanks a lot -bushveld i~/tmp/emailnotify> cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -- Found Qt-Version 4.4.3 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Phonon Version: 4.2.96 -- Found KDE 4.2 include dir: /usr/include -- Found KDE 4.2 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 CMake Error at /usr/share/kde4/apps/cmake/modules/FindPlasma.cmake:13 (message): FindPlasma.cmake is deprecated. Now with KDE 4.2 Plasma is part of kdelibs and automatically found using find_package(KDE4) instead. Replace the variables previously coming from FindPlasma.cmake as follows: PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND PLASMA_LIBS -> KDE4_PLASMA_LIBS PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already set anyway PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer has been found. If you see this error message in a module within KDE/, update it from svn, it has been fixed already. Call Stack (most recent call first): CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred!
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Administrator
|
You need to change a few things inside CMakeLists.txt. First of all you need to comment the "find_package(Plasma)" or similar like that is present (at line 7, according to the output). Then you have to substitute every occurrence of the names on the left, with the ones on the right. If you have changed the variables, chances are you didn't comment the find_package line.
Also, this plasmoid is very old, so it may not compile at all because Plasma changed its API from 4.0 to 4.1.
Last edited by einar on Mon Jan 19, 2009 9:07 pm, edited 1 time in total.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Registered Member
|
Hello,
thanks for the message. You are correct the compile does not go thru - since to complains about a false declaration this might be due to the new API .. I will stay away from this plasmoid. Is there something newer? I have serached at kde-look and have googled but with no luck... Thanks again -bushveld [ 45%] Building CXX object CMakeFiles/plasma_applet_emailnotify.dir/plasma-emailnotify.o In file included from /home/michael/tmp/emailnotify/plasma-emailnotify.h:30, from /home/michael/tmp/emailnotify/plasma-emailnotify.cpp:21: /usr/include/kdialog.h:833: warning: ‘virtual void KDialog::slotButtonClicked(int)’ was hidden /home/michael/tmp/emailnotify/settings/configdialog.h:50: warning: by ‘void ConfigDialog::slotButtonClicked(KDialog::ButtonCode)’ /home/michael/tmp/emailnotify/plasma-emailnotify.cpp: In constructor ‘EmailNotify::EmailNotify(QObject*, const QVariantList&)’: /home/michael/tmp/emailnotify/plasma-emailnotify.cpp:42: error: ‘setDrawStandardBackground’ was not declared in this scope
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
KDE Developer
|
Yeah, emailnotify is pretty much a relic from the KDE 4.0.x days.
In KDE 4.2 there is an "Incoming Message" plasmoid in kdeplasma-addons that is similar. |
Registered Member
|
Uups,
than I was too fast in reading - thought that incomming message was for kopete. Will have a look. How ever, there is an info button with every plasmoid but mostly there is only a _very_ brief info. Guess that it would be extremly helpfull (in sense of usability) to get at this place more information. -bushveld
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
KDE Developer
|
Well, it does have a picture of an open email. :P
More info would probably be good though, I agree. |
Registered Member
|
Yup,
it shows new messages in kopete, kmail, pidgin and xchat as long as one or all of these programms run.... Well this is NOT what I am looking for. I like to be notified that I have new mail in my mailbox eg at google but I do not want to run kmail... I will see what needs to be done to get a google gadet to plasma - maybe I yon do something with the email google gadet (is this the correct spelling???) by bushveld
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]