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-libs/guile-gtk/, x11-libs/guile-gtk/files/
Date: Sun, 01 Sep 2019 19:07:22
Message-Id: 1567364809.f19459be6bf57a4dae7e3148037f104fc9eca7ed.mattst88@gentoo
1 commit: f19459be6bf57a4dae7e3148037f104fc9eca7ed
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 1 19:01:05 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 1 19:06:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19459be
7
8 x11-libs/guile-gtk: Remove
9
10 Closes: https://bugs.gentoo.org/641864
11 Closes: https://bugs.gentoo.org/647536
12 Closes: https://bugs.gentoo.org/688244
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 x11-libs/guile-gtk/Manifest | 1 -
16 x11-libs/guile-gtk/files/2.1-brokentest.patch | 33 ------------
17 x11-libs/guile-gtk/files/2.1-prll-install.patch | 13 -----
18 .../guile-gtk/files/2.1_migrate_gh_functions.patch | 60 ----------------------
19 .../files/guile-gtk-2.0-g-object-ref.diff | 45 ----------------
20 x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild | 46 -----------------
21 x11-libs/guile-gtk/guile-gtk-2.1-r3.ebuild | 48 -----------------
22 x11-libs/guile-gtk/metadata.xml | 11 ----
23 8 files changed, 257 deletions(-)
24
25 diff --git a/x11-libs/guile-gtk/Manifest b/x11-libs/guile-gtk/Manifest
26 deleted file mode 100644
27 index 744250d0579..00000000000
28 --- a/x11-libs/guile-gtk/Manifest
29 +++ /dev/null
30 @@ -1 +0,0 @@
31 -DIST guile-gtk-2.1.tar.gz 781985 BLAKE2B b3387ef9ac79935fa9cf2b7d35f4012dc0748ecbade131b2c73d8d4513d90f84164ec3f196fafda8ba77abfd2a0b8dadf9dbc0118281fc06db0a36d2f533592a SHA512 ab9bc66c97099d6958c401e16db57ceedaf23f1944cb7cf1e6899547c77cafff67455f228edd156a5a7ee0b62264e6af0ff82fa3ec31bcb499710bc5cb2070a7
32
33 diff --git a/x11-libs/guile-gtk/files/2.1-brokentest.patch b/x11-libs/guile-gtk/files/2.1-brokentest.patch
34 deleted file mode 100644
35 index ecba95174e0..00000000000
36 --- a/x11-libs/guile-gtk/files/2.1-brokentest.patch
37 +++ /dev/null
38 @@ -1,33 +0,0 @@
39 -diff --git a/tests/gdk.scm b/tests/gdk.scm
40 -index 6e08f9f..6b01e83 100644
41 ---- a/tests/gdk.scm
42 -+++ b/tests/gdk.scm
43 -@@ -1102,28 +1102,6 @@
44 - (got (exact-positive-integer? (gdk-screen-height-mm))))
45 - (test "gdk-screen-height-mm" #f want got))))
46 -
47 --;;
48 --;; gdk-selection-property-get
49 --;;
50 --
51 --(malloced-steady ;; with nothing ever requested
52 -- (lambda ()
53 -- (let* ((win sample-win)
54 -- (want '(#f NONE 0))
55 -- (got (gdk-selection-property-get win)))
56 -- (test "gdk-selection-property-get" sample-win want got))))
57 --
58 --(malloced-steady ;; on a destroyed window
59 -- (lambda ()
60 -- (let* ((win (gdk-window-new #f 100 100 '() 'input-output 'toplevel))
61 -- (want '(#f NONE 0))
62 -- (got (begin
63 -- (gdk-window-destroy win)
64 -- (gdk-selection-property-get win))))
65 -- ;; final free()s only take place under the main loop, so need this to
66 -- ;; satisfy `malloced-steady
67 -- (gtk-main-iteration-do #f)
68 -- (test "gdk-selection-property-get" (list "destroyed win" win) want got))))
69 -
70 - ;;
71 - ;; gdk-text-extents
72
73 diff --git a/x11-libs/guile-gtk/files/2.1-prll-install.patch b/x11-libs/guile-gtk/files/2.1-prll-install.patch
74 deleted file mode 100644
75 index b00fc29ca34..00000000000
76 --- a/x11-libs/guile-gtk/files/2.1-prll-install.patch
77 +++ /dev/null
78 @@ -1,13 +0,0 @@
79 -diff --git a/Makefile.am b/Makefile.am
80 -index 822a170..37f43b5 100644
81 ---- a/Makefile.am
82 -+++ b/Makefile.am
83 -@@ -72,7 +72,7 @@ gdkdefs = gdk-2.0.defs
84 - defsdir = $(datadir)/guile-gtk/
85 - defs_DATA = $(gtkdefs) $(gdkdefs)
86 -
87 --install-exec-local:
88 -+install-exec-hook:
89 - rm -f $(DESTDIR)$(bindir)/build-guile-gtk
90 - rm -f $(DESTDIR)$(bindir)/guile-gtk
91 - ln $(DESTDIR)$(bindir)/build-guile-gtk-2.0 $(DESTDIR)$(bindir)/build-guile-gtk
92
93 diff --git a/x11-libs/guile-gtk/files/2.1_migrate_gh_functions.patch b/x11-libs/guile-gtk/files/2.1_migrate_gh_functions.patch
94 deleted file mode 100644
95 index 5a194874f15..00000000000
96 --- a/x11-libs/guile-gtk/files/2.1_migrate_gh_functions.patch
97 +++ /dev/null
98 @@ -1,60 +0,0 @@
99 -diff -ur guile-gtk-2.1.orig/glade/glade-support.c guile-gtk-2.1/glade/glade-support.c
100 ---- guile-gtk-2.1.orig/glade/glade-support.c 2016-08-12 12:00:45.894290499 -0600
101 -+++ guile-gtk-2.1/glade/glade-support.c 2016-08-12 12:02:33.186666585 -0600
102 -@@ -17,7 +17,6 @@
103 -
104 - #include <glade/glade-xml.h>
105 - #include <libguile.h>
106 --#include <guile/gh.h>
107 -
108 - #include "config.h"
109 - #include "guile-gtk.h"
110 -@@ -83,7 +82,7 @@
111 - sgtk_protshell *protshell;
112 - GClosure *closure;
113 -
114 -- cb = scm_internal_cwdr ((scm_t_catch_body) gh_eval_str, (char*) handler_name,
115 -+ cb = scm_internal_cwdr ((scm_t_catch_body) scm_c_eval_string, (char*) handler_name,
116 - scm_handle_by_message_noexit, "glade",
117 - &stack_item);
118 -
119 -diff -ur guile-gtk-2.1.orig/gtk-gl/gdk-gl-support.c guile-gtk-2.1/gtk-gl/gdk-gl-support.c
120 ---- guile-gtk-2.1.orig/gtk-gl/gdk-gl-support.c 2016-08-12 12:00:45.894290499 -0600
121 -+++ guile-gtk-2.1/gtk-gl/gdk-gl-support.c 2016-08-12 12:02:19.530121760 -0600
122 -@@ -19,7 +19,6 @@
123 - #include <gtkgl/gdkgl.h>
124 -
125 - #include <libguile.h>
126 --#include <guile/gh.h>
127 -
128 - typedef struct {
129 - char* name;
130 -@@ -100,7 +99,7 @@
131 - if (! SCM_INUMP (s_value))
132 - goto error;
133 -
134 -- *aptr++ = gh_scm2int (s_value);
135 -+ *aptr++ = scm_to_int (s_value);
136 - }
137 - }
138 - }
139 -diff -ur guile-gtk-2.1.orig/guile-gtk.c guile-gtk-2.1/guile-gtk.c
140 ---- guile-gtk-2.1.orig/guile-gtk.c 2016-08-12 12:00:45.890957197 -0600
141 -+++ guile-gtk-2.1/guile-gtk.c 2016-08-12 12:01:59.346968496 -0600
142 -@@ -28,7 +28,6 @@
143 - #include <gdk/gdkx.h>
144 -
145 - #include <libguile.h>
146 --#include <guile/gh.h>
147 - #include <libguile/dynl.h>
148 - #include <libguile/tags.h>
149 -
150 -@@ -2196,7 +2195,7 @@
151 - #if 0
152 - /* Gone in Gtk 2 */
153 - case GTK_TYPE_CALLBACK:
154 -- return gh_procedure_p (obj);
155 -+ return scm_is_true (scm_procedure_p (obj));
156 - #endif
157 - case G_TYPE_OBJECT:
158 - return sgtk_is_a_gtkobj (type, obj);
159
160 diff --git a/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff b/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff
161 deleted file mode 100644
162 index bd582117f62..00000000000
163 --- a/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff
164 +++ /dev/null
165 @@ -1,45 +0,0 @@
166 ---- guile-gtk-2.0.orig/gtk-gl/gdk-gl.defs
167 -+++ guile-gtk-2.0/gtk-gl/gdk-gl.defs
168 -@@ -22,14 +22,14 @@
169 - ;--- Types ... --------------------------------------------------------
170 -
171 - (define-struct GdkGLContext
172 -- (copy gdk_gl_context_ref)
173 -- (free gdk_gl_context_unref)
174 -+ (copy g_object_ref)
175 -+ (free g_object_unref)
176 - (size "0")
177 - (canonical-name "Gdk" "GL" "Context"))
178 -
179 - (define-struct GdkGLPixmap
180 -- (copy gdk_gl_pixmap_ref)
181 -- (free gdk_gl_pixmap_unref)
182 -+ (copy g_object_ref)
183 -+ (free g_object_unref)
184 - (size "0")
185 - (canonical-name "Gdk" "GL" "Pixmap"))
186 -
187 ---- guile-gtk-2.0.orig/gtk-gl/gdk-gl-glue.c
188 -+++ guile-gtk-2.0/gtk-gl/gdk-gl-glue.c
189 -@@ -83,8 +83,8 @@
190 -
191 - sgtk_boxed_info sgtk_gdk_gl_context_info = {
192 - { "GdkGLContext", GTK_TYPE_BOXED, NULL },
193 -- (void *(*)(void*))gdk_gl_context_ref,
194 -- (void (*)(void*))gdk_gl_context_unref,
195 -+ (void *(*)(void*))g_object_ref,
196 -+ (void (*)(void*))g_object_unref,
197 - (void (*)(SCM)) NULL,
198 - 0
199 - };
200 -@@ -100,8 +100,8 @@
201 -
202 - sgtk_boxed_info sgtk_gdk_gl_pixmap_info = {
203 - { "GdkGLPixmap", GTK_TYPE_BOXED, NULL },
204 -- (void *(*)(void*))gdk_gl_pixmap_ref,
205 -- (void (*)(void*))gdk_gl_pixmap_unref,
206 -+ (void *(*)(void*))g_object_ref,
207 -+ (void (*)(void*))g_object_unref,
208 - (void (*)(SCM)) NULL,
209 - 0
210 - };
211
212 diff --git a/x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild b/x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild
213 deleted file mode 100644
214 index 0b766606e53..00000000000
215 --- a/x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild
216 +++ /dev/null
217 @@ -1,46 +0,0 @@
218 -# Copyright 1999-2015 Gentoo Foundation
219 -# Distributed under the terms of the GNU General Public License v2
220 -
221 -EAPI=5
222 -
223 -AUTOTOOLS_AUTORECONF=true
224 -
225 -inherit autotools-utils virtualx
226 -
227 -DESCRIPTION="GTK+ bindings for guile"
228 -HOMEPAGE="https://www.gnu.org/software/guile-gtk/"
229 -SRC_URI="mirror://gnu/guile-gtk/${P}.tar.gz"
230 -
231 -LICENSE="GPL-3"
232 -SLOT="0"
233 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
234 -IUSE=""
235 -
236 -RDEPEND="
237 - dev-scheme/guile:12[deprecated(+)]
238 - x11-libs/gtk+:2
239 - gnome-base/libglade:2.0
240 - >=x11-libs/gtkglarea-1.90:2"
241 -DEPEND="${RDEPEND}"
242 -
243 -PATCHES=(
244 - "${FILESDIR}"/${PN}-2.0-g-object-ref.diff
245 - "${FILESDIR}"/${PV}-prll-install.patch
246 - "${FILESDIR}"/${PV}-brokentest.patch
247 -)
248 -
249 -src_prepare() {
250 - sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
251 - autotools-utils_src_prepare
252 -}
253 -
254 -src_test() {
255 - cd "${BUILD_DIR}" || die
256 - Xemake check
257 -}
258 -
259 -src_install() {
260 - autotools-utils_src_install
261 - insinto /usr/share/doc/${PF}/
262 - doins -r examples
263 -}
264
265 diff --git a/x11-libs/guile-gtk/guile-gtk-2.1-r3.ebuild b/x11-libs/guile-gtk/guile-gtk-2.1-r3.ebuild
266 deleted file mode 100644
267 index 66fb90b3a5a..00000000000
268 --- a/x11-libs/guile-gtk/guile-gtk-2.1-r3.ebuild
269 +++ /dev/null
270 @@ -1,48 +0,0 @@
271 -# Copyright 1999-2018 Gentoo Foundation
272 -# Distributed under the terms of the GNU General Public License v2
273 -
274 -EAPI=5
275 -
276 -AUTOTOOLS_AUTORECONF=true
277 -WANT_AUTOMAKE=1.9
278 -
279 -inherit autotools-utils virtualx
280 -
281 -DESCRIPTION="GTK+ bindings for guile"
282 -HOMEPAGE="https://www.gnu.org/software/guile-gtk/"
283 -SRC_URI="mirror://gnu/guile-gtk/${P}.tar.gz"
284 -
285 -LICENSE="GPL-3"
286 -SLOT="0"
287 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
288 -IUSE=""
289 -
290 -RDEPEND="
291 - >=dev-scheme/guile-2[deprecated(+)]
292 - x11-libs/gtk+:2
293 - gnome-base/libglade:2.0
294 - >=x11-libs/gtkglarea-1.90:2"
295 -DEPEND="${RDEPEND}"
296 -
297 -PATCHES=(
298 - "${FILESDIR}"/${PN}-2.0-g-object-ref.diff
299 - "${FILESDIR}"/${PV}-prll-install.patch
300 - "${FILESDIR}"/${PV}-brokentest.patch
301 - "${FILESDIR}"/${PV}_migrate_gh_functions.patch
302 -)
303 -
304 -src_prepare() {
305 - sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
306 - autotools-utils_src_prepare
307 -}
308 -
309 -src_test() {
310 - cd "${BUILD_DIR}" || die
311 - Xemake check
312 -}
313 -
314 -src_install() {
315 - autotools-utils_src_install
316 - insinto /usr/share/doc/${PF}/
317 - doins -r examples
318 -}
319
320 diff --git a/x11-libs/guile-gtk/metadata.xml b/x11-libs/guile-gtk/metadata.xml
321 deleted file mode 100644
322 index fe1bacfb130..00000000000
323 --- a/x11-libs/guile-gtk/metadata.xml
324 +++ /dev/null
325 @@ -1,11 +0,0 @@
326 -<?xml version="1.0" encoding="UTF-8"?>
327 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
328 -<pkgmetadata>
329 - <maintainer type="project">
330 - <email>scheme@g.o</email>
331 - <name>Gentoo Scheme Project</name>
332 - </maintainer>
333 - <longdescription lang="en">
334 -The guile-gtk project brings the power of Scheme to your graphical application.
335 - </longdescription>
336 -</pkgmetadata>