Diff fvwm-2.6.9 with a fvwm-2.7.0

/usr/portage/x11-wm/fvwm/fvwm-2.7.0.ebuild 2023-10-09 14:52:36.000368514 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
inherit autotools flag-o-matic desktop
4
EAPI=8
5

  
6
PYTHON_COMPAT=( python3_{9..11} )
7
inherit autotools flag-o-matic python-single-r1 desktop
6 8

  
7 9
DESCRIPTION="An extremely powerful ICCCM-compliant multiple virtual desktop window manager"
8 10
HOMEPAGE="https://www.fvwm.org/"
......
12 14
SLOT="0"
13 15
KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 ~riscv ~sparc x86"
14 16
IUSE="bidi debug doc netpbm nls perl png readline stroke svg tk truetype +vanilla xinerama lock"
17
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
15 18

  
16 19
COMMON_DEPEND="
17 20
	sys-libs/zlib
......
28 31
	x11-libs/libXrandr
29 32
	x11-libs/libXrender
30 33
	virtual/libiconv
34
	$(python_gen_cond_dep '
35
		dev-python/pyxdg[${PYTHON_USEDEP}]
36
	')
31 37
	bidi? ( dev-libs/fribidi )
32 38
	nls? ( virtual/libintl )
33 39
	png? ( media-libs/libpng:0= )
......
44 50
	xinerama? ( x11-libs/libXinerama )
45 51
"
46 52
RDEPEND="${COMMON_DEPEND}
53
	${PYTHON_DEPS}
47 54
	dev-lang/perl
48 55
	sys-apps/debianutils
49 56
	perl? ( tk? (
......
56 63
	netpbm? ( media-libs/netpbm )
57 64
"
58 65
DEPEND="${COMMON_DEPEND}
59
	virtual/pkgconfig
60 66
	x11-base/xorg-proto
61
	doc? ( dev-libs/libxslt )
67
"
68
BDEPEND="
69
	dev-lang/perl
70
	dev-libs/libxslt
71
	virtual/pkgconfig
62 72
"
63 73

  
64 74
src_prepare() {
......
72 82

  
73 83
	eapply -p0 "${FILESDIR}/${PN}-2.6.5-ar.patch" #474528
74 84

  
75
	# Fix for Perl 5.28
76
	eapply -p0 "${FILESDIR}/${PN}-2.6.8-perl528.patch"
85
	eapply "${FILESDIR}"/fvwm-2.7.0-clang16.patch
77 86

  
78 87
	default
88

  
79 89
	eautoreconf
80 90
}
81 91

  
......
85 95
		--with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm
86 96
		--enable-iconv
87 97
		--enable-package-subdirs
98
		--enable-mandoc
88 99
		--without-rplay-library
89 100
		$(use_enable bidi)
90 101
		$(use_enable debug debug-msgs)
......
111 122

  
112 123
	use readline && myeconfargs+=( --without-termcap-library )
113 124

  
125
	export ac_cv_path_PYTHON="${PYTHON}"
126

  
114 127
	econf "${myeconfargs[@]}"
115 128
}
116 129

  
Thank you!