Ravenports generated: 19 Apr 2021 23:46
[ravenports.git] / bucket_DD / vte
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               vte
4 VERSION=                0.64.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.64
13 DISTFILE[1]=            vte-0.64.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.6400.0
47 PLIST_SUB=              VERSION=2.91
48
49 VAR_OPSYS[sunos]=       LDFLAGS=-lintl
50
51 post-patch:
52         ${REINPLACE_CMD} -e '/fstack-prot/d' ${WRKSRC}/meson.build
53         ${REINPLACE_CMD} -e 's|linux|skipx|' ${WRKSRC}/src/pty.cc
54
55 post-patch-sunos:
56         ${REINPLACE_CMD} \
57                 -e 's|sys/ioctl\.h|sys/termios.h|' \
58                 -e '/Bsymbolic-functions/d' \
59                 ${WRKSRC}/meson.build
60
61 [FILE:108:descriptions/desc.primary]
62 Terminal widget with improved font, internationalisation and accessibility
63 support for the GNOME 3 desktop.
64
65
66 [FILE:103:distinfo]
67 c0c60b8dc343167437c86d984b0cf134df86034180ed70513f683006ada3ec41       874436 gnome3/vte-0.64.0.tar.xz
68
69
70 [FILE:686:manifests/plist.primary]
71 bin/vte-%%VERSION%%
72 etc/profile.d/
73  vte.csh
74  vte.sh
75 include/vte-%%VERSION%%/vte/
76  vte.h
77  vtedeprecated.h
78  vteenums.h
79  vteglobals.h
80  vtemacros.h
81  vtepty.h
82  vteregex.h
83  vteterminal.h
84  vtetypebuiltins.h
85  vteversion.h
86 lib/
87  libvte-%%VERSION%%.so
88  libvte-%%VERSION%%.so.%%SOMAJOR%%
89  libvte-%%VERSION%%.so.%%SOVERSION%%
90 lib/girepository-1.0/Vte-%%VERSION%%.typelib
91 lib/pkgconfig/vte-%%VERSION%%.pc
92 libexec/vte-urlencode-cwd
93 share/gir-1.0/Vte-%%VERSION%%.gir
94 share/glade/catalogs/vte-%%VERSION%%.xml
95 share/glade/pixmaps/hicolor/16x16/actions/widget-vte-terminal.png
96 share/glade/pixmaps/hicolor/22x22/actions/widget-vte-terminal.png
97 share/vala/vapi/
98  vte-%%VERSION%%.deps
99  vte-%%VERSION%%.vapi
100
101
102 [FILE:4622:manifests/plist.nls]
103 share/locale/am/LC_MESSAGES/vte-%%VERSION%%.mo
104 share/locale/an/LC_MESSAGES/vte-%%VERSION%%.mo
105 share/locale/ang/LC_MESSAGES/vte-%%VERSION%%.mo
106 share/locale/ar/LC_MESSAGES/vte-%%VERSION%%.mo
107 share/locale/as/LC_MESSAGES/vte-%%VERSION%%.mo
108 share/locale/ast/LC_MESSAGES/vte-%%VERSION%%.mo
109 share/locale/az/LC_MESSAGES/vte-%%VERSION%%.mo
110 share/locale/be/LC_MESSAGES/vte-%%VERSION%%.mo
111 share/locale/be@latin/LC_MESSAGES/vte-%%VERSION%%.mo
112 share/locale/bg/LC_MESSAGES/vte-%%VERSION%%.mo
113 share/locale/bn/LC_MESSAGES/vte-%%VERSION%%.mo
114 share/locale/bn_IN/LC_MESSAGES/vte-%%VERSION%%.mo
115 share/locale/bs/LC_MESSAGES/vte-%%VERSION%%.mo
116 share/locale/ca/LC_MESSAGES/vte-%%VERSION%%.mo
117 share/locale/ca@valencia/LC_MESSAGES/vte-%%VERSION%%.mo
118 share/locale/ckb/LC_MESSAGES/vte-%%VERSION%%.mo
119 share/locale/cs/LC_MESSAGES/vte-%%VERSION%%.mo
120 share/locale/cy/LC_MESSAGES/vte-%%VERSION%%.mo
121 share/locale/da/LC_MESSAGES/vte-%%VERSION%%.mo
122 share/locale/de/LC_MESSAGES/vte-%%VERSION%%.mo
123 share/locale/dz/LC_MESSAGES/vte-%%VERSION%%.mo
124 share/locale/el/LC_MESSAGES/vte-%%VERSION%%.mo
125 share/locale/en@shaw/LC_MESSAGES/vte-%%VERSION%%.mo
126 share/locale/en_CA/LC_MESSAGES/vte-%%VERSION%%.mo
127 share/locale/en_GB/LC_MESSAGES/vte-%%VERSION%%.mo
128 share/locale/eo/LC_MESSAGES/vte-%%VERSION%%.mo
129 share/locale/es/LC_MESSAGES/vte-%%VERSION%%.mo
130 share/locale/et/LC_MESSAGES/vte-%%VERSION%%.mo
131 share/locale/eu/LC_MESSAGES/vte-%%VERSION%%.mo
132 share/locale/fa/LC_MESSAGES/vte-%%VERSION%%.mo
133 share/locale/fi/LC_MESSAGES/vte-%%VERSION%%.mo
134 share/locale/fr/LC_MESSAGES/vte-%%VERSION%%.mo
135 share/locale/fur/LC_MESSAGES/vte-%%VERSION%%.mo
136 share/locale/ga/LC_MESSAGES/vte-%%VERSION%%.mo
137 share/locale/gd/LC_MESSAGES/vte-%%VERSION%%.mo
138 share/locale/gl/LC_MESSAGES/vte-%%VERSION%%.mo
139 share/locale/gu/LC_MESSAGES/vte-%%VERSION%%.mo
140 share/locale/he/LC_MESSAGES/vte-%%VERSION%%.mo
141 share/locale/hi/LC_MESSAGES/vte-%%VERSION%%.mo
142 share/locale/hr/LC_MESSAGES/vte-%%VERSION%%.mo
143 share/locale/hu/LC_MESSAGES/vte-%%VERSION%%.mo
144 share/locale/id/LC_MESSAGES/vte-%%VERSION%%.mo
145 share/locale/is/LC_MESSAGES/vte-%%VERSION%%.mo
146 share/locale/it/LC_MESSAGES/vte-%%VERSION%%.mo
147 share/locale/ja/LC_MESSAGES/vte-%%VERSION%%.mo
148 share/locale/ka/LC_MESSAGES/vte-%%VERSION%%.mo
149 share/locale/kk/LC_MESSAGES/vte-%%VERSION%%.mo
150 share/locale/kn/LC_MESSAGES/vte-%%VERSION%%.mo
151 share/locale/ko/LC_MESSAGES/vte-%%VERSION%%.mo
152 share/locale/ku/LC_MESSAGES/vte-%%VERSION%%.mo
153 share/locale/ky/LC_MESSAGES/vte-%%VERSION%%.mo
154 share/locale/li/LC_MESSAGES/vte-%%VERSION%%.mo
155 share/locale/lt/LC_MESSAGES/vte-%%VERSION%%.mo
156 share/locale/lv/LC_MESSAGES/vte-%%VERSION%%.mo
157 share/locale/mai/LC_MESSAGES/vte-%%VERSION%%.mo
158 share/locale/mi/LC_MESSAGES/vte-%%VERSION%%.mo
159 share/locale/mjw/LC_MESSAGES/vte-%%VERSION%%.mo
160 share/locale/mk/LC_MESSAGES/vte-%%VERSION%%.mo
161 share/locale/ml/LC_MESSAGES/vte-%%VERSION%%.mo
162 share/locale/mn/LC_MESSAGES/vte-%%VERSION%%.mo
163 share/locale/mr/LC_MESSAGES/vte-%%VERSION%%.mo
164 share/locale/ms/LC_MESSAGES/vte-%%VERSION%%.mo
165 share/locale/nb/LC_MESSAGES/vte-%%VERSION%%.mo
166 share/locale/nds/LC_MESSAGES/vte-%%VERSION%%.mo
167 share/locale/ne/LC_MESSAGES/vte-%%VERSION%%.mo
168 share/locale/nl/LC_MESSAGES/vte-%%VERSION%%.mo
169 share/locale/nn/LC_MESSAGES/vte-%%VERSION%%.mo
170 share/locale/oc/LC_MESSAGES/vte-%%VERSION%%.mo
171 share/locale/or/LC_MESSAGES/vte-%%VERSION%%.mo
172 share/locale/pa/LC_MESSAGES/vte-%%VERSION%%.mo
173 share/locale/pl/LC_MESSAGES/vte-%%VERSION%%.mo
174 share/locale/pt/LC_MESSAGES/vte-%%VERSION%%.mo
175 share/locale/pt_BR/LC_MESSAGES/vte-%%VERSION%%.mo
176 share/locale/ro/LC_MESSAGES/vte-%%VERSION%%.mo
177 share/locale/ru/LC_MESSAGES/vte-%%VERSION%%.mo
178 share/locale/rw/LC_MESSAGES/vte-%%VERSION%%.mo
179 share/locale/si/LC_MESSAGES/vte-%%VERSION%%.mo
180 share/locale/sk/LC_MESSAGES/vte-%%VERSION%%.mo
181 share/locale/sl/LC_MESSAGES/vte-%%VERSION%%.mo
182 share/locale/sq/LC_MESSAGES/vte-%%VERSION%%.mo
183 share/locale/sr/LC_MESSAGES/vte-%%VERSION%%.mo
184 share/locale/sr@latin/LC_MESSAGES/vte-%%VERSION%%.mo
185 share/locale/sv/LC_MESSAGES/vte-%%VERSION%%.mo
186 share/locale/ta/LC_MESSAGES/vte-%%VERSION%%.mo
187 share/locale/te/LC_MESSAGES/vte-%%VERSION%%.mo
188 share/locale/tg/LC_MESSAGES/vte-%%VERSION%%.mo
189 share/locale/th/LC_MESSAGES/vte-%%VERSION%%.mo
190 share/locale/tr/LC_MESSAGES/vte-%%VERSION%%.mo
191 share/locale/ug/LC_MESSAGES/vte-%%VERSION%%.mo
192 share/locale/uk/LC_MESSAGES/vte-%%VERSION%%.mo
193 share/locale/uz@cyrillic/LC_MESSAGES/vte-%%VERSION%%.mo
194 share/locale/vi/LC_MESSAGES/vte-%%VERSION%%.mo
195 share/locale/wa/LC_MESSAGES/vte-%%VERSION%%.mo
196 share/locale/xh/LC_MESSAGES/vte-%%VERSION%%.mo
197 share/locale/zh_CN/LC_MESSAGES/vte-%%VERSION%%.mo
198 share/locale/zh_HK/LC_MESSAGES/vte-%%VERSION%%.mo
199 share/locale/zh_TW/LC_MESSAGES/vte-%%VERSION%%.mo
200
201
202 [FILE:703:patches/patch-src_app_app.cc]
203 --- src/app/app.cc.orig 2021-04-16 17:22:42 UTC
204 +++ src/app/app.cc
205 @@ -2543,7 +2543,15 @@ main(int argc,
206                 struct termios tcattr;
207                 if (tcgetattr(STDIN_FILENO, &tcattr) == 0) {
208                         saved_tcattr = tcattr;
209 +#ifdef __sun__
210 +       tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
211 +       tcattr.c_oflag &= ~OPOST;
212 +       tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
213 +       tcattr.c_cflag &= ~(CSIZE|PARENB);
214 +       tcattr.c_cflag |= CS8;
215 +#else
216                         cfmakeraw(&tcattr);
217 +#endif
218                         if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) == 0)
219                                 reset_termios = true;
220                 }
221
222
223 [FILE:549:patches/patch-src_dumpkeys.c]
224 --- src/dumpkeys.c.orig 2021-04-16 17:22:42 UTC
225 +++ src/dumpkeys.c
226 @@ -166,7 +166,15 @@ main(int argc, char **argv)
227         }
228         original = tcattr;
229         signal(SIGINT, sigint_handler);
230 +#ifdef __sun__
231 +       tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
232 +       tcattr.c_oflag &= ~OPOST;
233 +       tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
234 +       tcattr.c_cflag &= ~(CSIZE|PARENB);
235 +       tcattr.c_cflag |= CS8;
236 +#else
237         cfmakeraw(&tcattr);
238 +#endif
239         if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) != 0) {
240                 perror("tcsetattr");
241                 return 1;
242
243
244 [FILE:453:patches/patch-src_libc-glue.hh]
245 --- src/libc-glue.hh.orig       2021-04-16 17:22:42 UTC
246 +++ src/libc-glue.hh
247 @@ -220,7 +220,13 @@ fd_dup_cloexec(int oldfd,
248  {
249          auto r = int{};
250          do {
251 +#ifdef F_DUPFD_CLOEXEC
252                  r = fcntl(oldfd, F_DUPFD_CLOEXEC, newfd);
253 +#else
254 +                r = fcntl(oldfd, F_DUPFD, 0);
255 +                newfd = r;
256 +                fcntl(newfd, F_SETFD, FD_CLOEXEC);
257 +#endif
258          } while (r == -1 && errno == EINTR);
259          return r;
260  }
261
262
263 [FILE:537:patches/patch-src_mev.c]
264 --- src/mev.c.orig      2021-04-16 17:22:42 UTC
265 +++ src/mev.c
266 @@ -363,7 +363,15 @@ main(int argc, char **argv)
267  
268         original = tcattr;
269         signal(SIGINT, sigint_handler);
270 +#ifdef __sun__
271 +       tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
272 +       tcattr.c_oflag &= ~OPOST;
273 +       tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
274 +       tcattr.c_cflag &= ~(CSIZE|PARENB);
275 +       tcattr.c_cflag |= CS8;
276 +#else
277         cfmakeraw(&tcattr);
278 +#endif
279         if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) != 0) {
280                 perror("tcsetattr");
281                 return 1;
282
283
284 [FILE:1402:patches/patch-src_pty.cc]
285 --- src/pty.cc.orig     2021-04-16 17:22:42 UTC
286 +++ src/pty.cc
287 @@ -77,6 +77,10 @@
288  
289  #include "missing.hh"
290  
291 +#ifndef O_CLOEXEC
292 +#define O_CLOEXEC 0
293 +#endif
294 +
295  namespace vte::base {
296  
297  Pty*
298 @@ -349,6 +353,7 @@ Pty::get_size(int* rows,
299          return false;
300  }
301  
302 +#ifndef __sun__
303  static int
304  fd_set_cpkt(vte::libc::FD& fd)
305  {
306 @@ -365,6 +370,7 @@ fd_set_cpkt(vte::libc::FD& fd)
307  #endif
308          return ret;
309  }
310 +#endif
311  
312  static int
313  fd_setup(vte::libc::FD& fd)
314 @@ -399,6 +405,7 @@ fd_setup(vte::libc::FD& fd)
315                  return -1;
316          }
317  
318 +#ifndef __sun__
319          if (fd_set_cpkt(fd) < 0) {
320                  auto errsv = vte::libc::ErrnoSaver{};
321                  _vte_debug_print(VTE_DEBUG_PTY,
322 @@ -406,6 +413,7 @@ fd_setup(vte::libc::FD& fd)
323                                   "Setting packet mode", g_strerror(errsv));
324                  return -1;
325          }
326 +#endif
327  
328          return 0;
329  }
330 @@ -465,6 +473,7 @@ _vte_pty_open_posix(void)
331          }
332  #endif /* !linux */
333  
334 +#ifndef __sun__
335          if (fd_set_cpkt(fd) < 0) {
336                  auto errsv = vte::libc::ErrnoSaver{};
337                  _vte_debug_print(VTE_DEBUG_PTY,
338 @@ -472,6 +481,7 @@ _vte_pty_open_posix(void)
339                                   "Setting packet mode", g_strerror(errsv));
340                  return {};
341          }
342 +#endif
343  
344          if (grantpt(fd.get()) != 0) {
345                  auto errsv = vte::libc::ErrnoSaver{};
346
347
348 [FILE:315:patches/patch-src_vte.cc]
349 --- src/vte.cc.orig     2021-04-16 17:22:42 UTC
350 +++ src/vte.cc
351 @@ -34,6 +34,13 @@
352  #ifdef HAVE_SYS_STREAM_H
353  #include <sys/stream.h>
354  #endif
355 +#ifdef HAVE_TERMIOS_H
356 +#include <termios.h>
357 +#endif
358 +#if defined(__sun__)
359 +#include <sys/ioccom.h>
360 +#include <sys/ptyvar.h>
361 +#endif
362  
363  #include <glib.h>
364  #include <glib-unix.h>
365
366
367 [FILE:270:patches/patch-src_widget.cc]
368 --- src/widget.cc.orig  2021-04-16 17:22:42 UTC
369 +++ src/widget.cc
370 @@ -22,6 +22,10 @@
371  
372  #include <sys/wait.h> // for W_EXITCODE
373  
374 +#ifndef W_EXITCODE
375 +#define W_EXITCODE(ret, sig)   ((ret) << 8 | (sig))
376 +#endif
377 +
378  #include <exception>
379  #include <new>
380  #include <stdexcept>
381