Ravenports generated: 01 Apr 2020 15:23
[ravenports.git] / bucket_DD / vte
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               vte
4 VERSION=                0.60.1
5 KEYWORDS=               x11_toolkits
6 VARIANTS=               standard
7 SDESC[standard]=        Virtual Terminal Emulator widget
8 HOMEPAGE=               https://wiki.gnome.org/Apps/Terminal/VTE
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GNOME/vte/0.60
13 DISTFILE[1]=            vte-0.60.1.tar.xz:main
14 DIST_SUBDIR=            gnome3
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         docs
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILD_DEPENDS=          bash:primary:standard
24                         cmake:single:standard
25                         vala:single:standard
26 BUILDRUN_DEPENDS=       gnutls:single:standard
27                         icu:single:standard
28                         pcre2:primary:standard
29
30 USES=                   gettext-runtime gettext-tools:build meson pkgconfig
31 GNOME_COMPONENTS=       cairo gdkpixbuf gtk3 intltool introspection
32
33 LICENSE=                LGPL21+:primary
34 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
35 LICENSE_FILE=           LGPL21+:{{WRKSRC}}/COPYING
36 LICENSE_AWK=            TERMS:"^$$"
37 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/vte.cc
38 LICENSE_SCHEME=         solo
39
40 FPC_EQUIVALENT=         x11-toolkits/vte3
41 MESON_ARGS=             -D_systemd=false
42
43 INSTALL_TARGET=         install-strip
44 INSTALL_REQ_TOOLCHAIN=  yes
45 SOVERSION=              0.6000.1
46 PLIST_SUB=              VERSION=2.91
47
48 post-patch:
49         ${REINPLACE_CMD} -e '/fstack-prot/d' ${WRKSRC}/meson.build
50         ${REINPLACE_CMD} -e 's|linux|skipx|' ${WRKSRC}/src/pty.cc
51
52 post-patch-sunos:
53         ${REINPLACE_CMD} \
54                 -e 's|sys/ioctl\.h|sys/termios.h|' \
55                 -e '/Bsymbolic-functions/d' \
56                 ${WRKSRC}/meson.build
57
58 [FILE:108:descriptions/desc.primary]
59 Terminal widget with improved font, internationalisation and accessibility
60 support for the GNOME 3 desktop.
61
62
63 [FILE:103:distinfo]
64 5e25807233f8a7e15204be7ff694bbcf6facbb0136092b5ba12584a7b70cf0c4       534744 gnome3/vte-0.60.1.tar.xz
65
66
67 [FILE:5087:manifests/plist.primary]
68 bin/vte-%%VERSION%%
69 etc/profile.d/
70  vte.csh
71  vte.sh
72 include/vte-%%VERSION%%/vte/
73  vte.h
74  vtedeprecated.h
75  vteenums.h
76  vteglobals.h
77  vtemacros.h
78  vtepty.h
79  vteregex.h
80  vteterminal.h
81  vtetypebuiltins.h
82  vteversion.h
83 lib/
84  libvte-%%VERSION%%.so
85  libvte-%%VERSION%%.so.%%SOMAJOR%%
86  libvte-%%VERSION%%.so.%%SOVERSION%%
87 lib/girepository-1.0/Vte-%%VERSION%%.typelib
88 lib/pkgconfig/vte-%%VERSION%%.pc
89 libexec/vte-urlencode-cwd
90 share/gir-1.0/Vte-%%VERSION%%.gir
91 share/locale/am/LC_MESSAGES/vte-%%VERSION%%.mo
92 share/locale/an/LC_MESSAGES/vte-%%VERSION%%.mo
93 share/locale/ang/LC_MESSAGES/vte-%%VERSION%%.mo
94 share/locale/ar/LC_MESSAGES/vte-%%VERSION%%.mo
95 share/locale/as/LC_MESSAGES/vte-%%VERSION%%.mo
96 share/locale/ast/LC_MESSAGES/vte-%%VERSION%%.mo
97 share/locale/az/LC_MESSAGES/vte-%%VERSION%%.mo
98 share/locale/be/LC_MESSAGES/vte-%%VERSION%%.mo
99 share/locale/be@latin/LC_MESSAGES/vte-%%VERSION%%.mo
100 share/locale/bg/LC_MESSAGES/vte-%%VERSION%%.mo
101 share/locale/bn/LC_MESSAGES/vte-%%VERSION%%.mo
102 share/locale/bn_IN/LC_MESSAGES/vte-%%VERSION%%.mo
103 share/locale/bs/LC_MESSAGES/vte-%%VERSION%%.mo
104 share/locale/ca/LC_MESSAGES/vte-%%VERSION%%.mo
105 share/locale/ca@valencia/LC_MESSAGES/vte-%%VERSION%%.mo
106 share/locale/cs/LC_MESSAGES/vte-%%VERSION%%.mo
107 share/locale/cy/LC_MESSAGES/vte-%%VERSION%%.mo
108 share/locale/da/LC_MESSAGES/vte-%%VERSION%%.mo
109 share/locale/de/LC_MESSAGES/vte-%%VERSION%%.mo
110 share/locale/dz/LC_MESSAGES/vte-%%VERSION%%.mo
111 share/locale/el/LC_MESSAGES/vte-%%VERSION%%.mo
112 share/locale/en@shaw/LC_MESSAGES/vte-%%VERSION%%.mo
113 share/locale/en_CA/LC_MESSAGES/vte-%%VERSION%%.mo
114 share/locale/en_GB/LC_MESSAGES/vte-%%VERSION%%.mo
115 share/locale/eo/LC_MESSAGES/vte-%%VERSION%%.mo
116 share/locale/es/LC_MESSAGES/vte-%%VERSION%%.mo
117 share/locale/et/LC_MESSAGES/vte-%%VERSION%%.mo
118 share/locale/eu/LC_MESSAGES/vte-%%VERSION%%.mo
119 share/locale/fa/LC_MESSAGES/vte-%%VERSION%%.mo
120 share/locale/fi/LC_MESSAGES/vte-%%VERSION%%.mo
121 share/locale/fr/LC_MESSAGES/vte-%%VERSION%%.mo
122 share/locale/fur/LC_MESSAGES/vte-%%VERSION%%.mo
123 share/locale/ga/LC_MESSAGES/vte-%%VERSION%%.mo
124 share/locale/gd/LC_MESSAGES/vte-%%VERSION%%.mo
125 share/locale/gl/LC_MESSAGES/vte-%%VERSION%%.mo
126 share/locale/gu/LC_MESSAGES/vte-%%VERSION%%.mo
127 share/locale/he/LC_MESSAGES/vte-%%VERSION%%.mo
128 share/locale/hi/LC_MESSAGES/vte-%%VERSION%%.mo
129 share/locale/hr/LC_MESSAGES/vte-%%VERSION%%.mo
130 share/locale/hu/LC_MESSAGES/vte-%%VERSION%%.mo
131 share/locale/id/LC_MESSAGES/vte-%%VERSION%%.mo
132 share/locale/is/LC_MESSAGES/vte-%%VERSION%%.mo
133 share/locale/it/LC_MESSAGES/vte-%%VERSION%%.mo
134 share/locale/ja/LC_MESSAGES/vte-%%VERSION%%.mo
135 share/locale/ka/LC_MESSAGES/vte-%%VERSION%%.mo
136 share/locale/kk/LC_MESSAGES/vte-%%VERSION%%.mo
137 share/locale/kn/LC_MESSAGES/vte-%%VERSION%%.mo
138 share/locale/ko/LC_MESSAGES/vte-%%VERSION%%.mo
139 share/locale/ku/LC_MESSAGES/vte-%%VERSION%%.mo
140 share/locale/ky/LC_MESSAGES/vte-%%VERSION%%.mo
141 share/locale/li/LC_MESSAGES/vte-%%VERSION%%.mo
142 share/locale/lt/LC_MESSAGES/vte-%%VERSION%%.mo
143 share/locale/lv/LC_MESSAGES/vte-%%VERSION%%.mo
144 share/locale/mai/LC_MESSAGES/vte-%%VERSION%%.mo
145 share/locale/mi/LC_MESSAGES/vte-%%VERSION%%.mo
146 share/locale/mjw/LC_MESSAGES/vte-%%VERSION%%.mo
147 share/locale/mk/LC_MESSAGES/vte-%%VERSION%%.mo
148 share/locale/ml/LC_MESSAGES/vte-%%VERSION%%.mo
149 share/locale/mn/LC_MESSAGES/vte-%%VERSION%%.mo
150 share/locale/mr/LC_MESSAGES/vte-%%VERSION%%.mo
151 share/locale/ms/LC_MESSAGES/vte-%%VERSION%%.mo
152 share/locale/nb/LC_MESSAGES/vte-%%VERSION%%.mo
153 share/locale/nds/LC_MESSAGES/vte-%%VERSION%%.mo
154 share/locale/ne/LC_MESSAGES/vte-%%VERSION%%.mo
155 share/locale/nl/LC_MESSAGES/vte-%%VERSION%%.mo
156 share/locale/nn/LC_MESSAGES/vte-%%VERSION%%.mo
157 share/locale/oc/LC_MESSAGES/vte-%%VERSION%%.mo
158 share/locale/or/LC_MESSAGES/vte-%%VERSION%%.mo
159 share/locale/pa/LC_MESSAGES/vte-%%VERSION%%.mo
160 share/locale/pl/LC_MESSAGES/vte-%%VERSION%%.mo
161 share/locale/pt/LC_MESSAGES/vte-%%VERSION%%.mo
162 share/locale/pt_BR/LC_MESSAGES/vte-%%VERSION%%.mo
163 share/locale/ro/LC_MESSAGES/vte-%%VERSION%%.mo
164 share/locale/ru/LC_MESSAGES/vte-%%VERSION%%.mo
165 share/locale/rw/LC_MESSAGES/vte-%%VERSION%%.mo
166 share/locale/si/LC_MESSAGES/vte-%%VERSION%%.mo
167 share/locale/sk/LC_MESSAGES/vte-%%VERSION%%.mo
168 share/locale/sl/LC_MESSAGES/vte-%%VERSION%%.mo
169 share/locale/sq/LC_MESSAGES/vte-%%VERSION%%.mo
170 share/locale/sr/LC_MESSAGES/vte-%%VERSION%%.mo
171 share/locale/sr@latin/LC_MESSAGES/vte-%%VERSION%%.mo
172 share/locale/sv/LC_MESSAGES/vte-%%VERSION%%.mo
173 share/locale/ta/LC_MESSAGES/vte-%%VERSION%%.mo
174 share/locale/te/LC_MESSAGES/vte-%%VERSION%%.mo
175 share/locale/tg/LC_MESSAGES/vte-%%VERSION%%.mo
176 share/locale/th/LC_MESSAGES/vte-%%VERSION%%.mo
177 share/locale/tr/LC_MESSAGES/vte-%%VERSION%%.mo
178 share/locale/ug/LC_MESSAGES/vte-%%VERSION%%.mo
179 share/locale/uk/LC_MESSAGES/vte-%%VERSION%%.mo
180 share/locale/uz@cyrillic/LC_MESSAGES/vte-%%VERSION%%.mo
181 share/locale/vi/LC_MESSAGES/vte-%%VERSION%%.mo
182 share/locale/wa/LC_MESSAGES/vte-%%VERSION%%.mo
183 share/locale/xh/LC_MESSAGES/vte-%%VERSION%%.mo
184 share/locale/zh_CN/LC_MESSAGES/vte-%%VERSION%%.mo
185 share/locale/zh_HK/LC_MESSAGES/vte-%%VERSION%%.mo
186 share/locale/zh_TW/LC_MESSAGES/vte-%%VERSION%%.mo
187 share/vala/vapi/
188  vte-%%VERSION%%.deps
189  vte-%%VERSION%%.vapi
190
191
192 [FILE:929:patches/patch-src_pty.cc]
193 --- src/pty.cc.orig     2020-03-26 17:22:26 UTC
194 +++ src/pty.cc
195 @@ -619,6 +619,7 @@ fd_set_cpkt(int fd)
196  static int
197  fd_setup(int fd)
198  {
199 +#ifndef __sun__
200          if (fd_set_cloexec(fd) < 0) {
201                  vte::util::restore_errno errsv;
202                  _vte_debug_print(VTE_DEBUG_PTY,
203 @@ -639,6 +640,7 @@ fd_setup(int fd)
204                                   "%s failed: %s", "ioctl(TIOCPKT)", g_strerror(errsv));
205                  return -1;
206          }
207 +#endif
208  
209          return 0;
210  }
211 @@ -696,12 +698,14 @@ _vte_pty_open_posix(void)
212          }
213  #endif /* !linux */
214  
215 +#ifndef __sun__
216          if (fd_set_cpkt(fd) < 0) {
217                  vte::util::restore_errno errsv;
218                  _vte_debug_print(VTE_DEBUG_PTY,
219                                   "%s failed: %s", "ioctl(TIOCPKT)", g_strerror(errsv));
220                  return -1;
221          }
222 +#endif
223  
224         _vte_debug_print(VTE_DEBUG_PTY, "Allocated pty on fd %d.\n", (int)fd);
225  
226
227
228 [FILE:1711:patches/patch-src_vte.cc]
229 --- src/vte.cc.orig     2020-03-26 17:22:26 UTC
230 +++ src/vte.cc
231 @@ -29,6 +29,13 @@
232  #ifdef HAVE_SYS_TERMIOS_H
233  #include <sys/termios.h>
234  #endif
235 +#ifdef HAVE_TERMIOS_H
236 +#include <termios.h>
237 +#endif
238 +#if defined(__sun__)
239 +#include <sys/ioccom.h>
240 +#include <sys/ptyvar.h>
241 +#endif
242  
243  #include <glib.h>
244  #include <glib-unix.h>
245 @@ -3963,6 +3970,9 @@ Terminal::pty_io_read(int const fd,
246                         bp = chunk->data + chunk->len;
247                         len = 0;
248                         do {
249 +#ifdef __sun__
250 +                               int ret = read (fd, bp, rem);
251 +#else
252                                  /* We'd like to read (fd, bp, rem); but due to TIOCPKT mode
253                                   * there's an extra input byte returned at the beginning.
254                                   * We need to see what that byte is, but otherwise drop it
255 @@ -3974,6 +3984,7 @@ Terminal::pty_io_read(int const fd,
256                                  int ret = read (fd, bp - 1, rem + 1);
257                                  pkt_header = bp[-1];
258                                  bp[-1] = save;
259 +#endif
260                                 switch (ret){
261                                         case -1:
262                                                 err = errno;
263 @@ -3982,6 +3993,7 @@ Terminal::pty_io_read(int const fd,
264                                                 eos = true;
265                                                 goto out;
266                                         default:
267 +#ifndef __sun__
268                                                  ret--;
269  
270                                                  if (pkt_header == TIOCPKT_DATA) {
271 @@ -4008,6 +4020,7 @@ Terminal::pty_io_read(int const fd,
272                                                          if (pkt_header & TIOCPKT_START) {
273                                                                  pty_scroll_lock_changed(false);
274                                                          }
275 +#endif
276                                                  }
277                                                 break;
278                                 }
279
280
281 [FILE:529:patches/patch-src_vtedraw.cc]
282 --- src/vtedraw.cc.orig 2020-03-26 17:22:26 UTC
283 +++ src/vtedraw.cc
284 @@ -2319,13 +2319,13 @@ _vte_draw_draw_line(struct _vte_draw *dr
285  static inline double
286  _vte_draw_get_undercurl_rad(gint width)
287  {
288 -        return width / 2. / sqrt(2);
289 +        return width / 2. / sqrt((double)2);
290  }
291  
292  static inline double
293  _vte_draw_get_undercurl_arc_height(gint width)
294  {
295 -        return _vte_draw_get_undercurl_rad(width) * (1. - sqrt(2) / 2.);
296 +        return _vte_draw_get_undercurl_rad(width) * (1. - sqrt((double)2) / 2.);
297  }
298  
299  double
300
301
302 [FILE:247:patches/patch-src_widget.cc]
303 --- src/widget.cc.orig  2020-03-26 17:22:26 UTC
304 +++ src/widget.cc
305 @@ -22,6 +22,10 @@
306  
307  #include <sys/wait.h> // for W_EXITCODE
308  
309 +#ifndef W_EXITCODE
310 +#define W_EXITCODE(ret, sig)   ((ret) << 8 | (sig))
311 +#endif
312 +
313  #include <new>
314  #include <string>
315  
316