After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619919 - [libpeas] Fix documentation build
[libpeas] Fix documentation build
Status: RESOLVED FIXED
Product: libpeas
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-28 09:12 UTC by Łukasz Jernaś
Modified: 2010-05-30 00:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix documentation build (8.42 KB, patch)
2010-05-28 09:12 UTC, Łukasz Jernaś
needs-work Details | Review
Fix documentation take 2 (8.45 KB, patch)
2010-05-28 10:26 UTC, Łukasz Jernaś
committed Details | Review

Description Łukasz Jernaś 2010-05-28 09:12:26 UTC
Created attachment 162182 [details] [review]
Fix documentation build

The attached patch fixes building the reference documentation as the version number has been changed and also some symbols were renamed/moved.
Comment 1 Steve Frécinaux 2010-05-28 09:39:16 UTC
Review of attachment 162182 [details] [review]:

Thank you for your patch.

Below are my remarks. This is mostly about improving the skiplist and hiding the "FooPrivate" structs.

btw I have requested a libpeas bugzilla account (bug 619918).

::: docs/reference/Makefile.am
@@ +58,3 @@
+	peas-extension-c.h		\
+	peas-extension-seed.h		\
+	peas-extension-python.h

Shouldn't you also add config.h in there? It looks like there is a section for it in libpeas-sections.txt. Also add peas-introspection.h and peas-i18n.h to be complete.

::: docs/reference/libpeas-docs.sgml
@@ +19,3 @@
       <title>Core Classes</title>
       <xi:include href="xml/peas-engine.xml"/>
+      <xi:include href="xml/peas-extension.xml"/>

PeasExtensionSet and PeasExtensionBase are missing here.

::: docs/reference/libpeas-sections.txt
@@ +20,3 @@
+PeasUIPluginManager
+PeasUIPluginManagerClass
+PeasUIPluginManagerPrivate

The private type shouldn't be referenced here, as it is supposed private. If it appears here then it appears in the PeasUIPluginManager page, which I feel is not desirable.

@@ +37,3 @@
 PeasEngine
+PeasEngineClass
+PeasEnginePrivate

ditto

@@ +81,3 @@
+PeasExtensionSet
+PeasExtensionSetClass
+PeasExtensionSetPrivate

ditto. Do you think there is a way to filter out those private classes so this hand management doesn't have to be done?

@@ +130,3 @@
+
+<SECTION>
+<FILE>config</FILE>

This file should not appear here.

@@ +173,3 @@
+
+<SECTION>
+<FILE>peas-i18n</FILE>

This file is private, so it should be added to the skiplist.

@@ +215,2 @@
 <SECTION>
+<FILE>peas-introspection</FILE>

This file is not installed, so it should probably be skipped too.
Comment 2 Łukasz Jernaś 2010-05-28 10:26:52 UTC
Created attachment 162203 [details] [review]
Fix documentation take 2

This patch should implement all of the review requirements, the way the private fields are hidden is based on the glib documentation. I haven't found any other non-ugly way to do this.