devhelp issueshttps://gitlab.gnome.org/GNOME/devhelp/-/issues2024-03-13T12:20:48Zhttps://gitlab.gnome.org/GNOME/devhelp/-/issues/72Devhelp does not show indexes for GLib, GIO, or GObject2024-03-13T12:20:48ZMichael CatanzaroDevhelp does not show indexes for GLib, GIO, or GObjectUsing Devhelp 43.0 from Flathub and GLib 2.79.1, the help indexes for GLib, GIO, and GObject are all unavailable in Devhelp, as if they're not installed at all. But they are installed (e.g. the GLib index is at `/usr/share/doc/glib-2.0/g...Using Devhelp 43.0 from Flathub and GLib 2.79.1, the help indexes for GLib, GIO, and GObject are all unavailable in Devhelp, as if they're not installed at all. But they are installed (e.g. the GLib index is at `/usr/share/doc/glib-2.0/glib/glib.devhelp2`).
My assumption is that something is wrong with the indexes, but since Devhelp doesn't display any error message, and no error is printed on the command line, we cannot know what is wrong and cannot fix GLib. Devhelp should indicate why it doesn't load any of GLib's indexes.
fyi: @pwithnallhttps://gitlab.gnome.org/GNOME/devhelp/-/issues/1Support Dash docsets2023-06-30T23:00:47ZGhost UserSupport Dash docsetsIt would be awesome if devhelp could support [Dash's docset format](https://kapeli.com/docsets) (as done by [Zeal](https://zealdocs.org/)). It would vastly increase the number of available documentation, not only with Kapeli provided hig...It would be awesome if devhelp could support [Dash's docset format](https://kapeli.com/docsets) (as done by [Zeal](https://zealdocs.org/)). It would vastly increase the number of available documentation, not only with Kapeli provided high-quality docsets but also with [many user contributed docsets](https://zealusercontributions.herokuapp.com/).https://gitlab.gnome.org/GNOME/devhelp/-/issues/62devhelp-999 fails to build with introspection option and webkit-gtk-9999-comp...2023-02-09T22:43:23ZSony Hinshabdevhelp-999 fails to build with introspection option and webkit-gtk-9999-compiled with gtk4I have a feeling that webkit-gtk being compiled for gtk4 is an issue in this.
Compile fails in final steps when g-ir-scanner is supposed to compile .gir file.
> FAILED: devhelp/Devhelp-3.0.gir
> /usr/bin/g-ir-scanner --no-libtool --nam...I have a feeling that webkit-gtk being compiled for gtk4 is an issue in this.
Compile fails in final steps when g-ir-scanner is supposed to compile .gir file.
> FAILED: devhelp/Devhelp-3.0.gir
> /usr/bin/g-ir-scanner --no-libtool --namespace=Devhelp --nsversion=3.0 --warn-all --output devhelp/Devhelp-3.0.gir --c-incl
> ude=devhelp/devhelp.h --warn-all --quiet -I/var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999/devhelp -I/var/tmp/p
> ortage/dev-util/devhelp-9999-r4/work/devhelp-9999-build/devhelp --filelist=/var/tmp/portage/dev-util/devhelp-9999-r4/work/d
> evhelp-9999-build/devhelp/libdevhelp-3.so.6.3.0.p/Devhelp_3.0_gir_filelist --include=Gtk-3.0 --include=WebKit2-5.0 --identi
> fier-prefix=Dh --pkg-export=libdevhelp-3.0 --cflags-begin '-DG_LOG_DOMAIN="devhelp"' -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include --cflags-end -I/var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999/. -I/var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999-build/. --add-include-path=/usr/share/gir-1.0 --add-include-path=/var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999/. --add-include-path=/var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999-build/. -L/var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999-build/devhelp --library devhelp-3 --extra-library=girepository-1.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --sources-top-dirs /var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999/subprojects/ --sources-top-dirs /var/tmp/portage/dev-util/devhelp-9999-r4/work/devhelp-9999-build/subprojects/
>
> (process:1278703): GLib-GObject-WARNING **: 23:15:00.031: specified class size for type 'WebKitWebViewBase' is smaller than the parent type's 'GtkWidget' class size
>
> (process:1278703): GLib-CRITICAL **: 23:15:00.031: g_once_init_leave: assertion 'result != 0' failed
>
> (process:1278703): GLib-GObject-CRITICAL **: 23:15:00.031: g_type_register_static: assertion 'parent_type > 0' failed
>
> (process:1278703): GLib-CRITICAL **: 23:15:00.031: g_once_init_leave: assertion 'result != 0' failed
>
> (process:1278703): GLib-GObject-CRITICAL **: 23:15:00.031: g_type_register_static: assertion 'parent_type > 0' failed
>
> (process:1278703): GLib-GObject-WARNING **: 23:15:00.031: cannot add private field to invalid (non-instantiatable) type '<invalid>'https://gitlab.gnome.org/GNOME/devhelp/-/issues/65metadata: Screenshot links are 404s2022-09-09T11:28:25ZAndre Klappermetadata: Screenshot links are 404sFrom `data/org.gnome.Devhelp.appdata.xml.in.in`:
```
<screenshots>
<screenshot type="default">
<image>https://people.gnome.org/~ebassi/screenshots/devhelp/devhelp-41-1.png</image>
<caption>Devhelp's main window, showing...From `data/org.gnome.Devhelp.appdata.xml.in.in`:
```
<screenshots>
<screenshot type="default">
<image>https://people.gnome.org/~ebassi/screenshots/devhelp/devhelp-41-1.png</image>
<caption>Devhelp's main window, showing a list of books in the side panel.</caption>
</screenshot>
<screenshot>
<image>https://people.gnome.org/~ebassi/screenshots/devhelp/devhelp-41-2.png</image>
<caption>Devhelp's main window, showing an open book.</caption>
</screenshot>
<screenshot>
<image>https://people.gnome.org/~ebassi/screenshots/devhelp/devhelp-41-3.png</image>
<caption>Devhelp supports opening multiple books within the same window.</caption>
</screenshot>
<screenshot>
<image>https://people.gnome.org/~ebassi/screenshots/devhelp/devhelp-41-4.png</image>
<caption>Devhelp supports HTML documentation formats, including gi-docgen and gtk-doc.</caption>
</screenshot>
</screenshots>
```https://gitlab.gnome.org/GNOME/devhelp/-/issues/63Screenshot missing in GNOME Software2022-08-26T14:00:56ZAral BalkanScreenshot missing in GNOME Software![image](/uploads/e0d6a1aaae9d24205efd484b85703b37/image.png)![image](/uploads/e0d6a1aaae9d24205efd484b85703b37/image.png)https://gitlab.gnome.org/GNOME/devhelp/-/issues/61Images not loading on landing page2022-08-26T14:00:56ZGhost UserImages not loading on landing pageOn https://apps.gnome.org/app/org.gnome.Devhelp/ it doesn't load any image.
For example: https://apps.gnome.org/assets/screenshots/org.gnome.Devhelp/devhelp-41-3.png says:
`The image “https://apps.gnome.org/assets/screenshots/org.gnome....On https://apps.gnome.org/app/org.gnome.Devhelp/ it doesn't load any image.
For example: https://apps.gnome.org/assets/screenshots/org.gnome.Devhelp/devhelp-41-3.png says:
`The image “https://apps.gnome.org/assets/screenshots/org.gnome.Devhelp/devhelp-41-3.png” cannot be displayed because it contains errors.`
I am on Firefox 91.7.0esr (64-bit)https://gitlab.gnome.org/GNOME/devhelp/-/issues/43Create separate libdevhelp git repository2022-01-25T02:10:21ZAdministratorCreate separate libdevhelp git repository## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#784351)](https://bugzilla.gnome.org/show_bug.cgi?id=784351)**
## Description
Proposal: create a separate libdevhelp git repository.
There are several problems wi...## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#784351)](https://bugzilla.gnome.org/show_bug.cgi?id=784351)**
## Description
Proposal: create a separate libdevhelp git repository.
There are several problems with the Devhelp library in its current shape:
1. API stability is not really guaranteed, even if we try to not break Anjuta and gnome-builder.
2. When we'll switch to GTK+ 4, all applications depending on the Devhelp library would need to be ported to GTK+ 4 during the same development cycle. This is clearly not practical.
So I propose to:
- Fork the devhelp repo into libdevhelp where only the library part is kept.
- The Devhelp app would depend on the latest version of libdevhelp.
- API stability would be guaranteed in libdevhelp; if we want to break the API, we simply bump the major version, making it parallel-installable with previous major versions (like GTK+ 3 and GTK+ 4).
- When we port libdevhelp to GTK+ 4, we bump the major version so that the GTK+ 3 version is still available.
I don't plan to do this right away, but I think this needs to be done at least before porting to GTK+ 4.https://gitlab.gnome.org/GNOME/devhelp/-/issues/59devhelp-41.2 does not compile with meson-0.61.1: data/meson.build:21:0: ERROR...2022-01-24T23:48:19Zkobboidevhelp-41.2 does not compile with meson-0.61.1: data/meson.build:21:0: ERROR: Function does not take positional arguments.```
The Meson build system
Version: 0.61.1
Source dir: /var/tmp/portage/dev-util/devhelp-41.2/work/devhelp-41.2
Build dir: /var/tmp/portage/dev-util/devhelp-41.2/work/devhelp-41.2-build
Build type: native build
Project name: devhelp
Proj...```
The Meson build system
Version: 0.61.1
Source dir: /var/tmp/portage/dev-util/devhelp-41.2/work/devhelp-41.2
Build dir: /var/tmp/portage/dev-util/devhelp-41.2/work/devhelp-41.2-build
Build type: native build
Project name: devhelp
Project version: 41.2
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 11.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.0)
Run-time dependency gio-2.0 found: YES 2.70.2
Run-time dependency gtk+-3.0 found: YES 3.24.31
Run-time dependency webkit2gtk-4.0 found: YES 2.34.4
Run-time dependency gsettings-desktop-schemas found: YES 41.0
Library m found: YES
Dependency gsettings-desktop-schemas found: YES 41.0 (cached)
Configuring config.h using configuration
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-aliasing: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Winline: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wredundant-decls: YES (cached)
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wunused-but-set-variable: YES
Compiler for C supports arguments -Warray-bounds: YES
Compiler for C supports arguments -Wimplicit-function-declaration: YES
Compiler for C supports arguments -Wreturn-type: YES
Compiler for C supports arguments -Wswitch-enum: YES
Compiler for C supports arguments -Wswitch-default: YES
Compiler for C supports arguments -Wduplicated-cond: YES
Compiler for C supports arguments -Wduplicated-branches: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wrestrict: YES
Compiler for C supports arguments -Wnull-dereference: YES
Compiler for C supports arguments -Wjump-misses-init: YES
Compiler for C supports arguments -Wdouble-promotion: YES
Configuring org.gnome.libdevhelp-3.gschema.xml using configuration
Configuring org.gnome.Devhelp.appdata.xml.in using configuration
data/meson.build:21:0: ERROR: Function does not take positional arguments.
```https://gitlab.gnome.org/GNOME/devhelp/-/issues/56WebKit cannot load local HTML files if any application has ever called g_desk...2021-10-19T18:08:36Zgitsop01WebKit cannot load local HTML files if any application has ever called g_desktop_app_info_set_as_default_for_extension(, "html")Title and chapters of book shown only - when a Chapter is clicked - nothing is displayed.Title and chapters of book shown only - when a Chapter is clicked - nothing is displayed.https://gitlab.gnome.org/GNOME/devhelp/-/issues/55devhelp 41.1 doesn't include gi-docgen subproject2021-09-20T17:51:22ZJeremy Bichadevhelp 41.1 doesn't include gi-docgen subprojectdevhelp's 41.1 [release tarball ](https://downloadgnome.org/sources/devhelp/41/) didn't include the gi-docgen subproject. (But it was included in 41.0.)
gi-docgen is intended to be included since gi-docgen isn't yet stable and isn't exp...devhelp's 41.1 [release tarball ](https://downloadgnome.org/sources/devhelp/41/) didn't include the gi-docgen subproject. (But it was included in 41.0.)
gi-docgen is intended to be included since gi-docgen isn't yet stable and isn't expected to be separately packaged in distros.https://gitlab.gnome.org/GNOME/devhelp/-/issues/5341.rc: build fails2021-09-06T00:43:39ZTomasz Kłoczko41.rc: build failsmeson output:
```console
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodi...meson output:
```console
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D flatpak_build=false -D gtk_doc=true
The Meson build system
Version: 0.59.1
Source dir: /home/tkloczko/rpmbuild/BUILD/devhelp-41.rc
Build dir: /home/tkloczko/rpmbuild/BUILD/devhelp-41.rc/x86_64-redhat-linux-gnu
Build type: native build
Project name: devhelp
Project version: 41.rc
C compiler for the host machine: /usr/bin/gcc (gcc 11.2.1 "gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.37-9
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Found CMake: /usr/bin/cmake (3.21.2)
Run-time dependency webkit2gtk-4.1 found: NO (tried pkgconfig and cmake)
Run-time dependency webkit2gtk-4.0 found: YES 2.33.90
Run-time dependency gio-2.0 found: YES 2.69.2
Run-time dependency gtk4 found: YES 4.4.0
Run-time dependency gsettings-desktop-schemas found: YES 41.rc
Library m found: YES
Dependency gsettings-desktop-schemas found: YES 41.rc (cached)
Configuring config.h using configuration
Configuring org.gnome.libdevhelp-3.gschema.xml using configuration
Configuring org.gnome.Devhelp.Devel.appdata.xml.in using configuration
Program appstream-util found: YES (/usr/bin/appstream-util)
Configuring org.gnome.Devhelp.Devel.desktop.in using configuration
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Configuring org.gnome.Devhelp.Devel.service using configuration
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Run-time dependency gobject-introspection-1.0 found: YES 1.69.0
Dependency gobject-introspection-1.0 found: YES 1.69.0 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.69.0 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Run-time dependency gi-docgen found: YES 2021.7
Program gi-docgen found: YES (/usr/bin/gi-docgen)
Configuring devhelp-3.toml using configuration
Program build-aux/meson/meson_post_install.py found: YES (/usr/bin/python3 /home/tkloczko/rpmbuild/BUILD/devhelp-41.rc/build-aux/meson/meson_post_install.py)
Build targets in project: 21
devhelp 41.rc
Prefix : /usr
Libdir : /usr/lib64
Datadir : /usr/share
Build
Debug : False
Optimization : 0
API documentation : True
Flatpak build mode: False
Development build : True
Plugins
Plugin for Emacs : False
Plugin for gedit : False
Plugin for Vim : False
```
And build fails with:
```console
[tkloczko@barrel x86_64-redhat-linux-gnu]$ ninja -k 0
[1/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-application-window.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-application-window.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-application-window.c.o -MF devhelp/libdevhelp-static.a.p/dh-application-window.c.o.d -o devhelp/libdevhelp-static.a.p/dh-application-window.c.o -c ../devhelp/dh-application-window.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
[2/35] Compiling C object unit-tests/test-util.p/test-util.c.o
FAILED: unit-tests/test-util.p/test-util.c.o
/usr/bin/gcc -Iunit-tests/test-util.p -Iunit-tests -I../unit-tests -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ unit-tests/test-util.p/test-util.c.o -MF unit-tests/test-util.p/test-util.c.o.d -o unit-tests/test-util.p/test-util.c.o -c ../unit-tests/test-util.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
[3/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-book.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-book.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-book.c.o -MF devhelp/libdevhelp-static.a.p/dh-book.c.o.d -o devhelp/libdevhelp-static.a.p/dh-book.c.o -c ../devhelp/dh-book.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-book.c: In function ‘index_file_changed_cb’:
../devhelp/dh-book.c:204:43: warning: unused parameter ‘file_monitor’ [-Wunused-parameter]
204 | index_file_changed_cb (GFileMonitor *file_monitor,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../devhelp/dh-book.c:205:43: warning: unused parameter ‘file’ [-Wunused-parameter]
205 | GFile *file,
| ~~~~~~~~~~~~~~~~~~~^~~~
../devhelp/dh-book.c:206:43: warning: unused parameter ‘other_file’ [-Wunused-parameter]
206 | GFile *other_file,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[4/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-util-lib.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-util-lib.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-util-lib.c.o -MF devhelp/libdevhelp-static.a.p/dh-util-lib.c.o.d -o devhelp/libdevhelp-static.a.p/dh-util-lib.c.o -c ../devhelp/dh-util-lib.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-util-lib.c: In function ‘unref_node_link’:
../devhelp/dh-util-lib.c:139:28: warning: unused parameter ‘data’ [-Wunused-parameter]
139 | gpointer data)
| ~~~~~~~~~~^~~~
../devhelp/dh-util-lib.c: In function ‘sidebar_link_selected_cb’:
../devhelp/dh-util-lib.c:206:39: warning: unused parameter ‘sidebar’ [-Wunused-parameter]
206 | sidebar_link_selected_cb (DhSidebar *sidebar,
| ~~~~~~~~~~~~^~~~~~~
../devhelp/dh-util-lib.c: In function ‘notebook_page_added_after_cb’:
../devhelp/dh-util-lib.c:279:44: warning: unused parameter ‘notebook’ [-Wunused-parameter]
279 | notebook_page_added_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-util-lib.c:281:44: warning: unused parameter ‘page_num’ [-Wunused-parameter]
281 | guint page_num,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-util-lib.c: In function ‘notebook_switch_page_after_cb’:
../devhelp/dh-util-lib.c:301:44: warning: unused parameter ‘new_page’ [-Wunused-parameter]
301 | GtkWidget *new_page,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-util-lib.c:302:44: warning: unused parameter ‘new_page_num’ [-Wunused-parameter]
302 | guint new_page_num,
| ~~~~~~~~~~~~^~~~~~~~~~~~
[5/35] Compiling C object unit-tests/test-completion.p/test-completion.c.o
FAILED: unit-tests/test-completion.p/test-completion.c.o
/usr/bin/gcc -Iunit-tests/test-completion.p -Iunit-tests -I../unit-tests -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ unit-tests/test-completion.p/test-completion.c.o -MF unit-tests/test-completion.p/test-completion.c.o.d -o unit-tests/test-completion.p/test-completion.c.o -c ../unit-tests/test-completion.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../unit-tests/test-completion.c:6:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[6/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-parser.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-parser.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-parser.c.o -MF devhelp/libdevhelp-static.a.p/dh-parser.c.o.d -o devhelp/libdevhelp-static.a.p/dh-parser.c.o -c ../devhelp/dh-parser.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-parser.c: In function ‘parser_end_node_cb’:
../devhelp/dh-parser.c:481:43: warning: unused parameter ‘context’ [-Wunused-parameter]
481 | parser_end_node_cb (GMarkupParseContext *context,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../devhelp/dh-parser.c:484:43: warning: unused parameter ‘error’ [-Wunused-parameter]
484 | GError **error)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
[7/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-init.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-init.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-init.c.o -MF devhelp/libdevhelp-static.a.p/dh-init.c.o.d -o devhelp/libdevhelp-static.a.p/dh-init.c.o -c ../devhelp/dh-init.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-init.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-init.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-init.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
[8/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-tab.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-tab.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-tab.c.o -MF devhelp/libdevhelp-static.a.p/dh-tab.c.o.d -o devhelp/libdevhelp-static.a.p/dh-tab.c.o -c ../devhelp/dh-tab.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab.c: In function ‘set_web_view’:
../devhelp/dh-tab.c:44:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
44 | gtk_container_add (GTK_CONTAINER (tab), GTK_WIDGET (tab->priv->web_view));
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab.c:44:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
44 | gtk_container_add (GTK_CONTAINER (tab), GTK_WIDGET (tab->priv->web_view));
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[9/35] Compiling C object unit-tests/test-link.p/test-link.c.o
FAILED: unit-tests/test-link.p/test-link.c.o
/usr/bin/gcc -Iunit-tests/test-link.p -Iunit-tests -I../unit-tests -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ unit-tests/test-link.p/test-link.c.o -MF unit-tests/test-link.p/test-link.c.o.d -o unit-tests/test-link.p/test-link.c.o -c ../unit-tests/test-link.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../unit-tests/test-link.c:6:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[10/35] Compiling C object src/devhelp.p/dh-preferences.c.o
FAILED: src/devhelp.p/dh-preferences.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-preferences.c.o -MF src/devhelp.p/dh-preferences.c.o.d -o src/devhelp.p/dh-preferences.c.o -c ../src/dh-preferences.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-preferences.c:11:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../src/dh-preferences.c: In function ‘dh_preferences_response’:
../src/dh-preferences.c:52:9: warning: implicit declaration of function ‘gtk_widget_destroy’; did you mean ‘gtk_window_destroy’? [-Wimplicit-function-declaration]
52 | gtk_widget_destroy (GTK_WIDGET (dialog));
| ^~~~~~~~~~~~~~~~~~
| gtk_window_destroy
../src/dh-preferences.c:50:37: warning: unused parameter ‘response_id’ [-Wunused-parameter]
50 | gint response_id)
| ~~~~~~~~~~~^~~~~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_store_changed_foreach_func’:
../src/dh-preferences.c:176:53: warning: unused parameter ‘data’ [-Wunused-parameter]
176 | gpointer data)
| ~~~~~~~~~~~~~~^~~~
../src/dh-preferences.c: In function ‘bookshelf_group_books_by_language_notify_cb’:
../src/dh-preferences.c:307:61: warning: unused parameter ‘settings’ [-Wunused-parameter]
307 | bookshelf_group_books_by_language_notify_cb (DhSettings *settings,
| ~~~~~~~~~~~~~~~^~~~~~~~
../src/dh-preferences.c:308:61: warning: unused parameter ‘pspec’ [-Wunused-parameter]
308 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~^~~~~
../src/dh-preferences.c: In function ‘bookshelf_books_disabled_changed_cb’:
../src/dh-preferences.c:315:53: warning: unused parameter ‘settings’ [-Wunused-parameter]
315 | bookshelf_books_disabled_changed_cb (DhSettings *settings,
| ~~~~~~~~~~~~~~~^~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_add_book_cb’:
../src/dh-preferences.c:322:39: warning: unused parameter ‘full_book_list’ [-Wunused-parameter]
322 | bookshelf_add_book_cb (DhBookList *full_book_list,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
../src/dh-preferences.c:323:39: warning: unused parameter ‘book’ [-Wunused-parameter]
323 | DhBook *book,
| ~~~~~~~~~~~~~~~^~~~
../src/dh-preferences.c: In function ‘bookshelf_remove_book_cb’:
../src/dh-preferences.c:330:42: warning: unused parameter ‘full_book_list’ [-Wunused-parameter]
330 | bookshelf_remove_book_cb (DhBookList *full_book_list,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
../src/dh-preferences.c:331:42: warning: unused parameter ‘book’ [-Wunused-parameter]
331 | DhBook *book,
| ~~~~~~~~~~~~~~~^~~~
../src/dh-preferences.c: In function ‘bookshelf_row_toggled_cb’:
../src/dh-preferences.c:338:50: warning: unused parameter ‘cell_renderer’ [-Wunused-parameter]
338 | bookshelf_row_toggled_cb (GtkCellRendererToggle *cell_renderer,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_sort_func’:
../src/dh-preferences.c:392:36: warning: unused parameter ‘user_data’ [-Wunused-parameter]
392 | gpointer user_data)
| ~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_cell_data_func_toggle’:
../src/dh-preferences.c:487:53: warning: unused parameter ‘column’ [-Wunused-parameter]
487 | bookshelf_cell_data_func_toggle (GtkTreeViewColumn *column,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:28,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-preferences.h:10,
from ../src/dh-preferences.c:9:
../src/dh-preferences.c: In function ‘dh_preferences_show_dialog’:
../src/dh-preferences.c:663:47: error: ‘gtk_widget_destroyed’ undeclared (first use in this function); did you mean ‘gtk_window_destroy’?
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../src/dh-preferences.c:663:35: note: in expansion of macro ‘G_CALLBACK’
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~
../src/dh-preferences.c:663:47: note: each undeclared identifier is reported only once for each function it appears in
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../src/dh-preferences.c:663:35: note: in expansion of macro ‘G_CALLBACK’
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~
[11/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o -MF devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o.d -o devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o -c ../devhelp/dh-assistant-view.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-assistant-view.h:9,
from ../devhelp/dh-assistant-view.c:8:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-assistant-view.h:9,
from ../devhelp/dh-assistant-view.c:8:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-assistant-view.h:9,
from ../devhelp/dh-assistant-view.c:8:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-assistant-view.c:13:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-assistant-view.c:110:31: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
110 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-assistant-view.c: In function ‘dh_assistant_view_class_init’:
../devhelp/dh-assistant-view.c:129:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘button_press_event’
129 | widget_class->button_press_event = assistant_button_press_event;
| ^~
../devhelp/dh-assistant-view.c:129:44: error: ‘assistant_button_press_event’ undeclared (first use in this function)
129 | widget_class->button_press_event = assistant_button_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-assistant-view.c:129:44: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-assistant-view.c: In function ‘dh_assistant_view_init’:
../devhelp/dh-assistant-view.c:147:42: warning: unused parameter ‘view’ [-Wunused-parameter]
147 | dh_assistant_view_init (DhAssistantView *view)
| ~~~~~~~~~~~~~~~~~^~~~
[12/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o -MF devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o.d -o devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o -c ../devhelp/dh-book-list-directory.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-book-list-directory.c: In function ‘books_directory_changed_cb’:
../devhelp/dh-book-list-directory.c:220:50: warning: unused parameter ‘directory_monitor’ [-Wunused-parameter]
220 | books_directory_changed_cb (GFileMonitor *directory_monitor,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../devhelp/dh-book-list-directory.c:222:50: warning: unused parameter ‘other_file’ [-Wunused-parameter]
222 | GFile *other_file,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[13/35] Compiling C object src/devhelp.p/dh-main.c.o
FAILED: src/devhelp.p/dh-main.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-main.c.o -MF src/devhelp.p/dh-main.c.o.d -o src/devhelp.p/dh-main.c.o -c ../src/dh-main.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-main.c:10:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[14/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o -MF devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o.d -o devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o -c ../devhelp/dh-keyword-model.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_get_flags’:
../devhelp/dh-keyword-model.c:136:43: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
136 | dh_keyword_model_get_flags (GtkTreeModel *tree_model)
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_get_n_columns’:
../devhelp/dh-keyword-model.c:142:47: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
142 | dh_keyword_model_get_n_columns (GtkTreeModel *tree_model)
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_get_column_type’:
../devhelp/dh-keyword-model.c:148:49: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
148 | dh_keyword_model_get_column_type (GtkTreeModel *tree_model,
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_iter_has_child’:
../devhelp/dh-keyword-model.c:308:48: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
308 | dh_keyword_model_iter_has_child (GtkTreeModel *tree_model,
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c:309:48: warning: unused parameter ‘iter’ [-Wunused-parameter]
309 | GtkTreeIter *iter)
| ~~~~~~~~~~~~~~^~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_iter_parent’:
../devhelp/dh-keyword-model.c:358:45: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
358 | dh_keyword_model_iter_parent (GtkTreeModel *tree_model,
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c:359:45: warning: unused parameter ‘iter’ [-Wunused-parameter]
359 | GtkTreeIter *iter,
| ~~~~~~~~~~~~~~^~~~
../devhelp/dh-keyword-model.c:360:45: warning: unused parameter ‘child’ [-Wunused-parameter]
360 | GtkTreeIter *child)
| ~~~~~~~~~~~~~~^~~~~
../devhelp/dh-keyword-model.c: In function ‘link_compare’:
../devhelp/dh-keyword-model.c:436:29: warning: unused parameter ‘user_data’ [-Wunused-parameter]
436 | gpointer user_data)
| ~~~~~~~~~~~~~~^~~~~~~~~
[15/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-sidebar.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-sidebar.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-sidebar.c.o -MF devhelp/libdevhelp-static.a.p/dh-sidebar.c.o.d -o devhelp/libdevhelp-static.a.p/dh-sidebar.c.o -c ../devhelp/dh-sidebar.c
../devhelp/dh-sidebar.c: In function ‘search_idle_cb’:
../devhelp/dh-sidebar.c:137:23: warning: implicit declaration of function ‘gtk_entry_get_text’; did you mean ‘gtk_entry_get_tabs’? [-Wimplicit-function-declaration]
137 | search_text = gtk_entry_get_text (priv->entry);
| ^~~~~~~~~~~~~~~~~~
| gtk_entry_get_tabs
../devhelp/dh-sidebar.c:137:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
137 | search_text = gtk_entry_get_text (priv->entry);
| ^
../devhelp/dh-sidebar.c: In function ‘add_book_cb’:
../devhelp/dh-sidebar.c:194:26: warning: unused parameter ‘book_list’ [-Wunused-parameter]
194 | add_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: In function ‘remove_book_cb’:
../devhelp/dh-sidebar.c:206:29: warning: unused parameter ‘book_list’ [-Wunused-parameter]
206 | remove_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c:207:29: warning: unused parameter ‘book’ [-Wunused-parameter]
207 | DhBook *book,
| ~~~~~~~~~~~~^~~~
../devhelp/dh-sidebar.c: In function ‘hitlist_selection_changed_cb’:
../devhelp/dh-sidebar.c:238:49: warning: unused parameter ‘selection’ [-Wunused-parameter]
238 | hitlist_selection_changed_cb (GtkTreeSelection *selection,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: At top level:
../devhelp/dh-sidebar.c:253:27: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
253 | GdkEventKey *event,
| ^~~~~~~~~~~
| GdkEvent
../devhelp/dh-sidebar.c: In function ‘entry_changed_cb’:
../devhelp/dh-sidebar.c:280:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
280 | search_text = gtk_entry_get_text (entry);
| ^
../devhelp/dh-sidebar.c: In function ‘entry_search_changed_cb’:
../devhelp/dh-sidebar.c:298:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
298 | search_text = gtk_entry_get_text (GTK_ENTRY (search_entry));
| ^
../devhelp/dh-sidebar.c: In function ‘complete_idle_cb’:
../devhelp/dh-sidebar.c:327:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
327 | search_text = gtk_entry_get_text (priv->entry);
| ^
../devhelp/dh-sidebar.c:335:17: warning: implicit declaration of function ‘gtk_entry_set_text’; did you mean ‘gtk_entry_set_tabs’? [-Wimplicit-function-declaration]
335 | gtk_entry_set_text (priv->entry, completed);
| ^~~~~~~~~~~~~~~~~~
| gtk_entry_set_tabs
../devhelp/dh-sidebar.c: In function ‘entry_insert_text_cb’:
../devhelp/dh-sidebar.c:349:36: warning: unused parameter ‘entry’ [-Wunused-parameter]
349 | entry_insert_text_cb (GtkEntry *entry,
| ~~~~~~~~~~~~~^~~~~
../devhelp/dh-sidebar.c:350:36: warning: unused parameter ‘text’ [-Wunused-parameter]
350 | const gchar *text,
| ~~~~~~~~~~~~~^~~~
../devhelp/dh-sidebar.c:351:36: warning: unused parameter ‘length’ [-Wunused-parameter]
351 | gint length,
| ~~~~~~~~~~~~~^~~~~~
../devhelp/dh-sidebar.c:352:36: warning: unused parameter ‘position’ [-Wunused-parameter]
352 | gint *position,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-sidebar.c: In function ‘entry_stop_search_cb’:
../devhelp/dh-sidebar.c:363:39: warning: unused parameter ‘user_data’ [-Wunused-parameter]
363 | gpointer user_data)
| ~~~~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: In function ‘hitlist_cell_data_func’:
../devhelp/dh-sidebar.c:369:44: warning: unused parameter ‘tree_column’ [-Wunused-parameter]
369 | hitlist_cell_data_func (GtkTreeViewColumn *tree_column,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../devhelp/dh-sidebar.c:373:44: warning: unused parameter ‘data’ [-Wunused-parameter]
373 | gpointer data)
| ~~~~~~~~~~~~~~~~~~~^~~~
../devhelp/dh-sidebar.c: In function ‘book_tree_link_selected_cb’:
../devhelp/dh-sidebar.c:425:41: warning: unused parameter ‘book_tree’ [-Wunused-parameter]
425 | book_tree_link_selected_cb (DhBookTree *book_tree,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: In function ‘dh_sidebar_constructed’:
../devhelp/dh-sidebar.c:453:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
453 | gtk_container_add (GTK_CONTAINER (sidebar), GTK_WIDGET (priv->entry));
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:453:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
453 | gtk_container_add (GTK_CONTAINER (sidebar), GTK_WIDGET (priv->entry));
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
In file included from /usr/include/glib-2.0/gobject/gobject.h:28,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
../devhelp/dh-sidebar.c:457:39: error: ‘entry_key_press_event_cb’ undeclared (first use in this function)
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../devhelp/dh-sidebar.c:457:27: note: in expansion of macro ‘G_CALLBACK’
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~
../devhelp/dh-sidebar.c:457:39: note: each undeclared identifier is reported only once for each function it appears in
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../devhelp/dh-sidebar.c:457:27: note: in expansion of macro ‘G_CALLBACK’
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
../devhelp/dh-sidebar.c:514:49: error: too many arguments to function ‘gtk_scrolled_window_new’
514 | priv->sw_hitlist = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2417:57: note: in definition of macro ‘_G_TYPE_CIC’
2417 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:38:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
38 | #define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:514:28: note: in expansion of macro ‘GTK_SCROLLED_WINDOW’
514 | priv->sw_hitlist = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:213,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:96:16: note: declared here
96 | GtkWidget* gtk_scrolled_window_new (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:515:9: warning: implicit declaration of function ‘gtk_widget_set_no_show_all’ [-Wimplicit-function-declaration]
515 | gtk_widget_set_no_show_all (GTK_WIDGET (priv->sw_hitlist), TRUE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
../devhelp/dh-sidebar.c:542:51: error: too many arguments to function ‘gtk_scrolled_window_new’
542 | priv->sw_book_tree = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2417:57: note: in definition of macro ‘_G_TYPE_CIC’
2417 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:38:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
38 | #define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:542:30: note: in expansion of macro ‘GTK_SCROLLED_WINDOW’
542 | priv->sw_book_tree = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:213,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:96:16: note: declared here
96 | GtkWidget* gtk_scrolled_window_new (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:560:9: warning: implicit declaration of function ‘gtk_widget_show_all’; did you mean ‘gtk_widget_show’? [-Wimplicit-function-declaration]
560 | gtk_widget_show_all (GTK_WIDGET (sidebar));
| ^~~~~~~~~~~~~~~~~~~
| gtk_widget_show
../devhelp/dh-sidebar.c: In function ‘dh_sidebar_new’:
../devhelp/dh-sidebar.c:658:32: warning: unused parameter ‘book_manager’ [-Wunused-parameter]
658 | dh_sidebar_new (DhBookManager *book_manager)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
[16/35] Compiling C object devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o
FAILED: devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o -MF devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o.d -o devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o -c devhelp/dh-enum-types.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from devhelp/dh-enum-types.c:5:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[17/35] Compiling C object src/devhelp.p/dh-util-app.c.o
FAILED: src/devhelp.p/dh-util-app.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-util-app.c.o -MF src/devhelp.p/dh-util-app.c.o.d -o src/devhelp.p/dh-util-app.c.o -c ../src/dh-util-app.c
../src/dh-util-app.c: In function ‘dh_util_window_settings_save’:
../src/dh-util-app.c:47:17: error: unknown type name ‘GdkWindowState’
47 | GdkWindowState state;
| ^~~~~~~~~~~~~~
../src/dh-util-app.c:50:25: warning: implicit declaration of function ‘gdk_window_get_state’; did you mean ‘gtk_window_get_title’? [-Wimplicit-function-declaration]
50 | state = gdk_window_get_state (gtk_widget_get_window (GTK_WIDGET (window)));
| ^~~~~~~~~~~~~~~~~~~~
| gtk_window_get_title
../src/dh-util-app.c:50:47: warning: implicit declaration of function ‘gtk_widget_get_window’; did you mean ‘gtk_widget_get_width’? [-Wimplicit-function-declaration]
50 | state = gdk_window_get_state (gtk_widget_get_window (GTK_WIDGET (window)));
| ^~~~~~~~~~~~~~~~~~~~~
| gtk_widget_get_width
../src/dh-util-app.c:51:38: error: ‘GDK_WINDOW_STATE_MAXIMIZED’ undeclared (first use in this function); did you mean ‘GDK_TOPLEVEL_STATE_MAXIMIZED’?
51 | maximized = (state & GDK_WINDOW_STATE_MAXIMIZED) != 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| GDK_TOPLEVEL_STATE_MAXIMIZED
../src/dh-util-app.c:51:38: note: each undeclared identifier is reported only once for each function it appears in
../src/dh-util-app.c:61:9: warning: implicit declaration of function ‘gtk_window_get_size’; did you mean ‘gtk_window_get_title’? [-Wimplicit-function-declaration]
61 | gtk_window_get_size (GTK_WINDOW (window), &width, &height);
| ^~~~~~~~~~~~~~~~~~~
| gtk_window_get_title
../src/dh-util-app.c: In function ‘dh_util_window_settings_restore’:
../src/dh-util-app.c:91:17: error: unknown type name ‘GdkWindow’; did you mean ‘GtkWindow’?
91 | GdkWindow *gdk_window;
| ^~~~~~~~~
| GtkWindow
../src/dh-util-app.c:99:28: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
99 | gdk_window = gtk_widget_get_window (GTK_WIDGET (gtk_window));
| ^
../src/dh-util-app.c:100:27: warning: implicit declaration of function ‘gdk_display_get_monitor_at_window’; did you mean ‘gdk_display_get_monitor_at_surface’? [-Wimplicit-function-declaration]
100 | monitor = gdk_display_get_monitor_at_window (display, gdk_window);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gdk_display_get_monitor_at_surface
../src/dh-util-app.c:100:25: warning: assignment to ‘GdkMonitor *’ {aka ‘struct _GdkMonitor *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
100 | monitor = gdk_display_get_monitor_at_window (display, gdk_window);
| ^
../src/dh-util-app.c:101:17: warning: implicit declaration of function ‘gdk_monitor_get_workarea’; did you mean ‘gdk_monitor_get_model’? [-Wimplicit-function-declaration]
101 | gdk_monitor_get_workarea (monitor, &monitor_workarea);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| gdk_monitor_get_model
[18/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-book-tree.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-book-tree.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-book-tree.c.o -MF devhelp/libdevhelp-static.a.p/dh-book-tree.c.o.d -o devhelp/libdevhelp-static.a.p/dh-book-tree.c.o -c ../devhelp/dh-book-tree.c
../devhelp/dh-book-tree.c:39:9: error: unknown type name ‘GtkMenu’
39 | GtkMenu *context_menu;
| ^~~~~~~
../devhelp/dh-book-tree.c: In function ‘book_tree_selection_changed_cb’:
../devhelp/dh-book-tree.c:85:51: warning: unused parameter ‘selection’ [-Wunused-parameter]
85 | book_tree_selection_changed_cb (GtkTreeSelection *selection,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘add_book_cb’:
../devhelp/dh-book-tree.c:445:26: warning: unused parameter ‘book_list’ [-Wunused-parameter]
445 | add_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘remove_book_cb’:
../devhelp/dh-book-tree.c:453:29: warning: unused parameter ‘book_list’ [-Wunused-parameter]
453 | remove_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘group_books_by_language_notify_cb’:
../devhelp/dh-book-tree.c:607:48: warning: unused parameter ‘settings’ [-Wunused-parameter]
607 | group_books_by_language_notify_cb (DhSettings *settings,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-book-tree.c:608:48: warning: unused parameter ‘pspec’ [-Wunused-parameter]
608 | GParamSpec *pspec,
| ~~~~~~~~~~~~^~~~~
../devhelp/dh-book-tree.c: At top level:
../devhelp/dh-book-tree.c:722:27: error: unknown type name ‘GtkMenuItem’; did you mean ‘GMenuItem’?
722 | collapse_all_activate_cb (GtkMenuItem *menu_item,
| ^~~~~~~~~~~
| GMenuItem
../devhelp/dh-book-tree.c:730:16: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
730 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-book-tree.c:773:34: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
773 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-book-tree.c: In function ‘dh_book_tree_popup_menu’:
../devhelp/dh-book-tree.c:792:57: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘popup_menu’
792 | if (GTK_WIDGET_CLASS (dh_book_tree_parent_class)->popup_menu != NULL)
| ^~
../devhelp/dh-book-tree.c:795:9: warning: implicit declaration of function ‘do_popup_menu’ [-Wimplicit-function-declaration]
795 | do_popup_menu (DH_BOOK_TREE (widget), NULL);
| ^~~~~~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘dh_book_tree_class_init’:
../devhelp/dh-book-tree.c:810:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘button_press_event’
810 | widget_class->button_press_event = dh_book_tree_button_press_event;
| ^~
../devhelp/dh-book-tree.c:810:44: error: ‘dh_book_tree_button_press_event’ undeclared (first use in this function)
810 | widget_class->button_press_event = dh_book_tree_button_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-book-tree.c:810:44: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-book-tree.c:811:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘popup_menu’
811 | widget_class->popup_menu = dh_book_tree_popup_menu;
| ^~
[19/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-tab-label.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-tab-label.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-tab-label.c.o -MF devhelp/libdevhelp-static.a.p/dh-tab-label.c.o.d -o devhelp/libdevhelp-static.a.p/dh-tab-label.c.o -c ../devhelp/dh-tab-label.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab-label.h:10,
from ../devhelp/dh-tab-label.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab-label.h:10,
from ../devhelp/dh-tab-label.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab-label.h:10,
from ../devhelp/dh-tab-label.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab-label.c: In function ‘web_view_title_notify_cb’:
../devhelp/dh-tab-label.c:52:39: warning: unused parameter ‘web_view’ [-Wunused-parameter]
52 | web_view_title_notify_cb (DhWebView *web_view,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-tab-label.c:53:39: warning: unused parameter ‘pspec’ [-Wunused-parameter]
53 | GParamSpec *pspec,
| ~~~~~~~~~~~~^~~~~
../devhelp/dh-tab-label.c: In function ‘create_close_button’:
../devhelp/dh-tab-label.c:167:55: error: ‘GTK_ICON_SIZE_BUTTON’ undeclared (first use in this function); did you mean ‘GTK_ICON_SIZE_LARGE’?
167 | GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~
| GTK_ICON_SIZE_LARGE
../devhelp/dh-tab-label.c:167:55: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-tab-label.c:166:24: error: too many arguments to function ‘gtk_button_new_from_icon_name’
166 | close_button = gtk_button_new_from_icon_name ("window-close-symbolic",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:60,
from ../devhelp/dh-tab-label.h:9,
from ../devhelp/dh-tab-label.c:6:
/usr/include/gtk-4.0/gtk/gtkbutton.h:84:16: note: declared here
84 | GtkWidget* gtk_button_new_from_icon_name (const char *icon_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-tab-label.c:168:9: warning: implicit declaration of function ‘gtk_button_set_relief’; did you mean ‘gtk_button_set_child’? [-Wimplicit-function-declaration]
168 | gtk_button_set_relief (GTK_BUTTON (close_button), GTK_RELIEF_NONE);
| ^~~~~~~~~~~~~~~~~~~~~
| gtk_button_set_child
../devhelp/dh-tab-label.c:168:59: error: ‘GTK_RELIEF_NONE’ undeclared (first use in this function); did you mean ‘GTK_LIMIT_NONE’?
168 | gtk_button_set_relief (GTK_BUTTON (close_button), GTK_RELIEF_NONE);
| ^~~~~~~~~~~~~~~
| GTK_LIMIT_NONE
../devhelp/dh-tab-label.c:172:53: error: ‘GTK_STYLE_CLASS_FLAT’ undeclared (first use in this function); did you mean ‘GTK_SCALE_CLASS’?
172 | gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_FLAT);
| ^~~~~~~~~~~~~~~~~~~~
| GTK_SCALE_CLASS
../devhelp/dh-tab-label.c: In function ‘close_button_clicked_cb’:
../devhelp/dh-tab-label.c:182:17: warning: implicit declaration of function ‘gtk_widget_destroy’; did you mean ‘gtk_window_destroy’? [-Wimplicit-function-declaration]
182 | gtk_widget_destroy (GTK_WIDGET (tab_label->priv->tab));
| ^~~~~~~~~~~~~~~~~~
| gtk_window_destroy
../devhelp/dh-tab-label.c:178:38: warning: unused parameter ‘close_button’ [-Wunused-parameter]
178 | close_button_clicked_cb (GtkButton *close_button,
| ~~~~~~~~~~~~^~~~~~~~~~~~
../devhelp/dh-tab-label.c: In function ‘dh_tab_label_init’:
../devhelp/dh-tab-label.c:203:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
203 | gtk_container_add (GTK_CONTAINER (tab_label),
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab-label.c:203:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
203 | gtk_container_add (GTK_CONTAINER (tab_label),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[20/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-search-bar.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-search-bar.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-search-bar.c.o -MF devhelp/libdevhelp-static.a.p/dh-search-bar.c.o.d -o devhelp/libdevhelp-static.a.p/dh-search-bar.c.o -c ../devhelp/dh-search-bar.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-search-bar.c:6:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘update_search_in_web_view’:
../devhelp/dh-search-bar.c:47:31: warning: implicit declaration of function ‘gtk_entry_get_text’; did you mean ‘gtk_entry_get_tabs’? [-Wimplicit-function-declaration]
47 | search_text = gtk_entry_get_text (GTK_ENTRY (search_bar->priv->search_entry));
| ^~~~~~~~~~~~~~~~~~
| gtk_entry_get_tabs
../devhelp/dh-search-bar.c:47:29: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
47 | search_text = gtk_entry_get_text (GTK_ENTRY (search_bar->priv->search_entry));
| ^
../devhelp/dh-search-bar.c: In function ‘search_mode_enabled_notify_cb’:
../devhelp/dh-search-bar.c:106:45: warning: unused parameter ‘pspec’ [-Wunused-parameter]
106 | GParamSpec *pspec,
| ~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c:107:45: warning: unused parameter ‘user_data’ [-Wunused-parameter]
107 | gpointer user_data)
| ~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘search_changed_cb’:
../devhelp/dh-search-bar.c:116:36: warning: unused parameter ‘entry’ [-Wunused-parameter]
116 | search_changed_cb (GtkSearchEntry *entry,
| ~~~~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c: In function ‘previous_match_cb’:
../devhelp/dh-search-bar.c:124:36: warning: unused parameter ‘entry’ [-Wunused-parameter]
124 | previous_match_cb (GtkSearchEntry *entry,
| ~~~~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c: In function ‘next_match_cb’:
../devhelp/dh-search-bar.c:131:32: warning: unused parameter ‘entry’ [-Wunused-parameter]
131 | next_match_cb (GtkSearchEntry *entry,
| ~~~~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c: In function ‘prev_button_clicked_cb’:
../devhelp/dh-search-bar.c:138:38: warning: unused parameter ‘prev_button’ [-Wunused-parameter]
138 | prev_button_clicked_cb (GtkButton *prev_button,
| ~~~~~~~~~~~~~^~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘next_button_clicked_cb’:
../devhelp/dh-search-bar.c:145:38: warning: unused parameter ‘next_button’ [-Wunused-parameter]
145 | next_button_clicked_cb (GtkButton *next_button,
| ~~~~~~~~~~~~~^~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘notebook_switch_page_after_cb’:
../devhelp/dh-search-bar.c:152:45: warning: unused parameter ‘notebook’ [-Wunused-parameter]
152 | notebook_switch_page_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-search-bar.c:153:45: warning: unused parameter ‘new_page’ [-Wunused-parameter]
153 | GtkWidget *new_page,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-search-bar.c:154:45: warning: unused parameter ‘new_page_num’ [-Wunused-parameter]
154 | guint new_page_num,
| ~~~~~~~~~~~~~^~~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘dh_search_bar_constructed’:
../devhelp/dh-search-bar.c:177:53: error: ‘GTK_STYLE_CLASS_LINKED’ undeclared (first use in this function); did you mean ‘GTK_STATE_FLAG_LINK’?
177 | gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_LINKED);
| ^~~~~~~~~~~~~~~~~~~~~~
| GTK_STATE_FLAG_LINK
../devhelp/dh-search-bar.c:177:53: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-search-bar.c:182:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
182 | gtk_container_add (GTK_CONTAINER (hbox),
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:182:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
182 | gtk_container_add (GTK_CONTAINER (hbox),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
../devhelp/dh-search-bar.c:201:72: error: ‘GTK_ICON_SIZE_BUTTON’ undeclared (first use in this function); did you mean ‘GTK_ICON_SIZE_LARGE’?
201 | prev_button = gtk_button_new_from_icon_name ("go-up-symbolic", GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~
| GTK_ICON_SIZE_LARGE
../devhelp/dh-search-bar.c:201:23: error: too many arguments to function ‘gtk_button_new_from_icon_name’
201 | prev_button = gtk_button_new_from_icon_name ("go-up-symbolic", GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:60,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/gtk-4.0/gtk/gtkbutton.h:84:16: note: declared here
84 | GtkWidget* gtk_button_new_from_icon_name (const char *icon_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:204:23: error: too many arguments to function ‘gtk_button_new_from_icon_name’
204 | next_button = gtk_button_new_from_icon_name ("go-down-symbolic", GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:60,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/gtk-4.0/gtk/gtkbutton.h:84:16: note: declared here
84 | GtkWidget* gtk_button_new_from_icon_name (const char *icon_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:229:9: warning: implicit declaration of function ‘gtk_widget_show_all’; did you mean ‘gtk_widget_show’? [-Wimplicit-function-declaration]
229 | gtk_widget_show_all (hbox);
| ^~~~~~~~~~~~~~~~~~~
| gtk_widget_show
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/glib-2.0/gobject/gtype.h:2417:6: warning: passing argument 2 of ‘gtk_search_bar_connect_entry’ from incompatible pointer type [-Wincompatible-pointer-types]
2417 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
/usr/include/glib-2.0/gobject/gtype.h:501:66: note: in expansion of macro ‘_G_TYPE_CIC’
501 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))
| ^~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkentry.h:47:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
47 | #define GTK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:233:39: note: in expansion of macro ‘GTK_ENTRY’
233 | GTK_ENTRY (search_bar->priv->search_entry));
| ^~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:214,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/gtk-4.0/gtk/gtksearchbar.h:54:59: note: expected ‘GtkEditable *’ {aka ‘struct _GtkEditable *’} but argument is of type ‘GtkEntry *’ {aka ‘struct _GtkEntry *’}
54 | GtkEditable *entry);
| ~~~~~~~~~~~~~~^~~~~
[21/35] Compiling C object src/devhelp.p/dh-assistant.c.o
FAILED: src/devhelp.p/dh-assistant.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-assistant.c.o -MF src/devhelp.p/dh-assistant.c.o.d -o src/devhelp.p/dh-assistant.c.o -c ../src/dh-assistant.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-assistant.c:7:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../src/dh-assistant.c: In function ‘assistant_view_open_uri_cb’:
../src/dh-assistant.c:19:46: warning: unused parameter ‘view’ [-Wunused-parameter]
19 | assistant_view_open_uri_cb (DhAssistantView *view,
| ~~~~~~~~~~~~~~~~~^~~~
../src/dh-assistant.c: At top level:
../src/dh-assistant.c:34:31: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
34 | GdkEventKey *event)
| ^~~~~~~~~~~
| GdkEvent
../src/dh-assistant.c:48:28: error: unknown type name ‘GdkEventAny’; did you mean ‘GdkEvent’?
48 | GdkEventAny *event)
| ^~~~~~~~~~~
| GdkEvent
../src/dh-assistant.c: In function ‘dh_assistant_class_init’:
../src/dh-assistant.c:67:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘key_press_event’
67 | widget_class->key_press_event = dh_assistant_key_press_event;
| ^~
../src/dh-assistant.c:67:41: error: ‘dh_assistant_key_press_event’ undeclared (first use in this function)
67 | widget_class->key_press_event = dh_assistant_key_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/dh-assistant.c:67:41: note: each undeclared identifier is reported only once for each function it appears in
../src/dh-assistant.c:68:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘delete_event’
68 | widget_class->delete_event = dh_assistant_delete_event;
| ^~
../src/dh-assistant.c:68:38: error: ‘dh_assistant_delete_event’ undeclared (first use in this function)
68 | widget_class->delete_event = dh_assistant_delete_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[22/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-notebook.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-notebook.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-notebook.c.o -MF devhelp/libdevhelp-static.a.p/dh-notebook.c.o.d -o devhelp/libdevhelp-static.a.p/dh-notebook.c.o -c ../devhelp/dh-notebook.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-notebook.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-notebook.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-notebook.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-notebook.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-notebook.c: In function ‘dh_notebook_page_added’:
../devhelp/dh-notebook.c:122:13: warning: implicit declaration of function ‘GTK_NOTEBOOK_CLASS’; did you mean ‘DH_NOTEBOOK_CLASS’? [-Wimplicit-function-declaration]
122 | if (GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_added != NULL)
| ^~~~~~~~~~~~~~~~~~
| DH_NOTEBOOK_CLASS
../devhelp/dh-notebook.c:122:58: error: invalid type argument of ‘->’ (have ‘int’)
122 | if (GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_added != NULL)
| ^~
../devhelp/dh-notebook.c:123:62: error: invalid type argument of ‘->’ (have ‘int’)
123 | GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_added (notebook, child, page_num);
| ^~
../devhelp/dh-notebook.c: In function ‘dh_notebook_page_removed’:
../devhelp/dh-notebook.c:133:58: error: invalid type argument of ‘->’ (have ‘int’)
133 | if (GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_removed != NULL)
| ^~
../devhelp/dh-notebook.c:134:62: error: invalid type argument of ‘->’ (have ‘int’)
134 | GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_removed (notebook, child, page_num);
| ^~
../devhelp/dh-notebook.c: In function ‘dh_notebook_class_init’:
../devhelp/dh-notebook.c:143:9: error: unknown type name ‘GtkNotebookClass’; did you mean ‘DhNotebookClass’?
143 | GtkNotebookClass *gtk_notebook_class = GTK_NOTEBOOK_CLASS (klass);
| ^~~~~~~~~~~~~~~~
| DhNotebookClass
../devhelp/dh-notebook.c:143:48: warning: initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
143 | GtkNotebookClass *gtk_notebook_class = GTK_NOTEBOOK_CLASS (klass);
| ^~~~~~~~~~~~~~~~~~
../devhelp/dh-notebook.c:150:27: error: request for member ‘page_added’ in something not a structure or union
150 | gtk_notebook_class->page_added = dh_notebook_page_added;
| ^~
../devhelp/dh-notebook.c:151:27: error: request for member ‘page_removed’ in something not a structure or union
151 | gtk_notebook_class->page_removed = dh_notebook_page_removed;
| ^~
../devhelp/dh-notebook.c: In function ‘web_view_open_new_tab_cb’:
../devhelp/dh-notebook.c:214:40: warning: unused parameter ‘web_view’ [-Wunused-parameter]
214 | web_view_open_new_tab_cb (DhWebView *web_view,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-notebook.c: In function ‘dh_notebook_open_new_tab’:
../devhelp/dh-notebook.c:264:9: warning: implicit declaration of function ‘gtk_container_child_set’ [-Wimplicit-function-declaration]
264 | gtk_container_child_set (GTK_CONTAINER (notebook),
| ^~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-notebook.c:264:34: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
264 | gtk_container_child_set (GTK_CONTAINER (notebook),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[23/35] Compiling C object src/devhelp.p/dh-window.c.o
FAILED: src/devhelp.p/dh-window.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-window.c.o -MF src/devhelp.p/dh-window.c.o.d -o src/devhelp.p/dh-window.c.o -c ../src/dh-window.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../src/dh-window.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../src/dh-window.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../src/dh-window.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-window.c:12:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-window.c:12:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../src/dh-window.c:33:25: error: unknown type name ‘GdkEventAny’; did you mean ‘GdkEvent’?
33 | GdkEventAny *event)
| ^~~~~~~~~~~
| GdkEvent
../src/dh-window.c: In function ‘dh_window_class_init’:
../src/dh-window.c:67:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘delete_event’
67 | widget_class->delete_event = dh_window_delete_event;
| ^~
../src/dh-window.c:67:38: error: ‘dh_window_delete_event’ undeclared (first use in this function)
67 | widget_class->delete_event = dh_window_delete_event;
| ^~~~~~~~~~~~~~~~~~~~~~
../src/dh-window.c:67:38: note: each undeclared identifier is reported only once for each function it appears in
../src/dh-window.c: In function ‘update_window_title’:
../src/dh-window.c:103:9: warning: implicit declaration of function ‘gtk_header_bar_set_title’; did you mean ‘gtk_header_bar_get_type’? [-Wimplicit-function-declaration]
103 | gtk_header_bar_set_title (priv->header_bar, title);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| gtk_header_bar_get_type
../src/dh-window.c: In function ‘new_tab_cb’:
../src/dh-window.c:151:28: warning: unused parameter ‘action’ [-Wunused-parameter]
151 | new_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:152:28: warning: unused parameter ‘parameter’ [-Wunused-parameter]
152 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘next_tab_cb’:
../src/dh-window.c:162:29: warning: unused parameter ‘action’ [-Wunused-parameter]
162 | next_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:163:29: warning: unused parameter ‘parameter’ [-Wunused-parameter]
163 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘prev_tab_cb’:
../src/dh-window.c:182:29: warning: unused parameter ‘action’ [-Wunused-parameter]
182 | prev_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:183:29: warning: unused parameter ‘parameter’ [-Wunused-parameter]
183 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘go_to_tab_cb’:
../src/dh-window.c:200:30: warning: unused parameter ‘action’ [-Wunused-parameter]
200 | go_to_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c: In function ‘print_cb’:
../src/dh-window.c:213:26: warning: unused parameter ‘action’ [-Wunused-parameter]
213 | print_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:214:26: warning: unused parameter ‘parameter’ [-Wunused-parameter]
214 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘close_tab_cb’:
../src/dh-window.c:231:30: warning: unused parameter ‘action’ [-Wunused-parameter]
231 | close_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:232:30: warning: unused parameter ‘parameter’ [-Wunused-parameter]
232 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘copy_cb’:
../src/dh-window.c:260:17: warning: implicit declaration of function ‘gtk_editable_copy_clipboard’; did you mean ‘gtk_text_buffer_copy_clipboard’? [-Wimplicit-function-declaration]
260 | gtk_editable_copy_clipboard (GTK_EDITABLE (widget));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| gtk_text_buffer_copy_clipboard
../src/dh-window.c:267:25: error: unknown type name ‘GtkClipboard’; did you mean ‘GdkClipboard’?
267 | GtkClipboard *clipboard;
| ^~~~~~~~~~~~
| GdkClipboard
../src/dh-window.c:269:71: error: ‘GDK_SELECTION_CLIPBOARD’ undeclared (first use in this function); did you mean ‘GDK_TYPE_CLIPBOARD’?
269 | clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_CLIPBOARD);
| ^~~~~~~~~~~~~~~~~~~~~~~
| GDK_TYPE_CLIPBOARD
../src/dh-window.c:269:37: error: too many arguments to function ‘gtk_widget_get_clipboard’
269 | clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_CLIPBOARD);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:27,
from /usr/include/gtk-4.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-4.0/gtk/gtk.h:34,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/gtk-4.0/gtk/gtkwidget.h:544:15: note: declared here
544 | GdkClipboard *gtk_widget_get_clipboard (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../src/dh-window.c:269:35: warning: assignment to ‘int *’ from incompatible pointer type ‘GdkClipboard *’ {aka ‘struct _GdkClipboard *’} [-Wincompatible-pointer-types]
269 | clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_CLIPBOARD);
| ^
../src/dh-window.c:270:25: warning: implicit declaration of function ‘gtk_clipboard_set_text’; did you mean ‘gdk_clipboard_set_text’? [-Wimplicit-function-declaration]
270 | gtk_clipboard_set_text (clipboard, dh_link_get_name (link), -1);
| ^~~~~~~~~~~~~~~~~~~~~~
| gdk_clipboard_set_text
../src/dh-window.c:249:25: warning: unused parameter ‘action’ [-Wunused-parameter]
249 | copy_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:250:25: warning: unused parameter ‘parameter’ [-Wunused-parameter]
250 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘find_cb’:
../src/dh-window.c:286:25: warning: unused parameter ‘action’ [-Wunused-parameter]
286 | find_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:287:25: warning: unused parameter ‘parameter’ [-Wunused-parameter]
287 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘zoom_in_cb’:
../src/dh-window.c:298:28: warning: unused parameter ‘action’ [-Wunused-parameter]
298 | zoom_in_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:299:28: warning: unused parameter ‘parameter’ [-Wunused-parameter]
299 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘zoom_out_cb’:
../src/dh-window.c:311:29: warning: unused parameter ‘action’ [-Wunused-parameter]
311 | zoom_out_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:312:29: warning: unused parameter ‘parameter’ [-Wunused-parameter]
312 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘zoom_default_cb’:
../src/dh-window.c:324:33: warning: unused parameter ‘action’ [-Wunused-parameter]
324 | zoom_default_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:325:33: warning: unused parameter ‘parameter’ [-Wunused-parameter]
325 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘focus_search_cb’:
../src/dh-window.c:337:33: warning: unused parameter ‘action’ [-Wunused-parameter]
337 | focus_search_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:338:33: warning: unused parameter ‘parameter’ [-Wunused-parameter]
338 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘go_back_cb’:
../src/dh-window.c:348:28: warning: unused parameter ‘action’ [-Wunused-parameter]
348 | go_back_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:349:28: warning: unused parameter ‘parameter’ [-Wunused-parameter]
349 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘go_forward_cb’:
../src/dh-window.c:361:31: warning: unused parameter ‘action’ [-Wunused-parameter]
361 | go_forward_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:362:31: warning: unused parameter ‘parameter’ [-Wunused-parameter]
362 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘add_actions’:
../src/dh-window.c:381:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
381 | { "new-tab", new_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:382:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
382 | { "next-tab", next_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:383:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
383 | { "prev-tab", prev_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:384:17: warning: missing initializer for field ‘state’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
384 | { "go-to-tab", go_to_tab_cb, "q" },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:65:16: note: ‘state’ declared here
65 | const gchar *state;
| ^~~~~
../src/dh-window.c:385:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
385 | { "print", print_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:386:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
386 | { "close-tab", close_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:389:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
389 | { "copy", copy_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:390:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
390 | { "find", find_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:393:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
393 | { "zoom-in", zoom_in_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:394:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
394 | { "zoom-out", zoom_out_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:395:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
395 | { "zoom-default", zoom_default_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:396:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
396 | { "focus-search", focus_search_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:399:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
399 | { "go-back", go_back_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:400:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
400 | { "go-forward", go_forward_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c: In function ‘web_view_title_notify_cb’:
../src/dh-window.c:423:39: warning: unused parameter ‘param_spec’ [-Wunused-parameter]
423 | GParamSpec *param_spec,
| ~~~~~~~~~~~~^~~~~~~~~~
../src/dh-window.c: In function ‘web_view_zoom_level_notify_cb’:
../src/dh-window.c:432:44: warning: unused parameter ‘pspec’ [-Wunused-parameter]
432 | GParamSpec *pspec,
| ~~~~~~~~~~~~^~~~~
../src/dh-window.c: In function ‘notebook_page_added_after_cb’:
../src/dh-window.c:440:44: warning: unused parameter ‘notebook’ [-Wunused-parameter]
440 | notebook_page_added_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c:442:44: warning: unused parameter ‘page_num’ [-Wunused-parameter]
442 | guint page_num,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c: In function ‘notebook_page_removed_after_cb’:
../src/dh-window.c:474:46: warning: unused parameter ‘child’ [-Wunused-parameter]
474 | GtkWidget *child,
| ~~~~~~~~~~~~~^~~~~
../src/dh-window.c:475:46: warning: unused parameter ‘page_num’ [-Wunused-parameter]
475 | guint page_num,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c: In function ‘notebook_switch_page_after_cb’:
../src/dh-window.c:483:45: warning: unused parameter ‘notebook’ [-Wunused-parameter]
483 | notebook_switch_page_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c:484:45: warning: unused parameter ‘new_page’ [-Wunused-parameter]
484 | GtkWidget *new_page,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c:485:45: warning: unused parameter ‘new_page_num’ [-Wunused-parameter]
485 | guint new_page_num,
| ~~~~~~~~~~~~~^~~~~~~~~~~~
../src/dh-window.c: In function ‘dh_window_init’:
../src/dh-window.c:520:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
520 | gtk_container_add (GTK_CONTAINER (priv->grid_sidebar),
| ^~~~~~~~~~~~~~~~~
../src/dh-window.c:520:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
520 | gtk_container_add (GTK_CONTAINER (priv->grid_sidebar),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[24/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-web-view.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-web-view.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-web-view.c.o -MF devhelp/libdevhelp-static.a.p/dh-web-view.c.o.d -o devhelp/libdevhelp-static.a.p/dh-web-view.c.o -c ../devhelp/dh-web-view.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-web-view.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-web-view.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-web-view.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-web-view.c:117:27: error: unknown type name ‘GdkEventScroll’
117 | GdkEventScroll *scroll_event)
| ^~~~~~~~~~~~~~
../devhelp/dh-web-view.c:168:33: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
168 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-web-view.c: In function ‘dh_web_view_decide_policy’:
../devhelp/dh-web-view.c:322:28: warning: implicit declaration of function ‘gtk_widget_get_toplevel’; did you mean ‘gtk_window_get_toplevels’? [-Wimplicit-function-declaration]
322 | toplevel = gtk_widget_get_toplevel (GTK_WIDGET (web_view));
| ^~~~~~~~~~~~~~~~~~~~~~~
| gtk_window_get_toplevels
../devhelp/dh-web-view.c:322:26: warning: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
322 | toplevel = gtk_widget_get_toplevel (GTK_WIDGET (web_view));
| ^
../devhelp/dh-web-view.c:326:17: warning: implicit declaration of function ‘gtk_show_uri_on_window’; did you mean ‘gtk_show_uri_full_finish’? [-Wimplicit-function-declaration]
326 | gtk_show_uri_on_window (window, uri, GDK_CURRENT_TIME, &error);
| ^~~~~~~~~~~~~~~~~~~~~~
| gtk_show_uri_full_finish
../devhelp/dh-web-view.c: In function ‘settings_fonts_changed_cb’:
../devhelp/dh-web-view.c:463:40: warning: unused parameter ‘settings’ [-Wunused-parameter]
463 | settings_fonts_changed_cb (DhSettings *settings,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-web-view.c: In function ‘dh_web_view_class_init’:
../devhelp/dh-web-view.c:565:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘scroll_event’
565 | widget_class->scroll_event = dh_web_view_scroll_event;
| ^~
../devhelp/dh-web-view.c:565:38: error: ‘dh_web_view_scroll_event’ undeclared (first use in this function); did you mean ‘dh_web_view_search_next’?
565 | widget_class->scroll_event = dh_web_view_scroll_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| dh_web_view_search_next
../devhelp/dh-web-view.c:565:38: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-web-view.c:566:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘button_press_event’
566 | widget_class->button_press_event = dh_web_view_button_press_event;
| ^~
../devhelp/dh-web-view.c:566:44: error: ‘dh_web_view_button_press_event’ undeclared (first use in this function)
566 | widget_class->button_press_event = dh_web_view_button_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: cannot make progress due to previous errors.
```https://gitlab.gnome.org/GNOME/devhelp/-/issues/52devhelp 41.beta doesn't include gi-docgen subproject2021-09-04T12:39:33ZJeremy Bichadevhelp 41.beta doesn't include gi-docgen subprojectThe devhelp 41.beta release tarball uploaded to [download.gnome.org](https://download-fallback.gnome.org/sources/devhelp/41/) doesn't include the gi-docgen meson subproject. I believe you can copy what you did for [json-glib](https://git...The devhelp 41.beta release tarball uploaded to [download.gnome.org](https://download-fallback.gnome.org/sources/devhelp/41/) doesn't include the gi-docgen meson subproject. I believe you can copy what you did for [json-glib](https://gitlab.gnome.org/GNOME/json-glib/-/commit/77770fc)GNOME 41https://gitlab.gnome.org/GNOME/devhelp/-/issues/42Implement a start page specific for GTK+/GNOME2021-08-13T17:11:51ZAdministratorImplement a start page specific for GTK+/GNOME## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#784331)](https://bugzilla.gnome.org/show_bug.cgi?id=784331)**
## Description
Implement a start page specific for GTK+/GNOME.
When starting Devhelp, instead of ha...## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#784331)](https://bugzilla.gnome.org/show_bug.cgi?id=784331)**
## Description
Implement a start page specific for GTK+/GNOME.
When starting Devhelp, instead of having initially an empty/white page, show a start page with links and short descriptions for the main GTK+/GNOME libraries.
To have a list of libraries to include, see for example:
https://developer.gnome.org/platform-overview/unstable/tech.html.en
I think this start page should be optional, because Devhelp can be used for other purposes than GTK+/GNOME development (it is possible to write Devhelp index files for totally different development platforms).https://gitlab.gnome.org/GNOME/devhelp/-/issues/4741.alpha: broken devhelp-update-po, help-devhelp-pot and help-devhelp-update-...2021-07-09T23:50:28ZTomasz Kłoczko41.alpha: broken devhelp-update-po, help-devhelp-pot and help-devhelp-update-po targets```console
[tkloczko@barrel devhelp-41.alpha]$ /usr/bin/meson compile -C x86_64-redhat-linux-gnu -j 48 --verbose help-devhelp-update-po
ninja: Entering directory `x86_64-redhat-linux-gnu'
[0/1] /usr/bin/meson --internal exe --unpickle /h...```console
[tkloczko@barrel devhelp-41.alpha]$ /usr/bin/meson compile -C x86_64-redhat-linux-gnu -j 48 --verbose help-devhelp-update-po
ninja: Entering directory `x86_64-redhat-linux-gnu'
[0/1] /usr/bin/meson --internal exe --unpickle /home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/x86_64-redhat-linux-gnu/meson-private/meson_exe_meson_af65cbb8232a429fe2e2dbbb759c1c81ea7f9674.dat
Error: cannot open XML file C/book-format.page
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
msgmerge: error while opening "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/help/devhelp.pot" for reading: No such file or directory
```
```console
[tkloczko@barrel devhelp-41.alpha]$ /usr/bin/meson compile -C x86_64-redhat-linux-gnu --verbose help-devhelp-pot
ninja: Entering directory `x86_64-redhat-linux-gnu'
[0/1] /usr/bin/meson --internal exe --unpickle /home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/x86_64-redhat-linux-gnu/meson-private/meson_exe_meson_6311c4e1ee5b31df667057d0452a5b79298bac1e.dat
Error: cannot open XML file C/book-format.page
```
```console
[tkloczko@barrel devhelp-41.alpha]$ /usr/bin/meson compile -C x86_64-redhat-linux-gnu --verbose devhelp-update-po
ninja: Entering directory `x86_64-redhat-linux-gnu'
[0/1] /usr/bin/meson --internal exe --unpickle /home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/x86_64-redhat-linux-gnu/meson-private/meson_exe_meson_3a0a2a23fb890670f67da646f6ae49524b1671d9.dat
xgettext: cannot read /home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/src/menus.ui: failed to load external entity "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/src/menus.ui"
xgettext: cannot read /home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/src/menus.ui: failed to load external entity "/home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/src/menus.ui"
xgettext: warning: file 'src/menus.ui' extension 'ui' is unknown; will try C
xgettext: error while opening "src/menus.ui" for reading: No such file or directory
while executing ['/usr/bin/meson', '--internal', 'gettext', 'update_po', '--pkgname=devhelp', '--extra-args=--add-comments@@--flag=g_printerr:1:c-format@@--keyword=g_dngettext:2,3@@--flag=C_:2:pass-c-format@@--keyword=N_@@--flag=g_strdup_printf:1:c-format@@--flag=g_string_printf:2:c-format@@--flag=g_markup_printf_escaped:1:c-format@@--flag=g_fprintf:2:c-format@@--flag=g_string_append_printf:2:c-format@@--flag=g_dngettext:2:pass-c-format@@--flag=g_printf:1:c-format@@--flag=g_error_new:3:c-format@@--flag=g_snprintf:3:c-format@@--flag=g_print:1:c-format@@--keyword=_@@--flag=g_set_error:4:c-format@@--keyword=NC_:1c,2@@--flag=g_log:3:c-format@@--flag=g_sprintf:2:c-format@@--keyword=g_dpgettext2:2c,3@@--flag=N_:1:pass-c-format@@--from-code=UTF-8@@--keyword=C_:1c,2@@--flag=NC_:2:pass-c-format@@--keyword=g_dcgettext:2']
FAILED: meson-devhelp-update-po
/usr/bin/meson --internal exe --unpickle /home/tkloczko/rpmbuild/BUILD/devhelp-41.alpha/x86_64-redhat-linux-gnu/meson-private/meson_exe_meson_3a0a2a23fb890670f67da646f6ae49524b1671d9.dat
ninja: build stopped: subcommand failed.
[tkloczko@barrel devhelp-41.alpha]$ ls -l src/menus*
ls: cannot access 'src/menus*': No such file or directory
```https://gitlab.gnome.org/GNOME/devhelp/-/issues/41Differentiate signals or properties with the same name by adding the class or...2021-07-09T16:26:35ZAdministratorDifferentiate signals or properties with the same name by adding the class or page name in search results## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#782546)](https://bugzilla.gnome.org/show_bug.cgi?id=782546)**
## Description
Created attachment 351699
Screenshot of Devhelp search results for "populate-popup"
...## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#782546)](https://bugzilla.gnome.org/show_bug.cgi?id=782546)**
## Description
Created attachment 351699
Screenshot of Devhelp search results for "populate-popup"
See the attached screenshot. Search results for "populate-popup" (if the GTK+ book is enabled) include lots of duplicates, because different classes have the same signal name.
It would be nice to know the class that the signal belongs to. Or if it's not possible to know the class, knowing at least the page (usually a page contains only one class).
I'm not sure whether Devhelp should implement this, or if gtk-doc should include the class name in the signal name.
Same problem with properties.
**Attachment 351699**, "Screenshot of Devhelp search results for "populate-popup"":
![screenshot-devhelp-search-populate-popup](/uploads/74587d08a1f6e3dc3f36d17190a8db49/screenshot-devhelp-search-populate-popup.png)https://gitlab.gnome.org/GNOME/devhelp/-/issues/39Have the latest stable/unstable GNOME API references2021-07-09T16:21:15ZAdministratorHave the latest stable/unstable GNOME API references## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#761284)](https://bugzilla.gnome.org/show_bug.cgi?id=761284)**
## Description
I think it was discussed several years ago at a developer experience hackfest.
It wo...## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#761284)](https://bugzilla.gnome.org/show_bug.cgi?id=761284)**
## Description
I think it was discussed several years ago at a developer experience hackfest.
It would be nice to have access in Devhelp to the latest stable and unstable API references of the GNOME and GTK+ libraries, in an easy way.
Probably by downloading the tarballs and extract the docs in there. But Devhelp needs to know where to download the tarballs.https://gitlab.gnome.org/GNOME/devhelp/-/issues/40Have a different sidebar state for each tab2021-07-09T16:19:06ZAdministratorHave a different sidebar state for each tab## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#761293)](https://bugzilla.gnome.org/show_bug.cgi?id=761293)**
## Description
Related bug: bug #761292. I often end up with a messy book tree, and maybe if the sid...## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#761293)](https://bugzilla.gnome.org/show_bug.cgi?id=761293)**
## Description
Related bug: bug #761292. I often end up with a messy book tree, and maybe if the sidebar was different for each tab, it would be more convenient.
The tabs would need to go up and be just under the headerbar, with the sidebar inside the tab.
Maybe it's a bad idea, I don't know. It can be tested.https://gitlab.gnome.org/GNOME/devhelp/-/issues/38Man pages browsing2021-07-09T16:17:01ZAdministratorMan pages browsing## Submitted by Michele Comignano
**[Link to original bug (#616509)](https://bugzilla.gnome.org/show_bug.cgi?id=616509)**
## Description
Using devhelp I'm feeling the lack of man pages.
Would be great if devhelp managed unix man pag...## Submitted by Michele Comignano
**[Link to original bug (#616509)](https://bugzilla.gnome.org/show_bug.cgi?id=616509)**
## Description
Using devhelp I'm feeling the lack of man pages.
Would be great if devhelp managed unix man pages browsing too!
A man pages "book" divided in numbered sections each of whom containing the man pages for that section.
Devhelp is great anyway this is only my modest suggestion.
Thanks.https://gitlab.gnome.org/GNOME/devhelp/-/issues/44On app activation, re-use window if on same workspace/desktop, create new win...2021-07-09T16:13:50ZAdministratorOn app activation, re-use window if on same workspace/desktop, create new window otherwise## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#791631)](https://bugzilla.gnome.org/show_bug.cgi?id=791631)**
## Description
On app activation, re-use window if on same workspace, create new window otherwise.
...## Submitted by Sébastien Wilmet `@swilmet`
**[Link to original bug (#791631)](https://bugzilla.gnome.org/show_bug.cgi?id=791631)**
## Description
On app activation, re-use window if on same workspace, create new window otherwise.
More precisely: on app activation, either from GApplication::activate or from the command line, see if there is already a main window on the current workspace, if yes, just present it with gtk_window_present() and possibly open a new tab. Otherwise, create a new window.
Rationale: I think that's what most users want. Or at least it's what I want. If I'm on a different workspace, I want a new window. I always launch Devhelp from the terminal, either directly or via the Vim plugin, in both cases it's launched with a command line. Why do I launch Devhelp from a different workspace? This happens when I'm working on different projects at the same time, each project on a different workspace, with its own Devhelp window and the relevant documentation opened for that project.
gedit implements this with X11 APIs to know the workspace etc (in gedit-utils.c), so it doesn't work on Wayland. Maybe GDK has all the required APIs to implement this, I don't know.https://gitlab.gnome.org/GNOME/devhelp/-/issues/2Revert amtk patches2021-05-17T15:49:04ZGünther WagnerRevert amtk patchesI tried to compile the current 3.30 release and was not able because amtk is set to 5.0 but is still 4.92 (somehow now i have the 5.0 version - nevermind)
I started to look over the source and don't see that much improvement to use this...I tried to compile the current 3.30 release and was not able because amtk is set to 5.0 but is still 4.92 (somehow now i have the 5.0 version - nevermind)
I started to look over the source and don't see that much improvement to use this library and have the burden of a dependency and version juggling. I think, devhelp was fine with the standard way to declare a Shortcut-Window and add menus via GtkBuilder files.
Therefore i suggest: revert the amtk patches and drop the dependency to amtk.GNOME 3.30