[arch-commits] Commit in rhino/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 09:15:11 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:15:11
  Author: foutrelis
Revision: 383808

archrelease: copy trunk to staging-any

Added:
  rhino/repos/staging-any/
  rhino/repos/staging-any/PKGBUILD
    (from rev 383807, rhino/trunk/PKGBUILD)
  rhino/repos/staging-any/rhino
    (from rev 383807, rhino/trunk/rhino)
  rhino/repos/staging-any/rhino-debugger
    (from rev 383807, rhino/trunk/rhino-debugger)
  rhino/repos/staging-any/rhino-debugger.1
    (from rev 383807, rhino/trunk/rhino-debugger.1)
  rhino/repos/staging-any/rhino-idswitch
    (from rev 383807, rhino/trunk/rhino-idswitch)
  rhino/repos/staging-any/rhino-jsc
    (from rev 383807, rhino/trunk/rhino-jsc)
  rhino/repos/staging-any/rhino-jsc.1
    (from rev 383807, rhino/trunk/rhino-jsc.1)

------------------+
 PKGBUILD         |   62 +++++++++++++++++++++++++++++++++++++++++++++++++
 rhino            |    5 +++
 rhino-debugger   |    6 ++++
 rhino-debugger.1 |   60 +++++++++++++++++++++++++++++++++++++++++++++++
 rhino-idswitch   |    6 ++++
 rhino-jsc        |    6 ++++
 rhino-jsc.1      |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 212 insertions(+)

Copied: rhino/repos/staging-any/PKGBUILD (from rev 383807, rhino/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 09:15:11 UTC (rev 383808)
@@ -0,0 +1,62 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=rhino
+pkgname=('java-rhino' 'rhino' 'rhino-javadoc')
+pkgver=1.7.7.2
+_pkgver=${pkgver//\./_}
+pkgrel=2
+arch=('any')
+url="https://www.mozilla.org/rhino/"
+license=('MPL')
+source=(https://github.com/mozilla/${pkgbase}/releases/download/Rhino${_pkgver}_Release/${pkgbase}-${pkgver}.zip
+        https://github.com/mozilla/${pkgbase}/archive/Rhino${_pkgver}_Release.tar.gz
+        rhino
+        rhino-debugger
+        rhino-debugger.1
+        rhino-idswitch
+        rhino-jsc
+        rhino-jsc.1)
+
+sha512sums=('1b9e8721749e81c5420a00af1e00ee0e4f48624ccb4e9aa969032114116ad50f59b254d4d16d74feff74de64157cc8b0a2ead9b555907c84b7055b796fba9a75'
+            '39675c064fc902678e15baec546986a78d6109ab1cbceae5166773607abcec527ae533ea4540ee67501a5ca02a9dcc467267e722af21b93e72fdb2ede1935ad8'
+            '128768843b40860160aa95fe925e23959c8dc46ccbe8a623d4ccdadf8ab4304bb96dded9952d0654bb90600a9b325e46827cc528d6725c25b0eaf7b2fc6207f4'
+            '909598e2c289530d1de2b47f383fe6a73f40cea2c22ecf30b9fd94ab446ad0e9e9ae11e04ca77eb65ccf4a5a376f2e023aa154450f5f8db187bd196bad542355'
+            'a3723c082b9876fb945fcb14d4826970f83acfefedb43e4571dad1180b6adbed8de273503239a1908e9a79a77de15c49f30c880c92a39ba9764a6859c8d1d571'
+            '7d123bf1a0e9b806d11a4fa6912e76fd8ed7284c5085b19eef5ce41d79475028523d53b503a710088e3a3f8263e021a0c6cc5501aa9d47a69b1685ba6550f014'
+            'a85fd1b0a20567120c7d7e4c426cc1173526e4e2b153dd4434bdf1b2fe6d10a549db5e7cf7a09d1adeefda83d7f09a610b8a287ba8c886290d8e9db8e8e0e5de'
+            'ea68463de5dc05503e68c548a8c4bd18bba1b132b52f78fe4b0e0ddd3b1ff9a0147a27196781522bb69cd613a7288ec6cdbfc9435de86fc6af99c92f90fca78b')
+
+package_java-rhino() {
+  pkgdesc="Open-source implementation of JavaScript written entirely in Java - JAR"
+  depends=('java-runtime-headless')
+
+  install -Dm644 \
+    ${pkgbase}${pkgver}/lib/${pkgbase}-${pkgver}.jar \
+    ${pkgdir}/usr/share/java/js-${pkgver}.jar
+  ln -s js-${pkgver}.jar ${pkgdir}/usr/share/java/js.jar
+}
+
+package_rhino() {
+  pkgdesc="Open-source implementation of JavaScript written entirely in Java"
+  depends=('java-rhino' 'java-jline')
+
+  install -dm755 ${pkgdir}/usr/bin
+  install -m755 \
+    rhino rhino-debugger rhino-jsc rhino-idswitch \
+    ${pkgdir}/usr/bin/
+  install -dm755 ${pkgdir}/usr/share/man/man1
+  install -m755 \
+    ${pkgbase}-Rhino${_pkgver}_Release/man/rhino.1 \
+    rhino-debugger.1 \
+    rhino-jsc.1 \
+    ${pkgdir}/usr/share/man/man1/
+}
+
+package_rhino-javadoc() {
+  pkgdesc="Open-source implementation of JavaScript written entirely in Java - Javadoc"
+
+  install -m755 -d ${pkgdir}/usr/share/${pkgbase}
+  cp -r ${pkgbase}${pkgver}/docs ${pkgdir}/usr/share/${pkgbase}
+}

Copied: rhino/repos/staging-any/rhino (from rev 383807, rhino/trunk/rhino)
===================================================================
--- staging-any/rhino	                        (rev 0)
+++ staging-any/rhino	2020-05-16 09:15:11 UTC (rev 383808)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/usr/bin/java \
+  -jar /usr/share/java/js.jar \
+  "$@"

Copied: rhino/repos/staging-any/rhino-debugger (from rev 383807, rhino/trunk/rhino-debugger)
===================================================================
--- staging-any/rhino-debugger	                        (rev 0)
+++ staging-any/rhino-debugger	2020-05-16 09:15:11 UTC (rev 383808)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/usr/bin/java \
+  -classpath /usr/share/java/js.jar \
+  org.mozilla.javascript.tools.debugger.Main \
+  "$@"

Copied: rhino/repos/staging-any/rhino-debugger.1 (from rev 383807, rhino/trunk/rhino-debugger.1)
===================================================================
--- staging-any/rhino-debugger.1	                        (rev 0)
+++ staging-any/rhino-debugger.1	2020-05-16 09:15:11 UTC (rev 383808)
@@ -0,0 +1,60 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RHINO-DEBUGGER 1 "Friday  17, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+rhino-debugger \- invokes the rhino JavaScript debugger GUI
+
+.SH SYNOPSIS
+.B rhino-debugger
+.I [options]
+.I script_filename_or_url
+.I [script_arguments]
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B rhino-debugger
+command.
+This manual page was written for the Debian distribution because the original 
+program does not have a manual page. It is written according to the html documentation.
+.PP
+\fBrhino-debugger\fP is a start script for the rhino JavaScript debugger. The Rhino JavaScript debugger is a GUI that allows debugging of interpreted JavaScript scripts run in Rhino. Note that this debugger will not work with JavaScript scripts run in the mozilla browser since Rhino is not the engine used in such environments.
+
+.SH OPTIONS
+
+.IP -e\ \fIscript_source\fP
+Executes script_source as a JavaScript script.
+.IP -f\ \fIscript_filename_or_url\fP
+Reads script_filename_or_url content and execute it as a JavaScript script.
+.IP -opt,\ -O\ \fIoptLevel\fP
+Optimizes at level optLevel, which must be an integer between 0 and 9. 
+.IP -version\ \fIversionNumber\fP
+Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions. 
+.IP -strict
+Enable strict mode.
+
+.SH EXAMPLE
+
+Example debugging the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.
+
+$ rhino-debugger NervousText.js 
+
+.SH SEE ALSO
+The online documentation under http://www.mozilla.org/rhino/debugger.html
+
+.SH AUTHOR
+This manual page was written by Damien Raude-Morvan <drazzib at debian.org>,
+for the Debian project (but may be used by others).

Copied: rhino/repos/staging-any/rhino-idswitch (from rev 383807, rhino/trunk/rhino-idswitch)
===================================================================
--- staging-any/rhino-idswitch	                        (rev 0)
+++ staging-any/rhino-idswitch	2020-05-16 09:15:11 UTC (rev 383808)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/usr/bin/java \
+  -classpath /usr/share/java/js.jar \
+  org.mozilla.javascript.tools.idswitch.Main \
+  "$@"

Copied: rhino/repos/staging-any/rhino-jsc (from rev 383807, rhino/trunk/rhino-jsc)
===================================================================
--- staging-any/rhino-jsc	                        (rev 0)
+++ staging-any/rhino-jsc	2020-05-16 09:15:11 UTC (rev 383808)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/usr/bin/java \
+  -classpath /usr/share/java/js.jar \
+  org.mozilla.javascript.tools.jsc.Main \
+  "$@"

Copied: rhino/repos/staging-any/rhino-jsc.1 (from rev 383807, rhino/trunk/rhino-jsc.1)
===================================================================
--- staging-any/rhino-jsc.1	                        (rev 0)
+++ staging-any/rhino-jsc.1	2020-05-16 09:15:11 UTC (rev 383808)
@@ -0,0 +1,67 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RHINO-JSC 1 "February  12, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+rhino-jsc \- invokes the rhino JavaScript compiler
+
+.SH SYNOPSIS
+.B rhino-jsc
+.I [options]
+.I file1.js
+.I [file2.js\&.\&.\&.]
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B rhino-jsc
+command.
+This manual page was written for the Debian distribution because the original 
+program does not have a manual page. It is written according to the html documentation.
+.PP
+\fBrhino-jsc\fP is a start script for the rhino JavaScript compiler. The JavaScript compiler translates JavaScript source into Java class files. The resulting Java class files can then be loaded and executed at another time, providing a convenient method for transferring JavaScript, and for avoiding translation cost.
+Note that the top-level functions available to the shell (such as print) are not available to compiled scripts when they are run outside the shell. 
+
+.SH OPTIONS
+
+.IP -extends\ \fIjava_class_name\fP
+Specifies that a java class extending the Java class java_class_name should be generated from the incoming JavaScript source file. Each global function in the source file is made a method of the generated class, overriding any methods in the base class by the same name.
+.IP -implements\ \fIjava_intf_name\fP
+Specifies that a java class implementing the Java interface java_intf_name should be generated from the incoming JavaScript source file. Each global function in the source file is made a method of the generated class, implementing any methods in the interface by the same name.
+.IP -debug,\ -g 
+Specifies that debug information should be generated. May not be combined with optimization at an optLevel greater than zero.
+.IP -nosource 
+Does not save the source in the class file. Functions and scripts compiled this way cannot be decompiled. This option can be used to avoid distributing source or simply to save space in the resulting class file.
+.IP -o\ \fIoutputFile\fP
+Writes the class file to the given file (which should end in .class). The string outputFile must be a writable filename.
+.IP -opt,\ -O\ \fIoptLevel\fP
+Optimizes at level optLevel, which must be an integer between 0 and 9. 
+.IP -package\ \fIpackageName\fP
+Specifies the package to generate the class into. The string packageName must be composed of valid identifier characters optionally separated by periods.
+.IP -version\ \fIversionNumber\fP
+Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript Language Versions for more information on language versions. 
+
+.SH EXAMPLE
+
+Example compiling the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.
+
+$ rhino-jsc \-extends java.applet.Applet \-implements java.lang.Runnable NervousText.js 
+
+.SH SEE ALSO
+The online documentation under http://www.mozilla.org/rhino/jsc.html
+
+.SH AUTHOR
+This manual page was written by Wolfgang Baer <WBaer at gmx.de>,
+for the Debian project (but may be used by others).


More information about the arch-commits mailing list