>>> emerge media-sound/apollo-1.1.1-r1 to / >>> md5 ;-) apollo-src-1.1.1-1.tar.bz2 >>> Unpacking source... >>> Unpacking apollo-src-1.1.1-1.tar.bz2 >>> Source unpacked. g++ -c -Wall -Wno-ctor-dtor-privacy -O2 -DNO_DEBUG -I/usr/qt/3/include -o obj/qmconfig.o qmconfig.cpp In file included from /usr/include/g++-v32/backward/iostream.h:31, from qmconfig.cpp:36: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. g++ -c -Wall -Wno-ctor-dtor-privacy -O2 -DNO_DEBUG -I/usr/qt/3/include -o obj/qmsongitem.o qmsongitem.cpp qmsongitem.cpp: In member function `virtual void QmSongItem::paintCell(QPainter*, const QColorGroup&, int, int, int)': qmsongitem.cpp:181: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:184: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:186: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:188: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:193: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:195: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:197: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:199: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:205: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:208: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:217: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp: In member function `virtual void QmSongItem::paintFocus(QPainter*, const QColorGroup&, const QRect&)': qmsongitem.cpp:236: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' qmsongitem.cpp:239: invalid use of undefined type `struct QPainter' /usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter' make: *** [obj/qmsongitem.o] Error 1
seems that apollo-1.1.1 is qt2 only. there is also apollo-1.4.1 available (currently working on an ebuild for it).
just committed apollo-1.4.1.ebuild. Please test.
With kde in USE I get: Apollo is now configured for building. Just run make. g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2 -DENABLE_MPG123 -DOS_UNIX -DAPOLLO_USE_STL -DUSING_QT3 -DAPOLLO_USE_KDE -DENABLE_MPG123_BUFFER -DENABLE_MAD -DENABLE_ID3 -DQT_NO_DEBUG -I/usr/qt/3/include -I/usr/include/stlport -I../../image/usr/kde/cvs -I. -I../../image/usr/kde/cvs/include -I../../image/usr/kde/cvs/include/kde -I/usr/include -I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o obj/main.o main.cpp g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2 -DENABLE_MPG123 -DOS_UNIX -DAPOLLO_USE_STL -DUSING_QT3 -DAPOLLO_USE_KDE -DENABLE_MPG123_BUFFER -DENABLE_MAD -DENABLE_ID3 -DQT_NO_DEBUG -I/usr/qt/3/include -I/usr/include/stlport -I../../image/usr/kde/cvs -I. -I../../image/usr/kde/cvs/include -I../../image/usr/kde/cvs/include/kde -I/usr/include -I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o obj/qmaboutdialog.o qmaboutdialog.cpp In file included from qmapplication.h:32, from main.cpp:27: kde/qmapplication_kde.h:31:18: kapp.h: No such file or directory In file included from qmapplication.h:32, from main.cpp:27: kde/qmapplication_kde.h:40: parse error before `{' token kde/qmapplication_kde.h:61: `QWidget' was not declared in this scope kde/qmapplication_kde.h:61: `filter' was not declared in this scope kde/qmapplication_kde.h:61: variable or field `installX11EventFilter' declared void kde/qmapplication_kde.h:63: parse error before `protected' In file included from qmrecoverymanager.h:33, from main.cpp:51: qmconfig.h:128: ISO C++ forbids declaration of `auto_ptr' with no type qmconfig.h:128: template-id `auto_ptr<QmConfig>' used as a declarator qmconfig.h:128: parse error before `;' token In file included from main.cpp:51: qmrecoverymanager.h:71: ISO C++ forbids declaration of `auto_ptr' with no type qmrecoverymanager.h:71: template-id `auto_ptr<QmRecoveryManager>' used as a declarator qmrecoverymanager.h:71: parse error before `;' token main.cpp: In function `int main(int, char**)': main.cpp:161: no method `QmApplication::init' main.cpp:162: variable `QmApplication a' has initializer but incomplete type make: *** [obj/main.o] Error 1 ---------- Without kde in USE I still get a part of the above: Apollo is now configured for building. Just run make. g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2 -DENABLE_MPG123 -DOS_UNIX -DAPOLLO_USE_STL -DUSING_QT3 -DENABLE_MPG123_BUFFER -DENABLE_MAD -DENABLE_ID3 -DQT_NO_DEBUG -I/usr/qt/3/include -I/usr/include/stlport -I/usr/include -I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o obj/main.o main.cpp g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2 -DENABLE_MPG123 -DOS_UNIX -DAPOLLO_USE_STL -DUSING_QT3 -DENABLE_MPG123_BUFFER -DENABLE_MAD -DENABLE_ID3 -DQT_NO_DEBUG -I/usr/qt/3/include -I/usr/include/stlport -I/usr/include -I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o obj/qmaboutdialog.o qmaboutdialog.cpp In file included from qmrecoverymanager.h:33, from main.cpp:51: qmconfig.h:128: ISO C++ forbids declaration of `auto_ptr' with no type qmconfig.h:128: template-id `auto_ptr<QmConfig>' used as a declarator qmconfig.h:128: parse error before `;' token In file included from main.cpp:51: qmrecoverymanager.h:71: ISO C++ forbids declaration of `auto_ptr' with no type qmrecoverymanager.h:71: template-id `auto_ptr<QmRecoveryManager>' used as a declarator qmrecoverymanager.h:71: parse error before `;' token make: *** [obj/main.o] Error 1 ---------- This is kde 3.1beta2 and qt from a recent qt-copy (i.e. qt-3.1.x tree). Don't know if that's the reason for this; don't have time to test further just now. Oh, gcc 3.2.
currently apollo does not work with stl (i wrote the developers about this). it also does not work with kde... it works if you don't have STLport installed and don't compile it with "--with-kde". I'm working with the apollo developers together to solve this.
Jonas, please test and comment if apollo-1.4.1 works for you (emerge sync; unmask apollo-1.4.1). The developers of apollo are working on solutions to get apollo work with kde3 and with stl. I think if this ebuild works, we can close this bug.
It compiled and started up.