picrate 0.4.1-java → 0.4.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +7 -0
- data/README.md +4 -2
- data/Rakefile +1 -1
- data/docs/_posts/2018-05-06-getting_started.md +2 -3
- data/docs/_posts/2018-05-06-install_jruby.md +2 -2
- data/lib/picrate/version.rb +1 -1
- data/pom.rb +2 -2
- data/pom.xml +2 -2
- data/vendors/Rakefile +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba97021165cf644b323154d9143b44e293b8888282be2cc79a57972d4e7888a7
|
4
|
+
data.tar.gz: a1303cbafd5c004c4ec2a6865a23ba0d577039756d90b4d132143b33036a122b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df3fe1e4d2aea829cad00a5dc4837119fb61163360e7a126c96244a783dbf09dd5334e7e0e6e3ba11401d40a844e72a1ef5680573c3083feffd3c8889bbcdef0
|
7
|
+
data.tar.gz: aedba1008530ba2aa4f22ea0bdc8465e0e9a36d1243c0b3d1a34c5833d8b3fa74a82cd68e77e298059659f4be5df54bbb3d454032ce49aff57f91a40b267133d
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,14 @@
|
|
1
|
+
v0.4.2 Update to jruby-9.2.2.0
|
2
|
+
|
3
|
+
v0.4.1 Proper sensible release since we can install from rubygems with jruby-9.2.1.0
|
4
|
+
|
1
5
|
v0.0.4 LSystem examples
|
6
|
+
|
2
7
|
v0.0.3
|
3
8
|
Extended Samples
|
9
|
+
|
4
10
|
v0.0.2
|
5
11
|
Attempt to set native folder for armv6hf
|
12
|
+
|
6
13
|
v0.0.1
|
7
14
|
First iteration with drivers as used by processing.org
|
data/README.md
CHANGED
@@ -5,7 +5,9 @@ Create processing sketches in ruby on raspberry-pi and linux (this project is a
|
|
5
5
|
|
6
6
|
### To install from rubygems ###
|
7
7
|
|
8
|
-
|
8
|
+
```bash
|
9
|
+
jgem install picrate
|
10
|
+
```
|
9
11
|
|
10
12
|
### To Build and Test ###
|
11
13
|
|
@@ -16,7 +18,7 @@ Requires maven, [jdk8][oracle] (but could be openjdk), and a jruby install.
|
|
16
18
|
```bash
|
17
19
|
cd PiCrate
|
18
20
|
rake # assumes an installed version of vanilla processing
|
19
|
-
jgem install picrate-0.4.
|
21
|
+
jgem install picrate-0.4.1-java.gem
|
20
22
|
```
|
21
23
|
To create a template sketch:-
|
22
24
|
```bash
|
data/Rakefile
CHANGED
@@ -17,7 +17,7 @@ task default: [:init, :compile, :install, :test, :gem]
|
|
17
17
|
desc 'Create Manifest and Copy Jars'
|
18
18
|
task :init do
|
19
19
|
create_manifest
|
20
|
-
|
20
|
+
fprocessing_root = File.dirname(`readlink -f $(which processing)`)
|
21
21
|
# processing_root = '/home/tux/processing-3.4'
|
22
22
|
jar_dir = File.join(processing_root, 'core', 'library')
|
23
23
|
opengl = Dir.entries(jar_dir).grep(/amd64|armv6hf/).select { |jar| jar =~ /linux/ }
|
@@ -9,11 +9,10 @@ The current version of raspbian installs jdk-1.8.0_65-bi17 (hard float) and that
|
|
9
9
|
|
10
10
|
Then install JRuby see [jruby][jruby].
|
11
11
|
|
12
|
-
|
12
|
+
|
13
13
|
|
14
14
|
```bash
|
15
|
-
jgem install
|
16
|
-
jgem install picrate-0.4.0-java.gem
|
15
|
+
jgem install picrate
|
17
16
|
```
|
18
17
|
|
19
18
|
Install samples
|
@@ -11,7 +11,7 @@ Get the latest version from [http://jruby.org/download][download]
|
|
11
11
|
|
12
12
|
```bash
|
13
13
|
cd /opt
|
14
|
-
sudo tar xzvf /pathToDownload/jruby-bin-9.2.
|
14
|
+
sudo tar xzvf /pathToDownload/jruby-bin-9.2.2.0.tar.gz
|
15
15
|
```
|
16
16
|
|
17
17
|
Then use the excellent `update-alternatives` tool to provide symbolic links to `jruby`, `jgem`, `jirb` and `rake` especially if you haven't installed `mri` ruby.
|
@@ -33,4 +33,4 @@ export PATH="${PATH}:${GEM_PATH}/bin"
|
|
33
33
|
|
34
34
|
If you know better please post on wiki
|
35
35
|
|
36
|
-
[download]:https://s3.amazonaws.com/jruby.org/downloads/9.2.
|
36
|
+
[download]:https://s3.amazonaws.com/jruby.org/downloads/9.2.2.0/jruby-bin-9.2.2.0.tar.gz
|
data/lib/picrate/version.rb
CHANGED
data/pom.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
project 'picrate', 'http://maven.apache.org' do
|
2
2
|
|
3
3
|
model_version '4.0.0'
|
4
|
-
id 'ruby-processing:picrate:0.4.
|
4
|
+
id 'ruby-processing:picrate:0.4.2'
|
5
5
|
packaging 'jar'
|
6
6
|
|
7
7
|
description 'An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.'
|
@@ -31,7 +31,7 @@ project 'picrate', 'http://maven.apache.org' do
|
|
31
31
|
'project.build.sourceEncoding' => 'utf-8',
|
32
32
|
'polyglot.dump.pom' => 'pom.xml',
|
33
33
|
'maven.compiler.source' => '1.8' )
|
34
|
-
pom 'org.jruby:jruby:9.2.
|
34
|
+
pom 'org.jruby:jruby:9.2.2.0'
|
35
35
|
jar 'org.processing:video:3.2.3'
|
36
36
|
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
|
37
37
|
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
|
data/pom.xml
CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
|
|
11
11
|
<modelVersion>4.0.0</modelVersion>
|
12
12
|
<groupId>ruby-processing</groupId>
|
13
13
|
<artifactId>picrate</artifactId>
|
14
|
-
<version>0.4.
|
14
|
+
<version>0.4.2</version>
|
15
15
|
<name>picrate</name>
|
16
16
|
<description>An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.</description>
|
17
17
|
<url>http://maven.apache.org</url>
|
@@ -78,7 +78,7 @@ DO NOT MODIFIY - GENERATED CODE
|
|
78
78
|
<dependency>
|
79
79
|
<groupId>org.jruby</groupId>
|
80
80
|
<artifactId>jruby</artifactId>
|
81
|
-
<version>9.2.
|
81
|
+
<version>9.2.2.0</version>
|
82
82
|
<type>pom</type>
|
83
83
|
</dependency>
|
84
84
|
<dependency>
|
data/vendors/Rakefile
CHANGED
@@ -6,11 +6,11 @@ WARNING = <<-EOS
|
|
6
6
|
the correct version of picrate-examples (see EXAMPLES vendors directory)
|
7
7
|
EOS
|
8
8
|
SOUND = 'sound.zip'.freeze
|
9
|
-
SOUND_VERSION = 'v1.3.2'
|
9
|
+
SOUND_VERSION = 'v1.3.2'
|
10
10
|
GLVIDEO = 'processing-glvideo.zip'
|
11
11
|
VIDEO = 'video-2.zip'
|
12
|
-
VIDEO_VERSION = '2'
|
13
|
-
EXAMPLES = '0.0.
|
12
|
+
VIDEO_VERSION = '2'
|
13
|
+
EXAMPLES = '0.0.8'.freeze
|
14
14
|
HOME_DIR = ENV['HOME']
|
15
15
|
PI_OR_LINUX = /linux|arm/ =~ RbConfig::CONFIG['host_os']
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picrate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- monkstone
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -42,22 +42,22 @@ dependencies:
|
|
42
42
|
name: arcball
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.0'
|
48
45
|
- - ">="
|
49
46
|
- !ruby/object:Gem::Version
|
50
47
|
version: 1.0.0
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '1.0'
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - "~>"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '1.0'
|
58
55
|
- - ">="
|
59
56
|
- !ruby/object:Gem::Version
|
60
57
|
version: 1.0.0
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '1.0'
|
61
61
|
description: " A batteries included version of processing in ruby, for raspberrypi
|
62
62
|
and linux.\n"
|
63
63
|
email:
|
@@ -340,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
340
340
|
requirements:
|
341
341
|
- java runtime >= 1.8.0_161+
|
342
342
|
rubyforge_project:
|
343
|
-
rubygems_version: 2.7.
|
343
|
+
rubygems_version: 2.7.8
|
344
344
|
signing_key:
|
345
345
|
specification_version: 4
|
346
346
|
summary: ruby wrapper for processing-3.4 on raspberrypi and linux64
|