Enable Wayland and Broadway backends

This commit is contained in:
Matthias Clasen 2013-01-24 23:43:24 -05:00
parent 4efddbffe2
commit e6358d428f

View File

@ -1,3 +1,8 @@
%if 0%{?fedora}
%global with_wayland 1
%global with_broadway 1
%endif
%global glib2_version 2.35.3 %global glib2_version 2.35.3
%global pango_version 1.32.4 %global pango_version 1.32.4
%global gdk_pixbuf_version 2.26.0 %global gdk_pixbuf_version 2.26.0
@ -10,7 +15,7 @@
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
Name: gtk3 Name: gtk3
Version: 3.7.6 Version: 3.7.6
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.gtk.org URL: http://www.gtk.org
@ -45,6 +50,11 @@ BuildRequires: libXdamage-devel
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: colord-devel BuildRequires: colord-devel
%if %{with_wayland}
BuildRequires: libwayland-client-devel
BuildRequires: libwayland-cursor-devel
BuildRequires: libxkbcommon-devel
%endif
# required for icon theme apis to work # required for icon theme apis to work
Requires: hicolor-icon-theme Requires: hicolor-icon-theme
@ -129,6 +139,12 @@ widget toolkit.
--enable-xcomposite \ --enable-xcomposite \
--enable-xdamage \ --enable-xdamage \
--enable-x11-backend \ --enable-x11-backend \
%if %{with_wayland}
--enable-wayland-backend \
%endif
%if %{with_broadway}
--enable-broadway-backend \
%endif
--enable-colord \ --enable-colord \
) )
@ -219,6 +235,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
%exclude %{_mandir}/man1/gtk-update-icon-cache.1.gz %exclude %{_mandir}/man1/gtk-update-icon-cache.1.gz
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml %{_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml %{_datadir}/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml
%if %{with_broadway}
%{_bindir}/broadwayd
%endif
%files immodules %files immodules
%{_libdir}/gtk-3.0/%{bin_version}/immodules/im-am-et.so %{_libdir}/gtk-3.0/%{bin_version}/immodules/im-am-et.so
@ -251,6 +270,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
%{_datadir}/gtk-doc %{_datadir}/gtk-doc
%changelog %changelog
* Thu Jan 24 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.6-3
- Enable the Wayland and Broadway backends
* Thu Jan 24 2013 Cosimo Cecchi <cosimoc@redhat.com> - 3.7.6-2 * Thu Jan 24 2013 Cosimo Cecchi <cosimoc@redhat.com> - 3.7.6-2
- Backport two patches from git master to fix window allocations - Backport two patches from git master to fix window allocations