Ravenports generated: 15 Sep 2020 20:40
[ravenports.git] / bucket_DD / vte
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               vte
4 VERSION=                0.62.0
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.62
13 DISTFILE[1]=            vte-0.62.0.tar.xz:main
14 DIST_SUBDIR=            gnome3
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         docs
19                         nls
20
21 OPTIONS_AVAILABLE=      none
22 OPTIONS_STANDARD=       none
23
24 BUILD_DEPENDS=          bash:primary:standard
25                         cmake:single:standard
26                         vala:single:standard
27 BUILDRUN_DEPENDS=       gnutls:primary:standard
28                         icu:single:standard
29                         pcre2:primary:standard
30
31 USES=                   gettext-runtime gettext-tools:build meson pkgconfig
32 GNOME_COMPONENTS=       cairo gdkpixbuf gtk3 intltool introspection
33
34 LICENSE=                LGPL21+:primary
35 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
36 LICENSE_FILE=           LGPL21+:{{WRKSRC}}/COPYING
37 LICENSE_AWK=            TERMS:"^$$"
38 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/vte.cc
39 LICENSE_SCHEME=         solo
40
41 FPC_EQUIVALENT=         x11-toolkits/vte3
42 MESON_ARGS=             -D_systemd=false
43
44 INSTALL_TARGET=         install-strip
45 INSTALL_REQ_TOOLCHAIN=  yes
46 SOVERSION=              0.6200.0
47 PLIST_SUB=              VERSION=2.91
48
49 post-patch:
50         ${REINPLACE_CMD} -e '/fstack-prot/d' ${WRKSRC}/meson.build
51         ${REINPLACE_CMD} -e 's|linux|skipx|' ${WRKSRC}/src/pty.cc
52
53 post-patch-sunos:
54         ${REINPLACE_CMD} \
55                 -e 's|sys/ioctl\.h|sys/termios.h|' \
56                 -e '/Bsymbolic-functions/d' \
57                 ${WRKSRC}/meson.build
58
59 [FILE:108:descriptions/desc.primary]
60 Terminal widget with improved font, internationalisation and accessibility
61 support for the GNOME 3 desktop.
62
63
64 [FILE:103:distinfo]
65 4d2d246ed47f08cc73f6471aa8e9f378998b7d0f7dcb0c433f29da5839dbb016       444192 gnome3/vte-0.62.0.tar.xz
66
67
68 [FILE:513:manifests/plist.primary]
69 bin/vte-%%VERSION%%
70 etc/profile.d/
71  vte.csh
72  vte.sh
73 include/vte-%%VERSION%%/vte/
74  vte.h
75  vtedeprecated.h
76  vteenums.h
77  vteglobals.h
78  vtemacros.h
79  vtepty.h
80  vteregex.h
81  vteterminal.h
82  vtetypebuiltins.h
83  vteversion.h
84 lib/
85  libvte-%%VERSION%%.so
86  libvte-%%VERSION%%.so.%%SOMAJOR%%
87  libvte-%%VERSION%%.so.%%SOVERSION%%
88 lib/girepository-1.0/Vte-%%VERSION%%.typelib
89 lib/pkgconfig/vte-%%VERSION%%.pc
90 libexec/vte-urlencode-cwd
91 share/gir-1.0/Vte-%%VERSION%%.gir
92 share/vala/vapi/
93  vte-%%VERSION%%.deps
94  vte-%%VERSION%%.vapi
95
96
97 [FILE:4622:manifests/plist.nls]
98 share/locale/am/LC_MESSAGES/vte-%%VERSION%%.mo
99 share/locale/an/LC_MESSAGES/vte-%%VERSION%%.mo
100 share/locale/ang/LC_MESSAGES/vte-%%VERSION%%.mo
101 share/locale/ar/LC_MESSAGES/vte-%%VERSION%%.mo
102 share/locale/as/LC_MESSAGES/vte-%%VERSION%%.mo
103 share/locale/ast/LC_MESSAGES/vte-%%VERSION%%.mo
104 share/locale/az/LC_MESSAGES/vte-%%VERSION%%.mo
105 share/locale/be/LC_MESSAGES/vte-%%VERSION%%.mo
106 share/locale/be@latin/LC_MESSAGES/vte-%%VERSION%%.mo
107 share/locale/bg/LC_MESSAGES/vte-%%VERSION%%.mo
108 share/locale/bn/LC_MESSAGES/vte-%%VERSION%%.mo
109 share/locale/bn_IN/LC_MESSAGES/vte-%%VERSION%%.mo
110 share/locale/bs/LC_MESSAGES/vte-%%VERSION%%.mo
111 share/locale/ca/LC_MESSAGES/vte-%%VERSION%%.mo
112 share/locale/ca@valencia/LC_MESSAGES/vte-%%VERSION%%.mo
113 share/locale/ckb/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:1711:patches/patch-src_vte.cc]
198 --- src/vte.cc.orig     2020-09-15 14:46:41 UTC
199 +++ src/vte.cc
200 @@ -29,6 +29,13 @@
201  #ifdef HAVE_SYS_TERMIOS_H
202  #include <sys/termios.h>
203  #endif
204 +#ifdef HAVE_TERMIOS_H
205 +#include <termios.h>
206 +#endif
207 +#if defined(__sun__)
208 +#include <sys/ioccom.h>
209 +#include <sys/ptyvar.h>
210 +#endif
211  
212  #include <glib.h>
213  #include <glib-unix.h>
214 @@ -3959,6 +3966,9 @@ Terminal::pty_io_read(int const fd,
215                         bp = chunk->data + chunk->len;
216                         len = 0;
217                         do {
218 +#ifdef __sun__
219 +                               int ret = read (fd, bp, rem);
220 +#else
221                                  /* We'd like to read (fd, bp, rem); but due to TIOCPKT mode
222                                   * there's an extra input byte returned at the beginning.
223                                   * We need to see what that byte is, but otherwise drop it
224 @@ -3970,6 +3980,7 @@ Terminal::pty_io_read(int const fd,
225                                  int ret = read (fd, bp - 1, rem + 1);
226                                  pkt_header = bp[-1];
227                                  bp[-1] = save;
228 +#endif
229                                 switch (ret){
230                                         case -1:
231                                                 err = errno;
232 @@ -3978,6 +3989,7 @@ Terminal::pty_io_read(int const fd,
233                                                 eos = true;
234                                                 goto out;
235                                         default:
236 +#ifndef __sun__
237                                                  ret--;
238  
239                                                  if (pkt_header == TIOCPKT_DATA) {
240 @@ -4004,6 +4016,7 @@ Terminal::pty_io_read(int const fd,
241                                                          if (pkt_header & TIOCPKT_START) {
242                                                                  pty_scroll_lock_changed(false);
243                                                          }
244 +#endif
245                                                  }
246                                                 break;
247                                 }
248
249
250 [FILE:267:patches/patch-src_widget.cc]
251 --- src/widget.cc.orig  2020-09-15 14:46:41 UTC
252 +++ src/widget.cc
253 @@ -22,6 +22,10 @@
254  
255  #include <sys/wait.h> // for W_EXITCODE
256  
257 +#ifndef W_EXITCODE
258 +#define W_EXITCODE(ret, sig)   ((ret) << 8 | (sig))
259 +#endif
260 +
261  #include <exception>
262  #include <new>
263  #include <string>
264
265
266 [FILE:961:sunos/patch-src_pty.cc]
267 --- src/pty.cc.orig     2020-05-13 09:51:07 UTC
268 +++ src/pty.cc
269 @@ -612,6 +612,7 @@ fd_set_cpkt(int fd)
270  static int
271  fd_setup(int fd)
272  {
273 +#ifndef __sun__
274          if (grantpt(fd) != 0) {
275                  vte::util::restore_errno errsv;
276                  _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "grantpt");
277 @@ -644,6 +645,7 @@ fd_setup(int fd)
278                                   "%s failed: %s", "ioctl(TIOCPKT)", g_strerror(errsv));
279                  return -1;
280          }
281 +#endif
282  
283          return 0;
284  }
285 @@ -701,12 +703,14 @@ _vte_pty_open_posix(void)
286          }
287  #endif /* !linux */
288  
289 +#ifndef __sun__
290          if (fd_set_cpkt(fd) < 0) {
291                  vte::util::restore_errno errsv;
292                  _vte_debug_print(VTE_DEBUG_PTY,
293                                   "%s failed: %s", "ioctl(TIOCPKT)", g_strerror(errsv));
294                  return -1;
295          }
296 +#endif
297  
298          if (grantpt(fd) != 0) {
299                  vte::util::restore_errno errsv;
300