Package: tangerine Version: 0.3.4-3 Hi,
tangerine doesn't run as the inotify lib isn't available (i can't even build it on testing). The easiest way is to build a stub lib which returns -1 in the init function (no other functions need apparently). The attached patch can probably be done in a better way, but it is at least easy to understand :) tangerine-properties doesn't work out of the box either, but this is probably a bug in libglade2.0-cil, as it doesn't depend on libglade2-0 on kfreebsd. (aptitude install libglade2-0 fixes it) # mono --debug /usr/lib/tangerine/tangerine-properties.exe Unhandled Exception: System.DllNotFoundException: libglade-2.0.so.0 at (wrapper managed-to-native) Glade.XML:glade_xml_new_from_buffer (byte[],int,intptr,intptr) at Glade.XML..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String root, System.String domain) [0x00000] in <filename unknown>:0 at Glade.XML..ctor (System.String resource_name, System.String root) [0x00000] in <filename unknown>:0 at Tangerine.PropertiesWindow..ctor () [0x00040] in /root/src/tangerine-0.3.4/TangerineProperties/src/PropertiesWindow.cs:103 at Tangerine.EntryPoint.Main () [0x0000f] in /root/src/tangerine-0.3.4/TangerineProperties/src/PropertiesWindow.cs:31 [ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libglade-2.0.so.0 at (wrapper managed-to-native) Glade.XML:glade_xml_new_from_buffer (byte[],int,intptr,intptr) at Glade.XML..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String root, System.String domain) [0x00000] in <filename unknown>:0 at Glade.XML..ctor (System.String resource_name, System.String root) [0x00000] in <filename unknown>:0 at Tangerine.PropertiesWindow..ctor () [0x00040] in /root/src/tangerine-0.3.4/TangerineProperties/src/PropertiesWindow.cs:103 at Tangerine.EntryPoint.Main () [0x0000f] in /root/src/tangerine-0.3.4/TangerineProperties/src/PropertiesWindow.cs:31
Description: Build stub lib if inotify isn't available Index: tangerine-0.3.4/libtangglue/Makefile.am =================================================================== --- tangerine-0.3.4.orig/libtangglue/Makefile.am 2012-04-02 22:02:48.000000000 +0200 +++ tangerine-0.3.4/libtangglue/Makefile.am 2012-04-02 22:03:49.000000000 +0200 @@ -1,10 +1,12 @@ -if HAVE_INOTIFY - INCLUDES = -I$(top_srcdir) AM_CFLAGS = -DG_LOG_DOMAIN=\"libtangglue\" \ $(LIBTANGGLUE_CFLAGS) +if !HAVE_INOTIFY +AM_CFLAGS += -DINOTIFY_STUB=1 +endif + gluelibdir = $(pkglibdir) gluelib_LTLIBRARIES = libtangglue.la @@ -18,5 +20,3 @@ maintainer-clean-local: rm -f Makefile.in - -endif \ No newline at end of file Index: tangerine-0.3.4/libtangglue/src/inotify-glue.c =================================================================== --- tangerine-0.3.4.orig/libtangglue/src/inotify-glue.c 2012-04-02 22:02:48.000000000 +0200 +++ tangerine-0.3.4/libtangglue/src/inotify-glue.c 2012-04-02 22:02:48.000000000 +0200 @@ -27,6 +27,8 @@ * DEALINGS IN THE SOFTWARE. */ +#ifndef INOTIFY_STUB + #include <stdio.h> #include <stdlib.h> #include <fcntl.h> @@ -217,3 +219,13 @@ *buffer_out = buffer; } + +#else + +int +inotify_glue_init (void) +{ + return -1; +} + +#endif