Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278901 - Ebuild request: media-sound/kajammer
Summary: Ebuild request: media-sound/kajammer
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard: [qting-edge]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2009-07-24 05:37 UTC by Casey Jones
Modified: 2012-01-09 13:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
initial ebuild (kajammer-0.9.ebuild,543 bytes, text/plain)
2009-07-24 05:38 UTC, Casey Jones
Details
initial live ebuild (kajammer-9999.ebuild,565 bytes, text/plain)
2009-07-24 05:38 UTC, Casey Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Casey Jones 2009-07-24 05:37:56 UTC
I wrote up an ebuild for kajammer, a simple Qt/Phonon music player.

It depends on Qt 4.4 and above.  The components it needs are qt-core, qt-qui, and phonon.

Reproducible: Always

Steps to Reproduce:




My first ebuild, but it works for me at least.

I'm also include a live ebuild.

The only part I'm concerned about is this:
DEPEND="...
        kde? ( media-sound/phonon )
        !kde? ( x11-libs/qt-phonon )"

Thanks.
Comment 1 Casey Jones 2009-07-24 05:38:34 UTC
Created attachment 198960 [details]
initial ebuild
Comment 2 Casey Jones 2009-07-24 05:38:53 UTC
Created attachment 198961 [details]
initial live ebuild
Comment 3 Dror Levin (RETIRED) gentoo-dev 2009-12-17 23:58:12 UTC
Committed ebuild for version 0.9.2.2 to qting-edge overlay, please test and provide feedback.
Comment 4 Casey Jones 2009-12-18 04:32:54 UTC
Dror, thanks for taking the time to update the ebuild.  I kind of secretly switched to CMake since I submitted this.

I'm not sure if the build worked for you, but it didn't work for me.  It's not your fault though, I found that apparently I uploaded the wrong git branch in the 0.9.2.2-1.tar.gz package.  So it ended up being a really old version of my master branch.  I noticed this because it was having errors with a file that wasn't supposed to be in that released.

I deleted that file off sourceforge and replaced it.

Also, that release has Last.fm support via media-libs/liblastfm-0.3.0.
So could you add a lastfm use flag or something?  It's an optional dependency.

Thanks.
Comment 5 Dror Levin (RETIRED) gentoo-dev 2009-12-22 20:03:40 UTC
I added lastfm USE flag and remanifested the ebuild on qting-edge, I hope it's better now ;)
Comment 6 Casey Jones 2009-12-22 23:16:00 UTC
I had a problem building it with the lastfm flag disabled, but it went away when I enabled it.  It may be because I still had liblastfm installed.

Here is an excerpt of that error:
Building CXX object CMakeFiles/kajammer.dir/src/collectionscanner.cpp.o                   
In file included from /usr/include/lastfm/FingerprintId:23,                               
                 from /usr/include/lastfm/Fingerprint:23,                                 
                 from /usr/include/lastfm.h:2,                                            
                 from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/lastfm.h:30,                                                                  
                 from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/mainwindow.h:37,                                                              
                 from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/main.cpp:27:                                                                          
/usr/include/lastfm/Track:26:23: error: QDomElement: No such file or directory            
In file included from /usr/include/lastfm.h:5,                                            
                 from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/lastfm.h:30,                                                                  
                 from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/mainwindow.h:37,                                                              
                 from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2

I ran into this issue before when I was implementing liblastfm.  If I remember correctly, CMake was trying to compile a test program with the lastfm headers to make sure it worked.  But the lastfm headers' includes were like:
#include <QString>

instead of:
#include <QtCore/QString>

So it was giving compile errors like that.
Comment 7 Casey Jones 2009-12-22 23:20:33 UTC
Just to add to that last comment, CMake's test program is looking for /usr/include/QString, which doesn't exist, and CMake has no idea where it is.  Nothing is telling it that QString is in /usr/include/qt4/QtCore/

So it just assumes that the lastfm headers don't exist.
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2012-01-09 13:19:12 UTC
Latest release exactly 2 years ago, and upstream seems completely dead since mid-2010. Closing as WONTFIX.