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 746119 - gio docs: add win32 "stubs" hack
gio docs: add win32 "stubs" hack
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: docs
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on: 746118
Blocks:
 
 
Reported: 2015-03-12 23:05 UTC by Allison Karlitskaya (desrt)
Modified: 2018-05-24 17:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gio docs: add win32 "stubs" hack (8.65 KB, patch)
2015-03-12 23:05 UTC, Allison Karlitskaya (desrt)
needs-work Details | Review

Description Allison Karlitskaya (desrt) 2015-03-12 23:05:23 UTC
Add a hack to ensure that we can extract the type hierarchy and property
information for GWin32{Input,Output}Stream, even for builds on UNIX
systems.

This will allow us to have this information in the online manual, and in
the html included in the tarballs.

It also means that we can drop the hardcoding of our .types file,
switching over to --rebuild-types instead.
Comment 1 Allison Karlitskaya (desrt) 2015-03-12 23:05:26 UTC
Created attachment 299248 [details] [review]
gio docs: add win32 "stubs" hack
Comment 2 Philip Withnall 2017-10-05 14:31:31 UTC
Review of attachment 299248 [details] [review]:

::: docs/reference/gio/Makefile.am
@@ +12,3 @@
 SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
+             --ignore-decorators="G_GNUC_WARN_UNUSED_RESULT" \
+             --rebuild-types

This all needs porting to the new meson.build system.

::: docs/reference/gio/win32-stubs.c
@@ +1,1 @@
+#include "gio/gio.h"

Missing a license header.

Is there any way we could force this to be up to date? I can imagine reviewing win32 patches which add new types, from Linux, and not noticing that they don’t add entries to win32-stubs.c appropriately.
Comment 3 GNOME Infrastructure Team 2018-05-24 17:37:28 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/1008.