OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 04-Sep-2008 19:54:03 Branch: HEAD Handle: 2008090418540200 Added files: openpkg-src/rhino rhinoc.sh Modified files: openpkg-src/rhino rhino.sh rhino.spec Log: add Rhino compiler frontend Summary: Revision Changes Path 1.2 +2 -1 openpkg-src/rhino/rhino.sh 1.3 +4 -1 openpkg-src/rhino/rhino.spec 1.1 +6 -0 openpkg-src/rhino/rhinoc.sh ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/rhino/rhino.sh ============================================================================ $ cvs diff -u -r1.1 -r1.2 rhino.sh --- openpkg-src/rhino/rhino.sh 31 Jul 2008 13:48:01 -0000 1.1 +++ openpkg-src/rhino/rhino.sh 4 Sep 2008 17:54:02 -0000 1.2 @@ -1,5 +1,6 @@ #!/bin/sh exec @l_prefix@/bin/java \ -Vsun-jdk \ - -jar @l_prefix@/lib/rhino/js.jar \ + -cp @l_prefix@/lib/rhino/js.jar \ + org.mozilla.javascript.tools.shell.Main \ ${1+"$@"} @@ . patch -p0 <<'@@ .' Index: openpkg-src/rhino/rhino.spec ============================================================================ $ cvs diff -u -r1.2 -r1.3 rhino.spec --- openpkg-src/rhino/rhino.spec 31 Jul 2008 17:09:32 -0000 1.2 +++ openpkg-src/rhino/rhino.spec 4 Sep 2008 17:54:02 -0000 1.3 @@ -36,11 +36,12 @@ Group: Language License: MPL Version: %{V_opkg} -Release: 20080731 +Release: 20080904 # list of sources Source0: ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino%{V_dist}.zip Source1: rhino.sh +Source2: rhinoc.sh # build information Prefix: %{l_prefix} @@ -76,6 +77,8 @@ $RPM_BUILD_ROOT%{l_prefix}/lib/rhino %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rhino.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/rhino + %{l_shtool} install -c -m 755 %{l_value -s -a} \ + %{SOURCE rhinoc.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/rhinoc %{l_shtool} install -c -m 644 \ rhino%{V_dist}/js.jar $RPM_BUILD_ROOT%{l_prefix}/lib/rhino/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} @@ . patch -p0 <<'@@ .' Index: openpkg-src/rhino/rhinoc.sh ============================================================================ $ cvs diff -u -r0 -r1.1 rhinoc.sh --- /dev/null 2008-09-04 19:50:28 +0200 +++ rhinoc.sh 2008-09-04 19:54:02 +0200 @@ -0,0 +1,6 @@ +#!/bin/sh +exec @l_prefix@/bin/java \ + -Vsun-jdk \ + -cp @l_prefix@/lib/rhino/js.jar \ + org.mozilla.javascript.tools.jsc.Main \ + ${1+"$@"} @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org