Update to gjs-1.74.1.

This commit is contained in:
ajacoutot 2022-11-06 09:17:13 +00:00
parent 5a715a516d
commit f841ed5f8d
5 changed files with 11 additions and 10 deletions

View File

@ -3,8 +3,7 @@ USE_WXNEEDED= Yes
COMMENT= Javascript bindings for GNOME
GNOME_PROJECT= gjs
GNOME_VERSION= 1.72.3
REVISION= 0
GNOME_VERSION= 1.74.1
SHARED_LIBS += gjs 6.1 # 0.0.0
@ -17,7 +16,7 @@ PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX}
WANTLIB += X11 c cairo cairo-gobject ffi gio-2.0 girepository-1.0
WANTLIB += glib-2.0 gobject-2.0 intl m mozjs-91 readline
WANTLIB += glib-2.0 gobject-2.0 intl m mozjs-102 readline
MODULES= devel/meson \
x11/gnome
@ -30,7 +29,7 @@ MODPY_RUNDEP= No
MODPY_BUILDDEP= No
LIB_DEPENDS= devel/gobject-introspection \
devel/spidermonkey91
devel/spidermonkey102
# --with-dbus-tests
BUILD_DEPENDS += x11/dbus

View File

@ -1,2 +1,2 @@
SHA256 (gnome/gjs-1.72.3.tar.xz) = Iei6S5xEsnJ/Hi2DkevUbu0EoaNge5Qb6fFubSTkCb4=
SIZE (gnome/gjs-1.72.3.tar.xz) = 620432
SHA256 (gnome/gjs-1.74.1.tar.xz) = 8h+c0zN6ZypEx+ZL+ajYrXfBuIuVKythhMevmx8+9Fk=
SIZE (gnome/gjs-1.74.1.tar.xz) = 638536

View File

@ -17,7 +17,7 @@ Index: gjs/debugger.cpp
#include <glib.h>
@@ -31,6 +27,12 @@
@@ -32,6 +28,12 @@
#include "gjs/jsapi-util-args.h"
#include "gjs/jsapi-util.h"
#include "gjs/macros.h"

View File

@ -12,7 +12,7 @@ const char* strstr(const char* __s1, const char* __s2) {return __libcpp_strstr(_
Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -160,6 +160,7 @@ readline = cxx.find_library('readline', required: get_
@@ -163,6 +163,7 @@ readline = cxx.find_library('readline', required: get_
# On some systems we need to link readline to a termcap compatible library
readline_code = '''
#include <cstdio>
@ -20,7 +20,7 @@ Index: meson.build
#include <readline/readline.h>
int main(void) {
readline("foo");
@@ -327,9 +328,13 @@ header_conf.set('HAVE_DTRACE', get_option('dtrace'),
@@ -330,9 +331,13 @@ header_conf.set('HAVE_DTRACE', get_option('dtrace'),
description: 'Using dtrace probes')
header_conf.set('HAVE_PRINTF_ALTERNATIVE_INT', have_printf_alternative_int,
description: 'printf() accepts "%Id" for alternative integer output')

View File

@ -23,11 +23,13 @@ share/examples/gjs/gettext.js
share/examples/gjs/gio-cat.js
share/examples/gjs/glistmodel.js
share/examples/gjs/gtk-application.js
share/examples/gjs/gtk.js
share/examples/gjs/gtk3-template.js
share/examples/gjs/gtk3-template.ui
share/examples/gjs/gtk3.js
share/examples/gjs/gtk4-frame-clock.js
share/examples/gjs/gtk4-template.js
share/examples/gjs/gtk4-template.ui
share/examples/gjs/gtk4.js
share/examples/gjs/http-client.js
share/examples/gjs/http-server.js
share/examples/gjs/test.jpg