plasma-am3rok

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 81%
Description:

[unmaintained]
plasma-am3rok is control widget for
amarok 1.4.*, that also displays track
information and the album cover.

(click the progress-bar to see the
info popup when it's docked in panel)

Last changelog:

10 years ago

[version 0.4.1]

* Fixed a sizing-related bug that could
turn the app into a CPU hog

[version - 0.4]

*Ported to KDE 4.1

[version - 0.3]
*Rewritten most of the code in a more
modular and easier to maintain way.
*Fixed(hopefully) the resizing bug.
*Added progress-bar and a popup
with the track information when
the containment is a panel.

[version - 0.2]

Added progress-bar,
track/artist/album
info and album cover,
when the containment
is a Desktop.

arch0njw

9 years ago

Is there a secret/trick?

I'm running Kubuntu 9.04 64bit (KDE 4.2.2).

Report

atrox

9 years ago

The weird thing is that the plasmoid doesn't recognize my Amarok 1.4 (which is playing), and will launch Amarok 2.0 when pressing 'play' button.

I'm on OpenSuse 11.0 (with KDE 4.2) and I tried both: the RPM-version (from KDE4 factory buildservice) and the version provided by Vytax, which compiled and installed OK, contrary to the official source.

Report

bytesniper

10 years ago

CMake Error at /usr/share/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:5 (find_package)


-- Configuring incomplete, errors occurred!

Report

nishantjr

10 years ago

Same prob here....
Got the src from yaourt ...
Edited the cmake file as required...

got this....

[ 28%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/amarok_client.cpp: In member function ‘virtual void AmarokClient::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/amarok_client.cpp:265: error: ‘class InfoDialog’ has no member named ‘position’
make[2]: *** [CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_am3rok.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build plasma-am3rok-plasmoid package.


went crazy and commented out the problem line from the source(forgive my if that was stupid and bound not to work, am a noob in open source)

and it gave me this:

[ 28%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/buttonwidget.o
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:29:33: error: plasma/widgets/icon.h: No such file or directory
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp: In constructor ‘ButtonWidget::ButtonWidget(QGraphicsWidget*)’:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:45: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:46: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:47: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:48: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:50: error: no matching function for call to ‘QGraphicsLinearLayout::addItem(Plasma::Icon*&)’
/usr/include/QtGui/qgraphicslinearlayout.h:66: note: candidates are: void QGraphicsLinearLayout::addItem(QGraphicsLayoutItem*)
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:51: error: no matching function for call to ‘QGraphicsLinearLayout::addItem(Plasma::Icon*&)’
/usr/include/QtGui/qgraphicslinearlayout.h:66: note: candidates are: void QGraphicsLinearLayout::addItem(QGraphicsLayoutItem*)
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:52: error: no matching function for call to ‘QGraphicsLinearLayout::addItem(Plasma::Icon*&)’
/usr/include/QtGui/qgraphicslinearlayout.h:66: note: candidates are: void QGraphicsLinearLayout::addItem(QGraphicsLayoutItem*)
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:53: error: no matching function for call to ‘QGraphicsLinearLayout::addItem(Plasma::Icon*&)’
/usr/include/QtGui/qgraphicslinearlayout.h:66: note: candidates are: void QGraphicsLinearLayout::addItem(QGraphicsLayoutItem*)
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:57: error: no matching function for call to ‘ButtonWidget::connect(Plasma::Icon*&, const char [11], ButtonWidget* const, const char [15])’
/usr/include/QtCore/qobject.h:197: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:302: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:59: error: no matching function for call to ‘ButtonWidget::connect(Plasma::Icon*&, const char [11], ButtonWidget* const, const char [15])’
/usr/include/QtCore/qobject.h:197: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:302: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:61: error: no matching function for call to ‘ButtonWidget::connect(Plasma::Icon*&, const char [11], ButtonWidget* const, const char [15])’
/usr/include/QtCore/qobject.h:197: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:302: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:63: error: no matching function for call to ‘ButtonWidget::connect(Plasma::Icon*&, const char [11], ButtonWidget* const, const char [15])’
/usr/include/QtCore/qobject.h:197: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:302: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp: In destructor ‘virtual ButtonWidget::~ButtonWidget()’:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:72: warning: possible problem detected in invocation of delete operator:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:72: warning: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: warning: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:72: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:73: warning: possible problem detected in invocation of delete operator:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:73: warning: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: warning: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:73: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:74: warning: possible problem detected in invocation of delete operator:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:74: warning: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: warning: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:74: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:75: warning: possible problem detected in invocation of delete operator:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:75: warning: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: warning: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:75: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp: In member function ‘void ButtonWidget::setStatus(const QString&)’:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:109: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:111: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:112: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp: In member function ‘void ButtonWidget::buttonEnable(Plasma::Icon*, bool)’:
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:130: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:131: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.cpp:132: error: invalid use of incomplete type ‘struct Plasma::Icon’
/tmp/yaourt-tmp-nishant/aur-plasma-am3rok-plasmoid/plasma-am3rok-plasmoid/src/plasma-am3rok-0.4.1/buttonwidget.hpp:33: error: forward declaration of ‘struct Plasma::Icon’
make[2]: *** [CMakeFiles/plasma_applet_am3rok.dir/buttonwidget.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_am3rok.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.

Report

Vytax

10 years ago

This is a modified version for KDE4.2: http://vmickus.googlepages.com/plasma-am3rok-0.4.1.tar.bz2

Report

robakpiotr

10 years ago

THANK YOU!

Report

cookdav

10 years ago

When I first install it into panel,
all is fine...get the desired tiny
'thumbnail' of album cover.

But, later, after logout/reboot,
the next time I use it, the tiny
album cover placeholder is missing,
and then when clicking on progress-bar,
the album cover is much larger and extends
into desktop (when panel is on bottom
of screen) and extends to covers half the
panel (when panel is on side of screen),
which is no good!

[Just seems like it FORGOT that it is
(still) contained in the panel!]

Report

hampelratte

10 years ago

I have problems to make this plasmoid work with Amarok 1.4.10. I'm running am3rok 0.4.1 and KDE 4.1. Amarok's dcop interface is available, but every time I hit the play button, a new Amarok instance gets started :(

Any ideas?

Report

C

iovar

10 years ago

This means that the dcop query exits with an error. Can you run this on the cli (with amarok open)?
$ dcop amarok player play
$ echo $?

Normally it should print 0

Report

hampelratte

10 years ago

That works as expected, Amarok starts playing:

$ dcop amarok player play
$ echo $?
0

Report

C

iovar

10 years ago

Will you also please try this?:

$ dcop amarok player playPause
$ echo $?

(this is what am3rok uses, when play is pressed)

Report

hampelratte

10 years ago

Works, too. Amarok starts playing and is paused on the second call.

Report

C

iovar

10 years ago

I'm sorry but I really can't come up with any ideas on why it fails.
The code is really simple on that point and I can't see where it fails.
Starting up amarok instead of playing, means that this call:
(QProcess::execute("dcop",
QStringList() <<
"amarok" <<
"player" <<
"playPause")

returns with an error code .

Anyway, sorry for not being helpful. If you find a solution yourself be sure to let me know ;) .

Report

kadrach

10 years ago

Hi,
I seem to have a somewhat similar problem. The widget shows up just fine, but I get no control options whatsoever, only hitting the play button, which does nothing else but open the amarok window (NOT starting a new instance of amarok).

All dcop calls to amarok fail, amarok is not listed in the output of $ dcop

Report

cinan

10 years ago

I can't compile this super plasmoid... What I did:
1. mkdir build (OK)
2. cd build (OK)
3. cmake -DCMAKE_INSTALL_PREFIX=/opt/kdemod ../ (OK)
4. make (problem)
Quote:
[ 14%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o
In file included from /home/cinan/software/plasma-am3rok/amarok_client.cpp:29:
/home/cinan/software/plasma-am3rok/mmbuttonwidget.hpp:30:35: error: plasma/widgets/widget.h: No such file or directory
/home/cinan/software/plasma-am3rok/amarok_client.cpp:34:40: error: plasma/widgets/progressbar.h: No such file or directory
/home/cinan/software/plasma-am3rok/amarok_client.cpp:35:39: error: plasma/layouts/vboxlayout.h: No such file or directory
In file included from /home/cinan/software/plasma-am3rok/amarok_client.cpp:29:
/home/cinan/software/plasma-am3rok/mmbuttonwidget.hpp:42: error: expected class-name before ‘{’ token
/home/cinan/software/plasma-am3rok/mmbuttonwidget.hpp:47: error: expected `)' before ‘*’ token
/home/cinan/software/plasma-am3rok/mmbuttonwidget.hpp:42: warning: ‘class MMButtonWidget’ has virtual functions and accessible non-virtual destructor
In file included from /home/cinan/software/plasma-am3rok/amarok_client.cpp:30:
/home/cinan/software/plasma-am3rok/mminfodisplaywidgetplasma.hpp:42: error: expected class-name before ‘,’ token
/home/cinan/software/plasma-am3rok/mminfodisplaywidgetplasma.hpp:48: error: expected `)' before ‘*’ token
/home/cinan/software/plasma-am3rok/amarok_client.cpp: In constructor ‘AmarokClient::AmarokClient(QObject*, const QVariantList&)’:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:49: error: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: error: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:50: error: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: error: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:51: error: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: error: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:53: error: no matching function for call to ‘MMButtonWidget::MMButtonWidget(AmarokClient* const)’
/home/cinan/software/plasma-am3rok/mmbuttonwidget.hpp:42: note: candidates are: MMButtonWidget::MMButtonWidget()
/home/cinan/software/plasma-am3rok/mmbuttonwidget.hpp:42: note: MMButtonWidget::MMButtonWidget(const MMButtonWidget&)
/home/cinan/software/plasma-am3rok/amarok_client.cpp:56: error: no matching function for call to ‘AmarokClient::connect(MMButtonWidget*&, const char [32], AmarokClient* const, const char [30])’
/usr/include/QtCore/qobject.h:199: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/QtCore/qobject.h:300: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/home/cinan/software/plasma-am3rok/amarok_client.cpp: In member function ‘virtual void AmarokClient::init()’:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:67: error: no matching function for call to ‘MMInfoDisplayWidgetPlasma::MMInfoDisplayWidgetPlasma(AmarokClient* const)’
/home/cinan/software/plasma-am3rok/mminfodisplaywidgetplasma.hpp:43: note: candidates are: MMInfoDisplayWidgetPlasma::MMInfoDisplayWidgetPlasma()
/home/cinan/software/plasma-am3rok/mminfodisplaywidgetplasma.hpp:43: note: MMInfoDisplayWidgetPlasma::MMInfoDisplayWidgetPlasma(const MMInfoDisplayWidgetPlasma&)
/home/cinan/software/plasma-am3rok/amarok_client.cpp:68: error: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: error: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:78: error: invalid use of incomplete type ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:35: error: forward declaration of ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:79: error: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: error: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:81: error: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: error: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp: In destructor ‘virtual AmarokClient::~AmarokClient()’:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:92: warning: possible problem detected in invocation of delete operator:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:92: warning: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: warning: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:92: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/home/cinan/software/plasma-am3rok/amarok_client.cpp:94: warning: possible problem detected in invocation of delete operator:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:94: warning: invalid use of incomplete type ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:35: warning: forward declaration of ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:94: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/home/cinan/software/plasma-am3rok/amarok_client.cpp: In member function ‘void AmarokClient::constraintsUpdated(Plasma::Constraints)’:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:106: error: ‘contentSize’ was not declared in this scope
/home/cinan/software/plasma-am3rok/amarok_client.cpp:109: error: invalid use of incomplete type ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:34: error: forward declaration of ‘struct Plasma::VBoxLayout’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:113: error: invalid use of incomplete type ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:35: error: forward declaration of ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:116: error: ‘class MMInfoDisplayWidgetPlasma’ has no member named ‘setMinimumSize’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:118: error: ‘class MMInfoDisplayWidgetPlasma’ has no member named ‘setMaximumSize’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:118: error: ‘class MMInfoDisplayWidgetPlasma’ has no member named ‘minimumSize’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:122: error: invalid use of incomplete type ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:35: error: forward declaration of ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.cpp: In member function ‘QSizeF AmarokClient::contentSizeHint() const’:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:131: error: ‘contentSize’ was not declared in this scope
/home/cinan/software/plasma-am3rok/amarok_client.cpp: In member function ‘void AmarokClient::updateBar()’:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:215: error: invalid use ofincomplete type ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:35: error: forward declaration of ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.cpp:217: error: invalid use ofincomplete type ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.hpp:35: error: forward declaration of ‘struct Plasma::ProgressBar’
/home/cinan/software/plasma-am3rok/amarok_client.cpp: In member function ‘virtual void AmarokClient::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/cinan/software/plasma-am3rok/amarok_client.cpp:242: error: ‘contentRect’ was not declared in this scope
make[2]: *** [CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_am3rok.dir/all] Error 2
make: *** [all] Error 2

Pls help.

Report

sathyabhat

10 years ago

I'm getting the same error as above. I'm using openSUSE 11, KDE 4.1.0 (4.1 >= 20080722)) "release 27.1"

Report

C

iovar

10 years ago

use the latest version of plasma-am3rok please(0.4.1). This issue had to do with the app not having being ported to KDE 4.1, which it now is (as of 0.4).

Report

sathyabhat

10 years ago

Thanks, will try it out as soon as I get KDE 4.1 up and running on my box, atm its borked :-/

Report

sathyabhat

10 years ago

Hmm, I'm still getting the errors, do I need KDE4.1 development libs as well ?

Cause as of now, I believe I have only the KDE 4.0.4 libs

(Sorry for the noob Q)

Report

C

iovar

10 years ago

What errors? If you are getting something like
error: plasma/widgets/widget.h: No such file or directory
(as in the grand-parent post), then you are using an older version of plasma-am3rok.
If you are getting something different, then I cannot give any advise, without having seen it.

And btw, yes you need a full KDE4.1
runtime and development environment to use this plasmoid.

>> (Sorry for the noob Q)
no prob ;)

Report

C

iovar

10 years ago

>> KDE4.1 runtime but the development libs are KDE4.0.4, so maybe because of that I'm getting these errors

Given your output, it seems that this is your problem. Unfortunately until you update your devel packages you won't be able to compile any plasmoids since there have been many changes in the API during the 4.0 -> 4.1 transition .
(compiling older versions, written for 4.0 will also not work, since you won't be able to link these to the new libraries).

Report

sathyabhat

10 years ago

Ah I'm getting the same errors as cinan posted

Doing a repost,

sathya@sathya:~/Downloads/plasma-am3rok-0.4.1/build> make
[ 12%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp: In constructor ‘AmarokClient::AmarokClient(QObject*, const QVariantList&)’:
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:49: error: ‘IgnoreAspectRatio’ is not a member of ‘Plasma’
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:49: error: ‘setAspectRatioMode’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp: In member function ‘virtual void AmarokClient::init()’:
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:57: error: no matching function for call to ‘QGraphicsLinearLayout::QGraphicsLinearLayout(AmarokClient* const)’
/usr/include/QtGui/qgraphicslinearlayout.h:114: note: candidates are: QGraphicsLinearLayout::QGraphicsLinearLayout(const QGraphicsLinearLayout&)
/usr/include/QtGui/qgraphicslinearlayout.h:66: note: QGraphicsLinearLayout::QGraphicsLinearLayout(Qt::Orientation, QGraphicsLayoutItem*)
/usr/include/QtGui/qgraphicslinearlayout.h:65: note: QGraphicsLinearLayout::QGraphicsLinearLayout(QGraphicsLayoutItem*)
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:62: error: no matching function for call to ‘AmarokClient::setLayout(QGraphicsLinearLayout*&)’
/usr/include/plasma/layouts/layoutitem.h:124: note: candidates are: void Plasma::LayoutItem::setLayout(Plasma::Layout*)
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:63: error: no matching function for call to ‘ButtonWidget::ButtonWidget(AmarokClient* const)’
/home/sathya/Downloads/plasma-am3rok-0.4.1/buttonwidget.hpp:48: note: candidates are: ButtonWidget::ButtonWidget(QGraphicsWidget*)
/home/sathya/Downloads/plasma-am3rok-0.4.1/buttonwidget.hpp:43: note: ButtonWidget::ButtonWidget(const ButtonWidget&)
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:72: error: no matching function for call to ‘InfoWidgetPlasma::InfoWidgetPlasma(AmarokClient* const)’
/home/sathya/Downloads/plasma-am3rok-0.4.1/infowidgetplasma.hpp:44: note: candidates are: InfoWidgetPlasma::InfoWidgetPlasma(QGraphicsWidget*)
/home/sathya/Downloads/plasma-am3rok-0.4.1/infowidgetplasma.hpp:39: note: InfoWidgetPlasma::InfoWidgetPlasma(const InfoWidgetPlasma&)
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:74: error: no matching function for call to ‘QGraphicsLinearLayout::addItem(InfoWidgetPlasma*&)’
/usr/include/QtGui/qgraphicslinearlayout.h:72: note: candidates are: void QGraphicsLinearLayout::addItem(QGraphicsLayoutItem*)
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:89: error: no matching function for call to ‘QGraphicsLinearLayout::addItem(Plasma::Meter*&)’
/usr/include/QtGui/qgraphicslinearlayout.h:72: note: candidates are: void QGraphicsLinearLayout::addItem(QGraphicsLayoutItem*)
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp: In member function ‘void AmarokClient::recalculateGeometry()’:
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:114: error: ‘contentsRect’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:129: error: ‘getContentsMargins’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:153: error: ‘setPreferredSize’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp: In member function ‘void AmarokClient::constraintsEvent(Plasma::Constraints)’:
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:163: error: ‘setSizePolicy’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:164: error: ‘setMinimumWidth’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:167: error: ‘setSizePolicy’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:168: error: ‘setMinimumHeight’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:171: error: ‘setSizePolicy’ was not declared in this scope
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp: In member function ‘virtual void AmarokClient::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/sathya/Downloads/plasma-am3rok-0.4.1/amarok_client.cpp:259: error: ‘contentsRect’ was not declared in this scope
make[2]: *** [CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_am3rok.dir/all] Error 2
make: *** [all] Error 2

I'm using plasma-am3rok 0.4.1, KDE4.1 runtime but the development libs are KDE4.0.4, so maybe because of that I'm getting these errors?

Wish I could download the KDE 4.1 development libs, but I've already exceeded my Bandwidth cap.

Thanks for the quick response, really appreciate it!

Report

cinan

10 years ago

now with v0.4 is everything OK

Report

vendion

10 years ago

This is nice plasmoid, and it is very useful but it is prone to crashing Plasma on three different machines all running openSUSE 11.0

Report

trickykid

10 years ago

Plasma crash on Kubuntu 8.04 KDE 4.04.

The Plasmoid crashes when you log out, restarts, or turn off. That's why it's not there when you log in again.

Report

10 years ago

[version 0.4.1]

* Fixed a sizing-related bug that could
turn the app into a CPU hog

[version - 0.4]

*Ported to KDE 4.1

[version - 0.3]
*Rewritten most of the code in a more
modular and easier to maintain way.
*Fixed(hopefully) the resizing bug.
*Added progress-bar and a popup
with the track information when
the containment is a panel.

[version - 0.2]

Added progress-bar,
track/artist/album
info and album cover,
when the containment
is a Desktop.

product-maker 21 103

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.4.1
updated Aug 19 2008
added Jan 19 2008
downloads today
0
page views today 5