Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/vte3 vte3: Update to 0.60.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df9118070d2b
branches:  trunk
changeset: 434629:df9118070d2b
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Jun 20 00:10:24 2020 +0000

description:
vte3: Update to 0.60.3

* Use meson to build.
* Enable vala and gobject-introspection.

Changelog:
Not available.

diffstat:

 x11/vte3/Makefile                 |  33 ++++++++++++--------------
 x11/vte3/PLIST                    |  45 +++++++++---------------------------
 x11/vte3/buildlink3.mk            |   6 ++--
 x11/vte3/distinfo                 |  15 +++++------
 x11/vte3/patches/patch-configure  |  15 ------------
 x11/vte3/patches/patch-src_pty.cc |  16 ++++++------
 x11/vte3/patches/patch-src_vte.cc |  47 +++++++++++++++++++-------------------
 7 files changed, 68 insertions(+), 109 deletions(-)

diffs (truncated from 333 to 300 lines):

diff -r 5ea6523c4500 -r df9118070d2b x11/vte3/Makefile
--- a/x11/vte3/Makefile Fri Jun 19 23:11:37 2020 +0000
+++ b/x11/vte3/Makefile Sat Jun 20 00:10:24 2020 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.25 2020/05/22 10:55:53 adam Exp $
+# $NetBSD: Makefile,v 1.26 2020/06/20 00:10:24 ryoon Exp $
 
-DISTNAME=      vte-0.54.3
+DISTNAME=      vte-0.60.3
 PKGNAME=       ${DISTNAME:S/vte/vte3/}
-PKGREVISION=   5
 CATEGORIES=    x11
-MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/vte/0.54/}
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/vte/0.60/}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,30 +11,28 @@
 COMMENT=       Terminal widget with improved accessibility and I18N support
 LICENSE=       gnu-lgpl-v2
 
-PKGCONFIG_OVERRIDE+=   vte.pc.in
+PKGCONFIG_OVERRIDE_STAGE=      post-configure
+PKGCONFIG_OVERRIDE+=           output/meson-private/vte-2.91.pc
 
-USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake intltool msgfmt pkg-config bash
 USE_LANGUAGES=         c c++14
 # for c++14 \todo
 GCC_REQD+=             5
 
-BUILDLINK_TRANSFORM+=  rm:-Werror=format=2
-
-.include "../../mk/bsd.prefs.mk"
+BUILDLINK_TRANSFORM+=  rm:-Werror=format=2 # for %m in printf
 
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
-CONFIGURE_ARGS+=       --disable-Bsymbolic
-.else
-CONFIGURE_ARGS+=       --enable-Bsymbolic=auto
-.endif
-CONFIGURE_ARGS+=       --disable-introspection
-CONFIGURE_ARGS+=       --disable-vala
-
-.include "../../devel/gperf/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
 .include "../../devel/pcre2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/vala/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
 .include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5ea6523c4500 -r df9118070d2b x11/vte3/PLIST
--- a/x11/vte3/PLIST    Fri Jun 19 23:11:37 2020 +0000
+++ b/x11/vte3/PLIST    Sat Jun 20 00:10:24 2020 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2019/03/07 21:36:06 jmcneill Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/06/20 00:10:24 ryoon Exp $
 bin/vte-2.91
+etc/profile.d/vte.csh
 etc/profile.d/vte.sh
 include/vte-2.91/vte/vte.h
 include/vte-2.91/vte/vtedeprecated.h
@@ -11,39 +12,13 @@
 include/vte-2.91/vte/vteterminal.h
 include/vte-2.91/vte/vtetypebuiltins.h
 include/vte-2.91/vte/vteversion.h
-lib/libvte-2.91.la
+lib/girepository-1.0/Vte-2.91.typelib
+lib/libvte-2.91.so
+lib/libvte-2.91.so.0
+lib/libvte-2.91.so.0.6000.3
 lib/pkgconfig/vte-2.91.pc
-share/gtk-doc/html/vte-2.91/VteRegex.html
-share/gtk-doc/html/vte-2.91/VteTerminal.html
-share/gtk-doc/html/vte-2.91/annotation-glossary.html
-share/gtk-doc/html/vte-2.91/api-index-0-40.html
-share/gtk-doc/html/vte-2.91/api-index-0-44.html
-share/gtk-doc/html/vte-2.91/api-index-0-46.html
-share/gtk-doc/html/vte-2.91/api-index-0-48.html
-share/gtk-doc/html/vte-2.91/api-index-0-50.html
-share/gtk-doc/html/vte-2.91/api-index-0-52.html
-share/gtk-doc/html/vte-2.91/api-index-0-54.html
-share/gtk-doc/html/vte-2.91/api-index-deprecated.html
-share/gtk-doc/html/vte-2.91/api-index-full.html
-share/gtk-doc/html/vte-2.91/ch01.html
-share/gtk-doc/html/vte-2.91/ch02.html
-share/gtk-doc/html/vte-2.91/ch03.html
-share/gtk-doc/html/vte-2.91/ch04.html
-share/gtk-doc/html/vte-2.91/home.png
-share/gtk-doc/html/vte-2.91/index.html
-share/gtk-doc/html/vte-2.91/left-insensitive.png
-share/gtk-doc/html/vte-2.91/left.png
-share/gtk-doc/html/vte-2.91/licence.html
-share/gtk-doc/html/vte-2.91/object-hierarchy.html
-share/gtk-doc/html/vte-2.91/pt01.html
-share/gtk-doc/html/vte-2.91/right-insensitive.png
-share/gtk-doc/html/vte-2.91/right.png
-share/gtk-doc/html/vte-2.91/style.css
-share/gtk-doc/html/vte-2.91/up-insensitive.png
-share/gtk-doc/html/vte-2.91/up.png
-share/gtk-doc/html/vte-2.91/vte-2.91.devhelp2
-share/gtk-doc/html/vte-2.91/vte-Version-Information.html
-share/gtk-doc/html/vte-2.91/vte-Vte-PTY.html
+libexec/vte-urlencode-cwd
+share/gir-1.0/Vte-2.91.gir
 share/locale/am/LC_MESSAGES/vte-2.91.mo
 share/locale/an/LC_MESSAGES/vte-2.91.mo
 share/locale/ang/LC_MESSAGES/vte-2.91.mo
@@ -59,6 +34,7 @@
 share/locale/bs/LC_MESSAGES/vte-2.91.mo
 share/locale/ca/LC_MESSAGES/vte-2.91.mo
 share/locale/ca@valencia/LC_MESSAGES/vte-2.91.mo
+share/locale/ckb/LC_MESSAGES/vte-2.91.mo
 share/locale/cs/LC_MESSAGES/vte-2.91.mo
 share/locale/cy/LC_MESSAGES/vte-2.91.mo
 share/locale/da/LC_MESSAGES/vte-2.91.mo
@@ -99,6 +75,7 @@
 share/locale/lv/LC_MESSAGES/vte-2.91.mo
 share/locale/mai/LC_MESSAGES/vte-2.91.mo
 share/locale/mi/LC_MESSAGES/vte-2.91.mo
+share/locale/mjw/LC_MESSAGES/vte-2.91.mo
 share/locale/mk/LC_MESSAGES/vte-2.91.mo
 share/locale/ml/LC_MESSAGES/vte-2.91.mo
 share/locale/mn/LC_MESSAGES/vte-2.91.mo
@@ -139,3 +116,5 @@
 share/locale/zh_CN/LC_MESSAGES/vte-2.91.mo
 share/locale/zh_HK/LC_MESSAGES/vte-2.91.mo
 share/locale/zh_TW/LC_MESSAGES/vte-2.91.mo
+share/vala/vapi/vte-2.91.deps
+share/vala/vapi/vte-2.91.vapi
diff -r 5ea6523c4500 -r df9118070d2b x11/vte3/buildlink3.mk
--- a/x11/vte3/buildlink3.mk    Fri Jun 19 23:11:37 2020 +0000
+++ b/x11/vte3/buildlink3.mk    Sat Jun 20 00:10:24 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2020/05/22 10:55:53 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2020/06/20 00:10:24 ryoon Exp $
 
 BUILDLINK_TREE+=       vte3
 
@@ -9,10 +9,10 @@
 BUILDLINK_ABI_DEPENDS.vte3+=   vte3>=0.54.3nb5
 BUILDLINK_PKGSRCDIR.vte3?=     ../../x11/vte3
 
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
 .include "../../devel/pcre2/buildlink3.mk"
-.include "../../security/gnutls/buildlink3.mk"
 .include "../../x11/gtk3/buildlink3.mk"
-.include "../../mk/termcap.buildlink3.mk"
 .endif # VTE3_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -vte3
diff -r 5ea6523c4500 -r df9118070d2b x11/vte3/distinfo
--- a/x11/vte3/distinfo Fri Jun 19 23:11:37 2020 +0000
+++ b/x11/vte3/distinfo Sat Jun 20 00:10:24 2020 +0000
@@ -1,12 +1,11 @@
-$NetBSD: distinfo,v 1.10 2019/03/27 11:19:10 jperkin Exp $
+$NetBSD: distinfo,v 1.11 2020/06/20 00:10:24 ryoon Exp $
 
-SHA1 (vte-0.54.3.tar.xz) = ea498d334e341738ef03d4d2d2c99b8bb1c1570e
-RMD160 (vte-0.54.3.tar.xz) = 3275821836e06d134288738b3e6ecec449e80d16
-SHA512 (vte-0.54.3.tar.xz) = dd7d2ac361ed9ac0550599bb3164a3bd6ba95535275c9b559c81ce0af1bbf4b3d150a7489f987b2e626b32d4a8adc82d1ff78e8c8640e5b1c036fe4076c5d8ce
-Size (vte-0.54.3.tar.xz) = 1087424 bytes
-SHA1 (patch-configure) = 9a570f27c0ec4e4680d517a8c2498b37728d52ae
+SHA1 (vte-0.60.3.tar.xz) = ba1e2f241326a2e146336832c21c41b61e0e55af
+RMD160 (vte-0.60.3.tar.xz) = 2615d28eaaf9293038f305d26e62e049f503064a
+SHA512 (vte-0.60.3.tar.xz) = 3694fe711e0b3eb9d6ba37ad8036f5d3cca4265635ed7afcde750a8445b17f820d1c55b557d0ea1c8a5a45e5408915d8da2ffd65b4d397c6582f288812ae1f18
+Size (vte-0.60.3.tar.xz) = 535504 bytes
 SHA1 (patch-src_app_app.cc) = ff76c74840342195a4d318418474f69e385f6571
-SHA1 (patch-src_pty.cc) = 4bcd447b214d59da69ea8c0bc5100cce27623f63
-SHA1 (patch-src_vte.cc) = 9886ae82daa8c4ad55ce85e2dec3216d3e46221a
+SHA1 (patch-src_pty.cc) = 841aa8246db98a83d68ee7b5131df7e492787238
+SHA1 (patch-src_vte.cc) = 563a990fd00c8ec68d4afba90f3c45a76c76e404
 SHA1 (patch-src_vtedraw.cc) = 1deab7738ae7c7bbb53e5b951df4d8a6ad9312f9
 SHA1 (patch-src_widget.cc) = adcecb612c6a0945f13c26e3b6a89131bcab4b1f
diff -r 5ea6523c4500 -r df9118070d2b x11/vte3/patches/patch-configure
--- a/x11/vte3/patches/patch-configure  Fri Jun 19 23:11:37 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure,v 1.2 2018/05/15 09:50:49 jperkin Exp $
-
-Leave pkgsrc to handle security features.
-
---- configure.orig     2018-04-09 21:44:54.000000000 +0000
-+++ configure
-@@ -19290,7 +19290,7 @@ _ACEOF
- 
- 
- 
--  for flag in    -pipe   -Wall   -Wcast-align   -Wendif-labels   -Werror=declaration-after-statement   "-Werror=format=2 -Werror=format-nonliteral -Werror=format-security"   
-Werror=implicit-function-declaration   -Werror=init-self   -Werror=missing-include-dirs   -Werror=missing-prototypes   -Werror=pointer-arith   -Wextra   -Wfloat-equal   -Wlogical-op   
-Wmisleading-indentation   -Wmissing-declarations   -Wmissing-include-dirs   -Wmissing-format-attribute   -Wmissing-noreturn   -Wno-missing-field-initializers   -Wno-switch-enum   
-Wno-unused-parameter   -Wno-packed   -Wshadow   -Wsign-compare   -Wstrict-aliasing=2   -Wundef   -Wuninitialized   -Wunsafe-loop-optimizations   -Wwrite-strings   -fno-common   
-fdiagnostics-show-option   -fno-strict-aliasing   -fstack-protector   -fstack-protector-strong   -fno-semantic-interposition   -Wno-deprecated-declarations     -Waggregate-return   -Wimplicit   
-Wnested-externs   -Wold-style-definition   -Wstrict-prototypes ; do
-+  for flag in    -pipe   -Wall   -Wcast-align   -Wendif-labels   -Werror=declaration-after-statement   "-Werror=format=2 -Werror=format-nonliteral -Werror=format-security"   
-Werror=implicit-function-declaration   -Werror=init-self   -Werror=missing-include-dirs   -Werror=missing-prototypes   -Werror=pointer-arith   -Wextra   -Wfloat-equal   -Wlogical-op   
-Wmisleading-indentation   -Wmissing-declarations   -Wmissing-include-dirs   -Wmissing-format-attribute   -Wmissing-noreturn   -Wno-missing-field-initializers   -Wno-switch-enum   
-Wno-unused-parameter   -Wno-packed   -Wshadow   -Wsign-compare   -Wstrict-aliasing=2   -Wundef   -Wuninitialized   -Wunsafe-loop-optimizations   -Wwrite-strings   -fno-common   
-fdiagnostics-show-option   -fno-strict-aliasing   -fno-semantic-interposition   -Wno-deprecated-declarations     -Waggregate-return   -Wimplicit   -Wnested-externs   -Wold-style-definition   
-Wstrict-prototypes ; do
- 
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
- $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
diff -r 5ea6523c4500 -r df9118070d2b x11/vte3/patches/patch-src_pty.cc
--- a/x11/vte3/patches/patch-src_pty.cc Fri Jun 19 23:11:37 2020 +0000
+++ b/x11/vte3/patches/patch-src_pty.cc Sat Jun 20 00:10:24 2020 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-src_pty.cc,v 1.3 2018/06/22 14:34:43 jperkin Exp $
+$NetBSD: patch-src_pty.cc,v 1.4 2020/06/20 00:10:24 ryoon Exp $
 
 NetBSD fix
 Use correct includes on SunOS.
 Don't use packet mode on SunOS.
 
---- src/pty.cc.orig    2018-05-21 19:30:33.000000000 +0000
+--- src/pty.cc.orig    2020-05-13 09:51:07.000000000 +0000
 +++ src/pty.cc
-@@ -60,7 +60,9 @@
+@@ -64,7 +64,9 @@
  #ifdef HAVE_PTY_H
  #include <pty.h>
  #endif
@@ -17,7 +17,7 @@
  #include <stropts.h>
  #endif
  #include <glib.h>
-@@ -605,12 +607,14 @@ fd_setup(int fd)
+@@ -638,12 +640,14 @@ fd_setup(int fd)
                  return -1;
          }
  
@@ -32,7 +32,7 @@
  
          return 0;
  }
-@@ -632,7 +636,12 @@ _vte_pty_open_posix(void)
+@@ -665,7 +669,12 @@ _vte_pty_open_posix(void)
          fd = posix_openpt(O_RDWR | O_NOCTTY | O_NONBLOCK | O_CLOEXEC);
  #ifndef __linux__
          /* Other kernels may not support CLOEXEC or NONBLOCK above, so try to fall back */
@@ -46,7 +46,7 @@
          if (fd == -1 && errno == EINVAL) {
                  /* Try without NONBLOCK and apply the flag afterward */
                  need_nonblocking = true;
-@@ -668,12 +677,14 @@ _vte_pty_open_posix(void)
+@@ -701,12 +710,14 @@ _vte_pty_open_posix(void)
          }
  #endif /* !linux */
  
@@ -59,5 +59,5 @@
          }
 +#endif
  
-       _vte_debug_print(VTE_DEBUG_PTY, "Allocated pty on fd %d.\n", (int)fd);
- 
+         if (grantpt(fd) != 0) {
+                 vte::util::restore_errno errsv;
diff -r 5ea6523c4500 -r df9118070d2b x11/vte3/patches/patch-src_vte.cc
--- a/x11/vte3/patches/patch-src_vte.cc Fri Jun 19 23:11:37 2020 +0000
+++ b/x11/vte3/patches/patch-src_vte.cc Sat Jun 20 00:10:24 2020 +0000
@@ -1,21 +1,11 @@
-$NetBSD: patch-src_vte.cc,v 1.2 2018/06/22 14:34:43 jperkin Exp $
+$NetBSD: patch-src_vte.cc,v 1.3 2020/06/20 00:10:24 ryoon Exp $
 
 Use correct includes on SunOS.
 Don't use packet mode on SunOS.
 
---- src/vte.cc.orig    2018-05-21 19:31:53.000000000 +0000
+--- src/vte.cc.orig    2020-05-13 09:51:07.000000000 +0000
 +++ src/vte.cc
-@@ -25,6 +25,9 @@
- #include <string.h>
- #include <sys/ioctl.h>
- #include <sys/param.h> /* howmany() */
-+#ifdef __sun
-+#include <sys/ptyvar.h>
-+#endif
- #include <errno.h>
- #include <fcntl.h>
- #include <math.h>
-@@ -3970,6 +3973,9 @@ VteTerminalPrivate::pty_io_read(GIOChann
+@@ -3966,6 +3966,9 @@ Terminal::pty_io_read(int const fd,
                        bp = chunk->data + chunk->len;
                        len = 0;
                        do {
@@ -25,7 +15,7 @@
                                  /* 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
-@@ -3980,6 +3986,7 @@ VteTerminalPrivate::pty_io_read(GIOChann
+@@ -3977,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;
@@ -33,19 +23,28 @@
                                switch (ret){
                                        case -1:
                                                err = errno;
-@@ -3988,6 +3995,7 @@ VteTerminalPrivate::pty_io_read(GIOChann
-                                               eof = TRUE;



Home | Main Index | Thread Index | Old Index