lang/cjs: Update to 6.4.0

PR:		288177
Co-authored-by:	Gleb Popov <arrowd@FreeBSD.org>
This commit is contained in:
Pavel Timofeev 2025-07-13 10:33:38 +03:00 committed by Gleb Popov
parent 4f2c766cb1
commit dd57e87b62
3 changed files with 24 additions and 19 deletions

View File

@ -1,14 +1,10 @@
PORTNAME= cjs PORTNAME= cjs
PORTVERSION= 5.4.1 DISTVERSION= 6.4.0
PORTREVISION= 2
CATEGORIES= lang gnome CATEGORIES= lang gnome
DIST_SUBDIR= gnome DIST_SUBDIR= gnome
PATCH_SITES= https://gitlab.gnome.org/GNOME/gjs/-/commit/
PATCHFILES= f93880c356108cfdbc8f9ebe318d18f256d7128d.patch:-p1 # https://gitlab.gnome.org/GNOME/gjs/-/issues/514
MAINTAINER= gnome@FreeBSD.org MAINTAINER= gnome@FreeBSD.org
COMMENT= JavaScript bindings based on gobject-introspection COMMENT= Cinnamon Javascript interpreter
WWW= https://github.com/linuxmint/cjs WWW= https://github.com/linuxmint/cjs
LICENSE= MIT LGPL20+ LICENSE= MIT LGPL20+
@ -17,14 +13,14 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT.txt
LICENSE_FILE_LGPL20+ = ${WRKSRC}/LICENSES/LGPL-2.0-or-later.txt LICENSE_FILE_LGPL20+ = ${WRKSRC}/LICENSES/LGPL-2.0-or-later.txt
LIB_DEPENDS= libffi.so:devel/libffi \ LIB_DEPENDS= libffi.so:devel/libffi \
libmozjs-78.so:lang/spidermonkey78 libmozjs-115.so:lang/spidermonkey115
USES= compiler:c++17-lang gettext gnome localbase meson pkgconfig \ USES= compiler:c++17-lang gnome meson pkgconfig \
python:build readline shebangfix xorg python:build shebangfix xorg
USE_GNOME= cairo gdkpixbuf gtk30 introspection USE_GNOME= cairo glib20 introspection
USE_XORG= x11 xext USE_XORG= x11 xext
MESON_ARGS= -Dinstalled_tests=false \ MESON_ARGS= -Dprofiler=disabled
-Dprofiler=disabled
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_GITHUB= yes USE_GITHUB= yes
@ -34,8 +30,15 @@ SHEBANG_GLOB= *.py
PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags
post-patch: OPTIONS_DEFINE= READLINE TEST
${REINPLACE_CMD} -e 's|--warn-error||g' \ OPTIONS_DEFAULT= READLINE
${WRKSRC}/meson.build
READLINE_MESON_ENABLED= readline
READLINE_USES= readline
TEST_BUILD_DEPENDS= dbus-run-session:devel/dbus \
gtk3>0:x11-toolkits/gtk30 \
gtk4>0:x11-toolkits/gtk40
TEST_MESON_FALSE= skip_dbus_tests skip_gtk_tests
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1677355395 TIMESTAMP = 1735624742
SHA256 (gnome/linuxmint-cjs-5.4.1_GH0.tar.gz) = 212fa302f15ea955af6dc87fdba3898f751d078df91cb84b0e6615d5a2b84e15 SHA256 (gnome/linuxmint-cjs-6.4.0_GH0.tar.gz) = 55d730fdb331a9778a0d569e45c968ac68c8f218876e5d2d475cb5af21b6935a
SIZE (gnome/linuxmint-cjs-5.4.1_GH0.tar.gz) = 794618 SIZE (gnome/linuxmint-cjs-6.4.0_GH0.tar.gz) = 874506
SHA256 (gnome/f93880c356108cfdbc8f9ebe318d18f256d7128d.patch) = 254299e1b39987c53c3c4943fcc3c4e0b00a27442192243e3c7c1589969f2811 SHA256 (gnome/f93880c356108cfdbc8f9ebe318d18f256d7128d.patch) = 254299e1b39987c53c3c4943fcc3c4e0b00a27442192243e3c7c1589969f2811
SIZE (gnome/f93880c356108cfdbc8f9ebe318d18f256d7128d.patch) = 1674 SIZE (gnome/f93880c356108cfdbc8f9ebe318d18f256d7128d.patch) = 1674

View File

@ -1 +1,3 @@
This module contains JavaScript bindings based on gobject-introspection. CJS fork of GJS for Cinnamon. It is functionally identical, and is only
to maintain stability with the Cinnamon release cycle, and between various
distributions.