Index: head/lang/gjs/Makefile =================================================================== --- head/lang/gjs/Makefile (revision 550421) +++ head/lang/gjs/Makefile (revision 550422) @@ -1,32 +1,35 @@ # Created by: Pawel Worach # $FreeBSD$ PORTNAME= gjs -PORTVERSION= 1.52.4 -PORTREVISION= 4 +PORTVERSION= 1.66.0 CATEGORIES= lang gnome MASTER_SITES= GNOME -DIST_SUBDIR= gnome3 +DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME Javascript binding LICENSE= MPL11 LGPL20+ GPLv2+ LICENSE_COMB= multi LICENSE_FILE_MPL11= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LGPL -LIB_DEPENDS= libmozjs-52.so:lang/spidermonkey52 \ +LIB_DEPENDS= libmozjs-78.so:lang/spidermonkey78 \ libffi.so:devel/libffi -USES= compiler:c++11-lib gettext gmake gnome libtool \ - localbase pathfix pkgconfig python:build readline tar:xz xorg +USES= compiler:c++11-lib gettext gnome \ + localbase meson pkgconfig python:build readline tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 introspection USE_XORG= x11 xext -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig -CONFIGURE_ARGS+=--disable-profiler +MESON_ARGS= -Dcairo=enabled \ + -Dreadline=enabled \ + -Dprofiler=disabled \ + -Dinstalled_tests=false USE_LDCONFIG= yes -INSTALL_TARGET= install-strip + +CONFIGURE_ENV= PYTHONDONTWRITEBYTECODE=1 +MAKE_ENV= PYTHONDONTWRITEBYTECODE=1 + .include Index: head/lang/gjs/distinfo =================================================================== --- head/lang/gjs/distinfo (revision 550421) +++ head/lang/gjs/distinfo (revision 550422) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539116944 -SHA256 (gnome3/gjs-1.52.4.tar.xz) = 9c160cf9383ca20fcba3b75154c9d19efae9decf63bec6164a81403092d3b4f7 -SIZE (gnome3/gjs-1.52.4.tar.xz) = 626960 +TIMESTAMP = 1601286593 +SHA256 (gnome/gjs-1.66.0.tar.xz) = f30cf90e016db6c8fdd0059749559611760f0721f375b2b61e0b7239b43ab5f8 +SIZE (gnome/gjs-1.66.0.tar.xz) = 439596 Index: head/lang/gjs/files/patch-gjs_jsapi-class.h =================================================================== --- head/lang/gjs/files/patch-gjs_jsapi-class.h (nonexistent) +++ head/lang/gjs/files/patch-gjs_jsapi-class.h (revision 550422) @@ -0,0 +1,16 @@ +--- gjs/jsapi-class.h.orig 2020-09-12 19:34:36 UTC ++++ gjs/jsapi-class.h +@@ -77,11 +77,11 @@ bool gjs_define_property_dynamic(JSContext *cx, + * do_base_typecheck and priv_from_js + */ + #define GJS_DEFINE_PRIV_FROM_JS(type, klass) \ +- GJS_ALWAYS_INLINE [[nodiscard]] [[maybe_unused]] static inline bool \ ++ GJS_ALWAYS_INLINE static inline bool \ + do_base_typecheck(JSContext* cx, JS::HandleObject obj, bool throw_error) { \ + return gjs_typecheck_instance(cx, obj, &klass, throw_error); \ + } \ +- GJS_ALWAYS_INLINE [[nodiscard]] static inline type* priv_from_js( \ ++ GJS_ALWAYS_INLINE static inline type* priv_from_js( \ + JSContext* cx, JS::HandleObject obj) { \ + return static_cast( \ + JS_GetInstancePrivate(cx, obj, &klass, nullptr)); \ Property changes on: head/lang/gjs/files/patch-gjs_jsapi-class.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/gjs/files/patch-gjs_jsapi-util-args.h =================================================================== --- head/lang/gjs/files/patch-gjs_jsapi-util-args.h (nonexistent) +++ head/lang/gjs/files/patch-gjs_jsapi-util-args.h (revision 550422) @@ -0,0 +1,11 @@ +--- gjs/jsapi-util-args.h.orig 2020-09-12 19:34:36 UTC ++++ gjs/jsapi-util-args.h +@@ -43,7 +43,7 @@ + #include "gjs/jsapi-util.h" + #include "gjs/macros.h" + +-GJS_ALWAYS_INLINE [[nodiscard]] static inline bool check_nullable( ++GJS_ALWAYS_INLINE static inline bool check_nullable( + const char*& fchar, const char*& fmt_string) { + if (*fchar != '?') + return false; Property changes on: head/lang/gjs/files/patch-gjs_jsapi-util-args.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/gjs/pkg-plist =================================================================== --- head/lang/gjs/pkg-plist (revision 550421) +++ head/lang/gjs/pkg-plist (revision 550422) @@ -1,15 +1,16 @@ bin/gjs bin/gjs-console include/gjs-1.0/gjs/context.h include/gjs-1.0/gjs/coverage.h +include/gjs-1.0/gjs/error-types.h include/gjs-1.0/gjs/gjs.h include/gjs-1.0/gjs/macros.h +include/gjs-1.0/gjs/mem.h include/gjs-1.0/gjs/profiler.h -include/gjs-1.0/util/error.h lib/gjs/girepository-1.0/GjsPrivate-1.0.typelib lib/libgjs.so lib/libgjs.so.0 lib/libgjs.so.0.0.0 libdata/pkgconfig/gjs-1.0.pc %%DATADIR%%-1.0/lsan/lsan.supp %%DATADIR%%-1.0/valgrind/gjs.supp