1 |
commit: 0091605726c9b85c4d859ea390cc2146d2fcf928 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 31 08:11:52 2020 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 31 08:12:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00916057 |
7 |
|
8 |
x11-wm/fvwm: version bump to 2.6.9 |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
x11-wm/fvwm/Manifest | 1 + |
13 |
x11-wm/fvwm/fvwm-2.6.9.ebuild | 158 ++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 159 insertions(+) |
15 |
|
16 |
diff --git a/x11-wm/fvwm/Manifest b/x11-wm/fvwm/Manifest |
17 |
index b47c86a5781..c6d54f1c46a 100644 |
18 |
--- a/x11-wm/fvwm/Manifest |
19 |
+++ b/x11-wm/fvwm/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST fvwm-2.6.5.tar.bz2 2582655 BLAKE2B 02c6f3124c0bb2ffe5dd25c218e4137977030ee6e96c7d20517e10dc93b85b295d941c700786f53231045b1b76e6d069b0387942ccf55b8543b0efe9ae303520 SHA512 a1b8cf5a5124b939441834a2fb44c885c579939e4099cf2c8178ea2c4261258df4e565068593699f9446e363135a2666c9288c1bce551a6cf5c6c79287104698 |
22 |
DIST fvwm-2.6.8.tar.gz 3915662 BLAKE2B 0b71182c5c0b5a07314fde8a673efe46712b92484e1164cd6357ad2e36e557dd822bf6c25d201092953ec10200bb0f93846af6cde0d701c65c81a4086de64652 SHA512 12e0def0a1d565c1c44356b48b4e516b7be4f51f13f91d9f8b89364ae106f6d7773e12fd17c71b6f0569c64fb3a5374c036c118cb76f739a63b1e17b5dfba287 |
23 |
+DIST fvwm-2.6.9.tar.gz 3942859 BLAKE2B 8faf2d420d96049ab0528a6c6a5dc6ed8ee9449f8e533b9ad9bb526faea86030684fc0aa8ed0d307cb64575457676611298adf582b1249c37a3db35a72b43bf1 SHA512 a9c2214ad19edd17da81446a6d4250284cc50b59b53c233212f2a9354c01143dbb870521392752f272f00af50bee2dd8f0b6bf6176b0d4b3075694d2a61a623e |
24 |
|
25 |
diff --git a/x11-wm/fvwm/fvwm-2.6.9.ebuild b/x11-wm/fvwm/fvwm-2.6.9.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..3d7394dc032 |
28 |
--- /dev/null |
29 |
+++ b/x11-wm/fvwm/fvwm-2.6.9.ebuild |
30 |
@@ -0,0 +1,158 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+inherit autotools flag-o-matic desktop |
36 |
+ |
37 |
+DESCRIPTION="An extremely powerful ICCCM-compliant multiple virtual desktop window manager" |
38 |
+HOMEPAGE="http://www.fvwm.org/" |
39 |
+SRC_URI="https://github.com/fvwmorg/fvwm/releases/download/${PV}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-2 FVWM" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
44 |
+IUSE="bidi debug doc netpbm nls perl png readline rplay stroke svg tk truetype +vanilla xinerama lock" |
45 |
+ |
46 |
+COMMON_DEPEND=" |
47 |
+ sys-libs/zlib |
48 |
+ x11-libs/libICE |
49 |
+ x11-libs/libSM |
50 |
+ x11-libs/libX11 |
51 |
+ x11-libs/libXau |
52 |
+ x11-libs/libxcb |
53 |
+ x11-libs/libXcursor |
54 |
+ x11-libs/libXdmcp |
55 |
+ x11-libs/libXext |
56 |
+ x11-libs/libXfixes |
57 |
+ x11-libs/libXpm |
58 |
+ x11-libs/libXrandr |
59 |
+ x11-libs/libXrender |
60 |
+ virtual/libiconv |
61 |
+ bidi? ( dev-libs/fribidi ) |
62 |
+ nls? ( virtual/libintl ) |
63 |
+ png? ( media-libs/libpng:0= ) |
64 |
+ readline? ( |
65 |
+ sys-libs/ncurses:0= |
66 |
+ sys-libs/readline:0= |
67 |
+ ) |
68 |
+ stroke? ( dev-libs/libstroke ) |
69 |
+ svg? ( gnome-base/librsvg ) |
70 |
+ truetype? ( |
71 |
+ media-libs/fontconfig |
72 |
+ x11-libs/libXft |
73 |
+ ) |
74 |
+ xinerama? ( x11-libs/libXinerama ) |
75 |
+" |
76 |
+RDEPEND="${COMMON_DEPEND} |
77 |
+ dev-lang/perl |
78 |
+ perl? ( tk? ( |
79 |
+ dev-lang/tk |
80 |
+ dev-perl/Tk |
81 |
+ >=dev-perl/X11-Protocol-0.56 |
82 |
+ ) |
83 |
+ ) |
84 |
+ rplay? ( media-sound/rplay ) |
85 |
+ lock? ( x11-misc/xlockmore ) |
86 |
+ userland_GNU? ( sys-apps/debianutils ) |
87 |
+ !x86-fbsd? ( netpbm? ( media-libs/netpbm ) ) |
88 |
+" |
89 |
+DEPEND="${COMMON_DEPEND} |
90 |
+ virtual/pkgconfig |
91 |
+ x11-base/xorg-proto |
92 |
+ doc? ( dev-libs/libxslt ) |
93 |
+" |
94 |
+ |
95 |
+src_prepare() { |
96 |
+ if ! use vanilla; then |
97 |
+ # Enables fast translucent menus; patch from fvwm-user mailing list. |
98 |
+ eapply -p0 "${FILESDIR}/${PN}-2.5.27-translucent-menus.diff" |
99 |
+ |
100 |
+ # Allow more mouse buttons, bug #411811 |
101 |
+ eapply -p0 "${FILESDIR}/${PN}-2.6.5-mouse-buttons.patch" |
102 |
+ fi |
103 |
+ |
104 |
+ eapply -p0 "${FILESDIR}/${PN}-2.6.5-ar.patch" #474528 |
105 |
+ |
106 |
+ # Fix for Perl 5.28 |
107 |
+ eapply -p0 "${FILESDIR}/${PN}-2.6.8-perl528.patch" |
108 |
+ |
109 |
+ default |
110 |
+ eautoreconf |
111 |
+} |
112 |
+ |
113 |
+src_configure() { |
114 |
+ local myeconfargs=( |
115 |
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
116 |
+ --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm |
117 |
+ --enable-iconv |
118 |
+ --enable-package-subdirs |
119 |
+ --docdir="/usr/share/doc/${P}" |
120 |
+ $(use_enable bidi) |
121 |
+ $(use_enable debug debug-msgs) |
122 |
+ $(use_enable debug command-log) |
123 |
+ $(use_enable doc htmldoc) |
124 |
+ $(use_enable nls) |
125 |
+ $(use_enable perl perllib) |
126 |
+ $(use_enable png) |
127 |
+ $(use_with readline readline-library) |
128 |
+ $(use_with rplay rplay-library) |
129 |
+ $(use_with stroke stroke-library) |
130 |
+ $(use_enable svg rsvg) |
131 |
+ $(use_enable truetype xft) |
132 |
+ $(use_enable xinerama) |
133 |
+ ) |
134 |
+ |
135 |
+ # Non-upstream email where bugs should be sent; used in fvwm-bug. |
136 |
+ export FVWM_BUGADDR="maintainer-needed@g.o" |
137 |
+ |
138 |
+ # Recommended by upstream, reference ???? |
139 |
+ append-flags -fno-strict-aliasing |
140 |
+ |
141 |
+ # Signed chars are required. |
142 |
+ use ppc && append-flags -fsigned-char |
143 |
+ |
144 |
+ use readline && myeconfargs+=( --without-termcap-library ) |
145 |
+ |
146 |
+ econf "${myeconfargs[@]}" |
147 |
+} |
148 |
+ |
149 |
+src_install() { |
150 |
+ default |
151 |
+ make_session_desktop fvwm /usr/bin/fvwm |
152 |
+ |
153 |
+ if ! use lock; then |
154 |
+ find "${D}" -name '*fvwm-menu-xlock' -exec rm -f '{}' \; 2>/dev/null |
155 |
+ fi |
156 |
+ |
157 |
+ if use perl; then |
158 |
+ if ! use tk; then |
159 |
+ rm "${D}"/usr/share/fvwm/perllib/FVWM/Module/Tk.pm || die |
160 |
+ rm "${D}"/usr/share/fvwm/perllib/FVWM/Module/Toolkit.pm || die |
161 |
+ find "${D}"/usr/share/fvwm/perllib -depth -type d -exec rmdir '{}' \; 2>/dev/null |
162 |
+ fi |
163 |
+ else |
164 |
+ # Completely wipe it if ! use perl |
165 |
+ rm -r "${D}"/usr/bin/fvwm-perllib "${D}"/usr/share/man/man1/fvwm-perllib.1 |
166 |
+ fi |
167 |
+ |
168 |
+ # Utility for testing FVWM behaviour by creating a simple window with |
169 |
+ # configurable hints. |
170 |
+ if use debug; then |
171 |
+ dobin "${S}"/tests/hints/hints_test |
172 |
+ newdoc "${S}"/tests/hints/README README.hints |
173 |
+ fi |
174 |
+ |
175 |
+ dodir /etc/X11/Sessions |
176 |
+ echo "/usr/bin/fvwm" > "${D}"/etc/X11/Sessions/${PN} || die |
177 |
+ fperms a+x /etc/X11/Sessions/${PN} |
178 |
+ |
179 |
+ dodoc docs/{COMMANDS,DEVELOPERS.md} |
180 |
+ |
181 |
+ # README file for translucent menus patch. |
182 |
+ if ! use vanilla; then |
183 |
+ dodoc "${FILESDIR}"/README.translucency |
184 |
+ ewarn "You are using a patched build, so, please, don't" |
185 |
+ ewarn "report bugs at the fvwm-workers list unless you are" |
186 |
+ ewarn "also able to reproduce them with a vanilla build (USE=vanilla)." |
187 |
+ fi |
188 |
+} |