Add fix-meson-0.61.5-compile-error.patch fix build error

This commit is contained in:
dwl301 2022-06-22 17:37:23 +08:00
parent cf41bfdaea
commit 5e9e8be0cb
3 changed files with 41 additions and 3 deletions

View File

@ -1,11 +1,12 @@
Name: devhelp
Epoch: 1
Version: 41.2
Release: 1
Release: 2
Summary: GTK API documentation browser
License: GPLv3+
URL: https://wiki.gnome.org/Apps/Devhelp
Source0: https://download.gnome.org/sources/%{name}/41/%{name}-%{version}.tar.xz
Patch0: fix-meson-0.61.5-compile-error.patch
BuildRequires: chrpath desktop-file-utils gettext gobject-introspection-devel gtk-doc itstool meson
BuildRequires: pkgconfig(amtk-5) pkgconfig(gsettings-desktop-schemas) pkgconfig(gtk+-3.0) pkgconfig(webkit2gtk-4.0)
@ -21,8 +22,8 @@ Provides: %{name}-libs(aarch-64) = %{epoch}:%{version}-%{release}
%description
A browser to show API documentation generated by gtk-doc.
%package devel
Summary: Include development library when using devhelp
%package devel
Summary: Include development library when using devhelp
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%description devel
Development packages contains header files and library that can be used
@ -80,6 +81,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp*
%{_mandir}/man1/devhelp.1*
%changelog
* Wed Jun 22 2022 wenlong ding <wenlong.ding@turbolinux.com.cn> - 1:41.2-2
- Add fix-meson-0.61.5-compile-error.patch fix compile error
* Tue Apr 26 2022 dillon chen <dillon.chen@gmail.com> - 1:41.2-1
- Update to 41.2

4
devhelp.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: devhelp
tag_prefix: ^
separator: .

View File

@ -0,0 +1,30 @@
diff -up devhelp-41.2/data/meson.build.bak devhelp-41.2/data/meson.build
--- devhelp-41.2/data/meson.build.bak 2022-06-22 09:28:43.615000000 +0000
+++ devhelp-41.2/data/meson.build 2022-06-22 09:29:10.215000000 +0000
@@ -19,7 +19,6 @@ appdata_conf = configuration_data()
appdata_conf.set('application_id', APPLICATION_ID)
appdata = APPLICATION_ID + '.appdata.xml'
appdata_file = I18N.merge_file(
- appdata,
input: configure_file(
input: 'org.gnome.Devhelp.appdata.xml.in.in',
output: APPLICATION_ID + '.appdata.xml.in',
@@ -45,7 +44,6 @@ desktop_conf = configuration_data()
desktop_conf.set('application_id', APPLICATION_ID)
desktop = APPLICATION_ID + '.desktop'
desktop_file = I18N.merge_file(
- desktop,
type: 'desktop',
input: configure_file(
input: 'org.gnome.Devhelp.desktop.in.in',
diff -up devhelp-41.2/plugins/gedit-plugin/meson.build.bak devhelp-41.2/plugins/gedit-plugin/meson.build
--- devhelp-41.2/plugins/gedit-plugin/meson.build.bak 2022-06-22 09:29:22.208000000 +0000
+++ devhelp-41.2/plugins/gedit-plugin/meson.build 2022-06-22 09:29:32.582000000 +0000
@@ -7,7 +7,6 @@ install_data(
plugin_info_file = 'devhelp.plugin'
I18N.merge_file(
- plugin_info_file,
type: 'desktop',
input: plugin_info_file + '.desktop.in',
output: plugin_info_file,