After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639644 - Banshee.Bpm needs Banshee.GStreamer which is not built on Windows
Banshee.Bpm needs Banshee.GStreamer which is not built on Windows
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Other Extensions
git master
Other Windows
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-16 03:59 UTC by Dustin C. Hatch
Modified: 2011-01-18 19:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add Condition attributes to backend ProjectReference elements (1.29 KB, patch)
2011-01-16 03:59 UTC, Dustin C. Hatch
committed Details | Review

Description Dustin C. Hatch 2011-01-16 03:59:11 UTC
Created attachment 178426 [details] [review]
Add Condition attributes to backend ProjectReference elements

Since libbanshee and the Banshee.GStreamer backend are not used on Windows, the Banshee.Bpm project will not build because it includes a project reference to Banshee.GStreamer.

I'm not sure what the preferred method for handling this discrepancy is, but one possibility is to use a Condition attribute on the ProjectReference element. I was able to get it to build successfully by using a '$(Configuration)' == 'Windows' condition on a ProjectReference to the Banshee.GStreamerSharp project.
Comment 1 Gabriel Burt 2011-01-16 04:05:36 UTC
Review of attachment 178426 [details] [review]:

I think this is ok, but really we'll need to implement a IBpmDetector for the Banshee.GStreamerSharp backend.  I think we can commit this w/o adding that first -- should just silently fail when it sees the gst# backend doesn't have a bpm detector -- but can you test that it works still?
Comment 2 Dustin C. Hatch 2011-01-16 04:08:29 UTC
(In reply to comment #1)
> Review of attachment 178426 [details] [review]:
> 
> I think this is ok, but really we'll need to implement a IBpmDetector for the
> Banshee.GStreamerSharp backend.  I think we can commit this w/o adding that
> first -- should just silently fail when it sees the gst# backend doesn't have a
> bpm detector -- but can you test that it works still?

It didn't even occur to me to check that. I would say that as long as it doesn't crash the application, it should be fine. I will check that this is the case shortly.
Comment 3 Dustin C. Hatch 2011-01-17 04:21:19 UTC
Nothing crashes, but the BPM Detection extension is disabled (you cannot tick the checkbox). I guess for now we could either go ahead and apply the patch to use conditional references, or just remove the project from the Windows configuration, since building it doesn't provide anything yet.
Comment 4 Gabriel Burt 2011-01-18 19:43:36 UTC
Review of attachment 178426 [details] [review]:

Committed, thanks