make for tomboy does not work

Bug #733653 reported by Boris Dayma
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Data-Sources
Fix Committed
High
Manish Sinha (मनीष सिन्हा)

Bug Description

Hello,

I am trying to install all dataproviders.
"./autogen.sh --enable-all-plugins" was fine.
But with "make" I get the following error:

Making all in tomboy
make[1]: Entering directory `/home/boris/Desktop/temp/zeitgeist-dataproviders/tomboy'
/usr/bin/gmcs -out:ZeitgeistDataprovider.dll -debug -define:DEBUG -target:library -r:/usr/lib/tomboy/Tomboy.exe -r:/usr/local/lib/zeitgeist-sharp/zeitgeist-sharp.dll -r:Mono.Posix ./Zeitgeist.cs ./ZeitgeistAddin.cs ./NoteHandler.cs ./AssemblyInfo.cs -resource:./ZeitgeistDataprovider.addin.xml
./Zeitgeist.cs(26,33): error CS0103: The name `GLib' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [ZeitgeistDataprovider.dll] Error 1
make[1]: Leaving directory `/home/boris/Desktop/temp/zeitgeist-dataproviders/tomboy'
make: *** [all-recursive] Error 1

Best

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

Gah. It has been a month since this bug is reported. Sorry for missing it

I need some information:
1) Which one you using maverick or natty?
2) Which version of zeitgeist you have? It can be found by
$ zeitgeist-daemon --version

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

Taking up the work, but for that I need all the info I asked for

Changed in zeitgeist-dataproviders:
assignee: nobody → Manish Sinha (मनीष सिन्हा) (manishsinha)
status: New → Incomplete
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

I tried this and got

Making all in tomboy
make[1]: Entering directory `/home/manish/code/zeitgeist-dataproviders/tomboy'
/usr/bin/gmcs -out:ZeitgeistDataprovider.dll -debug -define:DEBUG -target:library -r:/usr/lib/tomboy/Tomboy.exe -r:/usr/lib/pkgconfig/../../lib/cli/pango-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/atk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/gdk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/glib-sharp-2.0/glib-sharp.dll -r:/usr/lib/cli/zeitgeist-sharp-0.1/zeitgeist-sharp.dll -r:Mono.Posix ./Zeitgeist.cs ./ZeitgeistAddin.cs ./NoteHandler.cs ./AssemblyInfo.cs -resource:./ZeitgeistDataprovider.addin.xml
make[1]: Leaving directory `/home/manish/code/zeitgeist-dataproviders/tomboy'

I am running on Natty Beta 2
Versions:

$ mono --version
Mono JIT compiler version 2.6.7 (Debian 2.6.7-5ubuntu3)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
 TLS: __thread
 GC: Included Boehm (with typed GC and Parallel Mark)
 SIGSEGV: altstack
 Notifications: epoll
 Architecture: x86
 Disabled: none

$ zeitgeist-daemon --version
0.7.1

$ pkg-config --modversion gtk-sharp-2.0
2.12.10

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

Finally I was able to replicate this issue.

If the package libgtk2.0-cil-dev is not installed, then this tomboy dataprovider should not get enabled.

I get the output

checking for ZEITGEIST_SHARP... yes
checking for TOMBOY_ADDINS... yes
checking for GTK_SHARP... no
checking for tomboy... /usr/bin/tomboy
checking which plugins to compile... bzr chrome eog gedit rhythmbox vim emacs tomboy telepathy xchat
configure: Zeitgeist-dataproviders was configured with the following options:
configure: ** bzr plugin enabled
configure: ** chrome plugin enabled
configure: ** eog plugin enabled
configure: firefox-libzg plugin disabled
configure: geany plugin disabled
configure: ** gedit plugin enabled
configure: ** rhythmbox plugin enabled
configure: totem-libzg plugin disabled
configure: ** vim plugin enabled
configure: ** emacs plugin enabled
configure: ** tomboy plugin enabled
configure: ** telepathy plugin enabled
configure: ** xchat plugin enabled

Which is wrong. tomboy should have been disabled because GTK_SHARP is no

Setting it as confirmed and High

Changed in zeitgeist-dataproviders:
importance: Undecided → High
milestone: none → 0.2.0
status: Incomplete → Confirmed
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :
Changed in zeitgeist-dataproviders:
status: Confirmed → Fix Committed
Revision history for this message
Boris Dayma (borisd13) wrote :

Thanks Manish
Bug fixed for me !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.