Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/icewm/files/, x11-wm/icewm/
Date: Tue, 09 Feb 2021 22:55:11
Message-Id: 1612911306.fe1744daf4456a2a38f52bbbc7ca522220d4e251.polynomial-c@gentoo
1 commit: fe1744daf4456a2a38f52bbbc7ca522220d4e251
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 9 22:54:49 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 9 22:55:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1744da
7
8 x11-wm/icewm: Removed old
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 x11-wm/icewm/Manifest | 1 -
14 x11-wm/icewm/files/icewm-2.1.0-appmenu_fix.patch | 37 ------
15 x11-wm/icewm/icewm-2.1.0-r1.ebuild | 157 -----------------------
16 3 files changed, 195 deletions(-)
17
18 diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest
19 index 40211e254e6..e000a5cdeb0 100644
20 --- a/x11-wm/icewm/Manifest
21 +++ b/x11-wm/icewm/Manifest
22 @@ -1,5 +1,4 @@
23 DIST icewm-1.9.2.tar.lz 1694602 BLAKE2B cf30a695ba48093b386aa2f3af5120e78a9fcc57da9038bcd546ade0986e1bc359a3da91d2eeeb8d3a105173f5d755223675a84b38cfc8c907269efd2561c706 SHA512 7b4f8c47c636a0113af576bc1bcd9fde111ae70eb0bcf21fb1d906ca43bea4d8b0337a728e5da35bcfeabd56c66fd0d14581d7377f063dd750fdf01362b24be2
24 DIST icewm-2.0.1.tar.lz 1694439 BLAKE2B 1476f33fa7350a98b7eca8c5c265455d0a78b28bcbd35ab78969b528ae02d3c960fb73cf2b24ea999ee5e08c9f0641d3502c7d5ed8b285777162c334d645b6db SHA512 ac4126b38d592aed60d2269f58c5a1612b61e871565e3c3e51bc2b430e4da6a4708f78e86c16091fa4dfb9eefd4109ae89102ab708e3bce9a44f1e5fe1970c59
25 -DIST icewm-2.1.0.tar.lz 1696214 BLAKE2B ba91eac4ea425fc9979d1c64fbc2a4c59f1d8004138f31b1e184484cfcaaca7c1a550cd160ff3683a4f663e54efdd5f8ded001317765485259a1f19b8de794a3 SHA512 a57ebbf76640b5296c90c105bdc9b9b2cc55546d324fa18b2e7bfc6bee4442b56176bda4a584d6a73b2297203e1966d7646354bb6e0baaf64fdf0acdb357ee58
26 DIST icewm-2.1.1.tar.lz 1695855 BLAKE2B 81903735a71e13953635a4d70547f2518983b5e58fd9e90124e4aecb6b9b53827d48f77bbff3cec59b929456f4c1ab14fde999bbc45f90c8916bbb1017b8eb20 SHA512 7d0acd655f505755fe0b1186b7422a254805bd1c56f00170ecac90272c31c1c0673f781e4e89e04682515b7313dd57b78797398a81edc62b86abc6991abfc45c
27 DIST icewm-2.1.2.tar.lz 1694969 BLAKE2B 640af2b7afb34ebcf6fc4f1762161bd8cae124e58735ad3e5af3f8a12723ead71e491fbef9e9119792c54e4e116c7cc491847da1e103b2c46765044bfda71f2d SHA512 92c52b057c7ac1c81eb72cb01d4041715fae2b1c221ecc0e5286a9bfad87e1607a3d7c60dde125436ad32c9a72dac01ee82a3bfe4b671b2d458ba3ce4c0c5a62
28
29 diff --git a/x11-wm/icewm/files/icewm-2.1.0-appmenu_fix.patch b/x11-wm/icewm/files/icewm-2.1.0-appmenu_fix.patch
30 deleted file mode 100644
31 index d159e4d38e3..00000000000
32 --- a/x11-wm/icewm/files/icewm-2.1.0-appmenu_fix.patch
33 +++ /dev/null
34 @@ -1,37 +0,0 @@
35 -From 1d28361a69d773ba0d026119ff197d38900eac0a Mon Sep 17 00:00:00 2001
36 -From: Bert Gijsbers <gijsbers@×××××××××××.nl>
37 -Date: Sat, 23 Jan 2021 16:02:21 +0100
38 -Subject: [PATCH] Don't unarm menu popup buttons for issue #527.
39 -
40 ----
41 - src/ybutton.cc | 9 +++++++--
42 - 1 file changed, 7 insertions(+), 2 deletions(-)
43 -
44 -diff --git a/src/ybutton.cc b/src/ybutton.cc
45 -index 1c11756d..745a8f21 100644
46 ---- a/src/ybutton.cc
47 -+++ b/src/ybutton.cc
48 -@@ -58,7 +58,7 @@ YButton::~YButton() {
49 - }
50 - popdown();
51 - if (fPopup && fPopup->isShared() == false) {
52 -- delete fPopup;
53 -+ delete fPopup; fPopup = nullptr;
54 - }
55 - if (--buttonObjectCount == 0) {
56 - normalButtonFont = null;
57 -@@ -289,8 +289,13 @@ void YButton::handleButton(const XButtonEvent &button) {
58 - setSelected(false);
59 - }
60 - }
61 -+ bool unarm = fEnabled && fArmed
62 -+ && button.type == ButtonRelease
63 -+ && button.button == Button1
64 -+ && getClickCount() == 1
65 -+ && dragging();
66 - YWindow::handleButton(button);
67 -- if (fEnabled && button.type == ButtonRelease && button.button == Button1) {
68 -+ if (unarm && !fPopupActive) {
69 - setArmed(false, false);
70 - }
71 - }
72
73 diff --git a/x11-wm/icewm/icewm-2.1.0-r1.ebuild b/x11-wm/icewm/icewm-2.1.0-r1.ebuild
74 deleted file mode 100644
75 index 57f469f48b7..00000000000
76 --- a/x11-wm/icewm/icewm-2.1.0-r1.ebuild
77 +++ /dev/null
78 @@ -1,157 +0,0 @@
79 -# Copyright 1999-2021 Gentoo Authors
80 -# Distributed under the terms of the GNU General Public License v2
81 -
82 -EAPI=7
83 -
84 -inherit autotools unpacker
85 -
86 -DESCRIPTION="Ice Window Manager with Themes"
87 -HOMEPAGE="https://ice-wm.org/ https://github.com/ice-wm/icewm"
88 -LICENSE="GPL-2"
89 -SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz"
90 -
91 -SLOT="0"
92 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
93 -IUSE="+alsa ao bidi debug +gdk-pixbuf imlib nls truetype uclibc xinerama"
94 -
95 -# Tests broken in all versions, patches welcome, bug #323907, #389533
96 -RESTRICT="test"
97 -
98 -REQUIRED_USE="|| ( alsa ao )"
99 -#?? ( gdk-pixbuf imlib )
100 -
101 -#fix for icewm preversion package names
102 -S="${WORKDIR}/${P/_}"
103 -
104 -# These are the core dependencies of icewm.
105 -# Look into configure.ac and search for PKG_CHECK_MODULES([CORE]
106 -CORE_DEPEND="
107 - media-libs/fontconfig
108 - x11-libs/libX11
109 - x11-libs/libXcomposite
110 - x11-libs/libXdamage
111 - x11-libs/libXext
112 - x11-libs/libXfixes
113 - x11-libs/libXrender
114 -"
115 -
116 -RDEPEND="
117 - ${CORE_DEPEND}
118 - dev-libs/glib:2
119 - x11-libs/libICE
120 - x11-libs/libSM
121 - x11-libs/libXft
122 - x11-libs/libXpm
123 - x11-libs/libXrandr
124 - alsa? (
125 - media-libs/alsa-lib
126 - media-libs/libsndfile[alsa]
127 - )
128 - ao? (
129 - media-libs/libao
130 - media-libs/libsndfile
131 - )
132 - bidi? ( dev-libs/fribidi )
133 - gdk-pixbuf? (
134 - x11-libs/gdk-pixbuf-xlib
135 - >=x11-libs/gdk-pixbuf-2.42.0:2
136 - )
137 - !gdk-pixbuf? (
138 - imlib? (
139 - gnome-base/librsvg:2
140 - media-libs/imlib2
141 - )
142 - !imlib? (
143 - media-libs/libpng:0=
144 - virtual/jpeg
145 - )
146 - )
147 - xinerama? ( x11-libs/libXinerama )
148 -"
149 -DEPEND="
150 - ${RDEPEND}
151 - $(unpacker_src_uri_depends)
152 - x11-base/xorg-proto
153 - gdk-pixbuf? ( gnome-base/librsvg:2 )
154 -"
155 -
156 -BDEPEND="
157 - app-text/asciidoc
158 - virtual/pkgconfig
159 - nls? ( >=sys-devel/gettext-0.19.8 )
160 -"
161 -
162 -PATCHES=(
163 - "${FILESDIR}/${P}-appmenu_fix.patch"
164 -)
165 -
166 -pkg_pretend() {
167 - if use gdk-pixbuf && use imlib ; then
168 - einfo 'Confilcting USE flags have been enabled:'
169 - einfo '"gdk-pixbuf" and "imlib" exclude each other!'
170 - einfo 'Using "gdk-pixbuf".'
171 - fi
172 -}
173 -
174 -src_prepare() {
175 - default
176 - eautoreconf
177 -}
178 -
179 -src_configure() {
180 - local icesound
181 - if use alsa && use ao ; then
182 - icesound="alsa,ao"
183 - elif use alsa ; then
184 - icesound="alsa"
185 - elif use ao ; then
186 - icesound="ao"
187 - fi
188 -
189 - local myconf=(
190 - --enable-logevents
191 - --enable-xrandr
192 - --with-cfgdir="${EPREFIX}"/etc/icewm
193 - --with-docdir="${EPREFIX}"/usr/share/doc/${PF}/html
194 - --with-icesound="${icesound}"
195 - --with-libdir="${EPREFIX}"/usr/share/icewm
196 - $(use_enable bidi fribidi)
197 - $(use_enable debug)
198 - $(use_enable debug logevents)
199 - $(use_enable gdk-pixbuf)
200 - $(use_enable imlib imlib2)
201 - $(use_enable nls i18n)
202 - $(use_enable nls)
203 - $(use_enable xinerama)
204 - )
205 - if use truetype ; then
206 - myconf+=(
207 - --enable-shape
208 - )
209 - else
210 - myconf+=(
211 - --disable-xfreetype
212 - --enable-corefonts
213 - )
214 - fi
215 -
216 - econf "${myconf[@]}"
217 -
218 - sed \
219 - -e "s:/icewm-\$(VERSION)::" \
220 - -e "s:ungif:gif:" \
221 - -i src/Makefile || die
222 -}
223 -
224 -src_install() {
225 - local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION )
226 -
227 - default
228 -
229 - docinto html
230 - dodoc doc/icewm.html
231 - dodoc man/*.html
232 -
233 - exeinto /etc/X11/Sessions
234 - doexe "${FILESDIR}/icewm"
235 -}