Projects
home:Eustace:branches:Eulaceura:Factory
gtk-doc
_service:obs_scm:gtk-doc-1.34.0-simulate-meson-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:gtk-doc-1.34.0-simulate-meson-gnome.gtkdoc.patch of Package gtk-doc
From f966eb750f245e70f8f6debd0e0aa49ff0e2cff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmed=20Ba=C3=AFzid?= <ahmed.baizid.0@gmail.com> Date: Tue, 9 Jul 2024 18:12:27 +0100 Subject: [PATCH] Tests: Simulate Meson's gnome.gtkdoc() content_files argument Closes #150 --- meson.build | 3 ++- tests/gobject/docs/meson.build | 5 ----- tests/gobject/docs/xml/meson.build | 2 ++ tests/gobject/src/gobject.c | 4 +++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 94eca1a6..b35213f8 100644 @@ -1,9 +1,10 @@ project('gtk-doc', 'c', version: '1.34.0', license: 'GPL2+', - meson_version: '>= 0.55', + meson_version: '>= 0.64.0', ) +fs = import('fs') gnome = import('gnome') python = import('python') diff --git a/tests/gobject/docs/meson.build b/tests/gobject/docs/meson.build index 6b7e04b5..3442725c 100644 --- a/tests/gobject/docs/meson.build +++ b/tests/gobject/docs/meson.build @@ -112,11 +112,6 @@ test( '@0@'.format('tester'), '@0@'.format(join_paths('..', 'tester-docs.xml')), '--uninstalled', - '--path=@0@'.format(':'.join([ - gobject_test_docs_dir, - srcdir, - ]) - ), ], ) diff --git a/tests/gobject/docs/xml/meson.build b/tests/gobject/docs/xml/meson.build index 94eca1a6..b35213f8 100644 --- a/tests/gobject/docs/xml/meson.build +++ b/tests/gobject/docs/xml/meson.build @@ -3,3 +3,5 @@ configure_file( output: 'gtkdocentities.ent', configuration: binary_in, ) + +fs.copyfile(join_paths(srcdir, 'tests', 'gobject', 'examples', 'gobject.c')) diff --git a/tests/gobject/src/gobject.c b/tests/gobject/src/gobject.c index b23628da..51e6b0d8 100644 --- a/tests/gobject/src/gobject.c +++ b/tests/gobject/src/gobject.c @@ -50,7 +50,9 @@ * * You can also change parameters: * <informalexample> - * <programlisting role="example" language="c"><xi:include xmlns:xi="http://www.w3.org/2003/XInclude" parse="text" href="../../examples/gobject.c" /></programlisting> + * <programlisting role="example" language="c"> + * <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" parse="text" href="gobject.c" /> + * </programlisting> * </informalexample> * * This example serves two main purposes: -- GitLab
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2