Accepting request 787305 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/787305 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=43
This commit is contained in:
parent
7daaff4991
commit
893394f85b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bdb8b03bbbcc3ad72ccf1b854a73fc40cf472da5f9c0948ce25a1e67d99344ce
|
|
||||||
size 12628172
|
|
3
gtk-3.98.1.tar.xz
Normal file
3
gtk-3.98.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f27170c01829b792fb324efd2b93434c9752827c00cf5674d0dc0cf718a0eb49
|
||||||
|
size 12692016
|
98
gtk4.changes
98
gtk4.changes
@ -1,3 +1,101 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 22 20:01:24 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 3.98.1:
|
||||||
|
+ GtkFileChooser:
|
||||||
|
- Remove filename/uri api
|
||||||
|
- Drop extra-widget
|
||||||
|
- Remove overwrite confirmation
|
||||||
|
- Remove show-hidden property
|
||||||
|
- Remove local-only property
|
||||||
|
- Remove GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
|
||||||
|
- The portal file chooser supports selecting folders
|
||||||
|
+ GtkSpinner: Rename active property to spinning
|
||||||
|
+ GtkRevealer: Fix size allocation at small scales
|
||||||
|
+ GtkPopover: Drop :relative-to, it is always the :parent now
|
||||||
|
+ GtkWindow: Drop window-type, it is always a regular toplevel
|
||||||
|
+ GtkWidget:
|
||||||
|
- Drop expand property
|
||||||
|
- Drop margin property
|
||||||
|
- Drop gtk_grab_add, gtk_device_grab_add
|
||||||
|
+ GtkTextView:
|
||||||
|
- Support overlines in GtkTextTag
|
||||||
|
- Support visible spaces in GtkTextTag
|
||||||
|
- Support hyphenation control in GtkTextTag
|
||||||
|
+ Split GtkEventControllerFocus from GtkEventControllerKey
|
||||||
|
+ DND:
|
||||||
|
- Fix local DND to avoid serialization
|
||||||
|
- Add new content provider constructors
|
||||||
|
- Split GtkDropTargetAsync and GtkDropTarget
|
||||||
|
- Group DND events into event sequences
|
||||||
|
- Propagate DND events like motion events
|
||||||
|
- Introduce GtkDropControllerMotion
|
||||||
|
- Remove GtkSelectionData
|
||||||
|
+ Performance:
|
||||||
|
- Clean up profiler marks
|
||||||
|
- Share GL programs between renderers
|
||||||
|
+ GDK:
|
||||||
|
- Drop gdk_surface_new_temp
|
||||||
|
- Make GdkEvent an immutable boxed type, not an object
|
||||||
|
- Remove GdkAtom and property- and selection-related apis
|
||||||
|
- Introduce GdkPopup and GdkToplevel interfaces
|
||||||
|
- Implement them in backend-specific surface subtypes
|
||||||
|
- Rename gdk_surface_input_shape_combine_region to
|
||||||
|
gdk_surface_set_input_region
|
||||||
|
- Drop X11-only concepts such as sticky or keep-below
|
||||||
|
+ Broadway: implement scaling
|
||||||
|
+ Updated translations.
|
||||||
|
- Drop gtk4-wayland-includes.patch: Fixed upstream.
|
||||||
|
- Run spec-cleaner, modernize spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 12 22:26:09 CET 2020 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.98.0:
|
||||||
|
+ The DND refactoring has been completed.
|
||||||
|
+ Child surfaces have been removed.
|
||||||
|
+ Global positions and related apis such as gdk_surface_move are
|
||||||
|
no longer available.
|
||||||
|
+ A constraint-based layout manager has been added.
|
||||||
|
+ Many classes have been made explicitly non-subclassable, and
|
||||||
|
the widget hierarchy has been simplified, by making widgets
|
||||||
|
derive directly from GtkWidget instead of a container.
|
||||||
|
+ Menu-related changes:
|
||||||
|
- GtkMenu, GtkMenuBar and related classes have been removed.
|
||||||
|
- Context menus are no longer created with ::populate-popup
|
||||||
|
signals, but use menu models and actions.
|
||||||
|
- Widget actions can be created in class_init, with
|
||||||
|
gtk_widget_class_install_action.
|
||||||
|
- GtkToolbar has been removed as well.
|
||||||
|
+ Text-related changed:
|
||||||
|
- Text cursor blinking has been made smooth.
|
||||||
|
- GtkTextView is caching rendernodes for the visible text range
|
||||||
|
now, improving the scrolling performance of text.
|
||||||
|
- Add a simple undo stack for text edits has been added.
|
||||||
|
+ GtkTreeView renders tree and grid lines with textures.
|
||||||
|
+ GtkEmojiChooser has been made public.
|
||||||
|
+ GtkGestureMultiPress has been renamed to GtkGestureClick.
|
||||||
|
+ GtkWidget has api to handle style classes.
|
||||||
|
+ X11-specific changes:
|
||||||
|
- XI2 is now mandatory.
|
||||||
|
- The xim input method has been removed.
|
||||||
|
+ Wayland-specific changes: The loading of cursor themes has been
|
||||||
|
improved to load cursors on demand, and no longer relies on
|
||||||
|
libwayland-cursor.
|
||||||
|
+ The GL renderer is now sharing icon and glyph caches for all
|
||||||
|
surfaces, and has better support for blurring and shadow
|
||||||
|
rendering.
|
||||||
|
+ Performance-related changes:
|
||||||
|
- GTK provides profiling information for Sysprof when launched
|
||||||
|
with GTK_TRACE=1.
|
||||||
|
- Css computation has been optimized.
|
||||||
|
- Css lookups are using a Bloom filter.
|
||||||
|
- Icon loading IO has been moved to a thread.
|
||||||
|
- Add sassc buildRequires: new dependency.
|
||||||
|
- Add gtk4-wayland-includes.patch: Fix missing dependency exposed
|
||||||
|
by our special wayland packagers wish to not have the wayland
|
||||||
|
headers in the default locations.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 10 08:41:08 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue Sep 10 08:41:08 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
56
gtk4.spec
56
gtk4.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gtk4
|
# spec file for package gtk4
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
# Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
|
# Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -21,13 +21,14 @@
|
|||||||
%define gtk_binary_version 4.0.0
|
%define gtk_binary_version 4.0.0
|
||||||
%define _name gtk
|
%define _name gtk
|
||||||
Name: gtk4
|
Name: gtk4
|
||||||
Version: 3.96.0
|
Version: 3.98.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GTK+ toolkit library (version 4)
|
Summary: The GTK+ toolkit library (version 4)
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
URL: http://www.gtk.org/
|
URL: https://www.gtk.org/
|
||||||
Source: http://download.gnome.org/sources/gtk/3.96/%{_name}-%{version}.tar.xz
|
|
||||||
|
Source: https://download.gnome.org/sources/gtk/3.98/%{_name}-%{version}.tar.xz
|
||||||
Source2: settings.ini
|
Source2: settings.ini
|
||||||
Source3: macros.gtk4
|
Source3: macros.gtk4
|
||||||
Source98: gtk4-rpmlintrc
|
Source98: gtk4-rpmlintrc
|
||||||
@ -42,6 +43,7 @@ BuildRequires: gtk-doc
|
|||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: meson >= 0.50.1
|
BuildRequires: meson >= 0.50.1
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: sassc
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
BuildRequires: vulkan-devel
|
BuildRequires: vulkan-devel
|
||||||
BuildRequires: xsltproc
|
BuildRequires: xsltproc
|
||||||
@ -54,7 +56,7 @@ BuildRequires: pkgconfig(colord)
|
|||||||
BuildRequires: pkgconfig(epoxy) >= 1.4
|
BuildRequires: pkgconfig(epoxy) >= 1.4
|
||||||
BuildRequires: pkgconfig(fontconfig)
|
BuildRequires: pkgconfig(fontconfig)
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.53.7
|
BuildRequires: pkgconfig(glib-2.0) >= 2.59.0
|
||||||
BuildRequires: pkgconfig(gmodule-2.0)
|
BuildRequires: pkgconfig(gmodule-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.53.7
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.53.7
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0
|
||||||
@ -62,14 +64,14 @@ BuildRequires: pkgconfig(graphene-1.0) >= 1.9.1
|
|||||||
BuildRequires: pkgconfig(graphene-gobject-1.0) >= 1.9.1
|
BuildRequires: pkgconfig(graphene-gobject-1.0) >= 1.9.1
|
||||||
BuildRequires: pkgconfig(gstreamer-player-1.0)
|
BuildRequires: pkgconfig(gstreamer-player-1.0)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
BuildRequires: pkgconfig(pango) >= 1.37.3
|
BuildRequires: pkgconfig(pango) >= 1.44.0
|
||||||
BuildRequires: pkgconfig(pangocairo) >= 1.14.0
|
BuildRequires: pkgconfig(pangocairo) >= 1.14.0
|
||||||
BuildRequires: pkgconfig(pangoft2)
|
BuildRequires: pkgconfig(pangoft2)
|
||||||
BuildRequires: pkgconfig(rest-0.7)
|
BuildRequires: pkgconfig(rest-0.7)
|
||||||
BuildRequires: pkgconfig(wayland-client) >= 1.14.91
|
BuildRequires: pkgconfig(wayland-client) >= 1.14.91
|
||||||
BuildRequires: pkgconfig(wayland-cursor) >= 1.9.91
|
BuildRequires: pkgconfig(wayland-cursor) >= 1.9.91
|
||||||
BuildRequires: pkgconfig(wayland-egl)
|
BuildRequires: pkgconfig(wayland-egl)
|
||||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.9
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.14
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xcomposite)
|
BuildRequires: pkgconfig(xcomposite)
|
||||||
BuildRequires: pkgconfig(xcursor)
|
BuildRequires: pkgconfig(xcursor)
|
||||||
@ -154,7 +156,7 @@ ranging from small one-off projects to complete application suites.
|
|||||||
Summary: Upstream theme configuration for the GTK+ toolkit library v4
|
Summary: Upstream theme configuration for the GTK+ toolkit library v4
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: libgtk-4-0 = %{version}
|
Requires: libgtk-4-0 = %{version}
|
||||||
Supplements: packageand(libgtk-4-0:branding-upstream)
|
Supplements: (libgtk-4-0 and branding-upstream)
|
||||||
Conflicts: %{name}-branding
|
Conflicts: %{name}-branding
|
||||||
Provides: %{name}-branding = %{version}
|
Provides: %{name}-branding = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -199,23 +201,24 @@ This package enhances gettext with an International Tag Set for GTK+ 4
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%autosetup -p1 -n %{_name}-%{version}
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson \
|
%meson \
|
||||||
-Dbuild-tests=false \
|
-Dbuild-tests=false \
|
||||||
-Ddocumentation=true \
|
-Ddocumentation=true \
|
||||||
-Dbroadway-backend=true \
|
-Dbroadway-backend=true \
|
||||||
-Dcloudproviders=false \
|
-Dcloudproviders=false \
|
||||||
-Dcolord=yes \
|
-Dcolord=yes \
|
||||||
-Dprint-backends=all \
|
-Dprint-backends=all \
|
||||||
-Dvulkan=yes \
|
-Dvulkan=yes \
|
||||||
-Dwayland-backend=true \
|
-Dwayland-backend=true \
|
||||||
-Dx11-backend=true \
|
-Dx11-backend=true \
|
||||||
-Dxinerama=yes \
|
-Dxinerama=yes \
|
||||||
-Dintrospection=true \
|
-Dintrospection=true \
|
||||||
-Dman-pages=true
|
-Dman-pages=true \
|
||||||
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -276,7 +279,7 @@ cp %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm
|
|||||||
%{_bindir}/gtk4-update-icon-cache
|
%{_bindir}/gtk4-update-icon-cache
|
||||||
%{_datadir}/applications/org.gtk.IconBrowser4.desktop
|
%{_datadir}/applications/org.gtk.IconBrowser4.desktop
|
||||||
%{_mandir}/man1/gtk4-broadwayd.1%{?ext_man}
|
%{_mandir}/man1/gtk4-broadwayd.1%{?ext_man}
|
||||||
%{_mandir}/man1/gtk4-icon-browser.1%{ext_man}
|
%{_mandir}/man1/gtk4-icon-browser.1%{?ext_man}
|
||||||
%{_mandir}/man1/gtk4-builder-tool.1%{?ext_man}
|
%{_mandir}/man1/gtk4-builder-tool.1%{?ext_man}
|
||||||
%{_mandir}/man1/gtk4-encode-symbolic-svg.1%{?ext_man}
|
%{_mandir}/man1/gtk4-encode-symbolic-svg.1%{?ext_man}
|
||||||
%{_mandir}/man1/gtk4-launch.1%{?ext_man}
|
%{_mandir}/man1/gtk4-launch.1%{?ext_man}
|
||||||
@ -295,9 +298,9 @@ cp %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc CONTRIBUTING.md
|
%doc CONTRIBUTING.md
|
||||||
%doc %{_datadir}/gtk-doc/html/gdk4/
|
#doc #{_datadir}/gtk-doc/html/gdk4/
|
||||||
%doc %{_datadir}/gtk-doc/html/gsk4/
|
#doc #{_datadir}/gtk-doc/html/gsk4/
|
||||||
%doc %{_datadir}/gtk-doc/html/gtk4/
|
#doc #{_datadir}/gtk-doc/html/gtk4/
|
||||||
%{_bindir}/gtk4-demo
|
%{_bindir}/gtk4-demo
|
||||||
%{_bindir}/gtk4-demo-application
|
%{_bindir}/gtk4-demo-application
|
||||||
%{_bindir}/gtk4-widget-factory
|
%{_bindir}/gtk4-widget-factory
|
||||||
@ -325,6 +328,9 @@ cp %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm
|
|||||||
%{_libdir}/pkgconfig/gtk4-x11.pc
|
%{_libdir}/pkgconfig/gtk4-x11.pc
|
||||||
%{_libdir}/libgtk-4.so
|
%{_libdir}/libgtk-4.so
|
||||||
%{_sysconfdir}/rpm/macros.gtk4
|
%{_sysconfdir}/rpm/macros.gtk4
|
||||||
|
%dir %{_datadir}/gtk-4.0/valgrind
|
||||||
|
%{_datadir}/gtk-4.0/valgrind/gtk.supp
|
||||||
|
%{_datadir}/gtk-4.0/valgrind/gtk64.supp
|
||||||
|
|
||||||
%files -n gettext-its-%{name}
|
%files -n gettext-its-%{name}
|
||||||
%dir %{_datadir}/gettext/
|
%dir %{_datadir}/gettext/
|
||||||
|
Loading…
Reference in New Issue
Block a user