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