Date: Mon, 28 Sep 2020 11:29:18 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550422 - in head/lang/gjs: . files Message-ID: <202009281129.08SBTIVe039525@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Sep 28 11:29:18 2020 New Revision: 550422 URL: https://svnweb.freebsd.org/changeset/ports/550422 Log: Update to 1.66.0 Added: head/lang/gjs/files/ head/lang/gjs/files/patch-gjs_jsapi-class.h (contents, props changed) head/lang/gjs/files/patch-gjs_jsapi-util-args.h (contents, props changed) Modified: head/lang/gjs/Makefile head/lang/gjs/distinfo head/lang/gjs/pkg-plist Modified: head/lang/gjs/Makefile ============================================================================== --- head/lang/gjs/Makefile Mon Sep 28 11:24:09 2020 (r550421) +++ head/lang/gjs/Makefile Mon Sep 28 11:29:18 2020 (r550422) @@ -2,11 +2,10 @@ # $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 @@ -16,17 +15,21 @@ 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 <bsd.port.mk> Modified: head/lang/gjs/distinfo ============================================================================== --- head/lang/gjs/distinfo Mon Sep 28 11:24:09 2020 (r550421) +++ head/lang/gjs/distinfo Mon Sep 28 11:29:18 2020 (r550422) @@ -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 Added: head/lang/gjs/files/patch-gjs_jsapi-class.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gjs/files/patch-gjs_jsapi-class.h Mon Sep 28 11:29:18 2020 (r550422) @@ -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<type*>( \ + JS_GetInstancePrivate(cx, obj, &klass, nullptr)); \ Added: head/lang/gjs/files/patch-gjs_jsapi-util-args.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gjs/files/patch-gjs_jsapi-util-args.h Mon Sep 28 11:29:18 2020 (r550422) @@ -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; Modified: head/lang/gjs/pkg-plist ============================================================================== --- head/lang/gjs/pkg-plist Mon Sep 28 11:24:09 2020 (r550421) +++ head/lang/gjs/pkg-plist Mon Sep 28 11:29:18 2020 (r550422) @@ -2,10 +2,11 @@ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009281129.08SBTIVe039525>