Accepting request 451937 from GNOME:Factory

1

OBS-URL: https://build.opensuse.org/request/show/451937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk4?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-01-29 09:36:32 +00:00 committed by Git OBS Bridge
commit e36cab4571
5 changed files with 61 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e2580268994b561ff9d66803cb8d299b25ea181243c7567d0a7104ddca7b706
size 20440564

3
gtk+-3.89.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8595defdb38ae72bb4b4ce8cecfd1c957568c37de569ef4a7ca6127b2329d213
size 20457952

View File

@ -1,30 +0,0 @@
From cae8fc74ac384efea24fa0625d6d5f76be612b99 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Thu, 24 Nov 2016 19:50:34 +0100
Subject: [PATCH] Build: Add wayland to GSKs dependencies
gskrenderer.c includes gdk/wayland/gdkwayland.h and as a consequence
we need to be able to locate wayland's headers in case they are not
in standard location.
https://bugzilla.gnome.org/show_bug.cgi?id=775038
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 83110e7..8ea6556 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1374,7 +1374,7 @@ GSK_EXTRA_LIBS=
GSK_EXTRA_CFLAGS=
GSK_PACKAGES="gdk-pixbuf-2.0 >= gdk_pixbuf_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version graphene-1.0 >= graphene_required_version"
-GSK_PRIVATE_PACKAGES="epoxy >= epoxy_required_version"
+GSK_PRIVATE_PACKAGES="epoxy >= epoxy_required_version $WAYLAND_PACKAGES"
PKG_CHECK_MODULES(GSK_DEP, $PANGO_PACKAGES $GSK_PACKAGES $GSK_PRIVATE_PACKAGES)
GSK_DEP_LIBS="$GSK_EXTRA_LIBS $GSK_DEP_LIBS $MATH_LIB"
--
2.10.2

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Wed Jan 11 00:36:54 UTC 2017 - zaitor@opensuse.org
- Update to version 3.89.2:
+ gtk4-icon-browser works again.
+ gtk-encode symbolic works for icons with names containing dots.
+ GtkFlowBox and GtkListBox have been changed to no longer emit
the ::selected-children-changed signal during destruction.
+ gtk-demo has gained an example for using PangoTabArray with
GtkTextView.
+ We now support CSS border-spacing in GtkGrid, GtkBox and in
gadgets.
+ The rendering in GDK and GSK has been further refactored. We
now only draw toplevel windows, and we always redraw the whole
window.
+ A Vulkan implementation has been added in parallel to the GL
one.
+ Dropped APIs:
- gdk_window_process_updates.
- gdk_window_process_all_updates.
- gdk_window_reparent.
- Support for native and foreign subwindows.
- gsk_render_node_{append/prepend/insert} variations.
- gsk_render_node_make_immutable.
- gtk_cairo_should_draw_window.
- gtk_snapshot_append.
- GtkJunctionSides.
+ New APIs:
- gdk_rgba_is_clear.
- gdk_rgba_is_opaque.
- GdkDrawContext: A base class for vulkan and gl contexts.
- Render node subclasses.
- GskRoundedRect.
- gtk_container_snapshot_child.
+ The GSK_USE_SOFTWARE environment variable has been generalized
as GSK_RENDERER. Use GSK_RENDERER=help to learn about possible
values. Other environment variables that have gained new
possible values in clude GSK_DEBUG=vulkan and
GTK_DEBUG=snapshot.
+ Bugs fixed: bgo#749012, bgo#771242, bgo#772371, bgo#773299,
bgo#774265, bgo#774534, bgo#774686, bgo#774695, bgo#774743,
bgo#774760, bgo#774784, bgo#774790, bgo#774893, bgo#774915,
bgo#774917, bgo#774939, bgo#775038, bgo#775212, bgo#775316,
bgo#775319, bgo#775410, bgo#775525, bgo#775651, bgo#776132,
bgo#776187, bgo#776306.
+ Updated translations.
- Drop gtk4-find-wayland.patch: Fixed upstream. Following this,
drop gnome-common BuildRequires and autoreconf call as we no
longer carry any patches.
- Add vulkan-devel BuildRequires and Requires, also pass
--enable-vulkan to configure to ensure we build the vulkan
support.
-------------------------------------------------------------------
Fri Dec 9 16:29:19 UTC 2016 - dimstar@opensuse.org

View File

@ -28,7 +28,7 @@
Name: gtk4
%define _name gtk+
Version: 3.89.1
Version: 3.89.2
Release: 0
Summary: The GTK+ toolkit library (version 4)
License: LGPL-2.1+
@ -38,18 +38,15 @@ Source: http://download.gnome.org/sources/gtk+/3.89/%{_name}-%{version}.
Source2: settings.ini
Source3: macros.gtk4
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM gtk4-find-wayland.patch bgo#775038 dimstar@opensuse.org -- Find wayland headers that are not installed in default locations
Patch0: gtk4-find-wayland.patch
BuildRequires: cups-devel >= 1.2
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: gettext-tools >= 0.19.7
# Needed for patch0
BuildRequires: gnome-common
BuildRequires: hicolor-icon-theme
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: vulkan-devel
BuildRequires: xsltproc
BuildRequires: pkgconfig(atk) >= 2.15.1
BuildRequires: pkgconfig(atk-bridge-2.0)
@ -314,6 +311,7 @@ Group: Development/Libraries/X11
Requires: libgtk-4-0 = %{version}
Requires: typelib-1_0-Gtk-4_0 = %{version}
Requires: gettext-its-%{name} >= %{version}
Requires: vulkan-devel
%glib2_gsettings_schema_requires
%description devel
@ -337,11 +335,8 @@ This package enhances gettext with an International Tag Set for GTK+ 4
%lang_package
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%build
# Needed for patch0
autoreconf -fiv
%configure \
--disable-static \
--enable-man \
@ -352,7 +347,8 @@ autoreconf -fiv
--enable-wayland-backend \
--enable-explicit-deps=yes \
%endif
--enable-colord
--enable-colord \
--enable-vulkan
%{__make} %{?_smp_mflags}
%install