Description of problem: The monodoc documentation for GTK# is missing on FC5/devel. The attached patch adds the documentation in a new subpackage doc. I don't know if it's problematic having a BuildRequires on monodoc, since it's in Extras. Also, %{_prefix}/lib should be replaced with %{_libdir} on devel.
Created attachment 135732 [details] Patch for the gtk-sharp2 spec file
Hmmm, it will be tricky with monodoc in extras. However, the tarball seems to contain the xml files. Isn't that all that is required?
It seems that the xml files need to be put in an archive using mdassembler before they can be used in the monodoc browser/Monodevelop. http://www.mono-project.com/Generating_Documentation#Assemble_the_generated_Documentation ... And after reading some monodoc source code, I found out we can just install the xml files and ship a modified gtk-sharp-docs.source file. The doc/en/index.xml file needs to be modified as well since it contains references to nonexisting directories. The downside is that Monodevelop takes longer (much for some) to startup.
Anyone wanna work on this? I don't have time to do so myself, and at least we'd get some docs. Its very unlikely that we will move monodoc to core at this late time.
Created attachment 135983 [details] Patch for gtk-sharp2.spec on FC5
Created attachment 135984 [details] Required documentation patch
How do these patches for FC5 look? Is it ok to use install and cp directly or should I use some macro? On devel (untested): Replace %{_prefix}/lib with %{_libdir}
I build this in gtk-sharp2-2.10.0-3.fc6.
(Thanks btw)