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