pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gjs Import of gjs-1.53.4 as lang/gjs
details: https://anonhg.NetBSD.org/pkgsrc/rev/6fc46e738308
branches: trunk
changeset: 402296:6fc46e738308
user: fox <fox%pkgsrc.org@localhost>
date: Sun Oct 06 15:50:31 2019 +0000
description:
Import of gjs-1.53.4 as lang/gjs
Gjs is a Javascript binding for GNOME. It's mainly based on
Spidermonkey javascript engine and the GObject introspection
framework.
Reviewed by: nia@
diffstat:
lang/gjs/DESCR | 3 ++
lang/gjs/Makefile | 45 +++++++++++++++++++++++++++++++++++++
lang/gjs/PLIST | 14 +++++++++++
lang/gjs/buildlink3.mk | 18 ++++++++++++++
lang/gjs/distinfo | 8 ++++++
lang/gjs/patches/patch-Makefile.am | 16 +++++++++++++
lang/gjs/patches/patch-configure.ac | 24 +++++++++++++++++++
7 files changed, 128 insertions(+), 0 deletions(-)
diffs (156 lines):
diff -r be05941180fb -r 6fc46e738308 lang/gjs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gjs/DESCR Sun Oct 06 15:50:31 2019 +0000
@@ -0,0 +1,3 @@
+Gjs is a Javascript binding for GNOME. It's mainly based on
+Spidermonkey javascript engine and the GObject introspection
+framework.
diff -r be05941180fb -r 6fc46e738308 lang/gjs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gjs/Makefile Sun Oct 06 15:50:31 2019 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2019/10/06 15:50:31 fox Exp $
+
+DISTNAME= gjs-1.53.4
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gjs/1.53/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://live.gnome.org/Gjs
+COMMENT= Javascript binding for GNOME based on Spidermonkey
+LICENSE= mit
+
+BUILD_DEPENDS+= autoconf-archive-[0-9]*:../../devel/autoconf-archive
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf autoreconf automake
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= gjs-1.0.pc.in
+
+CONFIGURE_ARGS+= --disable-profiler
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+
+LDFLAGS.NetBSD+= ${X11_LDFLAGS}
+
+# Needed by the Javascript JIT used in gjs
+NOT_PAX_MPROTECT_SAFE+= bin/gjs-console
+NOT_PAX_MPROTECT_SAFE+= bin/gjs
+
+pre-configure:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} autoreconf -vfi
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../graphics/cairo-gobject/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../lang/spidermonkey52/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r be05941180fb -r 6fc46e738308 lang/gjs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gjs/PLIST Sun Oct 06 15:50:31 2019 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/06 15:50:31 fox Exp $
+bin/gjs
+bin/gjs-console
+include/gjs-1.0/gjs/context.h
+include/gjs-1.0/gjs/coverage.h
+include/gjs-1.0/gjs/gjs.h
+include/gjs-1.0/gjs/macros.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.la
+lib/pkgconfig/gjs-1.0.pc
+share/gjs-1.0/lsan/lsan.supp
+share/gjs-1.0/valgrind/gjs.supp
diff -r be05941180fb -r 6fc46e738308 lang/gjs/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gjs/buildlink3.mk Sun Oct 06 15:50:31 2019 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/10/06 15:50:31 fox Exp $
+
+BUILDLINK_TREE+= gjs
+
+.if !defined(GJS_BUILDLINK3_MK)
+GJS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gjs+= gjs>=1.53.4
+BUILDLINK_PKGSRCDIR.gjs?= ../../lang/gjs
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../lang/spidermonkey52/buildlink3.mk"
+.include "../../graphics/cairo-gobject/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.endif # GJS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gjs
diff -r be05941180fb -r 6fc46e738308 lang/gjs/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gjs/distinfo Sun Oct 06 15:50:31 2019 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2019/10/06 15:50:31 fox Exp $
+
+SHA1 (gjs-1.53.4.tar.xz) = 7193dffbc30e08fec94bc315feeb41bfdaa67c64
+RMD160 (gjs-1.53.4.tar.xz) = 1263754399afd24e0522d67241685192574d4e35
+SHA512 (gjs-1.53.4.tar.xz) = 5876a8912699fcb22bdfe678a5c9d9893be9dc5b2242160985dd6491c1b4c6148fd4d57d62a9be9c98186176440cf9f99239f8be6b57126cb077c3f90aeb8e2e
+Size (gjs-1.53.4.tar.xz) = 635936 bytes
+SHA1 (patch-Makefile.am) = 5b8f2c6468b557c54541172ca0ceba5b77601f8c
+SHA1 (patch-configure.ac) = acd8d6e1546c14a636478da2a557cef4bdbc146a
diff -r be05941180fb -r 6fc46e738308 lang/gjs/patches/patch-Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gjs/patches/patch-Makefile.am Sun Oct 06 15:50:31 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.am,v 1.1 2019/10/06 15:50:31 fox Exp $
+
+Disable tests, they pull in a lot more dependencies.
+
+--- Makefile.am.orig 2019-10-05 08:36:21.151106816 +0000
++++ Makefile.am
+@@ -161,9 +161,6 @@ gjs_console_SOURCES = $(gjs_console_srcs
+ install-exec-hook:
+ (cd $(DESTDIR)$(bindir) && $(LN_S) -f gjs-console$(EXEEXT) gjs$(EXEEXT))
+
+-include Makefile-test.am
+-include Makefile-insttest.am
+-
+ EXTRA_DIST += \
+ autogen.sh \
+ COPYING.LGPL \
diff -r be05941180fb -r 6fc46e738308 lang/gjs/patches/patch-configure.ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gjs/patches/patch-configure.ac Sun Oct 06 15:50:31 2019 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure.ac,v 1.1 2019/10/06 15:50:31 fox Exp $
+
+Disable tests, they pull in a lot more dependencies.
+
+--- configure.ac.orig 2019-10-05 08:36:32.253994276 +0000
++++ configure.ac
+@@ -313,17 +313,6 @@ dnl automake 1.11/1.12 defines this but
+ AC_SUBST([pkglibexecdir], ["${libexecdir}/${PACKAGE}"])
+
+ AC_CONFIG_FILES([Makefile gjs-1.0.pc win32/config.h.win32])
+-dnl Symlink the files from gobject-introspection's test libraries into the tree;
+-dnl Automake plans to drop support for compiling them in-place.
+-AC_CONFIG_LINKS([
+- installed-tests/gitestmacros.h:$GI_DATADIR/tests/gitestmacros.h
+- installed-tests/regress.c:$GI_DATADIR/tests/regress.c
+- installed-tests/regress.h:$GI_DATADIR/tests/regress.h
+- installed-tests/warnlib.c:$GI_DATADIR/tests/warnlib.c
+- installed-tests/warnlib.h:$GI_DATADIR/tests/warnlib.h
+- installed-tests/gimarshallingtests.c:$GI_DATADIR/tests/gimarshallingtests.c
+- installed-tests/gimarshallingtests.h:$GI_DATADIR/tests/gimarshallingtests.h
+-])
+ AC_OUTPUT
+
+ # Warn about conditions that affect runtime
Home |
Main Index |
Thread Index |
Old Index