Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, x11-misc/wmakerconf/files/, x11-misc/wmakerconf/
Date: Sun, 31 May 2020 10:30:39
Message-Id: 1590920995.c0c8660b28a2cea252e12d28aa3a4682208112b4.mgorny@gentoo
1 commit: c0c8660b28a2cea252e12d28aa3a4682208112b4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 10:27:40 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 10:29:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c8660b
7
8 x11-misc/wmakerconf: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/716890
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 5 --
14 x11-misc/wmakerconf/Manifest | 1 -
15 .../wmakerconf/files/wmakerconf-2.12-desktop.patch | 8 ---
16 .../files/wmakerconf-2.12-format-security.patch | 12 ----
17 .../files/wmakerconf-2.12-glib-2.62.patch | 14 ----
18 .../wmakerconf-2.12-wmaker-0.95_support.patch | 82 ----------------------
19 x11-misc/wmakerconf/metadata.xml | 11 ---
20 x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild | 57 ---------------
21 8 files changed, 190 deletions(-)
22
23 diff --git a/profiles/package.mask b/profiles/package.mask
24 index b264bec5770..02aa676933d 100644
25 --- a/profiles/package.mask
26 +++ b/profiles/package.mask
27 @@ -213,11 +213,6 @@ dev-tex/revtex
28 # Last release in 2007. Masked for removal in 30 days.
29 x11-plugins/fsviewer
30
31 -# Bernard Cafarelli <voyageur@g.o> (2020-04-30)
32 -# Does not compile with latest windowmaker, bug #716890
33 -# Last release in 2007. Masked for removal in 30 days.
34 -x11-misc/wmakerconf
35 -
36 # Matt Turner <mattst88@g.o> (2020-04-29)
37 # Masked for testing
38 >=dev-libs/gjs-1.64
39
40 diff --git a/x11-misc/wmakerconf/Manifest b/x11-misc/wmakerconf/Manifest
41 deleted file mode 100644
42 index 467ada25242..00000000000
43 --- a/x11-misc/wmakerconf/Manifest
44 +++ /dev/null
45 @@ -1 +0,0 @@
46 -DIST wmakerconf_2.12.tar.gz 830156 BLAKE2B 65dd7d16606304b9746e84a3e71764b5491149ac27f4a1802faa5c14a66cbeaa4d04ecce66649acaf05f798e4fe643ac48b9df15c22e5b4e054951adf1d921df SHA512 4289846b20667a12c729b646ce5cc9d673adc49c3c99f1afcf0bf2eb978d7a62c93104e44f38c47984f5fc7bd22a78fff89d68646701c7e763a26ec18d4ff059
47
48 diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch
49 deleted file mode 100644
50 index 184fa55ea04..00000000000
51 --- a/x11-misc/wmakerconf/files/wmakerconf-2.12-desktop.patch
52 +++ /dev/null
53 @@ -1,8 +0,0 @@
54 ---- wmakerconf-2.12.orig/wmakerconf.desktop.in 2015-08-23 23:14:56.272180470 +0200
55 -+++ wmakerconf-2.12/wmakerconf.desktop.in 2015-08-23 23:15:05.446195859 +0200
56 -@@ -10,4 +10,4 @@
57 - Icon=@prefix@/share/wmakerconf/wmakerconf.xpm
58 - Terminal=false
59 - Type=Application
60 --Categories=GTK;Application;DesktopSettings
61 -+Categories=GTK;DesktopSettings;
62
63 diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch
64 deleted file mode 100644
65 index 91b6109fddb..00000000000
66 --- a/x11-misc/wmakerconf/files/wmakerconf-2.12-format-security.patch
67 +++ /dev/null
68 @@ -1,12 +0,0 @@
69 -diff -Naur wmakerconf-2.12.orig/src/error.c wmakerconf-2.12/src/error.c
70 ---- wmakerconf-2.12.orig/src/error.c 2004-12-05 02:44:37.000000000 +0100
71 -+++ wmakerconf-2.12/src/error.c 2016-04-11 20:42:32.810590888 +0200
72 -@@ -109,7 +109,7 @@
73 - GtkTextIter iter;
74 - GtkTextBuffer *buffer;
75 -
76 -- g_log ("Wmakerconf", G_LOG_LEVEL_WARNING, message);
77 -+ g_log ("Wmakerconf", G_LOG_LEVEL_WARNING, "%s", message);
78 - Free (text);
79 - buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (log_text));
80 - gtk_text_buffer_get_iter_at_offset (buffer, &iter, -1);
81
82 diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-glib-2.62.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-glib-2.62.patch
83 deleted file mode 100644
84 index 422aa9e813a..00000000000
85 --- a/x11-misc/wmakerconf/files/wmakerconf-2.12-glib-2.62.patch
86 +++ /dev/null
87 @@ -1,14 +0,0 @@
88 -diff -Naur wmakerconf-2.12.orig/src/error.h wmakerconf-2.12/src/error.h
89 ---- wmakerconf-2.12.orig/src/error.h 2001-04-18 23:13:33.000000000 +0200
90 -+++ wmakerconf-2.12/src/error.h 2020-03-07 23:21:51.336443663 +0100
91 -@@ -37,8 +37,8 @@
92 - #define N_(string) (string)
93 - /* I18n */
94 -
95 --#define error error_line=__LINE__,error_file=__FILE__,_error
96 --#define warning error_line=__LINE__,error_file=__FILE__,_warning
97 -+#define error _error
98 -+#define warning _warning
99 - #define MAXSTRLEN 1024
100 -
101 - #undef NO
102
103 diff --git a/x11-misc/wmakerconf/files/wmakerconf-2.12-wmaker-0.95_support.patch b/x11-misc/wmakerconf/files/wmakerconf-2.12-wmaker-0.95_support.patch
104 deleted file mode 100644
105 index 5b598c3c154..00000000000
106 --- a/x11-misc/wmakerconf/files/wmakerconf-2.12-wmaker-0.95_support.patch
107 +++ /dev/null
108 @@ -1,82 +0,0 @@
109 -diff -Naur wmakerconf-2.12.orig/src/menu.c wmakerconf-2.12/src/menu.c
110 ---- wmakerconf-2.12.orig/src/menu.c 2012-02-10 17:34:57.601475631 +0100
111 -+++ wmakerconf-2.12/src/menu.c 2012-02-10 17:35:03.917287748 +0100
112 -@@ -500,10 +500,10 @@
113 - * No return value.
114 - */
115 - {
116 -- if (!WMWritePropListToFile (orig_wmaker, orig_wmaker_fname, YES))
117 -+ if (!WMWritePropListToFile(orig_wmaker, orig_wmaker_fname))
118 - warning (_("Can't revert to backupfile of `WindowMaker'. "
119 - "Please manually revert from file WindowMaker.bak."));
120 -- if (orig_rootmenu && !WMWritePropListToFile (orig_rootmenu, orig_rootmenu_fname, YES))
121 -+ if (orig_rootmenu && !WMWritePropListToFile(orig_rootmenu, orig_rootmenu_fname))
122 - warning (_("Can't revert to backupfile of `WMRootMenu'. "
123 - "Please manually revert from file WMRootMenu.bak."));
124 - gtk_main_quit ();
125 -diff -Naur wmakerconf-2.12.orig/src/rootmenu.c wmakerconf-2.12/src/rootmenu.c
126 ---- wmakerconf-2.12.orig/src/rootmenu.c 2012-02-10 17:34:57.601475631 +0100
127 -+++ wmakerconf-2.12/src/rootmenu.c 2012-02-10 17:35:03.929287391 +0100
128 -@@ -365,7 +365,7 @@
129 - node_freeitem, NULL);
130 - g_node_destroy (node);
131 -
132 -- if (WMWritePropListToFile (menu, filename, YES))
133 -+ if (WMWritePropListToFile(menu, filename))
134 - {
135 - menu_changed = NO;
136 - message (_("Window Maker root menu file '%s' saved."), filename);
137 -diff -Naur wmakerconf-2.12.orig/src/themebrowser.c wmakerconf-2.12/src/themebrowser.c
138 ---- wmakerconf-2.12.orig/src/themebrowser.c 2012-02-10 17:34:57.601475631 +0100
139 -+++ wmakerconf-2.12/src/themebrowser.c 2012-02-10 17:35:56.515722786 +0100
140 -@@ -2705,7 +2705,7 @@
141 - oldfiles = g_list_remove (oldfiles, tmp);
142 - Free (tmp);
143 - }
144 -- if (!WMWritePropListToFile (theme, stylename, YES))
145 -+ if (!WMWritePropListToFile(theme, stylename))
146 - {
147 - dialog_popup (DIALOG_ERROR, NULL, NULL,
148 - _("Can't save theme file\n`%s'\n"
149 -diff -Naur wmakerconf-2.12.orig/src/window.c wmakerconf-2.12/src/window.c
150 ---- wmakerconf-2.12.orig/src/window.c 2012-02-10 17:34:57.601475631 +0100
151 -+++ wmakerconf-2.12/src/window.c 2012-02-10 17:35:03.953286677 +0100
152 -@@ -1069,7 +1069,7 @@
153 - WMReleasePropList (all_keys);
154 - }
155 -
156 -- if (WMWritePropListToFile (newwm, orig_wmaker_fname, YES))
157 -+ if (WMWritePropListToFile(newwm, orig_wmaker_fname))
158 - {
159 - changed = NO;
160 - message (_("Window Maker config file '%s' saved."),
161 -diff -Naur wmakerconf-2.12.orig/src/wmconfig.c wmakerconf-2.12/src/wmconfig.c
162 ---- wmakerconf-2.12.orig/src/wmconfig.c 2012-02-10 17:34:57.601475631 +0100
163 -+++ wmakerconf-2.12/src/wmconfig.c 2012-02-10 17:35:03.957286559 +0100
164 -@@ -216,7 +216,7 @@
165 - /*
166 - * Generate backup file "'path'.bak"
167 - */
168 -- if (WMWritePropListToFile (orig_rootmenu, new, YES))
169 -+ if (WMWritePropListToFile(orig_rootmenu, new))
170 - message (_("Backupfile `%s' generated."), new);
171 - else
172 - error (_("Can't write backupfile `%s'."), new);
173 -@@ -280,7 +280,7 @@
174 - if (!windowmaker)
175 - {
176 - windowmaker = global_windowmaker;
177 -- if (WMWritePropListToFile (windowmaker, orig_wmaker_fname, YES))
178 -+ if (WMWritePropListToFile(windowmaker, orig_wmaker_fname))
179 - warning (_("New WindowMaker configuration file `%s' created."),
180 - orig_wmaker_fname);
181 - else
182 -@@ -294,7 +294,7 @@
183 - /*
184 - * Generate backup file "'path'.bak"
185 - */
186 -- if (WMWritePropListToFile (windowmaker, new, YES))
187 -+ if (WMWritePropListToFile(windowmaker, new))
188 - message (_("Backupfile `%s' generated."), new);
189 - else
190 - error (_("Can't write backupfile `%s'."), new);
191
192 diff --git a/x11-misc/wmakerconf/metadata.xml b/x11-misc/wmakerconf/metadata.xml
193 deleted file mode 100644
194 index 2fc688f0802..00000000000
195 --- a/x11-misc/wmakerconf/metadata.xml
196 +++ /dev/null
197 @@ -1,11 +0,0 @@
198 -<?xml version="1.0" encoding="UTF-8"?>
199 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
200 -<pkgmetadata>
201 - <maintainer type="project">
202 - <email>gnustep@g.o</email>
203 - <name>Gentoo GNUstep Project</name>
204 - </maintainer>
205 - <upstream>
206 - <remote-id type="sourceforge">wmakerconf</remote-id>
207 - </upstream>
208 -</pkgmetadata>
209
210 diff --git a/x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild b/x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild
211 deleted file mode 100644
212 index dcb30653f05..00000000000
213 --- a/x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild
214 +++ /dev/null
215 @@ -1,57 +0,0 @@
216 -# Copyright 1999-2020 Gentoo Authors
217 -# Distributed under the terms of the GNU General Public License v2
218 -
219 -EAPI=6
220 -
221 -DESCRIPTION="X based config tool for the windowmaker X windowmanager"
222 -HOMEPAGE="http://wmakerconf.sourceforge.net/"
223 -SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.gz"
224 -
225 -LICENSE="GPL-2"
226 -SLOT="0"
227 -KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
228 -IUSE="nls perl"
229 -
230 -RDEPEND="x11-libs/gtk+:2
231 - >=x11-wm/windowmaker-0.95.2
232 - perl? ( dev-lang/perl
233 - dev-perl/HTML-Parser
234 - || ( dev-perl/libwww-perl
235 - www-client/lynx
236 - net-misc/wget ) )"
237 -DEPEND="${RDEPEND}
238 - nls? ( sys-devel/gettext )
239 - virtual/pkgconfig"
240 -
241 -PATCHES=(
242 - "${FILESDIR}"/${P}-desktop.patch
243 - "${FILESDIR}"/${P}-format-security.patch
244 - "${FILESDIR}"/${P}-wmaker-0.95_support.patch
245 - "${FILESDIR}"/${P}-glib-2.62.patch
246 -)
247 -
248 -src_prepare() {
249 - sed -e "/^LIBS =/s/$/ -lX11/" -i src/Makefile.in || die
250 - default
251 -}
252 -
253 -src_configure() {
254 - econf \
255 - --disable-imlibtest \
256 - $(use_enable perl upgrade) \
257 - $(use_enable nls) \
258 - ${myconf}
259 -}
260 -
261 -src_install() {
262 - emake DESTDIR="${D}" gnulocaledir="${ED}/usr/share/locale" install
263 - dodoc AUTHORS ChangeLog MANUAL NEWS README TODO
264 - doman man/*.1
265 -
266 - rm -f "${ED}"/usr/share/${PN}/{AUTHORS,README,COPYING,NEWS,MANUAL,ABOUT-NLS,NLS-TEAM1,ChangeLog}
267 -}
268 -
269 -pkg_postinst() {
270 - elog "New features added with WindowMaker >= 0.95 will not be available in wmakerconf"
271 - elog "WPrefs is the recommended configuration tool"
272 -}