How to start developing

Asked by Wim Goeman

Hi, I was trying to open the solution in MonoDevelop to have a look at the code of this project and maybe do some hacking if he code isn't too hard to understand. But when opening the project, I get one error after the other. Is there some kind of manual or description on how to start developing docky? I feel like I am missing dependencies and setup.
BTW, it has been I while since I did some programming in C#, and MonoDevelop is totally new to me. I hope someone can point me in a good direction.
Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Docky Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
isakkarlsson (isak-karlsson) said :
#1

You'll need a new version of MonoDevelop google "monodevelop ppa" if you'r running ubuntu.

Then, hacking is quite straight forward, if you create a new plugin (dockel) or what ever, change in the corresponding makefile.am, configure, and so forth.

then configure: ./autogen --prefix=~/.local
then compile: make
the install (to .local): make install

i used "make && make install && ~/.local/bin/docky --debug" to test and debug my changes..

Hope this help.

Revision history for this message
Wim Goeman (wimgoeman) said :
#2

Thank you for that info. That is one step forward already, but when I open the solution file, I seem to be missing "gio-sharp" (it is red in the list of references). I tried to search for a package in the ubuntu repos with a similar name with no luck. I also get compile errors regarding GLib.File and GLib.MountOperation, but my first guess is that these are caused by the missing library.

Any tips on how to get this issue fixed?

Revision history for this message
Wim Goeman (wimgoeman) said :
#3

I just realized that gio-sharp is in the lib folder and make will install it for me. I will try that tomorrow.

Revision history for this message
Chris S. (cszikszoy) said :
#4

you *must* run ./autogen.sh && make BEFORE opening the solution in monodevelop. The reason for this is, as you said, gio-sharp is in our source directory, and we built it locally. If you open the solution in MD before running 'make', this assembly hasn't been built yet and all of the references to gio-sharp won't exist. Monodevelop isn't smart enough to "realize" that this assembly has been built after the fact, so you will still see all gio-sharp references in red, even if you run make now.

Best advice is to start over. Delete the copy of the source you have, grab it again, run ./autogen.sh && make, then open the SLN in MD. You *should* be able to run docky from within MD, I'm not sure if I've tried. I do at least keep all of the project information up to date from within MD, so all of the files / references should be correct, and Docky should build from within MD at the very least.

Revision history for this message
Anders Dånmark (skaggapa) said :
#5

I have the same problem. I cant seem to find gio sharp 2.0

I did sudo apt-get build-dep docky and then i try to do ./autogen.sh and it cant find 'gio-sharp-2.0'

Im using lucid x64.

I cant seem to find the gio sharp package anywhere.

Any suggestions?

Revision history for this message
Anders Dånmark (skaggapa) said :
#6

I found that if I add the docky ppa i can build.

Cheers
Anders

Can you help with this problem?

Provide an answer of your own, or ask Wim Goeman for more information if necessary.

To post a message you must log in.