Enable Wayland and Broadway backends
This commit is contained in:
parent
4efddbffe2
commit
e6358d428f
24
gtk3.spec
24
gtk3.spec
@ -1,3 +1,8 @@
|
||||
%if 0%{?fedora}
|
||||
%global with_wayland 1
|
||||
%global with_broadway 1
|
||||
%endif
|
||||
|
||||
%global glib2_version 2.35.3
|
||||
%global pango_version 1.32.4
|
||||
%global gdk_pixbuf_version 2.26.0
|
||||
@ -10,7 +15,7 @@
|
||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||
Name: gtk3
|
||||
Version: 3.7.6
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.gtk.org
|
||||
@ -45,6 +50,11 @@ BuildRequires: libXdamage-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: gobject-introspection-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
|
||||
Requires: hicolor-icon-theme
|
||||
@ -129,6 +139,12 @@ widget toolkit.
|
||||
--enable-xcomposite \
|
||||
--enable-xdamage \
|
||||
--enable-x11-backend \
|
||||
%if %{with_wayland}
|
||||
--enable-wayland-backend \
|
||||
%endif
|
||||
%if %{with_broadway}
|
||||
--enable-broadway-backend \
|
||||
%endif
|
||||
--enable-colord \
|
||||
)
|
||||
|
||||
@ -219,6 +235,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
%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.ColorChooser.gschema.xml
|
||||
%if %{with_broadway}
|
||||
%{_bindir}/broadwayd
|
||||
%endif
|
||||
|
||||
%files immodules
|
||||
%{_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
|
||||
|
||||
%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
|
||||
- Backport two patches from git master to fix window allocations
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user