Ravenports generated: 12 Feb 2024 04:56
[ravenports.git] / bucket_DD / vte
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               vte
4 VERSION=                0.74.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.74.2/
13 DISTFILE[1]=            vte-0.74.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 gtk4 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.7400.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 2a1162738c9bccfac1bb801125c1889d3980d857499909439803cf1def4c25d1       505422 gnome3/vte-0.74.2.tar.bz2
79
80
81 [FILE:592:manifests/plist.primary]
82 %%INTROSPECTION-ON%%lib/girepository-1.0/Vte-%%VERSION%%.typelib
83 %%INTROSPECTION-ON%%share/gir-1.0/Vte-%%VERSION%%.gir
84 %%INTROSPECTION-ON%%share/vala/vapi/
85  vte-%%VERSION%%.deps
86  vte-%%VERSION%%.vapi
87 bin/
88  vte-%%VERSION%%
89  vte-%%VERSION%%-gtk4
90 etc/profile.d/
91  vte.csh
92  vte.sh
93 lib/
94  libvte-%%VERSION%%-gtk4.so.%%SOMAJOR%%
95  libvte-%%VERSION%%.so.%%SOMAJOR%%
96  libvte-%%VERSION%%.so.%%SOVERSION%%
97 libexec/vte-urlencode-cwd
98 share/glade/catalogs/vte-%%VERSION%%.xml
99 share/glade/pixmaps/hicolor/16x16/actions/widget-vte-terminal.png
100 share/glade/pixmaps/hicolor/22x22/actions/widget-vte-terminal.png
101
102
103 [FILE:493:manifests/plist.dev]
104 include/vte-%%VERSION%%-gtk4/vte/
105  vte.h
106  vtedeprecated.h
107  vteenums.h
108  vteglobals.h
109  vtemacros.h
110  vtepty.h
111  vteregex.h
112  vteterminal.h
113  vtetypebuiltins-gtk4.h
114  vtetypebuiltins.h
115  vteversion.h
116 include/vte-%%VERSION%%/vte/
117  vte.h
118  vtedeprecated.h
119  vteenums.h
120  vteglobals.h
121  vtemacros.h
122  vtepty.h
123  vteregex.h
124  vteterminal.h
125  vtetypebuiltins-gtk3.h
126  vtetypebuiltins.h
127  vteversion.h
128 lib/
129  libvte-%%VERSION%%-gtk4.so
130  libvte-%%VERSION%%.so
131 lib/pkgconfig/
132  vte-%%VERSION%%-gtk4.pc
133  vte-%%VERSION%%.pc
134
135
136 [FILE:4669:manifests/plist.nls]
137 share/locale/ab/LC_MESSAGES/vte-%%VERSION%%.mo
138 share/locale/am/LC_MESSAGES/vte-%%VERSION%%.mo
139 share/locale/an/LC_MESSAGES/vte-%%VERSION%%.mo
140 share/locale/ang/LC_MESSAGES/vte-%%VERSION%%.mo
141 share/locale/ar/LC_MESSAGES/vte-%%VERSION%%.mo
142 share/locale/as/LC_MESSAGES/vte-%%VERSION%%.mo
143 share/locale/ast/LC_MESSAGES/vte-%%VERSION%%.mo
144 share/locale/az/LC_MESSAGES/vte-%%VERSION%%.mo
145 share/locale/be/LC_MESSAGES/vte-%%VERSION%%.mo
146 share/locale/be@latin/LC_MESSAGES/vte-%%VERSION%%.mo
147 share/locale/bg/LC_MESSAGES/vte-%%VERSION%%.mo
148 share/locale/bn/LC_MESSAGES/vte-%%VERSION%%.mo
149 share/locale/bn_IN/LC_MESSAGES/vte-%%VERSION%%.mo
150 share/locale/bs/LC_MESSAGES/vte-%%VERSION%%.mo
151 share/locale/ca/LC_MESSAGES/vte-%%VERSION%%.mo
152 share/locale/ca@valencia/LC_MESSAGES/vte-%%VERSION%%.mo
153 share/locale/ckb/LC_MESSAGES/vte-%%VERSION%%.mo
154 share/locale/cs/LC_MESSAGES/vte-%%VERSION%%.mo
155 share/locale/cy/LC_MESSAGES/vte-%%VERSION%%.mo
156 share/locale/da/LC_MESSAGES/vte-%%VERSION%%.mo
157 share/locale/de/LC_MESSAGES/vte-%%VERSION%%.mo
158 share/locale/dz/LC_MESSAGES/vte-%%VERSION%%.mo
159 share/locale/el/LC_MESSAGES/vte-%%VERSION%%.mo
160 share/locale/en@shaw/LC_MESSAGES/vte-%%VERSION%%.mo
161 share/locale/en_CA/LC_MESSAGES/vte-%%VERSION%%.mo
162 share/locale/en_GB/LC_MESSAGES/vte-%%VERSION%%.mo
163 share/locale/eo/LC_MESSAGES/vte-%%VERSION%%.mo
164 share/locale/es/LC_MESSAGES/vte-%%VERSION%%.mo
165 share/locale/et/LC_MESSAGES/vte-%%VERSION%%.mo
166 share/locale/eu/LC_MESSAGES/vte-%%VERSION%%.mo
167 share/locale/fa/LC_MESSAGES/vte-%%VERSION%%.mo
168 share/locale/fi/LC_MESSAGES/vte-%%VERSION%%.mo
169 share/locale/fr/LC_MESSAGES/vte-%%VERSION%%.mo
170 share/locale/fur/LC_MESSAGES/vte-%%VERSION%%.mo
171 share/locale/ga/LC_MESSAGES/vte-%%VERSION%%.mo
172 share/locale/gd/LC_MESSAGES/vte-%%VERSION%%.mo
173 share/locale/gl/LC_MESSAGES/vte-%%VERSION%%.mo
174 share/locale/gu/LC_MESSAGES/vte-%%VERSION%%.mo
175 share/locale/he/LC_MESSAGES/vte-%%VERSION%%.mo
176 share/locale/hi/LC_MESSAGES/vte-%%VERSION%%.mo
177 share/locale/hr/LC_MESSAGES/vte-%%VERSION%%.mo
178 share/locale/hu/LC_MESSAGES/vte-%%VERSION%%.mo
179 share/locale/id/LC_MESSAGES/vte-%%VERSION%%.mo
180 share/locale/is/LC_MESSAGES/vte-%%VERSION%%.mo
181 share/locale/it/LC_MESSAGES/vte-%%VERSION%%.mo
182 share/locale/ja/LC_MESSAGES/vte-%%VERSION%%.mo
183 share/locale/ka/LC_MESSAGES/vte-%%VERSION%%.mo
184 share/locale/kk/LC_MESSAGES/vte-%%VERSION%%.mo
185 share/locale/kn/LC_MESSAGES/vte-%%VERSION%%.mo
186 share/locale/ko/LC_MESSAGES/vte-%%VERSION%%.mo
187 share/locale/ku/LC_MESSAGES/vte-%%VERSION%%.mo
188 share/locale/ky/LC_MESSAGES/vte-%%VERSION%%.mo
189 share/locale/li/LC_MESSAGES/vte-%%VERSION%%.mo
190 share/locale/lt/LC_MESSAGES/vte-%%VERSION%%.mo
191 share/locale/lv/LC_MESSAGES/vte-%%VERSION%%.mo
192 share/locale/mai/LC_MESSAGES/vte-%%VERSION%%.mo
193 share/locale/mi/LC_MESSAGES/vte-%%VERSION%%.mo
194 share/locale/mjw/LC_MESSAGES/vte-%%VERSION%%.mo
195 share/locale/mk/LC_MESSAGES/vte-%%VERSION%%.mo
196 share/locale/ml/LC_MESSAGES/vte-%%VERSION%%.mo
197 share/locale/mn/LC_MESSAGES/vte-%%VERSION%%.mo
198 share/locale/mr/LC_MESSAGES/vte-%%VERSION%%.mo
199 share/locale/ms/LC_MESSAGES/vte-%%VERSION%%.mo
200 share/locale/nb/LC_MESSAGES/vte-%%VERSION%%.mo
201 share/locale/nds/LC_MESSAGES/vte-%%VERSION%%.mo
202 share/locale/ne/LC_MESSAGES/vte-%%VERSION%%.mo
203 share/locale/nl/LC_MESSAGES/vte-%%VERSION%%.mo
204 share/locale/nn/LC_MESSAGES/vte-%%VERSION%%.mo
205 share/locale/oc/LC_MESSAGES/vte-%%VERSION%%.mo
206 share/locale/or/LC_MESSAGES/vte-%%VERSION%%.mo
207 share/locale/pa/LC_MESSAGES/vte-%%VERSION%%.mo
208 share/locale/pl/LC_MESSAGES/vte-%%VERSION%%.mo
209 share/locale/pt/LC_MESSAGES/vte-%%VERSION%%.mo
210 share/locale/pt_BR/LC_MESSAGES/vte-%%VERSION%%.mo
211 share/locale/ro/LC_MESSAGES/vte-%%VERSION%%.mo
212 share/locale/ru/LC_MESSAGES/vte-%%VERSION%%.mo
213 share/locale/rw/LC_MESSAGES/vte-%%VERSION%%.mo
214 share/locale/si/LC_MESSAGES/vte-%%VERSION%%.mo
215 share/locale/sk/LC_MESSAGES/vte-%%VERSION%%.mo
216 share/locale/sl/LC_MESSAGES/vte-%%VERSION%%.mo
217 share/locale/sq/LC_MESSAGES/vte-%%VERSION%%.mo
218 share/locale/sr/LC_MESSAGES/vte-%%VERSION%%.mo
219 share/locale/sr@latin/LC_MESSAGES/vte-%%VERSION%%.mo
220 share/locale/sv/LC_MESSAGES/vte-%%VERSION%%.mo
221 share/locale/ta/LC_MESSAGES/vte-%%VERSION%%.mo
222 share/locale/te/LC_MESSAGES/vte-%%VERSION%%.mo
223 share/locale/tg/LC_MESSAGES/vte-%%VERSION%%.mo
224 share/locale/th/LC_MESSAGES/vte-%%VERSION%%.mo
225 share/locale/tr/LC_MESSAGES/vte-%%VERSION%%.mo
226 share/locale/ug/LC_MESSAGES/vte-%%VERSION%%.mo
227 share/locale/uk/LC_MESSAGES/vte-%%VERSION%%.mo
228 share/locale/uz@cyrillic/LC_MESSAGES/vte-%%VERSION%%.mo
229 share/locale/vi/LC_MESSAGES/vte-%%VERSION%%.mo
230 share/locale/wa/LC_MESSAGES/vte-%%VERSION%%.mo
231 share/locale/xh/LC_MESSAGES/vte-%%VERSION%%.mo
232 share/locale/zh_CN/LC_MESSAGES/vte-%%VERSION%%.mo
233 share/locale/zh_HK/LC_MESSAGES/vte-%%VERSION%%.mo
234 share/locale/zh_TW/LC_MESSAGES/vte-%%VERSION%%.mo
235
236
237 [FILE:345:patches/patch-meson.build]
238 --- meson.build.orig    2023-10-16 18:09:04 UTC
239 +++ meson.build
240 @@ -237,6 +237,10 @@ elif system == 'darwin'
241      ['_DARWIN_C_SOURCE', '1'],
242    ]
243  
244 +elif system == 'dragonfly'
245 +  libc_feature_defines = []
246 +elif system == 'midnightbsd'
247 +  libc_feature_defines = []
248  elif system == 'netbsd'
249    libc_feature_defines += [
250      ['_NETBSD_SOURCE', '1'],
251
252
253 [FILE:703:patches/patch-src_app_app.cc]
254 --- src/app/app.cc.orig 2023-10-16 18:09:04 UTC
255 +++ src/app/app.cc
256 @@ -3125,7 +3125,15 @@ main(int argc,
257                 struct termios tcattr;
258                 if (tcgetattr(STDIN_FILENO, &tcattr) == 0) {
259                         saved_tcattr = tcattr;
260 +#ifdef __sun__
261 +       tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
262 +       tcattr.c_oflag &= ~OPOST;
263 +       tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
264 +       tcattr.c_cflag &= ~(CSIZE|PARENB);
265 +       tcattr.c_cflag |= CS8;
266 +#else
267                         cfmakeraw(&tcattr);
268 +#endif
269                         if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) == 0)
270                                 reset_termios = true;
271                 }
272
273
274 [FILE:549:patches/patch-src_dumpkeys.c]
275 --- src/dumpkeys.c.orig 2023-10-16 18:09:04 UTC
276 +++ src/dumpkeys.c
277 @@ -162,7 +162,15 @@ main(int argc, char **argv)
278         }
279         original = tcattr;
280         signal(SIGINT, sigint_handler);
281 +#ifdef __sun__
282 +       tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
283 +       tcattr.c_oflag &= ~OPOST;
284 +       tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
285 +       tcattr.c_cflag &= ~(CSIZE|PARENB);
286 +       tcattr.c_cflag |= CS8;
287 +#else
288         cfmakeraw(&tcattr);
289 +#endif
290         if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) != 0) {
291                 perror("tcsetattr");
292                 return 1;
293
294
295 [FILE:453:patches/patch-src_libc-glue.hh]
296 --- src/libc-glue.hh.orig       2023-10-16 18:09:04 UTC
297 +++ src/libc-glue.hh
298 @@ -220,7 +220,13 @@ fd_dup_cloexec(int oldfd,
299  {
300          auto r = int{};
301          do {
302 +#ifdef F_DUPFD_CLOEXEC
303                  r = fcntl(oldfd, F_DUPFD_CLOEXEC, newfd);
304 +#else
305 +                r = fcntl(oldfd, F_DUPFD, 0);
306 +                newfd = r;
307 +                fcntl(newfd, F_SETFD, FD_CLOEXEC);
308 +#endif
309          } while (r == -1 && errno == EINTR);
310          return r;
311  }
312
313
314 [FILE:537:patches/patch-src_mev.c]
315 --- src/mev.c.orig      2023-10-16 18:09:04 UTC
316 +++ src/mev.c
317 @@ -358,7 +358,15 @@ main(int argc, char **argv)
318  
319         original = tcattr;
320         signal(SIGINT, sigint_handler);
321 +#ifdef __sun__
322 +       tcattr.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
323 +       tcattr.c_oflag &= ~OPOST;
324 +       tcattr.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
325 +       tcattr.c_cflag &= ~(CSIZE|PARENB);
326 +       tcattr.c_cflag |= CS8;
327 +#else
328         cfmakeraw(&tcattr);
329 +#endif
330         if (tcsetattr(STDIN_FILENO, TCSANOW, &tcattr) != 0) {
331                 perror("tcsetattr");
332                 return 1;
333
334
335 [FILE:1402:patches/patch-src_pty.cc]
336 --- src/pty.cc.orig     2023-10-16 18:09:04 UTC
337 +++ src/pty.cc
338 @@ -77,6 +77,10 @@
339  
340  #include "missing.hh"
341  
342 +#ifndef O_CLOEXEC
343 +#define O_CLOEXEC 0
344 +#endif
345 +
346  namespace vte::base {
347  
348  Pty*
349 @@ -340,6 +344,7 @@ Pty::get_size(int* rows,
350          return false;
351  }
352  
353 +#ifndef __sun__
354  static int
355  fd_set_cpkt(vte::libc::FD& fd)
356  {
357 @@ -356,6 +361,7 @@ fd_set_cpkt(vte::libc::FD& fd)
358  #endif
359          return ret;
360  }
361 +#endif
362  
363  static int
364  fd_setup(vte::libc::FD& fd)
365 @@ -390,6 +396,7 @@ fd_setup(vte::libc::FD& fd)
366                  return -1;
367          }
368  
369 +#ifndef __sun__
370          if (fd_set_cpkt(fd) < 0) {
371                  auto errsv = vte::libc::ErrnoSaver{};
372                  _vte_debug_print(VTE_DEBUG_PTY,
373 @@ -397,6 +404,7 @@ fd_setup(vte::libc::FD& fd)
374                                   "Setting packet mode", g_strerror(errsv));
375                  return -1;
376          }
377 +#endif
378  
379          return 0;
380  }
381 @@ -478,6 +486,7 @@ _vte_pty_open_posix(void)
382          }
383  #endif /* !linux */
384  
385 +#ifndef __sun__
386          if (fd_set_cpkt(fd) < 0) {
387                  auto errsv = vte::libc::ErrnoSaver{};
388                  _vte_debug_print(VTE_DEBUG_PTY,
389 @@ -485,6 +494,7 @@ _vte_pty_open_posix(void)
390                                   "Setting packet mode", g_strerror(errsv));
391                  return {};
392          }
393 +#endif
394  
395          if (grantpt(fd.get()) != 0) {
396                  auto errsv = vte::libc::ErrnoSaver{};
397
398
399 [FILE:324:patches/patch-src_vte.cc]
400 --- src/vte.cc.orig     2023-10-16 18:09:04 UTC
401 +++ src/vte.cc
402 @@ -34,6 +34,13 @@
403  #if __has_include(<sys/stream.h>)
404  #include <sys/stream.h>
405  #endif
406 +#ifdef HAVE_TERMIOS_H
407 +#include <termios.h>
408 +#endif
409 +#if defined(__sun__)
410 +#include <sys/ioccom.h>
411 +#include <sys/ptyvar.h>
412 +#endif
413  
414  #include <glib.h>
415  #include <glib-unix.h>
416
417
418 [FILE:270:patches/patch-src_widget.cc]
419 --- src/widget.cc.orig  2023-10-16 18:09:04 UTC
420 +++ src/widget.cc
421 @@ -22,6 +22,10 @@
422  
423  #include <sys/wait.h> // for W_EXITCODE
424  
425 +#ifndef W_EXITCODE
426 +#define W_EXITCODE(ret, sig)   ((ret) << 8 | (sig))
427 +#endif
428 +
429  #include <exception>
430  #include <new>
431  #include <stdexcept>
432