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