Package: libgudev3.0-cil
Version: 3.0.0-1
Severity: normal
Tags: patch

I have
ii  gtk-sharp3-gapi 2.99.3-2

When building gudev-sharp-3.0 with this apparently everything is fine, but the
resulting /usr/lib/cli/gudev-sharp-3.0/gudev-sharp.dll
is unusable - it contains almost nothing.

The reason is that gapi3-codegen doesn't generate *.cs files directly in the
given --outdir=generated anymore, but rather in sub directories below it
(generated/GUdev and generated/GtkSharp).
gudev/Makefile then builds the DLL with

mono-csc  -out:gudev-sharp.dll -unsafe -target:library ... AssemblyInfo.cs
generated/*.cs

The last argument matches nothing, but mono-csc doesn't care.

Suggested fix below, should work with current and previous gtk-sharp3-gapi.

Cheers, Roderich





-- System Information:
Debian Release: jessie/sid
  APT prefers utopic
  APT policy: (500, 'utopic'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-rc5 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgudev3.0-cil depends on:
ii  cli-common             0.9
ii  libglib3.0-cil         2.99.3-2
ii  libgudev-1.0-0         208-6
ii  libmono-corlib4.5-cil  3.2.8+dfsg-7

libgudev3.0-cil recommends no packages.

libgudev3.0-cil suggests no packages.

-- no debconf information
--- a/gudev-sharp-3.0-3.0.0/configure.ac	2014-07-20 15:51:07.522450818 +0200
+++ b/gudev-sharp-3.0-3.0.0/configure.ac	2014-07-20 15:52:42.621907908 +0200
@@ -17,7 +17,7 @@
 PKG_CHECK_MODULES(BASE_DEPENDENCIES, gudev-1.0 >= $UDEV_REQUIRED_VERSION)
 PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
 
-GENERATED_SOURCES=generated/*.cs
+GENERATED_SOURCES='$(shell find generated -name \*.cs)'
 AC_PATH_PROG(RUNTIME, mono, no)
 AC_PATH_PROG(CSC, gmcs, no)
 LIB_PREFIX=.so

Reply via email to