Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/gcolor2/files/, x11-misc/gcolor2/, profiles/
Date: Mon, 09 May 2022 22:09:36
Message-Id: 1652134159.b81d110bb062dcc13d9d8a2ba7d439cea870954f.mattst88@gentoo
1 commit: b81d110bb062dcc13d9d8a2ba7d439cea870954f
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 18:12:46 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 22:09:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81d110b
7
8 x11-misc/gcolor2: Remove
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 profiles/package.mask | 5 ---
13 x11-misc/gcolor2/Manifest | 2 -
14 x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch | 46 ---------------------
15 .../gcolor2/files/gcolor2-0.4-fno-common.patch | 27 -------------
16 .../files/gcolor2-0.4-pkg-config-macro.patch | 10 -----
17 x11-misc/gcolor2/files/modular-rgb.patch | 21 ----------
18 x11-misc/gcolor2/gcolor2-0.4-r4.ebuild | 47 ----------------------
19 x11-misc/gcolor2/metadata.xml | 11 -----
20 8 files changed, 169 deletions(-)
21
22 diff --git a/profiles/package.mask b/profiles/package.mask
23 index 116011308843..5edf1821d106 100644
24 --- a/profiles/package.mask
25 +++ b/profiles/package.mask
26 @@ -346,11 +346,6 @@ dev-ruby/sanitize:5
27 # Removal on 2022-05-11. Bug #832317.
28 dev-python/ctypescrypto
29
30 -# Matt Turner <mattst88@g.o> (2022-04-10)
31 -# Dead package upstream. Uses GTK+ 2. No reverse dependencies.
32 -# Removal on 2022-05-10
33 -x11-misc/gcolor2
34 -
35 # David Seifert <soap@g.o> (2022-04-10)
36 # Unmaintained, last release upstream 16 years ago, Fedora dropped it,
37 # relies on sys-libs/db, low quality port to EAPI 6, removal on 2022-05-10.
38
39 diff --git a/x11-misc/gcolor2/Manifest b/x11-misc/gcolor2/Manifest
40 deleted file mode 100644
41 index 1e52ffdd565e..000000000000
42 --- a/x11-misc/gcolor2/Manifest
43 +++ /dev/null
44 @@ -1,2 +0,0 @@
45 -DIST gcolor2-0.4.tar.gz 375217 BLAKE2B c8bc8581c9790106a9461cda03e40c201faec95c9c0d7890dbb8903346a85208c506dd8c9cd0735036b4a294205f44c857edbae8282574d195e77f4954bae91c SHA512 9b9677b4be8797c9b03deef9bf1b96e6497d2adf85f74d01f1b478f04d92cb912790c4d5fb74f403295219cac6c0d3fcabaa7de340975bbcdb68b0347f6042a3
46 -DIST gcolor2.svg 12742 BLAKE2B 40f5e6624a0a90d8d8c81dd5814d836741bab04f19d73cfbd96f224baa78165447d1642c18a55ef282771a02de4bddd77d975c4aa75bb74b98d63227f87031ea SHA512 377dbd494e5a3f881df65415ee66310cd96b4e4ac668101aa068bfe6f575b694c930817cec942e885f93465d05ccc604950f2154e26be95618d6f272d81ffe1b
47
48 diff --git a/x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch b/x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch
49 deleted file mode 100644
50 index cd06a8315f98..000000000000
51 --- a/x11-misc/gcolor2/files/gcolor2-0.4-amd64.patch
52 +++ /dev/null
53 @@ -1,46 +0,0 @@
54 -diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN gcolor2-0.4.orig/src/callbacks.c gcolor2-0.4/src/callbacks.c
55 ---- gcolor2-0.4.orig/src/callbacks.c 2005-07-12 14:06:12.000000000 -0400
56 -+++ gcolor2-0.4/src/callbacks.c 2007-02-17 19:19:38.000000000 -0500
57 -@@ -4,6 +4,9 @@
58 -
59 - #include <gtk/gtk.h>
60 - #include <stdio.h>
61 -+#include <string.h>
62 -+#include <glib.h>
63 -+#include <glib/gprintf.h>
64 -
65 - #include "callbacks.h"
66 - #include "interface.h"
67 -@@ -172,6 +175,9 @@ void on_copy_color_to_clipboard_activate
68 - gtk_clipboard_set_text (cb, hex, strlen (hex));
69 - }
70 -
71 -+void add_rgb_file (gchar *filename, gchar *type);
72 -+gchar* get_system_file (void);
73 -+
74 - void on_show_system_colors_activate (GtkMenuItem *menuitem, gpointer user_data)
75 - {
76 - if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (menuitem)))
77 -@@ -266,6 +272,8 @@ void on_save_button_clicked (GtkButton *
78 - gtk_widget_destroy (savedialog);
79 - }
80 -
81 -+void add_list_color (gchar *spec, gchar *name, gchar *type, gboolean is_new_color);
82 -+
83 - void add_color_to_treeview ()
84 - {
85 - GtkTreeView *treeview;
86 -diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c
87 ---- gcolor2-0.4.orig/src/main.c 2005-07-11 10:55:49.000000000 -0400
88 -+++ gcolor2-0.4/src/main.c 2007-02-17 19:18:23.000000000 -0500
89 -@@ -4,6 +4,10 @@
90 -
91 - #include <gtk/gtk.h>
92 - #include <stdio.h>
93 -+#include <stdlib.h>
94 -+#include <string.h>
95 -+#include <glib.h>
96 -+#include <glib/gprintf.h>
97 -
98 - #include "interface.h"
99 - #include "support.h"
100
101 diff --git a/x11-misc/gcolor2/files/gcolor2-0.4-fno-common.patch b/x11-misc/gcolor2/files/gcolor2-0.4-fno-common.patch
102 deleted file mode 100644
103 index f30552a13e60..000000000000
104 --- a/x11-misc/gcolor2/files/gcolor2-0.4-fno-common.patch
105 +++ /dev/null
106 @@ -1,27 +0,0 @@
107 ---- a/src/callbacks.c
108 -+++ b/src/callbacks.c
109 -@@ -13,6 +13,9 @@
110 - #include "support.h"
111 -
112 -
113 -+GtkWidget *gcolor2;
114 -+GtkWidget *menu;
115 -+GdkColor colorvalue;
116 - GtkWidget *savedialog;
117 - gchar *colorname;
118 - static GtkWidget *aboutdialog = NULL;
119 ---- a/src/callbacks.h
120 -+++ b/src/callbacks.h
121 -@@ -42,9 +42,9 @@
122 - "\302\267 Usability / user interface enhancements\n" \
123 - "\302\267 Code cleanup"
124 -
125 --GtkWidget *gcolor2;
126 --GtkWidget *menu;
127 --GdkColor colorvalue;
128 -+extern GtkWidget *gcolor2;
129 -+extern GtkWidget *menu;
130 -+extern GdkColor colorvalue;
131 -
132 - enum
133 - {
134
135 diff --git a/x11-misc/gcolor2/files/gcolor2-0.4-pkg-config-macro.patch b/x11-misc/gcolor2/files/gcolor2-0.4-pkg-config-macro.patch
136 deleted file mode 100644
137 index c3fcca0af712..000000000000
138 --- a/x11-misc/gcolor2/files/gcolor2-0.4-pkg-config-macro.patch
139 +++ /dev/null
140 @@ -1,10 +0,0 @@
141 ---- a/configure.ac
142 -+++ b/configure.ac
143 -@@ -26,6 +26,7 @@
144 - AC_DISABLE_STATIC
145 - AC_PROG_LIBTOOL
146 - AC_PROG_INTLTOOL([0.27])
147 -+PKG_PROG_PKG_CONFIG
148 -
149 -
150 - GETTEXT_PACKAGE=gcolor2
151
152 diff --git a/x11-misc/gcolor2/files/modular-rgb.patch b/x11-misc/gcolor2/files/modular-rgb.patch
153 deleted file mode 100644
154 index 798fe57e2e3f..000000000000
155 --- a/x11-misc/gcolor2/files/modular-rgb.patch
156 +++ /dev/null
157 @@ -1,21 +0,0 @@
158 ---- a/src/callbacks.h
159 -+++ b/src/callbacks.h
160 -@@ -12,6 +12,7 @@
161 - #define SYSTEM_FILE_2 "/usr/lib/X11/rgb.txt"
162 - #define SYSTEM_FILE_3 "/etc/X11/rgb.txt"
163 - #define SYSTEM_FILE_4 "/usr/openwin/lib/X11/rgb.txt"
164 -+#define SYSTEM_FILE_5 "/usr/share/X11/rgb.txt"
165 -
166 - /* about dialog text */
167 - #define ABOUT_CREDITS_TEXT "Developer:\n" \
168 ---- a/src/main.c
169 -+++ b/src/main.c
170 -@@ -36,6 +36,8 @@
171 - sys_filename = SYSTEM_FILE_3;
172 - else if (g_file_test (SYSTEM_FILE_4, G_FILE_TEST_EXISTS))
173 - sys_filename = SYSTEM_FILE_4;
174 -+ else if (g_file_test (SYSTEM_FILE_5, G_FILE_TEST_EXISTS))
175 -+ sys_filename = SYSTEM_FILE_5;
176 - else
177 - return FALSE;
178 - return TRUE;
179
180 diff --git a/x11-misc/gcolor2/gcolor2-0.4-r4.ebuild b/x11-misc/gcolor2/gcolor2-0.4-r4.ebuild
181 deleted file mode 100644
182 index ec842bfb9d47..000000000000
183 --- a/x11-misc/gcolor2/gcolor2-0.4-r4.ebuild
184 +++ /dev/null
185 @@ -1,47 +0,0 @@
186 -# Copyright 1999-2020 Gentoo Authors
187 -# Distributed under the terms of the GNU General Public License v2
188 -
189 -EAPI=7
190 -
191 -inherit autotools desktop xdg
192 -
193 -DESCRIPTION="A GTK+ color selector"
194 -HOMEPAGE="http://gcolor2.sourceforge.net"
195 -SRC_URI="
196 - mirror://sourceforge/${PN}/${P}.tar.gz
197 - https://dev.gentoo.org/~pacho/gnome/${PN}.svg"
198 -
199 -LICENSE="GPL-2 public-domain"
200 -SLOT="0"
201 -KEYWORDS="amd64 ~ppc ~ppc64 x86"
202 -
203 -RDEPEND=">=x11-libs/gtk+-2.4:2"
204 -DEPEND="${RDEPEND}"
205 -BDEPEND="
206 - >=dev-util/intltool-0.27
207 - virtual/pkgconfig"
208 -
209 -PATCHES=(
210 - "${FILESDIR}"/modular-rgb.patch
211 - "${FILESDIR}"/${P}-amd64.patch
212 - "${FILESDIR}"/${P}-pkg-config-macro.patch
213 - "${FILESDIR}"/${P}-fno-common.patch
214 -)
215 -
216 -src_prepare() {
217 - xdg_src_prepare
218 -
219 - # To check at each bump.
220 - sed "s/^#.*/[encoding: UTF-8]/" -i po/POTFILES.in || die "sed failed"
221 - echo "gcolor2.glade" >> po/POTFILES.in || die
222 -
223 - eautoreconf
224 -}
225 -
226 -src_install() {
227 - default
228 -
229 - # Icon from https://sourceforge.net/p/gcolor2/patches/5/
230 - doicon -s scalable "${DISTDIR}/${PN}.svg"
231 - make_desktop_entry ${PN} Gcolor2 ${PN} Graphics
232 -}
233
234 diff --git a/x11-misc/gcolor2/metadata.xml b/x11-misc/gcolor2/metadata.xml
235 deleted file mode 100644
236 index b025a2b25204..000000000000
237 --- a/x11-misc/gcolor2/metadata.xml
238 +++ /dev/null
239 @@ -1,11 +0,0 @@
240 -<?xml version="1.0" encoding="UTF-8"?>
241 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
242 -<pkgmetadata>
243 - <maintainer type="project">
244 - <email>gnome@g.o</email>
245 - <name>Gentoo GNOME Desktop</name>
246 - </maintainer>
247 - <upstream>
248 - <remote-id type="sourceforge">gcolor2</remote-id>
249 - </upstream>
250 -</pkgmetadata>