picrate 1.2.0-java → 1.2.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47ad3ac327fcc88763b9b0e9e857761409b95e6bdc1b80305d3b74752099a7c2
4
- data.tar.gz: 62b68f555506c6fd073ad4e998f540add1463d434c558d621baba114f2f56c9f
3
+ metadata.gz: 6288baeea10667d750fa296c3fd35cca7431de0bf03a32c52e1a1975d10e25d3
4
+ data.tar.gz: 5aabb708d0b878bbddbb648ccd59160b2b3c7854fd426ee1067fdb5c6d66e599
5
5
  SHA512:
6
- metadata.gz: 72e2eea3d2c7342489990f24b7ddc7920ea4d7c3c24672253140dada9533f57d05efc73d0af51857bbd3af3265bd7e0d590cf10ff68c661df541cb0e5934d90d
7
- data.tar.gz: 905ec17579a21892d7a8961bceff53214544ebf8947f9e23ab3faf3f88534be5061f8b96916836c2db09c5eabed7e9a3b73728dd9508df8738c0d0229380ce0b
6
+ metadata.gz: d5f06c699fb799aaf5e6204ece6028e01ab24a6cfe572c3bcd31683729a854b9eca51686b9cf90e5a9051ee084c72eab68af48f28cb37d9547bf3602ca2e5a2d
7
+ data.tar.gz: 4e693488a9498b1e9ea66fe206cdd599be407d35ce3666a93bf835dc6531b8d8a33694b23e004f087eec0e994742741f3fcd9c1161e280d4e52602be1fc57dcf
@@ -1,3 +1,5 @@
1
+ v1.2.1 Fix install Samples etc. in runner.rb to match modified vendor Rakefile.
2
+
1
3
  v1.2.0 Update samples to use safer fonts, add linux specific suggestion on missing fonts PFont.java, fix :web_to_color_array(web).
2
4
 
3
5
  v1.1.0 Bring up to date with latest development branch, except still target Stretch and Oracle jdk8, add Gemfile to help version locking.
@@ -5,7 +5,7 @@ date: 2018-05-24 07:34:13
5
5
  categories: PiCrate update
6
6
  permalink: /getting/
7
7
  ---
8
- Raspbian stretch installs jdk-1.8.0_65-bi17 (hard float) and that is just fine, if you have more that one version of java installed you could use `update-alternatives` tool to manage their use.
8
+ Raspbian stretch installs Oracle jdk-1.8.0_65-bi17 (hard float) and that is just fine, if you have more that one version of java installed you could use `update-alternatives` tool to manage their use. Will work with OpenJDK-11 but currently performance is sub-optimal.
9
9
 
10
10
  __Then install JRuby see__ [jruby][jruby].
11
11
 
@@ -5,20 +5,9 @@ date: 2018-05-24 07:34:13
5
5
  categories: PiCrate update
6
6
  permalink: /install_jruby/
7
7
  ---
8
-
9
- ### Automated install using Rakefile ###
10
- Get the `Rakefile` [here][rake_gist]
11
-
12
- ```bash
13
- mkdir installer
14
- cd installer
15
- rake
16
- ```
17
- Currently installs jruby-9.2.8.0
18
-
19
8
  ### Manual install ###
20
9
 
21
- Pure installation on raspbian no need for `rbenv` or `rvm`
10
+ Pure jruby installation on raspbian no need for `rbenv` or `rvm` or existing ruby.
22
11
 
23
12
 
24
13
  Get the latest version from [http://jruby.org/download][download]
@@ -42,11 +31,21 @@ You should prefer to install gems locally (no need for sudo). To do that it is c
42
31
  ```bash
43
32
  alias jpry="jruby -e \"require 'pry'; binding.pry\""
44
33
  # export JAVA_HOME="/opt/jdk1.8.0_151" # if using oracle java openjdk-8 is fine though
45
- export GEM_HOME="/home/tux/.gem/ruby/2.3.0"
46
- export GEM_PATH="/home/tux/.gem/ruby/2.3.0"
34
+ export GEM_HOME="$HOME/.gem/ruby/2.5.0"
35
+ export GEM_PATH="$HOME/tux/.gem/ruby/2.5.0"
47
36
  export PATH="${PATH}:${GEM_PATH}/bin"
48
37
  ```
49
38
 
39
+ ### Automated install using Rakefile ###
40
+ Get the `Rakefile` [here][rake_gist] however it assumes an existing ruby install (which is not needed by PiCrate).
41
+
42
+ ```bash
43
+ mkdir installer
44
+ cd installer
45
+ rake
46
+ ```
47
+ Currently installs jruby-9.2.8.0
48
+
50
49
  If you know better please post on wiki
51
50
 
52
51
  [download]:"https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.8.0/jruby-dist-9.2.8.0-bin.tar.gz"
@@ -10,16 +10,23 @@ 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 -v 1.1.0
13
+ jgem install picrate -v 1.2.1
14
14
  ```
15
15
 
16
16
  Install samples, and configure `geany` ide (for `PiCrate`)
17
17
 
18
18
  ```bash
19
- picrate -i # geany configuration files are installed if required
19
+ picrate -i
20
20
  # or
21
- picrate --install # no args or samples without geany config
21
+ picrate --install
22
22
  ```
23
+ or for no geany configuration
24
+ ```bash
25
+ picrate -i Samples
26
+ # or
27
+ picrate --install Samples
28
+ ```
29
+
23
30
 
24
31
  Install processing libraries
25
32
 
@@ -81,7 +81,7 @@ module Processing
81
81
  choice = library.downcase
82
82
  case choice
83
83
  when /samples|sound|video/
84
- system "cd #{PICRATE_ROOT}/vendors && rake download_and_copy_#{choice}"
84
+ system "cd #{PICRATE_ROOT}/vendors && rake install_#{choice}"
85
85
  when /new/
86
86
  # install samples and config geany
87
87
  system "cd #{PICRATE_ROOT}/vendors && rake"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PiCrate
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
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.0'
4
+ id 'ruby-processing:picrate:1.2.1'
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.0</version>
14
+ <version>1.2.1</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>
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.0
4
+ version: 1.2.1
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-21 00:00:00.000000000 Z
11
+ date: 2019-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -205,7 +205,7 @@ files:
205
205
  - lib/jogl-all-natives-linux-amd64.jar
206
206
  - lib/jogl-all-natives-linux-armv6hf.jar
207
207
  - lib/jogl-all.jar
208
- - lib/picrate-1.2.0.jar
208
+ - lib/picrate-1.2.1.jar
209
209
  - lib/picrate.rb
210
210
  - lib/picrate/app.rb
211
211
  - lib/picrate/creators/parameters.rb