Re: [Banshee-List] Problem building Banshee with gudev-sharp-3.0
- From: Nicholas Little <arealityfarbetween googlemail com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Problem building Banshee with gudev-sharp-3.0
- Date: Sat, 2 Feb 2019 13:47:01 +0000
On Sat, 1 Dec 2018 at 21:17, Christian Perreault via banshee-list
<banshee-list gnome org> wrote:
Hi,
Hi Christian
When trying to build Banshee on Ubuntu 18.04 and 18.10, I encountered the same problem as many others
encountered and reported: "The type or namespace name 'GUdev' could not be found. Are you missing an
assembly reference?"
Still, the DLL of this library was existing and its path was good. Then I had the (crazy) idea of replacing
its DLL with the one from the version 1.0, that is to say replacing
/usr/lib/cli/gudev-sharp-3.0/gudev-sharp.dll (from the libgudev3.0-cil package) with a copy of
/usr/lib/cli/gudev-sharp-1.0/gudev-sharp.dll (from the libgudev1.0-cil package), and it worked, I could
build Banshee without error!
The only problem I spotted is that the dropdown menu to autofill the playlist does not render the tree, but
only two root options: Music and Videos. I'll try to work on that but I am new to GTK development...
Note that I worked from the feature/build branch of the artbtwm fork of Banshee.
Cheers for testing it out, I've merged this branch into master along
with a few small bugfixes that I'm pretty sure are safe :+1:
When I build gudev-sharp from source, the DLL is exactly the same as the one provided by the
libgudev3.0-cil Ubuntu package. Thus, it looks like something if broken with the gudev-sharp 3.0 DLL.
Is it possible? Can someone confirm it? Does someone can build Banshee with gudev-sharp 3 without problem?
Yeah it's pretty odd. I have an Ubuntu 17.10 virtual machine that I
had installed ages ago and running monodis on the gudev-sharp.dll from
the 3.0 package shows that it contains no namespace and no types.
I think I encountered this problem with my own system (Gentoo) but I
was able to patch the ebuild (ebuild is just the Gentoo term for
package) to fix it. You should see .namespace GUdev somewhere in the
output from monodis if you have a working assembly.
If it makes any sense to you this is the modification that I made in my ebuild:
sed -i 's#GENERATED_SOURCES=generated/\*.cs#GENERATED_SOURCES="generated/GUdev/*.cs
generated/GtkSharp/*.cs"#' configure.ac
In summary, the sources are probably being generated but the
GENERATED_SOURCES variable doesn't refer to them since they're in
subdirectories, #Fail...
Thanks in advance for any help.
Christian
HTH
<snip />
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]