# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= vte VERSION= 0.62.0 KEYWORDS= x11_toolkits VARIANTS= standard SDESC[standard]= Virtual Terminal Emulator widget HOMEPAGE= https://wiki.gnome.org/Apps/Terminal/VTE CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GNOME/vte/0.62 DISTFILE[1]= vte-0.62.0.tar.xz:main DIST_SUBDIR= gnome3 DF_INDEX= 1 SPKGS[standard]= complete primary docs nls OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= bash:primary:standard cmake:single:standard vala:single:standard BUILDRUN_DEPENDS= gnutls:primary:standard icu:single:standard pcre2:primary:standard USES= gettext-runtime gettext-tools:build meson pkgconfig GNOME_COMPONENTS= cairo gdkpixbuf gtk3 intltool introspection LICENSE= LGPL21+:primary LICENSE_TERMS= primary:{{WRKDIR}}/TERMS LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING LICENSE_AWK= TERMS:"^$$" LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/vte.cc LICENSE_SCHEME= solo FPC_EQUIVALENT= x11-toolkits/vte3 MESON_ARGS= -D_systemd=false INSTALL_TARGET= install-strip INSTALL_REQ_TOOLCHAIN= yes SOVERSION= 0.6200.0 PLIST_SUB= VERSION=2.91 post-patch: ${REINPLACE_CMD} -e '/fstack-prot/d' ${WRKSRC}/meson.build ${REINPLACE_CMD} -e 's|linux|skipx|' ${WRKSRC}/src/pty.cc post-patch-sunos: ${REINPLACE_CMD} \ -e 's|sys/ioctl\.h|sys/termios.h|' \ -e '/Bsymbolic-functions/d' \ ${WRKSRC}/meson.build [FILE:108:descriptions/desc.primary] Terminal widget with improved font, internationalisation and accessibility support for the GNOME 3 desktop. [FILE:103:distinfo] 4d2d246ed47f08cc73f6471aa8e9f378998b7d0f7dcb0c433f29da5839dbb016 444192 gnome3/vte-0.62.0.tar.xz [FILE:513:manifests/plist.primary] bin/vte-%%VERSION%% etc/profile.d/ vte.csh vte.sh include/vte-%%VERSION%%/vte/ vte.h vtedeprecated.h vteenums.h vteglobals.h vtemacros.h vtepty.h vteregex.h vteterminal.h vtetypebuiltins.h vteversion.h lib/ libvte-%%VERSION%%.so libvte-%%VERSION%%.so.%%SOMAJOR%% libvte-%%VERSION%%.so.%%SOVERSION%% lib/girepository-1.0/Vte-%%VERSION%%.typelib lib/pkgconfig/vte-%%VERSION%%.pc libexec/vte-urlencode-cwd share/gir-1.0/Vte-%%VERSION%%.gir share/vala/vapi/ vte-%%VERSION%%.deps vte-%%VERSION%%.vapi [FILE:4622:manifests/plist.nls] share/locale/am/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/an/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ang/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ar/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/as/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ast/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/az/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/be/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/be@latin/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/bg/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/bn/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/bn_IN/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/bs/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ca/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ca@valencia/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ckb/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/cs/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/cy/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/da/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/de/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/dz/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/el/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/en@shaw/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/en_CA/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/en_GB/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/eo/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/es/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/et/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/eu/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/fa/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/fi/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/fr/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/fur/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ga/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/gd/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/gl/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/gu/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/he/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/hi/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/hr/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/hu/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/id/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/is/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/it/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ja/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ka/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/kk/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/kn/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ko/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ku/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ky/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/li/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/lt/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/lv/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/mai/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/mi/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/mjw/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/mk/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ml/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/mn/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/mr/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ms/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/nb/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/nds/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ne/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/nl/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/nn/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/oc/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/or/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/pa/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/pl/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/pt/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/pt_BR/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ro/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ru/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/rw/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/si/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/sk/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/sl/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/sq/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/sr/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/sr@latin/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/sv/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ta/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/te/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/tg/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/th/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/tr/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/ug/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/uk/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/uz@cyrillic/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/vi/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/wa/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/xh/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/zh_CN/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/zh_HK/LC_MESSAGES/vte-%%VERSION%%.mo share/locale/zh_TW/LC_MESSAGES/vte-%%VERSION%%.mo [FILE:1711:patches/patch-src_vte.cc] --- src/vte.cc.orig 2020-09-15 14:46:41 UTC +++ src/vte.cc @@ -29,6 +29,13 @@ #ifdef HAVE_SYS_TERMIOS_H #include #endif +#ifdef HAVE_TERMIOS_H +#include +#endif +#if defined(__sun__) +#include +#include +#endif #include #include @@ -3959,6 +3966,9 @@ Terminal::pty_io_read(int const fd, bp = chunk->data + chunk->len; len = 0; do { +#ifdef __sun__ + int ret = read (fd, bp, rem); +#else /* We'd like to read (fd, bp, rem); but due to TIOCPKT mode * there's an extra input byte returned at the beginning. * We need to see what that byte is, but otherwise drop it @@ -3970,6 +3980,7 @@ Terminal::pty_io_read(int const fd, int ret = read (fd, bp - 1, rem + 1); pkt_header = bp[-1]; bp[-1] = save; +#endif switch (ret){ case -1: err = errno; @@ -3978,6 +3989,7 @@ Terminal::pty_io_read(int const fd, eos = true; goto out; default: +#ifndef __sun__ ret--; if (pkt_header == TIOCPKT_DATA) { @@ -4004,6 +4016,7 @@ Terminal::pty_io_read(int const fd, if (pkt_header & TIOCPKT_START) { pty_scroll_lock_changed(false); } +#endif } break; } [FILE:267:patches/patch-src_widget.cc] --- src/widget.cc.orig 2020-09-15 14:46:41 UTC +++ src/widget.cc @@ -22,6 +22,10 @@ #include // for W_EXITCODE +#ifndef W_EXITCODE +#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) +#endif + #include #include #include [FILE:961:sunos/patch-src_pty.cc] --- src/pty.cc.orig 2020-05-13 09:51:07 UTC +++ src/pty.cc @@ -612,6 +612,7 @@ fd_set_cpkt(int fd) static int fd_setup(int fd) { +#ifndef __sun__ if (grantpt(fd) != 0) { vte::util::restore_errno errsv; _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %m\n", "grantpt"); @@ -644,6 +645,7 @@ fd_setup(int fd) "%s failed: %s", "ioctl(TIOCPKT)", g_strerror(errsv)); return -1; } +#endif return 0; } @@ -701,12 +703,14 @@ _vte_pty_open_posix(void) } #endif /* !linux */ +#ifndef __sun__ if (fd_set_cpkt(fd) < 0) { vte::util::restore_errno errsv; _vte_debug_print(VTE_DEBUG_PTY, "%s failed: %s", "ioctl(TIOCPKT)", g_strerror(errsv)); return -1; } +#endif if (grantpt(fd) != 0) { vte::util::restore_errno errsv;