unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27935] gnu: Add r-shiny.
@ 2017-08-03 16:30 Ricardo Wurmus
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
  2017-08-04  9:27 ` bug#27924: " Ricardo Wurmus
  0 siblings, 2 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:30 UTC (permalink / raw)
  To: 27935

Hi Guix,

this patch series adds r-shiny and packages for the minified JavaScript
files that it bundles.

For each of the minified JavaScript files that didn’t have corresponding
sources I tracked down the sources and created our own minified files
with the minify-build-system (see #27924).

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv.
  2017-08-03 16:30 [bug#27935] gnu: Add r-shiny Ricardo Wurmus
@ 2017-08-03 16:34 ` Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 2/8] gnu: Add js-json2 Ricardo Wurmus
                     ` (6 more replies)
  2017-08-04  9:27 ` bug#27924: " Ricardo Wurmus
  1 sibling, 7 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/javascript.scm (js-html5shiv): New variable.
---
 gnu/packages/javascript.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 43bc0bbf6..836465191 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -134,3 +134,28 @@ be able to view it naturally and easily.")))
 script to enable responsive web designs in browsers that don't support CSS3
 Media Queries.")
     (license license:expat)))
+
+(define-public js-html5shiv
+  (package
+    (name "js-html5shiv")
+    (version "3.7.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/aFarkas/html5shiv/"
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0inlbpxpqzdyi24lqagzf7l24zxg0y02xcpqs2h4npjscazzw7hg"))))
+    (build-system minify-build-system)
+    (home-page "https://github.com/aFarkas/html5shiv")
+    (synopsis "Enable HTML5 sectioning elements in legacy browsers")
+    (description "The HTML5 Shiv enables use of HTML5 sectioning elements in
+legacy Internet Explorer and provides basic HTML5 styling for Internet
+Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.")
+    ;; From the file "MIT and GPL2 licenses.md":
+    ;;
+    ;;   This software is licensed under a dual license system (MIT or GPL
+    ;;   version 2). This means you are free to choose with which of both
+    ;;   licenses (MIT or GPL version 2) you want to use this library.
+    (license (list license:expat license:gpl2))))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 2/8] gnu: Add js-json2.
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
@ 2017-08-03 16:34   ` Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 3/8] gnu: Add js-strftime Ricardo Wurmus
                     ` (5 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/javascript.scm (js-json2): New variable.
---
 gnu/packages/javascript.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 48 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 836465191..a806cb074 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -26,7 +26,9 @@
   #:use-module (gnu packages lisp)
   #:use-module (guix packages)
   #:use-module (guix download)
-  #:use-module (guix build-system trivial))
+  #:use-module (guix git-download)
+  #:use-module (guix build-system trivial)
+  #:use-module (guix build-system minify))
 
 (define-public js-mathjax
   (package
@@ -159,3 +161,48 @@ Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.")
     ;;   version 2). This means you are free to choose with which of both
     ;;   licenses (MIT or GPL version 2) you want to use this library.
     (license (list license:expat license:gpl2))))
+
+(define-public js-json2
+  (let ((commit "031b1d9e6971bd4c433ca85e216cc853f5a867bd")
+        (revision "1"))
+    (package
+      (name "js-json2")
+      (version (string-append "2016-10-28." revision "-" (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/douglascrockford/JSON-js.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "1fvb6b2y5sd3sqdgcj683sdxcbxdii34q0ysc9wg0dq1sy81l11v"))))
+      (build-system minify-build-system)
+      (arguments
+       `(#:javascript-files '("json2.js"
+                              "json_parse.js"
+                              "json_parse_state.js"
+                              "cycle.js")))
+      (home-page "https://github.com/douglascrockford/JSON-js")
+      (synopsis "JSON encoders and decoders")
+      (description "The files in this collection implement JSON
+encoders/decoders in JavaScript.
+
+@code{json2.js}: This file creates a JSON property in the global object, if
+there isn't already one, setting its value to an object containing a stringify
+method and a parse method.  The @code{parse} method uses the @code{eval}
+method to do the parsing, guarding it with several regular expressions to
+defend against accidental code execution hazards.  On current browsers, this
+file does nothing, preferring the built-in JSON object.
+
+@code{json_parse.js}: This file contains an alternative JSON @code{parse}
+function that uses recursive descent instead of @code{eval}.
+
+@code{json_parse_state.js}: This files contains an alternative JSON
+@code{parse} function that uses a state machine instead of @code{eval}.
+
+@code{cycle.js}: This file contains two functions, @code{JSON.decycle} and
+@code{JSON.retrocycle}, which make it possible to encode cyclical structures
+and DAGs in JSON, and to then recover them.  This is a capability that is not
+provided by ES5.  @code{JSONPath} is used to represent the links.")
+      (license license:public-domain))))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 3/8] gnu: Add js-strftime.
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 2/8] gnu: Add js-json2 Ricardo Wurmus
@ 2017-08-03 16:34   ` Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 4/8] gnu: Add js-highlight Ricardo Wurmus
                     ` (4 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/javascript.scm (js-strftime): New variable.
---
 gnu/packages/javascript.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index a806cb074..fdf522474 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -206,3 +206,26 @@ function that uses recursive descent instead of @code{eval}.
 and DAGs in JSON, and to then recover them.  This is a capability that is not
 provided by ES5.  @code{JSONPath} is used to represent the links.")
       (license license:public-domain))))
+
+(define-public js-strftime
+  (package
+    (name "js-strftime")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/samsonjs/strftime/"
+                                  "archive/v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1iya43w7y26y2dp9l4d40bhjc4scb5a9mng5ng5c8hsqr82f1375"))))
+    (build-system minify-build-system)
+    (arguments
+     `(#:javascript-files '("strftime.js")))
+    (home-page "https://github.com/samsonjs/strftime")
+    (synopsis "Implementation of strftime to JavaScript")
+    (description "This is an implementation of the @code{strftime} procedure
+for JavaScript.  It works in (at least) node.js and browsers.  It supports
+localization and timezones.  Most standard specifiers from C are supported as
+well as some other extensions from Ruby.")
+    (license license:expat)))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 4/8] gnu: Add js-highlight.
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 2/8] gnu: Add js-json2 Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 3/8] gnu: Add js-strftime Ricardo Wurmus
@ 2017-08-03 16:34   ` Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 5/8] gnu: Add js-datatables Ricardo Wurmus
                     ` (3 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/javascript.scm (js-highlight): New variable.
---
 gnu/packages/javascript.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index fdf522474..533e7365a 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -229,3 +229,26 @@ for JavaScript.  It works in (at least) node.js and browsers.  It supports
 localization and timezones.  Most standard specifiers from C are supported as
 well as some other extensions from Ruby.")
     (license license:expat)))
+
+(define-public js-highlight
+  (package
+    (name "js-highlight")
+    (version "9.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/isagalaev/highlight.js/"
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jjn9mj7fwq4zpr6is438bscf03b3q8jkj0k5c3fc6pkmjnhw939"))))
+    (build-system minify-build-system)
+    (arguments
+     `(#:javascript-files '("src/highlight.js")))
+    (home-page "https://github.com/isagalaev/highlight.js")
+    (synopsis "Syntax highlighting for JavaScript")
+    (description "Highlight.js is a syntax highlighter written in JavaScript.
+It works in the browser as well as on the server.  It works with pretty much
+any markup, doesn’t depend on any framework and has automatic language
+detection.")
+    (license license:bsd-3)))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 5/8] gnu: Add js-datatables.
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
                     ` (2 preceding siblings ...)
  2017-08-03 16:34   ` [bug#27935] [PATCH 4/8] gnu: Add js-highlight Ricardo Wurmus
@ 2017-08-03 16:34   ` Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 6/8] gnu: Add js-selectize Ricardo Wurmus
                     ` (2 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/javascript.scm (js-datatables): New variable.
---
 gnu/packages/javascript.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 533e7365a..ff964aee9 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -252,3 +252,27 @@ It works in the browser as well as on the server.  It works with pretty much
 any markup, doesn’t depend on any framework and has automatic language
 detection.")
     (license license:bsd-3)))
+
+(define-public js-datatables
+  (package
+    (name "js-datatables")
+    (version "1.10.15")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://datatables.net/releases/DataTables-"
+                                  version ".zip"))
+              (sha256
+               (base32
+                "1y9xqyqyz7x1ls3ska71pshl2hpiy3qnw1f7wygyslbhy4ssgf57"))))
+    (build-system minify-build-system)
+    (arguments
+     `(#:javascript-files '("media/js/dataTables.bootstrap.js"
+                            "media/js/jquery.dataTables.js")))
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (home-page "https://datatables.net")
+    (synopsis "DataTables plug-in for jQuery")
+    (description "DataTables is a table enhancing plug-in for the jQuery
+Javascript library, adding sorting, paging and filtering abilities to plain
+HTML tables with minimal effort.")
+    (license license:expat)))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 6/8] gnu: Add js-selectize.
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
                     ` (3 preceding siblings ...)
  2017-08-03 16:34   ` [bug#27935] [PATCH 5/8] gnu: Add js-datatables Ricardo Wurmus
@ 2017-08-03 16:34   ` Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 7/8] gnu: Add js-es5-shim Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 8/8] gnu: Add r-shiny Ricardo Wurmus
  6 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/javascript.scm (js-selectize): New variable.
---
 gnu/packages/javascript.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index ff964aee9..19021ac5a 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -276,3 +276,24 @@ detection.")
 Javascript library, adding sorting, paging and filtering abilities to plain
 HTML tables with minimal effort.")
     (license license:expat)))
+
+(define-public js-selectize
+  (package
+    (name "js-selectize")
+    (version "0.12.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/selectize/selectize.js/"
+                                  "archive/v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0756p49aaz34mw2dx8k1gxf210mngfrri25vkba0j7wihd2af8gn"))))
+    (build-system minify-build-system)
+    (arguments `(#:javascript-files '("src/selectize.js")))
+    (home-page "http://selectize.github.io/selectize.js/")
+    (synopsis "Hybrid widget between a textbox and <select> box")
+    (description "Selectize is the hybrid of a textbox and @code{<select>}
+box.  It's jQuery based and it has autocomplete and native-feeling keyboard
+navigation; it is useful for tagging, contact lists, etc.")
+    (license license:asl2.0)))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 7/8] gnu: Add js-es5-shim.
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
                     ` (4 preceding siblings ...)
  2017-08-03 16:34   ` [bug#27935] [PATCH 6/8] gnu: Add js-selectize Ricardo Wurmus
@ 2017-08-03 16:34   ` Ricardo Wurmus
  2017-08-03 16:34   ` [bug#27935] [PATCH 8/8] gnu: Add r-shiny Ricardo Wurmus
  6 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/javascript.scm (js-es5-shim): New variable.
---
 gnu/packages/javascript.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 19021ac5a..12f12bf8f 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -297,3 +297,29 @@ HTML tables with minimal effort.")
 box.  It's jQuery based and it has autocomplete and native-feeling keyboard
 navigation; it is useful for tagging, contact lists, etc.")
     (license license:asl2.0)))
+
+(define-public js-es5-shim
+  (package
+    (name "js-es5-shim")
+    (version "4.5.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/es-shims/es5-shim/"
+                                  "archive/v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0yfndyijz0ykddzprpvfjb2453gzpn528klmwycwbqc1bqd3m1hl"))))
+    (build-system minify-build-system)
+    (arguments `(#:javascript-files
+                 '("es5-sham.js"
+                   "es5-shim.js")))
+    (home-page "https://github.com/es-shims/es5-shim")
+    (synopsis "ECMAScript 5 compatibility shims for legacy JavaScript engines")
+    (description "@code{es5-shim.js} patches a JavaScript context to contain
+all ECMAScript 5 methods that can be faithfully emulated with a legacy
+JavaScript engine.  @code{es5-sham.js} patches other ES5 methods as closely as
+possible.  Many of these shams are intended only to allow code to be written
+to ES5 without causing run-time errors in older engines.  In many cases, this
+means that these shams cause many ES5 methods to silently fail.")
+    (license license:expat)))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#27935] [PATCH 8/8] gnu: Add r-shiny.
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
                     ` (5 preceding siblings ...)
  2017-08-03 16:34   ` [bug#27935] [PATCH 7/8] gnu: Add js-es5-shim Ricardo Wurmus
@ 2017-08-03 16:34   ` Ricardo Wurmus
  6 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-03 16:34 UTC (permalink / raw)
  To: 27935; +Cc: Ricardo Wurmus

* gnu/packages/web.scm (r-shiny): New variable.
---
 gnu/packages/web.scm | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 104 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 972f1bdbc..86a7dc186 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -73,6 +73,7 @@
   #:use-module (gnu packages gnuzilla)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages javascript)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
@@ -4748,3 +4749,106 @@ internetarchive python module for programatic access to archive.org.")
 (define-public python2-internetarchive
   (package-with-python2
    (strip-python2-variant python-internetarchive)))
+
+(define-public r-shiny
+  (package
+    (name "r-shiny")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/rstudio/shiny/"
+                           "archive/v" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0z2v2s4hd44mvzjn7r70549kdzkrrch9nxhp27r6x2cy6micizm3"))))
+    (build-system r-build-system)
+    (arguments
+     `(#:modules ((guix build r-build-system)
+                  (guix build minify-build-system)
+                  (guix build utils)
+                  (ice-9 match))
+       #:imported-modules (,@%r-build-system-modules
+                           (guix build minify-build-system))
+       #:phases
+       (modify-phases (@ (guix build r-build-system) %standard-phases)
+         (add-after 'unpack 'replace-bundled-minified-JavaScript
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((replace-file (lambda (old new)
+                                   (format #t "replacing ~a with ~a\n" old new)
+                                   (delete-file old)
+                                   (symlink new old))))
+               ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
+               ;; contain just data.  They are not minified code, so we don't
+               ;; replace them.
+               (with-directory-excursion "inst/www/shared"
+                 (replace-file "bootstrap/shim/respond.min.js"
+                               (string-append (assoc-ref inputs "js-respond")
+                                              "/share/javascript/respond.min.js"))
+                 (replace-file "bootstrap/shim/html5shiv.min.js"
+                               (string-append (assoc-ref inputs "js-html5shiv")
+                                              "/share/javascript/html5shiv.min.js"))
+                 (replace-file "json2-min.js"
+                               (string-append (assoc-ref inputs "js-json2")
+                                              "/share/javascript/json2.min.js"))
+                 (replace-file "strftime/strftime-min.js"
+                               (string-append (assoc-ref inputs "js-strftime")
+                                              "/share/javascript/strftime.min.js"))
+                 (replace-file "highlight/highlight.pack.js"
+                               (string-append (assoc-ref inputs "js-highlight")
+                                              "/share/javascript/highlight.min.js"))
+                 (replace-file "datatables/js/jquery.dataTables.min.js"
+                               (string-append (assoc-ref inputs "js-datatables")
+                                              "/share/javascript/jquery.dataTables.min.js"))
+                 (replace-file "selectize/js/selectize.min.js"
+                               (string-append (assoc-ref inputs "js-selectize")
+                                              "/share/javascript/selectize.min.js"))
+                 (replace-file "selectize/js/es5-shim.min.js"
+                               (string-append (assoc-ref inputs "js-es5-shim")
+                                              "/share/javascript/es5-shim.min.js"))
+                 (for-each (match-lambda
+                             ((source . target)
+                              (delete-file target)
+                              (minify source #:target target)))
+                           '(("jqueryui/jquery-ui.js" .
+                              "jqueryui/jquery-ui.min.js")
+                             ("showdown/src/showdown.js" .
+                              "showdown/compressed/showdown.js")
+                             ("datepicker/js/bootstrap-datepicker.js" .
+                              "datepicker/js/bootstrap-datepicker.min.js")
+                             ("ionrangeslider/js/ion.rangeSlider.js" .
+                              "ionrangeslider/js/ion.rangeSlider.min.js")
+                             ("bootstrap/js/bootstrap.js" .
+                              "bootstrap/js/bootstrap.min.js")
+                             ("shiny.js" .
+                              "shiny.min.js")
+                             ("jquery.js" .
+                              "jquery.min.js")))))
+             #t)))))
+    (propagated-inputs
+     `(("r-httpuv" ,r-httpuv)
+       ("r-mime" ,r-mime)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-xtable" ,r-xtable)
+       ("r-digest" ,r-digest)
+       ("r-htmltools" ,r-htmltools)
+       ("r-r6" ,r-r6)
+       ("r-sourcetools" ,r-sourcetools)))
+    (inputs
+     `(("js-datatables" ,js-datatables)
+       ("js-html5shiv" ,js-html5shiv)
+       ("js-json2" ,js-json2)
+       ("js-respond" ,js-respond)
+       ("js-selectize" ,js-selectize)
+       ("js-strftime" ,js-strftime)
+       ("js-highlight" ,js-highlight)
+       ("js-es5-shim" ,js-es5-shim)))
+    (home-page "http://shiny.rstudio.com")
+    (synopsis "Easy interactive web applications with R")
+    (description
+     "Makes it incredibly easy to build interactive web applications
+with R.  Automatic \"reactive\" binding between inputs and outputs and
+extensive prebuilt widgets make it possible to build beautiful,
+responsive, and powerful applications with minimal effort.")
+    (license l:artistic2.0)))
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* bug#27924: gnu: Add r-shiny.
  2017-08-03 16:30 [bug#27935] gnu: Add r-shiny Ricardo Wurmus
  2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
@ 2017-08-04  9:27 ` Ricardo Wurmus
  1 sibling, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-08-04  9:27 UTC (permalink / raw)
  To: 27935-done, 27924-done


Ricardo Wurmus <rekado@elephly.net> writes:

> this patch series adds r-shiny and packages for the minified JavaScript
> files that it bundles.
>
> For each of the minified JavaScript files that didn’t have corresponding
> sources I tracked down the sources and created our own minified files
> with the minify-build-system (see #27924).

I have pushed a slightly modified version of the minify-build-system and
of this r-shiny patch series.

The reason is that my updates to CRAN packages accidentally introduced a
dependency on r-crosstalk (in r-plotly), which depends on r-shiny.
Rather than reverting the upgrade and potentially breaking dependent
packages, I decided to go ahead and get r-shiny and r-crosstalk in.

My apologies for the confusion and the breakage!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-04  9:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-03 16:30 [bug#27935] gnu: Add r-shiny Ricardo Wurmus
2017-08-03 16:34 ` [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 2/8] gnu: Add js-json2 Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 3/8] gnu: Add js-strftime Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 4/8] gnu: Add js-highlight Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 5/8] gnu: Add js-datatables Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 6/8] gnu: Add js-selectize Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 7/8] gnu: Add js-es5-shim Ricardo Wurmus
2017-08-03 16:34   ` [bug#27935] [PATCH 8/8] gnu: Add r-shiny Ricardo Wurmus
2017-08-04  9:27 ` bug#27924: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).