Skip to content

Commit

Permalink
gtk4: Update to 4.16.2
Browse files Browse the repository at this point in the history
002-fix-memory-leak.patch: included in the release
  • Loading branch information
lazka committed Sep 25, 2024
1 parent d512fba commit bb6263a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
13 changes: 0 additions & 13 deletions mingw-w64-gtk4/002-fix-memory-leak.patch

This file was deleted.

15 changes: 5 additions & 10 deletions mingw-w64-gtk4/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ _realname=gtk4
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-media-gstreamer")
pkgver=4.16.1
pkgrel=2
pkgver=4.16.2
pkgrel=1
pkgdesc="GObject-based multi-platform GUI toolkit (v4) (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
Expand Down Expand Up @@ -37,12 +37,10 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-shared-mime-info")
source=("https://download.gnome.org/sources/gtk/${pkgver:0:4}/gtk-${pkgver}.tar.xz"
"https://gitlab.gnome.org/GNOME/gtk/-/commit/b569470b87d143d30c2388046c9a6450696f19b8.patch"
"001-fix-font-rendering.patch"
"002-fix-memory-leak.patch")
sha256sums=('926a1eabd481f9bfa25538f95016fdfcfaf963b2f90b40ae69e90def5499215c'
"001-fix-font-rendering.patch")
sha256sums=('34b624848e5de22a138b675ad6f39c0c7b9d67907c10e1fc7e5b03060e8d5437'
'50e6ac71f2081f80d334a5be5c8c49b9c1c3fab001c1f4ca0f2556d7f2ec92ed'
'a2c6e3350bd9c1744da6b7714b25cbd419645b731435f7d295a9f99da3c1479f'
'ebe07e2c797bcb82c319a2f8a7549853ebb8235721baeda64a66dc08b17ce866')
'a2c6e3350bd9c1744da6b7714b25cbd419645b731435f7d295a9f99da3c1479f')

prepare() {
cd gtk-${pkgver}
Expand All @@ -53,9 +51,6 @@ prepare() {
# Needed since https://gitlab.gnome.org/GNOME/gtk/-/commit/5f7cab4632c93acb3c7c818b5c69e92d657fe8de
# otherwise the revert above is ignored too
patch -Np1 -i ../001-fix-font-rendering.patch

# https://gitlab.gnome.org/GNOME/gtk/-/issues/7013
patch -Np1 -i ../002-fix-memory-leak.patch
}

build() {
Expand Down

0 comments on commit bb6263a

Please sign in to comment.