Switch back to autotools to fix missing org.gnome.desktop.enums.xml

Apparently the meson build system is missing the glib-mkenums call to
generate org.gnome.desktop.enums.xml. Go back to autotools for now until
this is fixed.

https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/issues/6
This commit is contained in:
Kalev Lember 2019-01-10 12:44:10 +01:00
parent ce3a0782df
commit 6599f049ed

View File

@ -2,7 +2,7 @@
Name: gsettings-desktop-schemas
Version: 3.31.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A collection of GSettings schemas
License: LGPLv2+
@ -10,10 +10,11 @@ License: LGPLv2+
URL: http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas
Source0: http://download.gnome.org/sources/%{name}/3.31/%{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: gettext
BuildRequires: automake autoconf
BuildRequires: gnome-common
BuildRequires: glib2-devel >= 2.31.0
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
# Older versions need the "scroll-method" key that was removed in 3.19.3
Conflicts: control-center < 1:3.19.3
@ -41,12 +42,13 @@ and header files for developing applications that use %{name}.
%build
%meson
%meson_build
./autogen.sh
%configure --disable-schemas-compile --enable-introspection=yes
%make_build
%install
%meson_install
%make_install
%find_lang %{name} --with-gnome
@ -67,6 +69,9 @@ and header files for developing applications that use %{name}.
%changelog
* Thu Jan 10 2019 Kalev Lember <klember@redhat.com> - 3.31.0.1-2
- Switch back to autotools to fix missing org.gnome.desktop.enums.xml
* Wed Jan 09 2019 Kalev Lember <klember@redhat.com> - 3.31.0.1-1
- Update to 3.31.0.1
- Switch to the meson build system