Skip to content

Commit 245cc41

Browse files
committed
Revert "Merge branch 'integrated-core' into master"
This reverts commit 70daaf4, reversing changes made to 9a0305c. revert merge
1 parent 70daaf4 commit 245cc41

File tree

119 files changed

+141
-95932
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+141
-95932
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rake javadoc
2323
## Installation
2424
```bash
2525
jgem install propane # from rubygems
26-
jgem install propane-2.8.0.pre-java.gem # local install requires a custom processing-core
26+
jgem install propane-2.6.6-java.gem # local install requires a custom processing-core
2727
```
2828

2929
## Usage

Rakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def create_manifest
77
File.open('MANIFEST.MF', 'w') do |f|
88
f.puts(title)
99
f.puts(version)
10-
f.puts('Class-Path: gluegen-rt-2.3.2.jar jog-all-2.3.2.jar')
10+
f.puts('Class-Path: processing-core.jar gluegen-rt-2.3.2.jar jog-all-2.3.2.jar')
1111
end
1212
end
1313

@@ -21,7 +21,7 @@ end
2121
desc 'Install'
2222
task :install do
2323
sh 'mvn dependency:copy'
24-
sh 'mv target/propane-2.8.0.jar lib'
24+
sh 'mv target/propane.jar lib'
2525
end
2626

2727
desc 'Gem'

lib/propane/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# frozen_string_literal: true
22
module Propane
3-
VERSION = '2.8.0.pre'.freeze
3+
VERSION = '2.7.1'.freeze
44
end

library/control_panel/control_panel.rb

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def self.app_value(name, val)
99
end
1010

1111
# class used to create slider elements for control_panel
12+
class Slider < javax.swing.JSlider
1213
def initialize(control_panel, name, range, initial, proc = nil)
1314
min = range.begin * 100
1415
mx = range.end

pom.rb

+88-90
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,107 @@
1-
project 'propane', 'http://maven.apache.org' do
2-
1+
require 'fileutils'
2+
project 'rp5extras', 'https://github.com/monkstone/propane' do
33
model_version '4.0.0'
4-
id 'ruby-processing:propane:2.8.0'
4+
id 'propane:propane', '2.7.1'
55
packaging 'jar'
6-
7-
description 'Processing core is the engine that drives processing, this is a hacked version for propane (a ruby version).'
8-
6+
description 'rp5extras for propane'
97
organization 'ruby-processing', 'https://ruby-processing.github.io'
10-
11-
{
12-
'monkstone' => 'Martin Prout', 'benfry' => 'Ben Fry',
13-
'REAS' => 'Casey Reas', 'codeanticode' => 'Andres Colubri'
14-
}.each do |key, value|
8+
{ 'monkstone' => 'Martin Prout' }.each do |key, value|
159
developer key do
1610
name value
1711
roles 'developer'
1812
end
1913
end
2014
license 'GPL 3', 'http://www.gnu.org/licenses/gpl-3.0-standalone.html'
21-
license 'LGPL 2', 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html'
22-
2315
issue_management 'https://github.com/ruby-processing/propane/issues', 'Github'
2416

25-
properties( 'jogl.version' => '2.3.2',
26-
'jruby.api' => 'http://jruby.org/apidocs/',
27-
'source.directory' => 'src',
28-
'maven.compiler.target' => '1.8',
29-
'processing.api' => 'http://processing.github.io/processing-javadocs/core/',
17+
source_control(
18+
url: 'https://github.com/ruby-processing/propane',
19+
connection: 'scm:git:git://github.com/ruby-processing/propane.git',
20+
developer_connection: 'scm:git:[email protected]/ruby-processing/propane.git'
21+
)
22+
23+
properties('source.directory' => 'src',
3024
'propane.basedir' => '${project.basedir}',
31-
'project.build.sourceEncoding' => 'utf-8',
3225
'polyglot.dump.pom' => 'pom.xml',
33-
'maven.compiler.source' => '1.8' )
34-
pom 'org.jruby:jruby:9.1.16.0'
35-
jar 'org.processing:video:3.0.2'
36-
jar 'com.apple.eawt:apple:1.0'
37-
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
38-
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
26+
'maven.compiler.source' => '1.8',
27+
'project.build.sourceEncoding' => 'utf-8',
28+
'maven.compiler.target' => '1.8',
29+
'jruby.api' => 'http://jruby.org/apidocs/',
30+
'processing.api' => 'http://processing.github.io/processing-javadocs/core/',
31+
'jruby.api' => 'http://jruby.org/apidocs/',
32+
'jogl.version' => '2.3.2'
33+
)
3934

40-
overrides do
41-
plugin :resources, '2.6'
42-
plugin :dependency, '2.10' do
43-
execute_goals( id: 'default-cli',
44-
artifactItems: [ { groupId: 'org.jogamp.jogl',
45-
artifactId: 'jogl-all',
46-
version: '${jogl.version}',
47-
type: 'jar',
48-
outputDirectory: '${propane.basedir}/lib'
49-
},
50-
{ groupId: 'org.jogamp.gluegen',
51-
artifactId: 'gluegen-rt',
52-
version: '${jogl.version}',
53-
type: 'jar',
54-
outputDirectory: '${propane.basedir}/lib'
55-
},
56-
{ groupId: 'org.jogamp.jogl',
57-
artifactId: 'jogl-all',
58-
version: '${jogl.version}',
59-
classifier: 'natives-linux-amd64',
60-
type: 'jar',
61-
outputDirectory: '${propane.basedir}/lib'
62-
},
63-
{ groupId: 'org.jogamp.gluegen',
64-
artifactId: 'gluegen-rt',
65-
version: '${jogl.version}',
66-
type: 'jar',
67-
classifier: 'natives-linux-amd64',
68-
outputDirectory: '${propane.basedir}/lib'
69-
},
70-
{ groupId: 'org.jogamp.jogl',
71-
artifactId: 'jogl-all',
72-
version: '${jogl.version}',
73-
classifier: 'natives-macosx-universal',
74-
type: 'jar',
75-
outputDirectory: '${propane.basedir}/lib'
76-
},
77-
{ groupId: 'org.jogamp.gluegen',
78-
artifactId: 'gluegen-rt',
79-
version: '${jogl.version}',
80-
type: 'jar',
81-
classifier: 'natives-macosx-universal',
82-
outputDirectory: '${propane.basedir}/lib'
83-
}
35+
pom 'org.jruby:jruby:9.1.16.0'
36+
jar 'org.processing:core:3.3.7'
37+
jar 'org.processing:video:3.0.2'
38+
jar('org.jogamp.jogl:jogl-all:${jogl.version}')
39+
jar('org.jogamp.gluegen:gluegen-rt-main:${jogl.version}')
40+
41+
overrides do
42+
plugin :resources, '2.6'
43+
plugin :dependency, '2.10' do
44+
execute_goals( id: 'default-cli',
45+
artifactItems: [ { groupId: 'org.jogamp.jogl',
46+
artifactId: 'jogl-all',
47+
version: '${jogl.version}',
48+
type: 'jar',
49+
outputDirectory: '${propane.basedir}/lib'
50+
},
51+
{ groupId: 'org.jogamp.gluegen',
52+
artifactId: 'gluegen-rt',
53+
version: '${jogl.version}',
54+
type: 'jar',
55+
outputDirectory: '${propane.basedir}/lib'
56+
},
57+
{ groupId: 'org.jogamp.jogl',
58+
artifactId: 'jogl-all',
59+
version: '${jogl.version}',
60+
classifier: 'natives-linux-amd64',
61+
type: 'jar',
62+
outputDirectory: '${propane.basedir}/lib'
63+
},
64+
{ groupId: 'org.jogamp.gluegen',
65+
artifactId: 'gluegen-rt',
66+
version: '${jogl.version}',
67+
type: 'jar',
68+
classifier: 'natives-linux-amd64',
69+
outputDirectory: '${propane.basedir}/lib'
70+
},
71+
{ groupId: 'org.jogamp.jogl',
72+
artifactId: 'jogl-all',
73+
version: '${jogl.version}',
74+
classifier: 'natives-macosx-universal',
75+
type: 'jar',
76+
outputDirectory: '${propane.basedir}/lib'
77+
},
78+
{ groupId: 'org.jogamp.gluegen',
79+
artifactId: 'gluegen-rt',
80+
version: '${jogl.version}',
81+
type: 'jar',
82+
classifier: 'natives-macosx-universal',
83+
outputDirectory: '${propane.basedir}/lib'
84+
}
8485
]
8586
)
8687
end
87-
end
8888

89-
plugin( :resources, '2.7',
90-
'encoding' => 'UTF-8' )
9189
plugin( :compiler, '3.7.0',
92-
'source' => '1.8',
93-
'target' => '1.8' )
94-
plugin( :pmd, '3.3',
95-
'sourceEncoding' => 'utf-8',
96-
'minimumTokens' => '100',
97-
'targetJdk' => '${compileSource}' )
98-
build do
99-
resource do
100-
directory '${source.directory}/main/java'
101-
includes ['**/**/*.glsl', '**/*.jnilib']
102-
excludes '**/**/*.java'
103-
end
104-
resource do
105-
directory '${source.directory}/main/resources'
106-
includes ['**/*.png', '*.txt']
107-
end
108-
end
109-
end
90+
source: '${maven.compiler.source}',
91+
target: '${maven.compiler.target}'
92+
)
93+
plugin( :javadoc, '2.10.4',
94+
detect_offline_links: 'false',
95+
links: ['${jruby.api}', '${processing.api}']
96+
)
97+
plugin( :jar, '3.0.2',
98+
archive: { manifestFile: 'MANIFEST.MF' }
99+
)
100+
end
101+
102+
build do
103+
default_goal 'package'
104+
source_directory 'src'
105+
final_name 'propane'
106+
end
107+
end

0 commit comments

Comments
 (0)