Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347906 - [version bump] media-sound/clementine-0.6
Summary: [version bump] media-sound/clementine-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 13:23 UTC by Dennis Schridde
Modified: 2010-12-26 15:14 UTC (History)
5 users (show)

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


Attachments
patch: 0.5.3 -> 0.6_rc1 (clementine-0.6_rc1.ebuild.patch,1.92 KB, patch)
2010-12-06 13:24 UTC, Dennis Schridde
Details | Diff
ebuild (clementine-0.6.ebuild,2.70 KB, text/plain)
2010-12-12 09:41 UTC, Nikoli
Details
patch: 0.5.3 -> 0.6 (clementine-0.6.ebuild.patch,1.28 KB, patch)
2010-12-14 09:55 UTC, Dennis Schridde
Details | Diff
ebuild patch 0.5.3 -> 0.6 with optional liblastfm depend (clementine-0.6-wolastfm.ebuild.patch,1.49 KB, patch)
2010-12-17 20:26 UTC, Balazs Nemeth
Details | Diff
patch pack to make liblastfm optional (make-lastfm-optional-2407.patch.gz,8.43 KB, patch)
2010-12-17 20:27 UTC, Balazs Nemeth
Details | Diff
build logs and emerge --info (clementine-logs.tar.gz,11.32 KB, text/plain)
2010-12-17 21:27 UTC, Balazs Nemeth
Details
build logs from clementine-0.6-r1 (multimedia-overlay) (clementine-build-logs-2.tar.gz,15.49 KB, text/plain)
2010-12-19 21:59 UTC, Balazs Nemeth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2010-12-06 13:23:17 UTC
An RC of Clementine 0.6 was released. Attached is an ebuild which builds it.

Reproducible: Always
Comment 1 Dennis Schridde 2010-12-06 13:24:50 UTC
Created attachment 256494 [details, diff]
patch: 0.5.3 -> 0.6_rc1
Comment 2 Nikoli 2010-12-07 19:18:00 UTC
Thanks, in multimedia overlay.
Comment 3 Balazs Nemeth 2010-12-07 20:33:12 UTC
If you can include this patch it may be possible to make liblastfm optional and thus we can get rid of ruby dependency. :)

http://code.google.com/p/clementine-player/issues/detail?id=49
Comment 4 Nikoli 2010-12-08 20:53:50 UTC
liblastfm needs ruby only for building, it is not rdepend. Do 'emerge --depclean --with-bdeps=n -a' after installing clementine. I like the idea of making liblastfm optional depend, but the patch seems completely untested and unsupported. If it works fine for you, comment upstream bug.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-12-11 21:56:35 UTC
Final version out.
Comment 6 Nikoli 2010-12-12 09:41:48 UTC
Created attachment 256949 [details]
ebuild
Comment 7 Dennis Schridde 2010-12-14 09:55:48 UTC
Created attachment 257104 [details, diff]
patch: 0.5.3 -> 0.6

Patch for final version 0.6. Changes are only: Support USE=ayatana / gnome-soundmenu, and adding qt-dbus/qt-webkit to dependencies (taken from CMakeLists).
Comment 8 Nikoli 2010-12-14 10:36:18 UTC
Dennis, read other attachments before adding new, all changes in my ebuild are necessary.

P.S.
Do not add x11-libs/qt-dbus:4. x11-libs/qt-gui:4[dbus] depends on it and already is in ebuild. clementine does not need qt-webkit and qt-phonon, it is not linked to them and builds fine without them. Ayatana is not global USE, clementine uses 'soundmenu' cmake option.
Comment 9 Dennis Schridde 2010-12-14 10:53:38 UTC
(In reply to comment #8)
> Dennis, read other attachments before adding new, all changes in my ebuild are
> necessary.
Then please add a patch, so that it is clearly visible what these are.

> clementine does not need qt-webkit and qt-phonon, it is
> not linked to them and builds fine without them.
CMakeLists contains:
find_package(Qt4 COMPONENTS Phonon QtWebKit)
Did you check that there is no conditional code depending on the presence of WebKit? (The Phonon engine is conditional, and disabled by ENGINE_QT_PHONON_ENABLED.) Please do not forget to check for load-at-runtime situations.

> Ayatana is not global USE, clementine uses 'soundmenu' cmake option.
Other applications, like Quassel and previously KMail use the ayatana useflag for their libindicate (part of the Ayatana project) related parts. Hence I feel that ayatana is the right name for the flag, especially when thinking about useflag pollution.
Comment 10 Balazs Nemeth 2010-12-17 20:26:17 UTC
Created attachment 257437 [details, diff]
ebuild patch 0.5.3 -> 0.6 with optional liblastfm depend

Needs additional patch from here:
http://code.google.com/p/clementine-player/issues/detail?id=49

I will also upload it to this ticket.
Comment 11 Balazs Nemeth 2010-12-17 20:27:17 UTC
Created attachment 257438 [details, diff]
patch pack to make liblastfm optional

From here: http://code.google.com/p/clementine-player/issues/detail?id=49#c18
Comment 12 Balazs Nemeth 2010-12-17 20:29:59 UTC
(In reply to comment #10)
> Created an attachment (id=257437) [details]
> ebuild patch 0.5.3 -> 0.6 with optional liblastfm depend
> 
> Needs additional patch from here:
> http://code.google.com/p/clementine-player/issues/detail?id=49
> 
> I will also upload it to this ticket.
> 

Without the patch from upstream the compilation fails. But with the patch I was able to compile it without liblastfm dependency.
I wasn't tested 0.6 thoroughly, I just ran it and imported a couple of thousand  mp3s and played some of them.
Comment 13 Dennis Schridde 2010-12-17 21:14:52 UTC
(In reply to comment #12)
> Without the patch from upstream the compilation fails.
Do you have details? build.log, emerge--info, etc?
Comment 14 Balazs Nemeth 2010-12-17 21:26:26 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > Without the patch from upstream the compilation fails.
> Do you have details? build.log, emerge--info, etc?
> 

Sure, I forgot to attach before.
Comment 15 Balazs Nemeth 2010-12-17 21:27:25 UTC
Created attachment 257440 [details]
build logs and emerge --info

build logs and emerge --info from building clementine-0.6 with and without the liblastfm patch
Comment 16 Dennis Schridde 2010-12-18 08:39:10 UTC
(In reply to comment #15)
> build logs and emerge --info from building clementine-0.6 with and without the
> liblastfm patch
Which version of liblastfm do you have installed? Which ebuild are you exactly using?
Comment 17 Balazs Nemeth 2010-12-18 11:36:41 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > build logs and emerge --info from building clementine-0.6 with and without the
> > liblastfm patch
> Which version of liblastfm do you have installed? Which ebuild are you exactly
> using?
> 

I don't have any at all :)
My goal was to be able to compile clementine without liblastfm (and ruby).

If you need some testing I can install them temporary.
Comment 18 Dennis Schridde 2010-12-18 11:45:34 UTC
(In reply to comment #17)
> I don't have any at all :)
In this case your complaint about compilation failing is rather moot, ain't it?

Having a look at your patch, settingsdialog.ui seems suspicious. You entirely remove all lastfm references... So even in a build with lastfm, there will be no settings about it, is that correct?
Comment 19 Balazs Nemeth 2010-12-18 12:38:28 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > I don't have any at all :)
> In this case your complaint about compilation failing is rather moot, ain't it?
> 
Well, I know why it failed. I didn't complain about it. I just wanted to note that now we can build clementine without it.

> Having a look at your patch, settingsdialog.ui seems suspicious. You entirely
> remove all lastfm references... So even in a build with lastfm, there will be
> no settings about it, is that correct?
> 
Yes, you are right. Maybe we could make that patch optional, wheter we use lastfm USE flag or not. And also note the users about this behaviour in the ebuild.

Please note that those patches are from upstream's bugtracker, I haven't changed them in any way.
Comment 20 Samuli Suominen (RETIRED) gentoo-dev 2010-12-18 21:03:42 UTC
0.6 in portage
Comment 21 Balazs Nemeth 2010-12-18 21:29:09 UTC
(In reply to comment #20)
> 0.6 in portage
> 

At least can I get an explanation why was my modification dropped without any notes?
Comment 22 Samuli Suominen (RETIRED) gentoo-dev 2010-12-18 22:27:48 UTC
(In reply to comment #21)
> (In reply to comment #20)
> > 0.6 in portage
> > 
> 
> At least can I get an explanation why was my modification dropped without any
> notes?
> 

You mean the patch making liblastfm optional?   I'd rather wait upstream includes it, and we'll get it with version 0.6.1 or such.
Other than that, I'm just a commit monkey for Nikoli, the actual maintainer for clementine :)
Comment 23 Balazs Nemeth 2010-12-18 22:45:36 UTC
(In reply to comment #22)
> (In reply to comment #21)
> > (In reply to comment #20)
> > > 0.6 in portage
> > > 
> > 
> > At least can I get an explanation why was my modification dropped without any
> > notes?
> > 
> 
> You mean the patch making liblastfm optional?   I'd rather wait upstream
> includes it, and we'll get it with version 0.6.1 or such.
> Other than that, I'm just a commit monkey for Nikoli, the actual maintainer for
> clementine :)
> 

Okay, not it's clear to me. Thanks for the clarification.
Comment 24 Nikoli 2010-12-19 09:57:33 UTC
Balazs, when upstream will fix automagic issue, we can backport changes and add 0.6-r1:
http://code.google.com/p/clementine-player/issues/detail?id=1138
Comment 25 Nikoli 2010-12-19 20:40:41 UTC
0.6-r1 with optional (backported r2436, r2448, r2458) liblastfm is in multimedia overlay. If it works fine for you, please comment here.
Comment 26 Balazs Nemeth 2010-12-19 21:58:48 UTC
(In reply to comment #25)
> 0.6-r1 with optional (backported r2436, r2448, r2458) liblastfm is in
> multimedia overlay. If it works fine for you, please comment here.
> 

I was able to compile it with and without lastfm USE flag.
In both cases works fine for me.
I am attaching the build logs from both compilation.
Comment 27 Balazs Nemeth 2010-12-19 21:59:41 UTC
Created attachment 257584 [details]
build logs from clementine-0.6-r1 (multimedia-overlay)
Comment 28 Agostino Sarubbo gentoo-dev 2010-12-19 22:06:08 UTC
(In reply to comment #25)
> 0.6-r1 with optional (backported r2436, r2448, r2458) liblastfm is in
> multimedia overlay. If it works fine for you, please comment here.
> 

Works for me, on x86, with +lastfm and -lastfm
Comment 29 Nikoli 2010-12-25 16:40:49 UTC
clementine-0.6-r2 with 'clementine-0.6-optional-dbus-devicekit.patch' is in overlay.
Comment 30 Nikoli 2010-12-26 15:14:43 UTC
http://code.google.com/p/clementine-player/source/detail?r=2497
Upstream accepted my patch, updated overlay.