Bug 205561 - Missing monodoc documentation
Summary: Missing monodoc documentation
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk-sharp2
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-07 07:37 UTC by Eskil Bylund
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-09-12 08:31:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for the gtk-sharp2 spec file (805 bytes, patch)
2006-09-07 07:37 UTC, Eskil Bylund
no flags Details | Diff
Patch for gtk-sharp2.spec on FC5 (1.64 KB, patch)
2006-09-11 12:44 UTC, Eskil Bylund
no flags Details | Diff
Required documentation patch (1.16 KB, patch)
2006-09-11 12:46 UTC, Eskil Bylund
no flags Details | Diff

Description Eskil Bylund 2006-09-07 07:37:00 UTC
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.

Comment 1 Eskil Bylund 2006-09-07 07:37:01 UTC
Created attachment 135732 [details]
Patch for the gtk-sharp2 spec file

Comment 2 Alexander Larsson 2006-09-07 09:37:52 UTC
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?

Comment 3 Eskil Bylund 2006-09-08 13:58:21 UTC
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.


Comment 4 Alexander Larsson 2006-09-11 08:10:00 UTC
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.


Comment 5 Eskil Bylund 2006-09-11 12:44:35 UTC
Created attachment 135983 [details]
Patch for gtk-sharp2.spec on FC5

Comment 6 Eskil Bylund 2006-09-11 12:46:18 UTC
Created attachment 135984 [details]
Required documentation patch

Comment 7 Eskil Bylund 2006-09-11 12:51:05 UTC
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}

Comment 8 Alexander Larsson 2006-09-12 08:31:26 UTC
I build this in gtk-sharp2-2.10.0-3.fc6.

Comment 9 Alexander Larsson 2006-09-12 08:33:10 UTC
(Thanks btw)



Note You need to log in before you can comment on or make changes to this bug.