Hi!
Thanks for these instructions: I am now focusing on banshee-master.
I could compile gstreamer-sharp master (requiring glib-sharp-master)
successfully on my Ubuntu 15.04. (I am using ./autogen.sh
--prefix=/usr && make && sudo make install).
Now banshee-master compiles! (I am using ./autogen.sh &&
make && sudo make install). But I encounter this error
concerning gstreamer-sharp:
[...]$ banshee --debug
** Running Mono with --debug --profile="" **
*** Running with gui-thread-check ***
[1 Debug 16:33:39.609] Bus.Session.RequestName
('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Info 16:33:39.624] Running Banshee 2.9.2: [git-checkout
(linux-gnu, x86_64) @ 2015-05-11 16:31:22 EDT]
[1 Debug 16:33:39.630] Initializing GTK
*** GUI THREAD INITIALIZED: 1549297536
[1 Debug 16:33:41.245] Post-Initializing GTK
[1 Debug 16:33:41.257] Configuration client extension loaded
(Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 16:33:41.260] Using default gconf-base-key
[1 Debug 16:33:41.350] Core service started
(DBusServiceManager, 0,001038)
[1 Debug 16:33:41.352] Registering remote object
/org/bansheeproject/Banshee/DBusCommandService
(Banshee.ServiceStack.DBusCommandService) on
org.bansheeproject.Banshee
[1 Debug 16:33:41.359] Core service started
(DBusCommandService, 0,007641)
[1 Debug 16:33:41.398] Opened SQLite (version 3.8.7.4)
connection to /home/chrisperro/.config/banshee-1/banshee.db
[1 Debug 16:33:41.399] Core service started (DbConnection,
0,040173)
[1 Debug 16:33:41.403] Database version 45 is up to date
[1 Debug 16:33:41.427] Core service started
(PreferenceService, 0,01231)
[1 Debug 16:33:41.433] Core service started (Network,
0,005158)
[1 Debug 16:33:41.433] Registering remote object
/org/bansheeproject/Banshee/SourceManager
(Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 16:33:41.433] Core service started (SourceManager,
0,000635)
[1 Debug 16:33:41.437] Core service started
(MediaProfileManager, 0,000195)
[1 Debug 16:33:41.439] Registering remote object
/org/bansheeproject/Banshee/PlayerEngine
(Banshee.MediaEngine.PlayerEngineService) on
org.bansheeproject.Banshee
[1 Debug 16:33:41.440] Core service started (PlayerEngine,
0,003103)
[1 Error 16:33:41.448] Error initializing required service
PlayerEngine
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. ---> System.TypeInitializationException: An
exception was thrown by the type initializer for Gst.Version
---> System.DllNotFoundException: libgstreamer-1.0-0.dll
at (wrapper managed-to-native) Gst.Version:gst_version
(uint&,uint&,uint&,uint&)
at Gst.Version..cctor () [0x00015] in
/home/chrisperro/dev/banshee/gstreamer-sharp-master/sources/custom/Version.cs:40
--- End of inner exception stack trace ---
at Banshee.GStreamerSharp.PlayerEngine..ctor () [0x00050]
in
/home/chrisperro/dev/banshee/banshee-master/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs:302
at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke
(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke
(System.Object obj, System.Object[] parameters) [0x00000] in
<filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke
(System.Object obj, System.Object[] parameters) [0x00000] in
<filename unknown>:0
at System.Activator.CreateInstance (System.Type type,
Boolean nonPublic) [0x00000] in <filename unknown>:0
at System.Activator.CreateInstance (System.Type type)
[0x00000] in <filename unknown>:0
at Mono.Addins.TypeExtensionNode.CreateInstance ()
[0x00000] in <filename unknown>:0
at Mono.Addins.InstanceExtensionNode.CreateInstance
(System.Type expectedType) [0x00000] in <filename
unknown>:0
at Banshee.MediaEngine.PlayerEngineService.LoadEngine
(Mono.Addins.TypeExtensionNode node) [0x0000d] in
/home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs:150
at
Banshee.MediaEngine.PlayerEngineService.Banshee.ServiceStack.IInitializeService.Initialize
() [0x00069] in
/home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs:96
at Banshee.ServiceStack.ServiceManager.RegisterService
(System.Type type) [0x00062] in
/home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:179
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke
(System.Object obj, System.Object[] parameters) [0x00000] in
<filename unknown>:0
at System.Activator.CreateInstance (System.Type type,
Boolean nonPublic) [0x00000] in <filename unknown>:0
at System.Activator.CreateInstance (System.Type type)
[0x00000] in <filename unknown>:0
at Banshee.Gui.GtkBaseClient.Startup () [0x00001] in
/home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:79
at Hyena.Gui.CleanRoomStartup.Startup
(Hyena.Gui.StartupInvocationHandler startup) [0x00050] in
/home/chrisperro/dev/banshee/banshee-master/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54
Gtk-Message: GtkDialog mapped without a transient parent.
This is discouraged.
Do you know what's happening here?
Besides, the main features I would like to implement in Banshee are:
- Right click context menu on songs in the Play queue as in the
library (to add them to a list, rate them, etc.);
- Automatic Play Queue filler with "1 song per year".
- ReplayGain pre-amp;
Thanks,
Christian
Le 2015-05-09 11:34, Bertrand Lorentz a
écrit :
Hello,
For the error when compiling Banshee 2.6:
The code is indeed quite old, so it uses methods in
Mono.Cairo that have been since then marked as deprecated. As
the compilation is done with the "-warnaserror" option on, the
deprecation warnings cause the compilation to fail.
In any case, I wouldn't advise working on the 2.6 branch.
Better to do what you want in git master, then we'll look into
back-porting to the 2.6 branch.
The gstreamer-sharp errors don't happen with the latest for
its git master. They were probably fixed since then. I've just
committed some changes to Banshee git master, so it should now
build against the latest gstreamer-sharp.
Sorry for all this trouble, Banshee master currently
depends on a bunch of unreleased stuff, and things are not all
nice and tidy...
Happy hacking !
--
Bertrand
_______________________________________________
banshee-list mailing list
banshee-list gnome org
https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here)
|