picrate 1.2.3-java → 1.2.4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +2 -2
- data/docs/_posts/2018-11-27-getting_started_geany.md +3 -3
- data/lib/picrate/runner.rb +4 -2
- data/lib/picrate/version.rb +1 -1
- data/picrate.gemspec +1 -1
- data/pom.rb +1 -1
- data/pom.xml +1 -1
- data/vendors/Rakefile +6 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ac2e940ede1e29f5b6d6e4856b945d7302487aee87dea6229c68470a32e41c4
|
4
|
+
data.tar.gz: f000acd2d65cf8bea16754c2474ff48c9b22ce62a9c06637de2b64820aa166e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eed56464f6ebb5dab6881872de1bfff120cea520babe3cf3d559ec2698d018b1d5b73e914950d215cdcb2e1f28a6cc6ca28fbb94f64e19e78c6b851aa53a0f66
|
7
|
+
data.tar.gz: 69c364b81095fe15803b1ab5020d1a116858edc1f0dfb7732bc9c157634f2bdf2f7b42bfccb10fd8c35855d68aeb822cc795ad9d2aac67544e43f542a72e276c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
v1.2.4 Extract picrate examples to ~/projects/examples instead of ~/picrate_samples for tighter integration with geany editor. Remove non-functioning sound library as an install option (direct toward minim as option).
|
2
|
+
|
1
3
|
v1.2.3 Favor latest beta Video2 library over GLVideo.
|
2
4
|
|
3
5
|
v1.2.2 Removed landscape from example as too taxing for raspberryPI. Improved geany tools.
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Create processing sketches in ruby on raspberry-pi and linux (this project is a
|
|
7
7
|
### To install from rubygems ###
|
8
8
|
|
9
9
|
```bash
|
10
|
-
jgem install picrate -v 1.
|
10
|
+
jgem install picrate -v 1.2.3
|
11
11
|
```
|
12
12
|
|
13
13
|
### To Build and Test ###
|
@@ -19,7 +19,7 @@ Requires java to build, but uses a maven wrapper so you don't need to install ma
|
|
19
19
|
```bash
|
20
20
|
cd PiCrate
|
21
21
|
rake # assumes an installed version of vanilla processing
|
22
|
-
jgem install picrate-1.
|
22
|
+
jgem install picrate-1.2.3-java.gem
|
23
23
|
|
24
24
|
```
|
25
25
|
To create a template sketch:-
|
@@ -10,7 +10,7 @@ The current version of raspbian installs jdk-1.8.0_65-bi17 (hard float) and that
|
|
10
10
|
Then install JRuby see [jruby][jruby].
|
11
11
|
|
12
12
|
```bash
|
13
|
-
jgem install picrate
|
13
|
+
jgem install picrate
|
14
14
|
```
|
15
15
|
|
16
16
|
Install samples, and configure `geany` ide (for `PiCrate`)
|
@@ -31,8 +31,8 @@ picrate --install Samples
|
|
31
31
|
Install processing libraries
|
32
32
|
|
33
33
|
```bash
|
34
|
-
picrate -i Sound
|
35
|
-
picrate -i
|
34
|
+
# picrate -i Sound not currently working
|
35
|
+
picrate -i video # preferred over vanilla video for now
|
36
36
|
```
|
37
37
|
|
38
38
|
### Creating Sketches from the GeanyIDE
|
data/lib/picrate/runner.rb
CHANGED
@@ -40,7 +40,7 @@ module Processing
|
|
40
40
|
end
|
41
41
|
|
42
42
|
options[:install] = false
|
43
|
-
message = '<Samples><
|
43
|
+
message = '<Samples><Video> Install samples or library'
|
44
44
|
opts.on('-i', '--install', message) do
|
45
45
|
options[:install] = true
|
46
46
|
end
|
@@ -80,7 +80,9 @@ module Processing
|
|
80
80
|
library ||= 'new'
|
81
81
|
choice = library.downcase
|
82
82
|
case choice
|
83
|
-
when /
|
83
|
+
when /sound/
|
84
|
+
warn 'The sound library is broken, try minim instead'
|
85
|
+
when /samples|video/
|
84
86
|
system "cd #{PICRATE_ROOT}/vendors && rake install_#{choice}"
|
85
87
|
when /new/
|
86
88
|
# install samples and config geany
|
data/lib/picrate/version.rb
CHANGED
data/picrate.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
A batteries included version of processing in ruby, for raspberrypi and
|
14
14
|
linux. Install samples to configures geany ide.
|
15
15
|
EOS
|
16
|
-
gem.summary = %q{ruby
|
16
|
+
gem.summary = %q{ruby implementation of processing-3 on raspberrypi and linux64}
|
17
17
|
gem.homepage = 'https://ruby-processing.github.io/PiCrate/'
|
18
18
|
gem.post_install_message = %q{Use 'picrate --install' to config geany & install samples}
|
19
19
|
gem.files = `git ls-files`.split($/)
|
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:1.2.
|
4
|
+
id 'ruby-processing:picrate:1.2.4'
|
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.'
|
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>1.2.
|
14
|
+
<version>1.2.4</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>
|
data/vendors/Rakefile
CHANGED
@@ -7,9 +7,11 @@ SOUND = 'sound.zip'
|
|
7
7
|
SOUND_VERSION = 'v1.3.2'
|
8
8
|
VIDEO = 'video-2.0-beta4.zip'
|
9
9
|
VIDEO_VERSION = 'r6-v2.0-beta4'
|
10
|
-
EXAMPLES = '0.5.
|
10
|
+
EXAMPLES = '0.5.2'
|
11
11
|
HOME_DIR = ENV['HOME']
|
12
12
|
LIBRARY = File.join(HOME_DIR, '.picrate', 'libraries')
|
13
|
+
PROJECT_DIR = File.join(HOME_DIR, 'projects')
|
14
|
+
EXAMPLES_DIR = File.join(PROJECT_DIR, 'examples')
|
13
15
|
CLOBBER.include(EXAMPLES, SOUND, VIDEO)
|
14
16
|
|
15
17
|
def dependency
|
@@ -76,8 +78,9 @@ end
|
|
76
78
|
desc 'copy examples'
|
77
79
|
task copy_examples: %i[download_samples] do
|
78
80
|
system "tar xzvf #{EXAMPLES}.tar.gz"
|
79
|
-
FileUtils.rm_r
|
80
|
-
FileUtils.
|
81
|
+
FileUtils.rm_r EXAMPLES_DIR if File.exist? EXAMPLES_DIR
|
82
|
+
FileUtils.mkdir_p PROJECT_DIR unless File.exist? PROJECT_DIR
|
83
|
+
FileUtils.cp_r "picrate-examples-#{EXAMPLES}", EXAMPLES_DIR
|
81
84
|
FileUtils.rm_r "picrate-examples-#{EXAMPLES}"
|
82
85
|
end
|
83
86
|
|
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: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- monkstone
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -209,7 +209,7 @@ files:
|
|
209
209
|
- lib/jogl-all-natives-linux-amd64.jar
|
210
210
|
- lib/jogl-all-natives-linux-armv6hf.jar
|
211
211
|
- lib/jogl-all.jar
|
212
|
-
- lib/picrate-1.2.
|
212
|
+
- lib/picrate-1.2.4.jar
|
213
213
|
- lib/picrate.rb
|
214
214
|
- lib/picrate/app.rb
|
215
215
|
- lib/picrate/creators/parameters.rb
|
@@ -392,7 +392,7 @@ requirements:
|
|
392
392
|
rubygems_version: 3.0.6
|
393
393
|
signing_key:
|
394
394
|
specification_version: 4
|
395
|
-
summary: ruby
|
395
|
+
summary: ruby implementation of processing-3 on raspberrypi and linux64
|
396
396
|
test_files:
|
397
397
|
- test/color_group_test.rb
|
398
398
|
- test/deglut_spec_test.rb
|