pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gjs



Module Name:    pkgsrc
Committed By:   fox
Date:           Sun Oct  6 15:50:31 UTC 2019

Added Files:
        pkgsrc/lang/gjs: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/lang/gjs/patches: patch-Makefile.am patch-configure.ac

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gjs/DESCR pkgsrc/lang/gjs/Makefile \
    pkgsrc/lang/gjs/PLIST pkgsrc/lang/gjs/buildlink3.mk \
    pkgsrc/lang/gjs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gjs/patches/patch-Makefile.am \
    pkgsrc/lang/gjs/patches/patch-configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/gjs/DESCR
diff -u /dev/null pkgsrc/lang/gjs/DESCR:1.1
--- /dev/null   Sun Oct  6 15:50:31 2019
+++ pkgsrc/lang/gjs/DESCR       Sun Oct  6 15:50:31 2019
@@ -0,0 +1,3 @@
+Gjs is a Javascript binding for GNOME. It's mainly based on
+Spidermonkey javascript engine and the GObject introspection
+framework.
Index: pkgsrc/lang/gjs/Makefile
diff -u /dev/null pkgsrc/lang/gjs/Makefile:1.1
--- /dev/null   Sun Oct  6 15:50:31 2019
+++ pkgsrc/lang/gjs/Makefile    Sun Oct  6 15:50:31 2019
@@ -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"
Index: pkgsrc/lang/gjs/PLIST
diff -u /dev/null pkgsrc/lang/gjs/PLIST:1.1
--- /dev/null   Sun Oct  6 15:50:31 2019
+++ pkgsrc/lang/gjs/PLIST       Sun Oct  6 15:50:31 2019
@@ -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
Index: pkgsrc/lang/gjs/buildlink3.mk
diff -u /dev/null pkgsrc/lang/gjs/buildlink3.mk:1.1
--- /dev/null   Sun Oct  6 15:50:31 2019
+++ pkgsrc/lang/gjs/buildlink3.mk       Sun Oct  6 15:50:31 2019
@@ -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
Index: pkgsrc/lang/gjs/distinfo
diff -u /dev/null pkgsrc/lang/gjs/distinfo:1.1
--- /dev/null   Sun Oct  6 15:50:31 2019
+++ pkgsrc/lang/gjs/distinfo    Sun Oct  6 15:50:31 2019
@@ -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

Index: pkgsrc/lang/gjs/patches/patch-Makefile.am
diff -u /dev/null pkgsrc/lang/gjs/patches/patch-Makefile.am:1.1
--- /dev/null   Sun Oct  6 15:50:31 2019
+++ pkgsrc/lang/gjs/patches/patch-Makefile.am   Sun Oct  6 15:50:31 2019
@@ -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                            \
Index: pkgsrc/lang/gjs/patches/patch-configure.ac
diff -u /dev/null pkgsrc/lang/gjs/patches/patch-configure.ac:1.1
--- /dev/null   Sun Oct  6 15:50:31 2019
+++ pkgsrc/lang/gjs/patches/patch-configure.ac  Sun Oct  6 15:50:31 2019
@@ -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