Сравнение gtk+-2.24.33-r3 с gtk+-2.24.33-r4

/usr/portage/x11-libs/gtk+/gtk+-2.24.33-r4.ebuild 2026-09-28 20:03:05.860438551 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5

  
5 6
GNOME2_EAUTORECONF="yes"
6 7

  
7 8
inherit flag-o-matic gnome2 multilib multilib-minimal readme.gentoo-r1 toolchain-funcs virtualx
8 9

  
9 10
DESCRIPTION="Gimp ToolKit +"
10 11
HOMEPAGE="https://www.gtk.org/"
12
SRC_URI="${SRC_URI}
13
	https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/10154.patch -> ${P}-G_GNUC_CONST.patch"
11 14

  
12 15
LICENSE="LGPL-2+"
13 16
SLOT="2"
14
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
17
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
15 18
IUSE="aqua cups examples +introspection test vim-syntax xinerama"
16 19
REQUIRED_USE="
17 20
	xinerama? ( !aqua )
......
99 102
PATCHES=(
100 103
	# Fix tests running when building out of sources, bug #510596, upstream bug #730319
101 104
	"${FILESDIR}"/${PN}-2.24.24-out-of-source.patch
105

  
102 106
	# Rely on split gtk-update-icon-cache package, bug #528810
103 107
	"${FILESDIR}"/${PN}-2.24.31-update-icon-cache.patch # requires eautoreconf
108

  
104 109
	# Respect ${NM}, bug #725852
105 110
	"${FILESDIR}"/${PN}-2.24.33-respect-NM.patch # requires eautoreconf
106
	# Fix casts, bug #880617
107
	"${FILESDIR}"/${PN}-2.24.33-Fix-casts.patch
111

  
108 112
	# Fixes "ac_fn_c_try_run: command not found", bug #887337
109 113
	"${FILESDIR}"/${PN}-2.24.33-configure.ac-Use-AC_RUN_IFELSE.patch # requires eautoreconf
114

  
115
	# Check for attribute availability before accessing it to adapt to
116
	# glib-2.76 changes.
117
	"${FILESDIR}"/${P}-glib-2.76-attribute.patch
118

  
119
	# Stop looking for modules in cwd
120
	"${FILESDIR}"/${P}-CVE-2024-6655.patch
121

  
122
	# Remove the G_GNUC_CONST attribute from _get_type() and _get_quark() functions
123
	"${DISTDIR}"/${P}-G_GNUC_CONST.patch
124

  
125
	# Fix building with recent gcc (from Fedora)
126
	"${FILESDIR}"/${P}-c99.patch
127
	"${FILESDIR}"/${P}-c89.patch
128
	"${FILESDIR}"/${P}-c89-2.patch
129
	"${FILESDIR}"/${P}-c89-3.patch
130
	"${FILESDIR}"/${P}-c89-4.patch
131
	"${FILESDIR}"/${P}-c89-5.patch
132
	"${FILESDIR}"/${P}-c89-6.patch
110 133
)
111 134

  
112 135
strip_builddir() {
......
136 159
	replace-flags -O3 -O2
137 160
	strip-flags
138 161
	# Not compatible with C23 decls
139
	append-flags -std=gnu17
162
	append-flags -std=gnu99
140 163

  
141 164
	if ! use test ; then
142 165
		# don't waste time building tests
......
288 311
		rm -f "${EROOT}/etc/gtk-2.0/gdk-pixbuf.loaders"
289 312
	fi
290 313

  
314
	for dir in "${EROOT}"/usr/lib/gtk-2.0/2.[^1]*; do
315
		if [[ -e "${dir}" ]]; then
316
			elog "You need to rebuild ebuilds that installed into" "${EROOT}"/usr/lib/gtk-2.0/2.[^1]*
317
			elog "to do that you can use qfile from portage-utils:"
318
			elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.[^1]*)"
319
			break
320
		fi
321
	done
322

  
291 323
	if [[ -e "${EROOT}"/usr/lib/gtk-2.0/2.[^1]* ]]; then
292 324
		elog "You need to rebuild ebuilds that installed into" "${EROOT}"/usr/lib/gtk-2.0/2.[^1]*
293 325
		elog "to do that you can use qfile from portage-utils:"
Спасибо!