1 |
commit: 4849911692da0dec7290d879150d0f25e34240bc |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 2 00:50:51 2018 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 2 00:51:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48499116 |
7 |
|
8 |
media-gfx/xfig: Drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/649134 |
11 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
12 |
|
13 |
media-gfx/xfig/Manifest | 1 - |
14 |
.../xfig/files/xfig-3.2.5b-app-defaults.patch | 24 -- |
15 |
media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch | 32 -- |
16 |
.../xfig/files/xfig-3.2.5b-network_images.patch | 371 --------------------- |
17 |
.../xfig/files/xfig-3.2.5b-papersize_b1.patch | 27 -- |
18 |
.../files/xfig-3.2.5b-pdfimport_mediabox.patch | 37 -- |
19 |
media-gfx/xfig/files/xfig-3.2.5b-solaris.patch | 26 -- |
20 |
media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch | 79 ----- |
21 |
.../files/xfig-3.2.5c-XAW3D1_5E_notlocal.patch | 70 ---- |
22 |
.../xfig/files/xfig-3.2.5c-crash-on-exit.patch | 19 -- |
23 |
media-gfx/xfig/files/xfig-3.2.5c-darwin.patch | 26 -- |
24 |
media-gfx/xfig/files/xfig-3.2.5c-spelling.patch | 17 - |
25 |
media-gfx/xfig/xfig-3.2.5c.ebuild | 109 ------ |
26 |
media-gfx/xfig/xfig-3.2.6a.ebuild | 47 --- |
27 |
14 files changed, 885 deletions(-) |
28 |
|
29 |
diff --git a/media-gfx/xfig/Manifest b/media-gfx/xfig/Manifest |
30 |
index c10093d94d1..106af3f0e1e 100644 |
31 |
--- a/media-gfx/xfig/Manifest |
32 |
+++ b/media-gfx/xfig/Manifest |
33 |
@@ -1,2 +1 @@ |
34 |
DIST xfig-full-3.2.6a.tar.xz 5502944 BLAKE2B 3a83feeb5647ffa9586b9ce40116e9854a423c0cc90265ad78b27c0c82a15bbda9d9734475aba13f442c259cd0489a667242f319ac758ddbfea1a5b268e12550 SHA512 82e292e050213b6d22be5e174224308b446505e25208f29d4f4c5e760a87ff4104b9dcea0a332241c9bca358e1d44336bb38c316eb3f28130d7c8828c10a805f |
35 |
-DIST xfig.3.2.5c.full.tar.gz 6078933 BLAKE2B 44ccad26fa3d7a57b0e8798d6ebfe6682baf15046d9e360d7a7569cac54c403c0068671e27a5289dbb4f70dafd12c1653a61709749a8298874bc49528783973b SHA512 763bd6fd43bff9b44f934dd6e16b0aa5142041f895e74564d28e7252e012f1c7728bbee40e3970357c7d3fd15aa109dbfcbc1d0a2203fa1a2ed770aabacd9525 |
36 |
|
37 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5b-app-defaults.patch b/media-gfx/xfig/files/xfig-3.2.5b-app-defaults.patch |
38 |
deleted file mode 100644 |
39 |
index 560ddef94eb..00000000000 |
40 |
--- a/media-gfx/xfig/files/xfig-3.2.5b-app-defaults.patch |
41 |
+++ /dev/null |
42 |
@@ -1,24 +0,0 @@ |
43 |
-Defaults for xfig. Idea from Roland Rosenfeld <roland@××××××.org> |
44 |
- |
45 |
-diff -urNad xfig~/Fig.ad xfig/Fig.ad |
46 |
---- a/Fig.ad |
47 |
-+++ b/Fig.ad |
48 |
-@@ -10,13 +10,17 @@ |
49 |
- |
50 |
- ! some sample settings you may want to change |
51 |
- |
52 |
-+! If the following resource is set to false, xfig will use metric units |
53 |
-+! by default. |
54 |
-+Fig.inches: false |
55 |
-+ |
56 |
- ! The following fixes a problem that some window managers have |
57 |
- ! with xfig continually resizing itself |
58 |
- |
59 |
- Fig*AllowShellResize: false |
60 |
- |
61 |
- ! Image editor - can edit imported image |
62 |
--Fig.image_editor: xv |
63 |
-+Fig.image_editor: gimp |
64 |
- |
65 |
- ! name of ghostscript (not ghostview) |
66 |
- Fig.ghostscript: gs |
67 |
|
68 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch b/media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch |
69 |
deleted file mode 100644 |
70 |
index 931ac94e58a..00000000000 |
71 |
--- a/media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch |
72 |
+++ /dev/null |
73 |
@@ -1,32 +0,0 @@ |
74 |
-Missed hunk noticed https://bugzilla.redhat.com/show_bug.cgi?id=505257#c1 is recreated. |
75 |
- |
76 |
-http://bugs.gentoo.org/show_bug.cgi?id=264575 |
77 |
- |
78 |
-=== modified file 'u_print.c' |
79 |
---- a/u_print.c 2010-01-14 19:50:08 +0000 |
80 |
-+++ b/u_print.c 2010-01-14 19:54:14 +0000 |
81 |
-@@ -202,14 +202,22 @@ |
82 |
- char tmp_fig_file[PATH_MAX]; |
83 |
- char *outfile, *name, *real_lang; |
84 |
- char *suf; |
85 |
-+ int fd; |
86 |
- |
87 |
- /* if file exists, ask if ok */ |
88 |
- if (!ok_to_write(file, "EXPORT")) |
89 |
- return (1); |
90 |
- |
91 |
-- sprintf(tmp_fig_file, "%s/%s%06d", TMPDIR, "xfig-fig", getpid()); |
92 |
-+ snprintf(tmp_fig_file, sizeof(tmp_fig_file), "%s/xfig-fig.XXXXXX", TMPDIR); |
93 |
- /* write the fig objects to a temporary file */ |
94 |
- warnexist = False; |
95 |
-+ |
96 |
-+ if ((fd = mkstemp(tmp_fig_file)) == -1) { |
97 |
-+ file_msg("Can't open temp file %s: %s\n", tmp_fig_file, strerror(errno)); |
98 |
-+ return; |
99 |
-+ } |
100 |
-+ close(fd); |
101 |
-+ |
102 |
- init_write_tmpfile(); |
103 |
- if (write_file(tmp_fig_file, False)) { |
104 |
- end_write_tmpfile(); |
105 |
- |
106 |
|
107 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5b-network_images.patch b/media-gfx/xfig/files/xfig-3.2.5b-network_images.patch |
108 |
deleted file mode 100644 |
109 |
index 1f7be5ff99a..00000000000 |
110 |
--- a/media-gfx/xfig/files/xfig-3.2.5b-network_images.patch |
111 |
+++ /dev/null |
112 |
@@ -1,371 +0,0 @@ |
113 |
-#! /bin/sh /usr/share/dpatch/dpatch-run |
114 |
-## 12_network_images.dpatch by Roland Rosenfeld <roland@××××××.org> |
115 |
-## |
116 |
-## All lines beginning with `## DP:' are a description of the patch. |
117 |
-## DP: Some network icons colored and/or combined by Roland Rosenfeld. |
118 |
- |
119 |
-@DPATCH@ |
120 |
-diff -urNad xfig~/Libraries/Networks/Devices/firewall-pair.fig xfig/Libraries/Networks/Devices/firewall-pair.fig |
121 |
---- Libraries/Networks/Devices/firewall-pair.fig |
122 |
-+++ Libraries/Networks/Devices/firewall-pair.fig |
123 |
-@@ -0,0 +1,75 @@ |
124 |
-+#FIG 3.2 Produced by xfig version 3.2.5-alpha5 |
125 |
-+Portrait |
126 |
-+Center |
127 |
-+Inches |
128 |
-+A4 |
129 |
-+100.00 |
130 |
-+Single |
131 |
-+-2 |
132 |
-+# A pair of firewalls |
133 |
-+# Combined by Roland Rosenfeld |
134 |
-+1200 2 |
135 |
-+0 32 #aeaaae |
136 |
-+# A pair of firewalls |
137 |
-+6 3375 2175 4050 3075 |
138 |
-+6 3600 2250 4050 3075 |
139 |
-+# Firewall |
140 |
-+# (from TomiOllila <Tomi.Ollila@×××.net> ) |
141 |
-+6 3600 2250 4050 3075 |
142 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 |
143 |
-+ 3825 3075 3825 2475 |
144 |
-+2 1 0 1 0 20 2 0 20 0.000 0 0 -1 0 0 5 |
145 |
-+ 3675 2475 3675 3075 3825 3075 3975 2925 3975 2400 |
146 |
-+2 1 0 1 0 32 1 0 20 0.000 0 0 -1 0 0 7 |
147 |
-+ 3600 2400 3600 2475 3900 2475 4050 2325 4050 2250 3750 2250 |
148 |
-+ 3600 2400 |
149 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 |
150 |
-+ 3900 2475 3900 2400 3600 2400 |
151 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 |
152 |
-+ 3900 2400 4050 2250 |
153 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 |
154 |
-+ 3675 2625 3825 2625 3975 2475 |
155 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 |
156 |
-+ 3675 2775 3825 2775 3975 2625 |
157 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3 |
158 |
-+ 3675 2925 3825 2925 3975 2775 |
159 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 |
160 |
-+ 3900 3000 3900 2850 |
161 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 |
162 |
-+ 3900 2700 3900 2550 |
163 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 |
164 |
-+ 3750 2475 3750 2625 |
165 |
-+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2 |
166 |
-+ 3750 2775 3750 2925 |
167 |
-+-6 |
168 |
-+-6 |
169 |
-+6 3375 2175 3825 3000 |
170 |
-+6 3450 2175 3825 3000 |
171 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 |
172 |
-+ 3600 3000 3600 2400 |
173 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 |
174 |
-+ 3675 2325 3825 2175 |
175 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3 |
176 |
-+ 3450 2550 3600 2550 3750 2400 |
177 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3 |
178 |
-+ 3450 2700 3600 2700 3750 2550 |
179 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3 |
180 |
-+ 3450 2850 3600 2850 3750 2700 |
181 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 |
182 |
-+ 3675 2925 3675 2775 |
183 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 |
184 |
-+ 3675 2625 3675 2475 |
185 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 |
186 |
-+ 3525 2400 3525 2550 |
187 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2 |
188 |
-+ 3525 2700 3525 2850 |
189 |
-+-6 |
190 |
-+2 1 0 1 0 20 22 0 20 0.000 0 0 -1 0 0 5 |
191 |
-+ 3450 2400 3450 3000 3600 3000 3750 2850 3750 2325 |
192 |
-+2 1 0 1 0 32 21 0 20 0.000 0 0 -1 0 0 7 |
193 |
-+ 3375 2325 3375 2400 3675 2400 3825 2250 3825 2175 3525 2175 |
194 |
-+ 3375 2325 |
195 |
-+2 1 0 1 0 7 20 0 -1 0.000 0 0 -1 0 0 3 |
196 |
-+ 3675 2400 3675 2325 3375 2325 |
197 |
-+-6 |
198 |
-+-6 |
199 |
-diff -urNad xfig~/Libraries/Networks/Devices/internet.fig xfig/Libraries/Networks/Devices/internet.fig |
200 |
---- Libraries/Networks/Devices/internet.fig |
201 |
-+++ Libraries/Networks/Devices/internet.fig |
202 |
-@@ -0,0 +1,39 @@ |
203 |
-+#FIG 3.2 Produced by xfig version 3.2.5-alpha5 |
204 |
-+Portrait |
205 |
-+Center |
206 |
-+Inches |
207 |
-+A4 |
208 |
-+100.00 |
209 |
-+Single |
210 |
-+-2 |
211 |
-+# Internet cloud |
212 |
-+# By Roland Rosenfeld |
213 |
-+1200 2 |
214 |
-+# An Internet cloud |
215 |
-+6 4275 5700 7200 7650 |
216 |
-+2 1 0 0 7 7 970 0 20 4.000 0 0 0 0 0 65 |
217 |
-+ 4719 7111 4633 7121 4548 7105 4469 7057 4394 6983 4346 6888 |
218 |
-+ 4309 6776 4298 6654 4309 6526 4346 6415 4394 6325 4469 6244 |
219 |
-+ 4548 6197 4633 6181 4719 6197 4798 6048 4893 5915 4994 5825 |
220 |
-+ 5122 5746 5244 5719 5377 5719 5505 5746 5627 5825 5733 5915 |
221 |
-+ 5850 5825 5961 5746 6094 5719 6222 5719 6355 5746 6472 5825 |
222 |
-+ 6583 5915 6668 6048 6748 6197 6833 6181 6918 6197 7003 6244 |
223 |
-+ 7072 6325 7130 6415 7157 6526 7168 6654 7157 6776 7130 6888 |
224 |
-+ 7072 6983 7003 7057 6918 7105 6833 7121 6748 7111 6668 7265 |
225 |
-+ 6583 7387 6472 7488 6355 7557 6222 7594 6094 7594 5961 7557 |
226 |
-+ 5850 7488 5733 7387 5627 7488 5505 7557 5377 7594 5244 7594 |
227 |
-+ 5122 7557 4994 7488 4893 7387 4798 7265 4719 7111 |
228 |
-+2 1 0 2 1 0 969 0 -1 0.000 0 0 0 0 0 65 |
229 |
-+ 4719 7111 4633 7121 4548 7105 4469 7057 4394 6983 4346 6888 |
230 |
-+ 4309 6776 4298 6654 4309 6526 4346 6415 4394 6325 4469 6244 |
231 |
-+ 4548 6197 4633 6181 4719 6197 4798 6048 4893 5915 4994 5825 |
232 |
-+ 5122 5746 5244 5719 5377 5719 5505 5746 5627 5825 5733 5915 |
233 |
-+ 5850 5825 5961 5746 6094 5719 6222 5719 6355 5746 6472 5825 |
234 |
-+ 6583 5915 6668 6048 6748 6197 6833 6181 6918 6197 7003 6244 |
235 |
-+ 7072 6325 7130 6415 7157 6526 7168 6654 7157 6776 7130 6888 |
236 |
-+ 7072 6983 7003 7057 6918 7105 6833 7121 6748 7111 6668 7265 |
237 |
-+ 6583 7387 6472 7488 6355 7557 6222 7594 6094 7594 5961 7557 |
238 |
-+ 5850 7488 5733 7387 5627 7488 5505 7557 5377 7594 5244 7594 |
239 |
-+ 5122 7557 4994 7488 4893 7387 4798 7265 4719 7111 |
240 |
-+4 0 0 100 0 18 33 0.0000 4 405 2040 4744 6853 Internet\001 |
241 |
-+-6 |
242 |
-diff -urNad xfig~/Libraries/Networks/Routers/router-pair.fig xfig/Libraries/Networks/Routers/router-pair.fig |
243 |
---- Libraries/Networks/Routers/router-pair.fig |
244 |
-+++ Libraries/Networks/Routers/router-pair.fig |
245 |
-@@ -0,0 +1,78 @@ |
246 |
-+#FIG 3.2 Produced by xfig version 3.2.5-alpha5 |
247 |
-+Portrait |
248 |
-+Center |
249 |
-+Inches |
250 |
-+A4 |
251 |
-+100.00 |
252 |
-+Single |
253 |
-+-2 |
254 |
-+# A pair of routers |
255 |
-+# Colored and combined by Roland Rosenfeld |
256 |
-+1200 2 |
257 |
-+# A pair of routers |
258 |
-+6 3150 3300 4275 3975 |
259 |
-+6 3346 3450 4269 3975 |
260 |
-+6 3844 3615 4173 3718 |
261 |
-+# polyline |
262 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
263 |
-+ 3879 3701 3854 3647 3976 3624 3955 3642 4159 3676 4111 3713 |
264 |
-+ 3908 3676 3879 3701 |
265 |
-+-6 |
266 |
-+6 3617 3636 3803 3759 |
267 |
-+# polyline |
268 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
269 |
-+ 3764 3731 3638 3754 3634 3694 3671 3703 3738 3646 3800 3657 |
270 |
-+ 3727 3719 3764 3731 |
271 |
-+-6 |
272 |
-+6 3803 3470 3988 3594 |
273 |
-+# polyline |
274 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 7 0 0 8 |
275 |
-+ 3837 3518 3982 3481 3983 3541 3947 3535 3876 3591 3809 3581 |
276 |
-+ 3882 3526 3837 3518 |
277 |
-+-6 |
278 |
-+1 2 0 1 0 15 51 0 20 0.000 1 0.0000 3807 3619 457 169 3349 3619 4264 3619 |
279 |
-+1 2 0 1 0 15 53 0 20 0.000 1 0.0000 3803 3806 457 169 3346 3806 4261 3806 |
280 |
-+# polyline |
281 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
282 |
-+ 3705 3557 3738 3608 3609 3637 3638 3615 3439 3581 3488 3545 |
283 |
-+ 3681 3576 3705 3557 |
284 |
-+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 |
285 |
-+ 3350 3613 3347 3812 |
286 |
-+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 |
287 |
-+ 4263 3626 4263 3815 |
288 |
-+2 2 0 0 0 15 52 -1 20 0.000 0 0 -1 0 0 5 |
289 |
-+ 3349 3626 4269 3626 4269 3800 3349 3800 3349 3626 |
290 |
-+-6 |
291 |
-+6 3150 3300 4125 3825 |
292 |
-+6 3600 3450 3975 3600 |
293 |
-+# polyline |
294 |
-+2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8 |
295 |
-+ 3683 3551 3658 3497 3780 3474 3759 3492 3963 3526 3915 3563 |
296 |
-+ 3712 3526 3683 3551 |
297 |
-+-6 |
298 |
-+6 3600 3300 3825 3450 |
299 |
-+# polyline |
300 |
-+2 1 0 1 0 7 60 0 20 0.000 0 0 7 0 0 8 |
301 |
-+ 3641 3368 3786 3331 3787 3391 3751 3385 3680 3441 3613 3431 |
302 |
-+ 3686 3376 3641 3368 |
303 |
-+-6 |
304 |
-+6 3375 3450 3675 3675 |
305 |
-+# polyline |
306 |
-+2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8 |
307 |
-+ 3568 3581 3442 3604 3438 3544 3475 3553 3542 3496 3604 3507 |
308 |
-+ 3531 3569 3568 3581 |
309 |
-+-6 |
310 |
-+1 2 0 1 0 15 61 0 20 0.000 1 0.0000 3611 3469 457 169 3153 3469 4068 3469 |
311 |
-+1 2 0 1 0 15 63 0 20 0.000 1 0.0000 3607 3656 457 169 3150 3656 4065 3656 |
312 |
-+2 1 0 1 0 7 60 -1 -1 0.000 0 0 -1 0 0 2 |
313 |
-+ 4067 3476 4067 3665 |
314 |
-+# polyline |
315 |
-+2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8 |
316 |
-+ 3509 3407 3542 3458 3413 3487 3442 3465 3243 3431 3292 3395 |
317 |
-+ 3485 3426 3509 3407 |
318 |
-+2 1 0 1 0 7 60 -1 -1 0.000 0 0 -1 0 0 2 |
319 |
-+ 3154 3463 3151 3662 |
320 |
-+2 2 0 0 0 15 62 -1 20 0.000 0 0 -1 0 0 5 |
321 |
-+ 3153 3476 4073 3476 4073 3650 3153 3650 3153 3476 |
322 |
-+-6 |
323 |
-+-6 |
324 |
-diff -urNad xfig~/Libraries/Networks/Routers/router4.fig xfig/Libraries/Networks/Routers/router4.fig |
325 |
---- Libraries/Networks/Routers/router4.fig |
326 |
-+++ Libraries/Networks/Routers/router4.fig |
327 |
-@@ -0,0 +1,44 @@ |
328 |
-+#FIG 3.2 Produced by xfig version 3.2.5-alpha5 |
329 |
-+Portrait |
330 |
-+Center |
331 |
-+Metric |
332 |
-+A4 |
333 |
-+100.00 |
334 |
-+Single |
335 |
-+-2 |
336 |
-+# Router |
337 |
-+# Colored by Roland Rosenfeld |
338 |
-+1200 2 |
339 |
-+# Router |
340 |
-+6 3870 4455 5940 5625 |
341 |
-+6 4995 4815 5715 5040 |
342 |
-+# polyline |
343 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
344 |
-+ 5072 5002 5018 4886 5284 4834 5238 4873 5683 4948 5578 5030 |
345 |
-+ 5136 4948 5072 5002 |
346 |
-+-6 |
347 |
-+6 4500 4860 4905 5130 |
348 |
-+# polyline |
349 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
350 |
-+ 4822 5067 4545 5117 4537 4989 4618 5007 4766 4883 4900 4905 |
351 |
-+ 4741 5041 4822 5067 |
352 |
-+-6 |
353 |
-+6 4905 4500 5310 4770 |
354 |
-+# polyline |
355 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 7 0 0 8 |
356 |
-+ 4981 4603 5296 4523 5300 4653 5222 4640 5066 4762 4919 4741 |
357 |
-+ 5079 4622 4981 4603 |
358 |
-+-6 |
359 |
-+1 2 0 1 0 15 51 0 20 0.000 1 0.0000 4914 4824 999 369 3915 4824 5913 4824 |
360 |
-+1 2 0 1 0 15 53 0 20 0.000 1 0.0000 4908 5231 999 369 3909 5231 5907 5231 |
361 |
-+# polyline |
362 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
363 |
-+ 4693 4690 4766 4800 4483 4863 4545 4814 4111 4740 4219 4661 |
364 |
-+ 4640 4731 4693 4690 |
365 |
-+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 |
366 |
-+ 3917 4811 3910 5244 |
367 |
-+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 |
368 |
-+ 5910 4838 5910 5251 |
369 |
-+2 2 0 0 0 15 52 -1 20 0.000 0 0 -1 0 0 5 |
370 |
-+ 3915 4838 5924 4838 5924 5218 3915 5218 3915 4838 |
371 |
-+-6 |
372 |
-diff -urNad xfig~/Libraries/Networks/Switches/switch-pair.fig xfig/Libraries/Networks/Switches/switch-pair.fig |
373 |
---- Libraries/Networks/Switches/switch-pair.fig |
374 |
-+++ Libraries/Networks/Switches/switch-pair.fig |
375 |
-@@ -0,0 +1,66 @@ |
376 |
-+#FIG 3.2 Produced by xfig version 3.2.5-alpha5 |
377 |
-+Portrait |
378 |
-+Center |
379 |
-+Inches |
380 |
-+A4 |
381 |
-+100.00 |
382 |
-+Single |
383 |
-+-2 |
384 |
-+# A pair of switches |
385 |
-+# Colored and combined by Roland Rosenfeld |
386 |
-+1200 2 |
387 |
-+# A pair of switches |
388 |
-+6 2550 2625 4725 3750 |
389 |
-+6 2625 2850 4725 3750 |
390 |
-+6 3000 2850 4425 3300 |
391 |
-+# polyline |
392 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
393 |
-+ 3603 3180 3581 3210 3194 3210 3161 3240 3028 3195 3268 3126 |
394 |
-+ 3214 3184 3608 3184 |
395 |
-+# polyline |
396 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
397 |
-+ 3651 3128 3673 3098 4060 3098 4093 3068 4226 3113 3986 3182 |
398 |
-+ 4040 3124 3646 3124 |
399 |
-+# polyline |
400 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
401 |
-+ 3760 3008 3738 3038 3351 3038 3318 3068 3185 3023 3425 2954 |
402 |
-+ 3371 3012 3765 3012 |
403 |
-+# polyline |
404 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
405 |
-+ 3827 2963 3849 2933 4236 2933 4269 2903 4402 2948 4162 3017 |
406 |
-+ 4216 2959 3822 2959 |
407 |
-+-6 |
408 |
-+2 1 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 4 |
409 |
-+ 4125 3300 4725 2850 4725 3300 4125 3750 |
410 |
-+2 2 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 5 |
411 |
-+ 2625 3300 4125 3300 4125 3750 2625 3750 2625 3300 |
412 |
-+2 3 0 1 0 15 51 -1 20 0.000 0 0 -1 0 0 5 |
413 |
-+ 2625 3300 3225 2850 4725 2850 4125 3300 2625 3300 |
414 |
-+-6 |
415 |
-+6 2550 2625 4650 3525 |
416 |
-+6 2925 2625 4350 3075 |
417 |
-+# polyline |
418 |
-+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 |
419 |
-+ 3528 2955 3506 2985 3119 2985 3086 3015 2953 2970 3193 2901 |
420 |
-+ 3139 2959 3533 2959 |
421 |
-+# polyline |
422 |
-+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 |
423 |
-+ 3576 2903 3598 2873 3985 2873 4018 2843 4151 2888 3911 2957 |
424 |
-+ 3965 2899 3571 2899 |
425 |
-+# polyline |
426 |
-+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 |
427 |
-+ 3685 2783 3663 2813 3276 2813 3243 2843 3110 2798 3350 2729 |
428 |
-+ 3296 2787 3690 2787 |
429 |
-+# polyline |
430 |
-+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8 |
431 |
-+ 3752 2738 3774 2708 4161 2708 4194 2678 4327 2723 4087 2792 |
432 |
-+ 4141 2734 3747 2734 |
433 |
-+-6 |
434 |
-+2 1 0 1 0 15 62 0 20 0.000 0 0 -1 0 0 4 |
435 |
-+ 4050 3075 4650 2625 4650 3075 4050 3525 |
436 |
-+2 2 0 1 0 15 62 0 20 0.000 0 0 -1 0 0 5 |
437 |
-+ 2550 3075 4050 3075 4050 3525 2550 3525 2550 3075 |
438 |
-+2 3 0 1 0 15 62 -1 20 0.000 0 0 -1 0 0 5 |
439 |
-+ 2550 3075 3150 2625 4650 2625 4050 3075 2550 3075 |
440 |
-+-6 |
441 |
-+-6 |
442 |
-diff -urNad xfig~/Libraries/Networks/Switches/switch2.fig xfig/Libraries/Networks/Switches/switch2.fig |
443 |
---- Libraries/Networks/Switches/switch2.fig |
444 |
-+++ Libraries/Networks/Switches/switch2.fig |
445 |
-@@ -0,0 +1,38 @@ |
446 |
-+#FIG 3.2 Produced by xfig version 3.2.5-alpha5 |
447 |
-+Portrait |
448 |
-+Center |
449 |
-+Inches |
450 |
-+A4 |
451 |
-+100.00 |
452 |
-+Single |
453 |
-+-2 |
454 |
-+# Switch |
455 |
-+# colored by Roland Rosenfeld |
456 |
-+1200 2 |
457 |
-+# Switch |
458 |
-+6 2625 2850 4725 3750 |
459 |
-+6 3000 2850 4425 3300 |
460 |
-+# polyline |
461 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
462 |
-+ 3603 3180 3581 3210 3194 3210 3161 3240 3028 3195 3268 3126 |
463 |
-+ 3214 3184 3608 3184 |
464 |
-+# polyline |
465 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
466 |
-+ 3651 3128 3673 3098 4060 3098 4093 3068 4226 3113 3986 3182 |
467 |
-+ 4040 3124 3646 3124 |
468 |
-+# polyline |
469 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
470 |
-+ 3760 3008 3738 3038 3351 3038 3318 3068 3185 3023 3425 2954 |
471 |
-+ 3371 3012 3765 3012 |
472 |
-+# polyline |
473 |
-+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8 |
474 |
-+ 3827 2963 3849 2933 4236 2933 4269 2903 4402 2948 4162 3017 |
475 |
-+ 4216 2959 3822 2959 |
476 |
-+-6 |
477 |
-+2 1 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 4 |
478 |
-+ 4125 3300 4725 2850 4725 3300 4125 3750 |
479 |
-+2 2 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 5 |
480 |
-+ 2625 3300 4125 3300 4125 3750 2625 3750 2625 3300 |
481 |
-+2 3 0 1 0 15 51 -1 20 0.000 0 0 -1 0 0 5 |
482 |
-+ 2625 3300 3225 2850 4725 2850 4125 3300 2625 3300 |
483 |
-+-6 |
484 |
|
485 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5b-papersize_b1.patch b/media-gfx/xfig/files/xfig-3.2.5b-papersize_b1.patch |
486 |
deleted file mode 100644 |
487 |
index fa0bdf0a3c0..00000000000 |
488 |
--- a/media-gfx/xfig/files/xfig-3.2.5b-papersize_b1.patch |
489 |
+++ /dev/null |
490 |
@@ -1,27 +0,0 @@ |
491 |
-#! /bin/sh /usr/share/dpatch/dpatch-run |
492 |
-## 32_papersize_b1.dpatch by Roland Rosenfeld <roland@××××××.org> |
493 |
-## |
494 |
-## All lines beginning with `## DP:' are a description of the patch. |
495 |
-## DP: xfig -papersize b1 now really uses B1 instead of B10 |
496 |
-## DP: Closes: #535181 |
497 |
- |
498 |
-@DPATCH@ |
499 |
-diff -urNad xfig~/resources.c xfig/resources.c |
500 |
---- xfig~/resources.c |
501 |
-+++ xfig/resources.c |
502 |
-@@ -228,7 +228,6 @@ |
503 |
- {"A2 ", "ISO A2 ( 420mm x 594mm)", 19843, 28063}, |
504 |
- {"A1 ", "ISO A1 ( 594mm x 841mm)", 28063, 39732}, |
505 |
- {"A0 ", "ISO A0 ( 841mm x 1189mm)", 39732, 56173}, |
506 |
-- {"B10 ", "JIS B10 ( 32mm x 45mm)", 1516, 2117}, |
507 |
- {"B9 ", "JIS B9 ( 45mm x 64mm)", 2117, 3017}, |
508 |
- {"B8 ", "JIS B8 ( 64mm x 91mm)", 3017, 4300}, |
509 |
- {"B7 ", "JIS B7 ( 91mm x 128mm)", 4300, 6050}, |
510 |
-@@ -239,6 +238,7 @@ |
511 |
- {"B2 ", "JIS B2 ( 515mm x 728mm)", 24333, 34400}, |
512 |
- {"B1 ", "JIS B1 ( 728mm x 1030mm)", 34400, 48666}, |
513 |
- {"B0 ", "JIS B0 (1030mm x 1456mm)", 48666, 68783}, |
514 |
-+ {"B10 ", "JIS B10 ( 32mm x 45mm)", 1516, 2117}, |
515 |
- }; |
516 |
- |
517 |
- char *multiple_pages[] = { |
518 |
|
519 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5b-pdfimport_mediabox.patch b/media-gfx/xfig/files/xfig-3.2.5b-pdfimport_mediabox.patch |
520 |
deleted file mode 100644 |
521 |
index 23de740f157..00000000000 |
522 |
--- a/media-gfx/xfig/files/xfig-3.2.5b-pdfimport_mediabox.patch |
523 |
+++ /dev/null |
524 |
@@ -1,37 +0,0 @@ |
525 |
-#! /bin/sh /usr/share/dpatch/dpatch-run |
526 |
-## 33_pdfimport_mediabox.dpatch by jsoula@×××××××××××.fr |
527 |
-## |
528 |
-## All lines beginning with `## DP:' are a description of the patch. |
529 |
-## DP: Fix reading "/MediaBox" when importing PDF (Closes: #530898). |
530 |
- |
531 |
-@DPATCH@ |
532 |
-diff -urNad xfig~/f_readeps.c xfig/f_readeps.c |
533 |
---- xfig~/f_readeps.c |
534 |
-+++ xfig/f_readeps.c |
535 |
-@@ -77,11 +77,13 @@ |
536 |
- |
537 |
- /* look for /MediaBox for pdf file */ |
538 |
- if (pdf_flag) { |
539 |
-- if (!strncmp(buf, "/MediaBox", 8)) { /* look for the MediaBox spec */ |
540 |
-+ char *s; |
541 |
-+ for(s=buf; (s=strchr(s,'/')); s++) { |
542 |
-+ if (!strncmp(s, "/MediaBox", 8)) { /* look for the MediaBox spec */ |
543 |
- char *c; |
544 |
- |
545 |
-- c = strchr(buf, '[') + 1; |
546 |
-- if (c && sscanf(c, "%d %d %d %d", &llx, &lly, &urx, &ury) < 4) { |
547 |
-+ c = strchr(s, '['); |
548 |
-+ if (c && sscanf(c+1, "%d %d %d %d", &llx, &lly, &urx, &ury) < 4) { |
549 |
- llx = lly = 0; |
550 |
- urx = paper_sizes[0].width * 72 / PIX_PER_INCH; |
551 |
- ury = paper_sizes[0].height * 72 / PIX_PER_INCH; |
552 |
-@@ -89,7 +91,9 @@ |
553 |
- appres.INCHES ? "Letter" : "A4"); |
554 |
- app_flush(); |
555 |
- } |
556 |
-+ break; |
557 |
- } |
558 |
-+ } |
559 |
- /* look for bounding box */ |
560 |
- } else if (!nested && !strncmp(buf, "%%BoundingBox:", 14)) { |
561 |
- if (!strstr(buf, "(atend)")) { /* make sure doesn't say (atend) */ |
562 |
|
563 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5b-solaris.patch b/media-gfx/xfig/files/xfig-3.2.5b-solaris.patch |
564 |
deleted file mode 100644 |
565 |
index 2e93a7faac2..00000000000 |
566 |
--- a/media-gfx/xfig/files/xfig-3.2.5b-solaris.patch |
567 |
+++ /dev/null |
568 |
@@ -1,26 +0,0 @@ |
569 |
-* workaround some missing things on Solaris |
570 |
- |
571 |
---- a/u_quartic.c |
572 |
-+++ b/u_quartic.c |
573 |
-@@ -21,4 +21,7 @@ |
574 |
- #include <math.h> |
575 |
- |
576 |
-+ #ifndef M_PI |
577 |
-+ # define M_PI 3.14159265358979323846 |
578 |
-+ #endif |
579 |
- |
580 |
- static int |
581 |
---- a/w_intersect.c |
582 |
-+++ b/w_intersect.c |
583 |
-@@ -31,6 +31,11 @@ |
584 |
- #define ISET_P1 (1 << 0) |
585 |
- #define ISET_P2 (1 << 1) |
586 |
- |
587 |
-+#if defined (__SVR4) && defined (__sun) |
588 |
-+#undef _Complex_I |
589 |
-+#define _Complex_I (__extension__ 1.0fi) |
590 |
-+#endif |
591 |
-+ |
592 |
- intersect_state_e intersect_state = INTERSECT_INITIAL; |
593 |
- |
594 |
- static INLINE Boolean |
595 |
|
596 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch b/media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch |
597 |
deleted file mode 100644 |
598 |
index 87ac63f838f..00000000000 |
599 |
--- a/media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch |
600 |
+++ /dev/null |
601 |
@@ -1,79 +0,0 @@ |
602 |
---- a/u_fonts.c 2002-09-09 13:36:58.000000000 -0400 |
603 |
-+++ b/u_fonts.c 2006-10-11 00:29:07.000000000 -0400 |
604 |
-@@ -22,41 +22,41 @@ |
605 |
- /* X11 font names */ |
606 |
- |
607 |
- struct _xfstruct x_fontinfo[NUM_FONTS] = { |
608 |
-- {"-*-times-medium-r-normal--", (struct xfont*) NULL}, |
609 |
-- {"-*-times-medium-i-normal--", (struct xfont*) NULL}, |
610 |
-- {"-*-times-bold-r-normal--", (struct xfont*) NULL}, |
611 |
-- {"-*-times-bold-i-normal--", (struct xfont*) NULL}, |
612 |
-- {"-*-avantgarde-book-r-normal--", (struct xfont*) NULL}, |
613 |
-- {"-*-avantgarde-book-o-normal--", (struct xfont*) NULL}, |
614 |
-- {"-*-avantgarde-demi-r-normal--", (struct xfont*) NULL}, |
615 |
-- {"-*-avantgarde-demi-o-normal--", (struct xfont*) NULL}, |
616 |
-- {"-*-bookman-light-r-normal--", (struct xfont*) NULL}, |
617 |
-- {"-*-bookman-light-i-normal--", (struct xfont*) NULL}, |
618 |
-- {"-*-bookman-demi-r-normal--", (struct xfont*) NULL}, |
619 |
-- {"-*-bookman-demi-i-normal--", (struct xfont*) NULL}, |
620 |
-- {"-*-courier-medium-r-normal--", (struct xfont*) NULL}, |
621 |
-- {"-*-courier-medium-o-normal--", (struct xfont*) NULL}, |
622 |
-- {"-*-courier-bold-r-normal--", (struct xfont*) NULL}, |
623 |
-- {"-*-courier-bold-o-normal--", (struct xfont*) NULL}, |
624 |
-- {"-*-helvetica-medium-r-normal--", (struct xfont*) NULL}, |
625 |
-- {"-*-helvetica-medium-o-normal--", (struct xfont*) NULL}, |
626 |
-- {"-*-helvetica-bold-r-normal--", (struct xfont*) NULL}, |
627 |
-- {"-*-helvetica-bold-o-normal--", (struct xfont*) NULL}, |
628 |
-- {"-*-helvetica-medium-r-narrow--", (struct xfont*) NULL}, |
629 |
-- {"-*-helvetica-medium-o-narrow--", (struct xfont*) NULL}, |
630 |
-- {"-*-helvetica-bold-r-narrow--", (struct xfont*) NULL}, |
631 |
-- {"-*-helvetica-bold-o-narrow--", (struct xfont*) NULL}, |
632 |
-- {"-*-new century schoolbook-medium-r-normal--", (struct xfont*) NULL}, |
633 |
-- {"-*-new century schoolbook-medium-i-normal--", (struct xfont*) NULL}, |
634 |
-- {"-*-new century schoolbook-bold-r-normal--", (struct xfont*) NULL}, |
635 |
-- {"-*-new century schoolbook-bold-i-normal--", (struct xfont*) NULL}, |
636 |
-- {"-*-palatino-medium-r-normal--", (struct xfont*) NULL}, |
637 |
-- {"-*-palatino-medium-i-normal--", (struct xfont*) NULL}, |
638 |
-- {"-*-palatino-bold-r-normal--", (struct xfont*) NULL}, |
639 |
-- {"-*-palatino-bold-i-normal--", (struct xfont*) NULL}, |
640 |
-- {"-*-symbol-medium-r-normal--", (struct xfont*) NULL}, |
641 |
-- {"-*-itc zapf chancery-medium-i-normal--", (struct xfont*) NULL}, |
642 |
-- {"-*-itc zapf dingbats-*-*-*--", (struct xfont*) NULL}, |
643 |
-+ {"-urw-nimbus roman no9 l-medium-r-normal--", (struct xfont*) NULL}, |
644 |
-+ {"-urw-nimbus roman no9 l-medium-i-normal--", (struct xfont*) NULL}, |
645 |
-+ {"-urw-nimbus roman no9 l-bold-r-normal--", (struct xfont*) NULL}, |
646 |
-+ {"-urw-nimbus roman no9 l-bold-i-normal--", (struct xfont*) NULL}, |
647 |
-+ {"-urw-urw gothic l-medium-r-normal--", (struct xfont*) NULL}, |
648 |
-+ {"-urw-urw gothic l-medium-o-normal--", (struct xfont*) NULL}, |
649 |
-+ {"-urw-urw gothic l-semibold-r-normal--", (struct xfont*) NULL}, |
650 |
-+ {"-urw-urw gothic l-semibold-o-normal--", (struct xfont*) NULL}, |
651 |
-+ {"-urw-urw bookman l-medium-r-normal--", (struct xfont*) NULL}, |
652 |
-+ {"-urw-urw bookman l-medium-i-normal--", (struct xfont*) NULL}, |
653 |
-+ {"-urw-urw bookman l-bold-r-normal--", (struct xfont*) NULL}, |
654 |
-+ {"-urw-urw bookman l-bold-i-normal--", (struct xfont*) NULL}, |
655 |
-+ {"-urw-nimbus mono l-medium-r-normal--", (struct xfont*) NULL}, |
656 |
-+ {"-urw-nimbus mono l-medium-o-normal--", (struct xfont*) NULL}, |
657 |
-+ {"-urw-nimbus mono l-bold-r-normal--", (struct xfont*) NULL}, |
658 |
-+ {"-urw-nimbus mono l-bold-o-normal--", (struct xfont*) NULL}, |
659 |
-+ {"-urw-nimbus sans l-medium-r-normal--", (struct xfont*) NULL}, |
660 |
-+ {"-urw-nimbus sans l-medium-i-normal--", (struct xfont*) NULL}, |
661 |
-+ {"-urw-nimbus sans l-bold-r-normal--", (struct xfont*) NULL}, |
662 |
-+ {"-urw-nimbus sans l-bold-i-normal--", (struct xfont*) NULL}, |
663 |
-+ {"-urw-nimbus sans l-medium-r-condensed--", (struct xfont*) NULL}, |
664 |
-+ {"-urw-nimbus sans l-medium-i-condensed--", (struct xfont*) NULL}, |
665 |
-+ {"-urw-nimbus sans l-bold-r-condensed--", (struct xfont*) NULL}, |
666 |
-+ {"-urw-nimbus sans l-bold-i-condensed--", (struct xfont*) NULL}, |
667 |
-+ {"-urw-century schoolbook l-medium-r-normal--", (struct xfont*) NULL}, |
668 |
-+ {"-urw-century schoolbook l-medium-i-normal--", (struct xfont*) NULL}, |
669 |
-+ {"-urw-century schoolbook l-bold-r-normal--", (struct xfont*) NULL}, |
670 |
-+ {"-urw-century schoolbook l-bold-i-normal--", (struct xfont*) NULL}, |
671 |
-+ {"-urw-urw palladio l-medium-r-normal--", (struct xfont*) NULL}, |
672 |
-+ {"-urw-urw palladio l-medium-i-normal--", (struct xfont*) NULL}, |
673 |
-+ {"-urw-urw palladio l-bold-r-normal--", (struct xfont*) NULL}, |
674 |
-+ {"-urw-urw palladio l-bold-i-normal--", (struct xfont*) NULL}, |
675 |
-+ {"-urw-standard symbols l-medium-r-normal--", (struct xfont*) NULL}, |
676 |
-+ {"-urw-urw chancery l-medium-i-normal--", (struct xfont*) NULL}, |
677 |
-+ {"-urw-dingbats-medium-r-normal--", (struct xfont*) NULL}, |
678 |
- }; |
679 |
- |
680 |
- /* Use the following font names for any font that doesn't exist in the table above. |
681 |
|
682 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5c-XAW3D1_5E_notlocal.patch b/media-gfx/xfig/files/xfig-3.2.5c-XAW3D1_5E_notlocal.patch |
683 |
deleted file mode 100644 |
684 |
index 8998b406467..00000000000 |
685 |
--- a/media-gfx/xfig/files/xfig-3.2.5c-XAW3D1_5E_notlocal.patch |
686 |
+++ /dev/null |
687 |
@@ -1,70 +0,0 @@ |
688 |
-From be8cf541743060921f629d5bfe990d985ecf1813 Mon Sep 17 00:00:00 2001 |
689 |
-From: Vladislav Zavjalov <slazav@××××××××.org> |
690 |
-Origin: http://git.altlinux.org/people/slazav/packages/?p=xfig.git;a=patch;h=be8cf541743060921f629d5bfe990d985ecf1813 |
691 |
-Date: Wed, 29 May 2013 02:18:13 +0400 |
692 |
-Subject: [PATCH] Don't use local SimpleMenu.c with XAW3D1_5E |
693 |
-Bug-Debian: http://bugs.debian.org/296703 |
694 |
- |
695 |
---- |
696 |
- xfig/SmeCascade.h | 5 +++++ |
697 |
- xfig/SmeCascadeP.h | 5 +++++ |
698 |
- xfig/w_menuentry.h | 4 ++++ |
699 |
- xfig/w_util.c | 2 ++ |
700 |
- 4 files changed, 16 insertions(+), 0 deletions(-) |
701 |
- |
702 |
---- a/SmeCascade.h |
703 |
-+++ b/SmeCascade.h |
704 |
-@@ -27,7 +27,12 @@ |
705 |
- #else |
706 |
- #include <X11/Xaw/Sme.h> |
707 |
- #endif |
708 |
-+ |
709 |
-+#ifdef XAW3D1_5E |
710 |
-+#include <X11/Xaw3d/SmeBSB.h> |
711 |
-+#else |
712 |
- #include "SmeBSB.h" |
713 |
-+#endif |
714 |
- |
715 |
- /**************************************************************** |
716 |
- * |
717 |
---- a/SmeCascadeP.h |
718 |
-+++ b/SmeCascadeP.h |
719 |
-@@ -32,8 +32,12 @@ |
720 |
- #include <X11/Xaw/SmeP.h> |
721 |
- #endif |
722 |
- |
723 |
-+#ifdef XAW3D1_5E |
724 |
-+#include <X11/Xaw3d/SmeBSBP.h> |
725 |
-+#else |
726 |
- #include "SmeBSBP.h" |
727 |
- #include "SmeCascade.h" |
728 |
-+#endif |
729 |
- |
730 |
- /************************************************************ |
731 |
- * |
732 |
---- a/w_menuentry.h |
733 |
-+++ b/w_menuentry.h |
734 |
-@@ -30,7 +30,11 @@ |
735 |
- #include <X11/Xaw/Sme.h> |
736 |
- #endif |
737 |
- |
738 |
-+#ifdef XAW3D1_5E |
739 |
-+#include <X11/Xaw3d/SmeBSB.h> |
740 |
-+#else |
741 |
- #include "SmeBSB.h" |
742 |
-+#endif |
743 |
- |
744 |
- /**************************************************************** |
745 |
- * |
746 |
---- a/w_util.c |
747 |
-+++ b/w_util.c |
748 |
-@@ -351,7 +351,9 @@ |
749 |
- * (use -1 if no line desired) |
750 |
- */ |
751 |
- |
752 |
-+#ifndef XAW3D1_5E |
753 |
- #include "SmeCascade.h" |
754 |
-+#endif /* XAW3D1_5E */ |
755 |
- |
756 |
- #include "d_text.h" |
757 |
- #include "e_placelib.h" |
758 |
|
759 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5c-crash-on-exit.patch b/media-gfx/xfig/files/xfig-3.2.5c-crash-on-exit.patch |
760 |
deleted file mode 100644 |
761 |
index 80d20281ae9..00000000000 |
762 |
--- a/media-gfx/xfig/files/xfig-3.2.5c-crash-on-exit.patch |
763 |
+++ /dev/null |
764 |
@@ -1,19 +0,0 @@ |
765 |
-commit 56f0caaae3cc3fdbf6eaa21fc419c951c53a156d |
766 |
-Author: Peter Volkov <peter.volkov@×××××.com> |
767 |
-Date: Mon Jun 9 12:36:12 2014 +0400 |
768 |
- |
769 |
- Fix crash on exit (regression of xfig.3.2.5c) |
770 |
- |
771 |
-diff --git a/u_free.c b/u_free.c |
772 |
-index 18d517a..4a5080f 100755 |
773 |
---- a/u_free.c |
774 |
-+++ b/u_free.c |
775 |
-@@ -270,8 +270,6 @@ void free_Fonts(void) |
776 |
- XUnloadFont(tool_d, nf->fid); |
777 |
- if (nf->fstruct != NULL) |
778 |
- XFreeFont(tool_d, nf->fstruct); |
779 |
-- if (nf->fset != NULL) |
780 |
-- XFreeFontSet(tool_d, nf->fset); |
781 |
- nf = nf->next; |
782 |
- } |
783 |
- } |
784 |
|
785 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5c-darwin.patch b/media-gfx/xfig/files/xfig-3.2.5c-darwin.patch |
786 |
deleted file mode 100644 |
787 |
index 5d64c2a4deb..00000000000 |
788 |
--- a/media-gfx/xfig/files/xfig-3.2.5c-darwin.patch |
789 |
+++ /dev/null |
790 |
@@ -1,26 +0,0 @@ |
791 |
-diff --git a/fig.h b/fig.h |
792 |
-index ca00aef..a3605b0 100644 |
793 |
---- a/fig.h |
794 |
-+++ b/fig.h |
795 |
-@@ -375,7 +375,7 @@ extern double drand48(); |
796 |
- extern long random(); |
797 |
- extern void srandom(unsigned int); |
798 |
- |
799 |
--#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__GLIBC__) |
800 |
-+#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__DARWIN__) && !defined(__GLIBC__) |
801 |
- extern void srandom(int); |
802 |
- |
803 |
- #endif |
804 |
-diff --git a/w_keyboard.c b/w_keyboard.c |
805 |
-index 427d60c..03a3f76 100644 |
806 |
---- a/w_keyboard.c |
807 |
-+++ b/w_keyboard.c |
808 |
-@@ -41,7 +41,7 @@ |
809 |
- #define REG_NOERROR 0 |
810 |
- #endif |
811 |
- |
812 |
--#if defined(__FreeBSD__) && !defined(REG_NOERROR) |
813 |
-+#if (defined(__FreeBSD__) || defined(__DARWIN__)) && !defined(REG_NOERROR) |
814 |
- #define REG_NOERROR 0 |
815 |
- #endif |
816 |
- |
817 |
|
818 |
diff --git a/media-gfx/xfig/files/xfig-3.2.5c-spelling.patch b/media-gfx/xfig/files/xfig-3.2.5c-spelling.patch |
819 |
deleted file mode 100644 |
820 |
index 4af77e0e9b0..00000000000 |
821 |
--- a/media-gfx/xfig/files/xfig-3.2.5c-spelling.patch |
822 |
+++ /dev/null |
823 |
@@ -1,17 +0,0 @@ |
824 |
-#! /bin/sh /usr/share/dpatch/dpatch-run |
825 |
-## 31_spelling.dpatch by Roland Rosenfeld <roland@××××××.org> |
826 |
-## |
827 |
-## All lines beginning with `## DP:' are a description of the patch. |
828 |
-## DP: Fix spelling errors in binary. |
829 |
- |
830 |
-@DPATCH@ |
831 |
-diff -urNad xfig~/f_load.c xfig/f_load.c |
832 |
---- xfig~/f_load.c |
833 |
-+++ xfig/f_load.c |
834 |
-@@ -373,5 +373,5 @@ |
835 |
- /* Format error; relevant error message is already delivered */ |
836 |
- ; |
837 |
- else |
838 |
-- file_msg("File \"%s\" is not accessable; %s.", file, strerror(err)); |
839 |
-+ file_msg("File \"%s\" is not accessible; %s.", file, strerror(err)); |
840 |
- } |
841 |
|
842 |
diff --git a/media-gfx/xfig/xfig-3.2.5c.ebuild b/media-gfx/xfig/xfig-3.2.5c.ebuild |
843 |
deleted file mode 100644 |
844 |
index 98f535d1daf..00000000000 |
845 |
--- a/media-gfx/xfig/xfig-3.2.5c.ebuild |
846 |
+++ /dev/null |
847 |
@@ -1,109 +0,0 @@ |
848 |
-# Copyright 1999-2014 Gentoo Foundation |
849 |
-# Distributed under the terms of the GNU General Public License v2 |
850 |
- |
851 |
-EAPI=5 |
852 |
- |
853 |
-inherit eutils multilib |
854 |
- |
855 |
-MY_P=${PN}.${PV} |
856 |
- |
857 |
-DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window" |
858 |
-HOMEPAGE="http://www.xfig.org" |
859 |
-SRC_URI="mirror://sourceforge/mcj/${MY_P}.full.tar.gz" |
860 |
- |
861 |
-LICENSE="BSD" |
862 |
-SLOT="0" |
863 |
-KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
864 |
-IUSE="nls" |
865 |
- |
866 |
-RDEPEND="x11-libs/libXaw |
867 |
- x11-libs/libXp |
868 |
- x11-libs/libXaw3d |
869 |
- nls? ( x11-libs/libXaw3d[unicode] ) |
870 |
- x11-libs/libXi |
871 |
- x11-libs/libXt |
872 |
- virtual/jpeg |
873 |
- media-libs/libpng |
874 |
- media-fonts/font-misc-misc |
875 |
- media-fonts/urw-fonts |
876 |
- >=media-gfx/transfig-3.2.5-r1 |
877 |
- media-libs/netpbm" |
878 |
-DEPEND="${RDEPEND} |
879 |
- x11-misc/imake |
880 |
- x11-proto/xproto |
881 |
- x11-proto/inputproto" |
882 |
- |
883 |
-S=${WORKDIR}/${MY_P} |
884 |
- |
885 |
-sed_Imakefile() { |
886 |
- # see Imakefile for details |
887 |
- vars2subs=( BINDIR="${EPREFIX}"/usr/bin |
888 |
- PNGINC=-I"${EPREFIX}"/usr/include |
889 |
- JPEGLIBDIR="${EPREFIX}"/usr/$(get_libdir) |
890 |
- JPEGINC=-I"${EPREFIX}"/usr/include |
891 |
- XPMLIBDIR="${EPREFIX}"/usr/$(get_libdir) |
892 |
- XPMINC=-I"${EPREFIX}"/usr/include/X11 |
893 |
- USEINLINE=-DUSE_INLINE |
894 |
- XFIGLIBDIR="${EPREFIX}"/usr/share/xfig |
895 |
- XFIGDOCDIR="${EPREFIX}/usr/share/doc/${PF}" |
896 |
- MANDIR="${EPREFIX}/usr/share/man/man\$\(MANSUFFIX\)" |
897 |
- "CC=$(tc-getCC)" ) |
898 |
- |
899 |
- for variable in "${vars2subs[@]}" ; do |
900 |
- varname=${variable%%=*} |
901 |
- varval=${variable##*=} |
902 |
- sed -i \ |
903 |
- -e "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" \ |
904 |
- "$@" || die |
905 |
- done |
906 |
- if use nls; then |
907 |
- # XAW_INTERNATIONALIZATION fixes #405475 (comment 17) and #426780 by Markus Peloquin |
908 |
- sed -i \ |
909 |
- -e "s:^\(XCOMM\)*[[:space:]]*\(#define I18N\).*$:\2:" \ |
910 |
- -e "s:^\(XCOMM\)*[[:space:]]*\(XAW_INTERN = -DXAW_INTERNATIONALIZATION\).*$:\2:" \ |
911 |
- "$@" || die |
912 |
- fi |
913 |
- sed -i -e "s:^\(XCOMM\)*[[:space:]]*\(#define XAW3D1_5E\).*$:\2:" "$@" || die |
914 |
-} |
915 |
- |
916 |
-src_prepare() { |
917 |
- # Permissions are really crazy here |
918 |
- chmod -R go+rX . || die |
919 |
- find . -type f -exec chmod a-x '{}' \; || die |
920 |
- epatch "${FILESDIR}/${PN}-3.2.5c-spelling.patch" |
921 |
- epatch "${FILESDIR}/${PN}-3.2.5b-papersize_b1.patch" |
922 |
- epatch "${FILESDIR}/${PN}-3.2.5b-pdfimport_mediabox.patch" |
923 |
- epatch "${FILESDIR}/${PN}-3.2.5b-network_images.patch" |
924 |
- epatch "${FILESDIR}/${PN}-3.2.5b-app-defaults.patch" |
925 |
- epatch "${FILESDIR}/${PN}-3.2.5b-urwfonts.patch" |
926 |
- epatch "${FILESDIR}/${PN}-3.2.5b-mkstemp.patch" #264575 |
927 |
- epatch "${FILESDIR}/${PN}-3.2.5c-darwin.patch" |
928 |
- epatch "${FILESDIR}/${PN}-3.2.5b-solaris.patch" |
929 |
- epatch "${FILESDIR}/${PN}-3.2.5c-XAW3D1_5E_notlocal.patch" |
930 |
- epatch "${FILESDIR}/${PN}-3.2.5c-crash-on-exit.patch" |
931 |
- |
932 |
- sed_Imakefile Imakefile |
933 |
- sed -e "s:/usr/lib/X11/xfig:${EPREFIX}/usr/share/doc/${PF}:" \ |
934 |
- -i Doc/xfig.man || die |
935 |
-} |
936 |
- |
937 |
-src_compile() { |
938 |
- local EXTCFLAGS=${CFLAGS} |
939 |
- xmkmf || die |
940 |
- [[ ${CHOST} == *-solaris* ]] && EXTCFLAGS="${EXTCFLAGS} -D_POSIX_SOURCE" |
941 |
- emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${EXTCFLAGS}" \ |
942 |
- USRLIBDIR="${EPREFIX}"/usr/$(get_libdir) |
943 |
-} |
944 |
- |
945 |
-src_install() { |
946 |
- emake -j1 DESTDIR="${D}" install install.libs install.man |
947 |
- |
948 |
- dodoc README FIGAPPS CHANGES LATEX.AND.XFIG |
949 |
- |
950 |
- doicon xfig.png |
951 |
- make_desktop_entry xfig Xfig xfig |
952 |
-} |
953 |
- |
954 |
-pkg_postinst() { |
955 |
- einfo "Don't forget to update xserver's font path for media-fonts/urw-fonts." |
956 |
-} |
957 |
|
958 |
diff --git a/media-gfx/xfig/xfig-3.2.6a.ebuild b/media-gfx/xfig/xfig-3.2.6a.ebuild |
959 |
deleted file mode 100644 |
960 |
index cb1a5954893..00000000000 |
961 |
--- a/media-gfx/xfig/xfig-3.2.6a.ebuild |
962 |
+++ /dev/null |
963 |
@@ -1,47 +0,0 @@ |
964 |
-# Copyright 1999-2018 Gentoo Foundation |
965 |
-# Distributed under the terms of the GNU General Public License v2 |
966 |
- |
967 |
-EAPI=6 |
968 |
- |
969 |
-DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window" |
970 |
-HOMEPAGE="http://mcj.sourceforge.net/" |
971 |
-SRC_URI="mirror://sourceforge/mcj/${PN}-full-${PV}.tar.xz" |
972 |
- |
973 |
-LICENSE="BSD" |
974 |
-SLOT="0" |
975 |
-KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
976 |
-IUSE="jpeg nls postscript" |
977 |
- |
978 |
-RDEPEND=" |
979 |
- x11-libs/libXaw |
980 |
- x11-libs/libXp |
981 |
- x11-libs/libXaw3d |
982 |
- x11-libs/libXi |
983 |
- x11-libs/libXt |
984 |
- media-libs/libpng:0= |
985 |
- media-fonts/font-misc-misc |
986 |
- media-fonts/urw-fonts |
987 |
- >=media-gfx/transfig-3.2.5-r1 |
988 |
- media-libs/netpbm |
989 |
- jpeg? ( virtual/jpeg:0= ) |
990 |
- nls? ( x11-libs/libXaw3d[unicode] ) |
991 |
- postscript? ( app-text/ghostscript-gpl ) |
992 |
-" |
993 |
-DEPEND="${RDEPEND} |
994 |
- x11-proto/xproto |
995 |
- x11-proto/inputproto |
996 |
-" |
997 |
- |
998 |
-PATCHES=( |
999 |
- "${FILESDIR}/${PN}-3.2.6a-urwfonts.patch" |
1000 |
- "${FILESDIR}/${PN}-3.2.6a-solaris.patch" |
1001 |
- "${FILESDIR}/${PN}-3.2.6a-app-defaults.patch" |
1002 |
-) |
1003 |
- |
1004 |
-src_configure() { |
1005 |
- econf \ |
1006 |
- $(use_enable nls i18n) \ |
1007 |
- $(use_enable jpeg) \ |
1008 |
- $(use_with postscript gs) \ |
1009 |
- --htmldir="${EPREFIX}/usr/share/doc/${PF}" # it expects docdir... |
1010 |
-} |