Accepting request 637219 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/637219 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=329
This commit is contained in:
20
gtk3.spec
20
gtk3.spec
@@ -2,7 +2,7 @@
|
||||
# spec file for package gtk3
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
|
||||
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,13 +22,13 @@
|
||||
%define _name gtk+
|
||||
%bcond_without broadway
|
||||
Name: gtk3
|
||||
Version: 3.23.3
|
||||
Version: 3.24.1
|
||||
Release: 0
|
||||
Summary: The GTK+ toolkit library (version 3)
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/X11
|
||||
URL: https://www.gtk.org/
|
||||
Source0: https://download.gnome.org/sources/gtk+/3.23/%{_name}-%{version}.tar.xz
|
||||
Source0: https://download.gnome.org/sources/gtk+/3.24/%{_name}-%{version}.tar.xz
|
||||
Source1: README.SUSE
|
||||
Source2: settings.ini
|
||||
Source3: macros.gtk3
|
||||
@@ -37,8 +37,6 @@ Source99: baselibs.conf
|
||||
Patch0: gtk3-GTK_PATH64.patch
|
||||
# PATCH-FIX-OPENSUSE gtk3-revert-forced-xftdpi.patch fvogt@opensuse.org -- Revert very controversal commit on GTK3, forcing DPI to 96
|
||||
Patch1: gtk3-revert-forced-xftdpi.patch
|
||||
# PATCH-FIX-UPSTREAM gtk3-imwayland-clearing-preedit-text.patch glgo#GNOME/gtk#1316 -- Fix regression causing imwayland preedit text to be not cleared the right way on focus out; patch taken from upstream git
|
||||
Patch2: gtk3-imwayland-clearing-preedit-text.patch
|
||||
|
||||
BuildRequires: cups-devel >= 1.2
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
@@ -58,8 +56,8 @@ BuildRequires: pkgconfig(colord) >= 0.1.9
|
||||
BuildRequires: pkgconfig(epoxy) >= 1.4
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.49.4
|
||||
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.49.4
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.53.4
|
||||
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.53.4
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.49.4
|
||||
BuildRequires: pkgconfig(gmodule-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0
|
||||
@@ -370,7 +368,6 @@ cp -a %{SOURCE1} .
|
||||
%patch0 -p1
|
||||
%endif
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@@ -384,7 +381,7 @@ cp -a %{SOURCE1} .
|
||||
--enable-explicit-deps=yes \
|
||||
--enable-colord \
|
||||
%{nil}
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@@ -475,10 +472,7 @@ fi
|
||||
# gtk-query-immodules-3.0 couldn't run there.
|
||||
%endif
|
||||
if [ $1 = 1 ]; then
|
||||
test -d %{_libdir}/gtk-3.0/%{gtk_binary_version}
|
||||
if test $? -eq 0; then
|
||||
%{_gtk_query_immodules_update_cache}
|
||||
fi
|
||||
test -d %{_libdir}/gtk-3.0/%{gtk_binary_version} && %{_gtk_query_immodules_update_cache}
|
||||
fi
|
||||
%if 0
|
||||
# If the gtk-update-icon-cache group is in automatic mode, then this will also
|
||||
|
Reference in New Issue
Block a user