copy some tweaks from gtk2
This commit is contained in:
parent
dd8ffa908a
commit
a66f0b3fe2
19
gtk3.spec
19
gtk3.spec
@ -20,7 +20,14 @@ URL: http://www.gtk.org
|
||||
Source: http://download.gnome.org/sources/gtk+/2.90/gtk+-%{version}.tar.bz2
|
||||
Source3: im-cedilla.conf
|
||||
|
||||
Patch1: system-python.patch
|
||||
Patch0: system-python.patch
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=583273
|
||||
Patch1: fresh-tooltips.patch
|
||||
# http://bugzilla.redhat.com/show_bug.cgi?id=529364
|
||||
Patch2: remove-connecting-reason.patch
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=611313
|
||||
Patch3: window-dragging.patch
|
||||
|
||||
|
||||
BuildRequires: atk-devel >= %{atk_version}
|
||||
BuildRequires: pango-devel >= %{pango_version}
|
||||
@ -41,6 +48,7 @@ BuildRequires: libXfixes-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libXcomposite-devel
|
||||
BuildRequires: libXdamage-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
||||
BuildRequires: gir-repository-devel >= %{gir_repository_version}
|
||||
|
||||
@ -111,11 +119,13 @@ widget toolkit.
|
||||
|
||||
%prep
|
||||
%setup -q -n gtk+-%{version}
|
||||
%patch1 -p1 -b .system-python
|
||||
%patch0 -p1 -b .system-python
|
||||
%patch1 -p1 -b .fresh-tooltips
|
||||
%patch2 -p1 -b .remove-connecting-reason
|
||||
%patch3 -p1 -b .window-dragging
|
||||
|
||||
%build
|
||||
%configure --with-xinput=xfree \
|
||||
--enable-debug \
|
||||
%configure --with-xinput \
|
||||
--disable-gtk-doc \
|
||||
--disable-rebuilds \
|
||||
--enable-introspection \
|
||||
@ -204,7 +214,6 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
|
||||
%files -f gtk30.lang
|
||||
%defattr(-, root, root, -)
|
||||
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%{_bindir}/gdk-pixbuf-query-loaders-3.0*
|
||||
%{_bindir}/gtk-query-immodules-3.0*
|
||||
|
Loading…
Reference in New Issue
Block a user