diff --git a/gtk+-3.24.34.tar.xz b/gtk+-3.24.35.tar.xz similarity index 61% rename from gtk+-3.24.34.tar.xz rename to gtk+-3.24.35.tar.xz index 0260b1dfaf5ee2a0e166487711ffda3fcec245f7..449cd36d08b98381de483dea432ce08f28973ee6 100644 Binary files a/gtk+-3.24.34.tar.xz and b/gtk+-3.24.35.tar.xz differ diff --git a/gtk3.spec b/gtk3.spec index 65b958edf3d5fe0bec9843c6975a7f5477dfe90c..477d97f47f97fbd59d4d4e23c48ffbac91546649 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -16,14 +16,16 @@ %global __provides_exclude_from ^%{_libdir}/gtk-3.0 Name: gtk3 -Version: 3.24.34 +Version: 3.24.35 Release: %{anolis_release}%{?dist} Summary: GTK+ graphical user interface library License: LGPLv2+ URL: https://gtk.org Source0: https://download.gnome.org/sources/gtk+/3.24/gtk+-%{version}.tar.xz -Patch1: 0001-fix-build-failed-with-array-bound.patch +# Missing from the tarball for some reason. +Source1: wayland-cursor-meson.build +Patch0: 0001-fix-build-failed-with-array-bound.patch BuildRequires: pkgconfig(atk) >= %{atk_version} BuildRequires: pkgconfig(atk-bridge-2.0) @@ -150,6 +152,7 @@ the functionality of the installed %{name} package. %prep %autosetup -n gtk+-%{version} -p1 +cp -p %{SOURCE1} gdk/wayland/cursor/meson.build %build export CFLAGS='-fno-strict-aliasing %optflags' @@ -311,6 +314,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &>/dev/null || : %{_datadir}/installed-tests/ %changelog +* Fri Nov 25 2022 Funda Wang - 3.24.35-1 +- New version 3.24.35 + * Tue Nov 8 2022 Funda Wang - 3.24.34-1 - New version 3.24.34 diff --git a/wayland-cursor-meson.build b/wayland-cursor-meson.build new file mode 100644 index 0000000000000000000000000000000000000000..02d5f2bed8d926ee26bcf4c4081d18fc9d53fd5b --- /dev/null +++ b/wayland-cursor-meson.build @@ -0,0 +1,12 @@ +wayland_cursor_sources = files([ + 'wayland-cursor.c', + 'xcursor.c', + 'os-compatibility.c' +]) + +libwayland_cursor = static_library('wayland+cursor', + sources: wayland_cursor_sources, + include_directories: [ confinc, ], + dependencies: [ glib_dep, wlclientdep, ], + c_args: common_cflags, +)