[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: Add gjs.
From: |
??? |
Subject: |
05/06: gnu: Add gjs. |
Date: |
Sun, 08 Nov 2015 13:47:11 +0000 |
iyzsong pushed a commit to branch master
in repository guix.
commit f47ba77e5fe0c890c412953e1621ad63d1e6f3fe
Author: 宋文武 <address@hidden>
Date: Sun Nov 8 21:41:52 2015 +0800
gnu: Add gjs.
* gnu/packages/gnome.scm (gjs): New variable.
---
gnu/packages/gnome.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3030f1f..3c37427 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -90,6 +90,7 @@
#:use-module (gnu packages video)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages samba)
+ #:use-module (gnu packages readline)
#:use-module (srfi srfi-1))
(define-public brasero
@@ -3714,3 +3715,50 @@ such as gzip tarballs.")
configuration program to choose applications starting on login.")
(home-page "https://wiki.gnome.org/Projects/SessionManagement")
(license license:gpl2+)))
+
+(define-public gjs
+ (package
+ (name "gjs")
+ (version "1.44.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "106fgpr4y99sj68l72pnfa2za11ps4bn6p9z28fr79j7mpv61jc8"))
+ (modules '((guix build utils)))
+ (snippet '(substitute* "test/run-with-dbus"
+ (("/bin/rm") "rm")))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'check 'pre-check
+ (lambda _
+ ;; For the missing /etc/machine-id.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t)))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-compile-resources
+ ("pkg-config" ,pkg-config)
+ ("xmllint" ,libxml2)
+ ;; For testing
+ ("dbus-launch" ,dbus)
+ ("uuidgen" ,util-linux)
+ ("xvfb" ,xorg-server)))
+ (propagated-inputs
+ ;; These are all in the Requires.private field of gjs-1.0.pc.
+ `(("gobject-introspection" ,gobject-introspection)
+ ("mozjs" ,mozjs-24)))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("readline" ,readline)))
+ (synopsis "Javascript bindings for GNOME")
+ (home-page "http://live.gnome.org/Gjs")
+ (description
+ "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey
+javascript engine and the GObject introspection framework.")
+ (license license:gpl2+)))
- branch master updated (ae7ffa9 -> c3b9d75), ???, 2015/11/08
- 01/06: gnu: gnome-desktop: Update to 3.18.1., ???, 2015/11/08
- 02/06: gnu: gnome-themes-standard: Update to 3.18.0., ???, 2015/11/08
- 04/06: gnu: Add mozjs-24 (Mozilla SpiderMonkey 24)., ???, 2015/11/08
- 05/06: gnu: Add gjs.,
??? <=
- 06/06: gnu: evince: Update to 3.18.1., ???, 2015/11/08
- 03/06: gnu: Add gnome-session., ???, 2015/11/08