Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
2dc2046a19 | ||
cab998c0d2 | |||
fa559b342e | |||
5fe9f70e04 | |||
caa3b5c26b | |||
94ebe3ab3d | |||
a023e66f9e | |||
346a44f6ac | |||
4451ab6a91 | |||
6acb2600cb |
@@ -1,14 +0,0 @@
|
||||
--- a/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp
|
||||
+++ b/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp
|
||||
@@ -380,10 +380,7 @@ bool PosixProcess::Wait() {
|
||||
int status = 0;
|
||||
pid_t wpid = 0;
|
||||
|
||||
-#ifdef LINUX
|
||||
- wait(&status);
|
||||
-#endif
|
||||
-#ifdef MAC
|
||||
+#if defined(LINUX) || defined(MAC)
|
||||
wpid = wait(&status);
|
||||
#endif
|
||||
|
@@ -1,82 +0,0 @@
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -2586,7 +2586,7 @@ project(":swt") {
|
||||
commonModuleSetup(project, [ 'base', 'graphics' ])
|
||||
|
||||
dependencies {
|
||||
- implementation name: SWT_FILE_NAME
|
||||
+ compile group: "org.eclipse.swt", name: "swt", version: "3.108.0"
|
||||
}
|
||||
|
||||
classes {
|
||||
@@ -4748,35 +4748,35 @@ compileTargets { t ->
|
||||
project(":apps") {
|
||||
// The apps build is Ant based, we will exec ant from gradle.
|
||||
|
||||
- // Download the Lucene libraries needed for the Ensemble8 app
|
||||
- getConfigurations().create("lucene");
|
||||
- dependencies {
|
||||
- lucene group: "org.apache.lucene", name: "lucene-core", version: "7.1.0"
|
||||
- lucene group: "org.apache.lucene", name: "lucene-grouping", version: "7.1.0"
|
||||
- lucene group: "org.apache.lucene", name: "lucene-queryparser", version: "7.1.0"
|
||||
- }
|
||||
+ //Download the Lucene libraries needed for the Ensemble8 app
|
||||
+ //getConfigurations().create("lucene");
|
||||
+ //dependencies {
|
||||
+ // lucene group: "org.apache.lucene", name: "lucene-core", version: "7.1.0"
|
||||
+ // lucene group: "org.apache.lucene", name: "lucene-grouping", version: "7.1.0"
|
||||
+ // lucene group: "org.apache.lucene", name: "lucene-queryparser", version: "7.1.0"
|
||||
+ //}
|
||||
|
||||
// Copy Lucene libraries into the Ensemble8/lib directory
|
||||
File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib");
|
||||
- def libNames = [ "lucene-core-7.1.0.jar",
|
||||
- "lucene-grouping-7.1.0.jar",
|
||||
- "lucene-queryparser-7.1.0.jar" ]
|
||||
-
|
||||
-
|
||||
- task getLucene(type: Copy) {
|
||||
- doFirst {
|
||||
- ensembleLibDir.mkdirs();
|
||||
- }
|
||||
- into ensembleLibDir
|
||||
- includeEmptyDirs = false
|
||||
- configurations.lucene.files.each { f ->
|
||||
- libNames.each { name ->
|
||||
- if (name == f.getName()) {
|
||||
- from f.getPath()
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
+ //def libNames = [ "lucene-core-7.1.0.jar",
|
||||
+ // "lucene-grouping-7.1.0.jar",
|
||||
+ // "lucene-queryparser-7.1.0.jar" ]
|
||||
+
|
||||
+
|
||||
+ //task getLucene(type: Copy) {
|
||||
+ // doFirst {
|
||||
+ // ensembleLibDir.mkdirs();
|
||||
+ // }
|
||||
+ // into ensembleLibDir
|
||||
+ // includeEmptyDirs = false
|
||||
+ // configurations.lucene.files.each { f ->
|
||||
+ // libNames.each { name ->
|
||||
+ // if (name == f.getName()) {
|
||||
+ // from f.getPath()
|
||||
+ // }
|
||||
+ // }
|
||||
+ // }
|
||||
+ //}
|
||||
|
||||
compileTargets { t ->
|
||||
List<String> params = []
|
||||
@@ -4791,7 +4791,7 @@ project(":apps") {
|
||||
params << "-Drun.patch=@${rootProject.buildDir}/${RUNARGSFILE}"
|
||||
|
||||
def appsJar = project.task("appsJar${t.capital}") {
|
||||
- dependsOn(sdk, getLucene)
|
||||
+ dependsOn(sdk)
|
||||
doLast() {
|
||||
ant(t.name,
|
||||
projectDir.path,
|
@@ -1,10 +0,0 @@
|
||||
--- a/buildSrc/build.gradle
|
||||
+++ b/buildSrc/build.gradle
|
||||
@@ -57,6 +57,7 @@ apply plugin: "java"
|
||||
|
||||
|
||||
repositories {
|
||||
+ xmvn()
|
||||
if (buildClosed) {
|
||||
ivy {
|
||||
url jfxRepositoryURL
|
@@ -1,11 +0,0 @@
|
||||
--- a/buildSrc/linux.gradle
|
||||
+++ b/buildSrc/linux.gradle
|
||||
@@ -58,7 +58,7 @@ if (IS_STATIC_BUILD) {
|
||||
def cppFlags = [
|
||||
commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c",
|
||||
"-ffunction-sections", "-fdata-sections",
|
||||
- IS_DEBUG_NATIVE ? ["-ggdb", "-DVERBOSE"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
+ IS_DEBUG_NATIVE ? ["-ggdb", "-DNDEBUG"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
|
||||
def cFlags = [cppFlags, "-Werror=implicit-function-declaration"].flatten()
|
||||
|
@@ -1,13 +0,0 @@
|
||||
--- a/modules/jdk.packager/src/main/java/com/oracle/tools/packager/linux/LinuxAppBundler.java
|
||||
+++ b/modules/jdk.packager/src/main/java/com/oracle/tools/packager/linux/LinuxAppBundler.java
|
||||
@@ -120,8 +120,8 @@ public class LinuxAppBundler extends AbstractImageBundler {
|
||||
BundleParams.PARAM_RUNTIME,
|
||||
RelativeFileSet.class,
|
||||
params -> JreUtils.extractJreAsRelativeFileSet(System.getProperty("java.home"),
|
||||
- LINUX_JRE_RULES.fetchFrom(params)),
|
||||
- (s, p) -> JreUtils.extractJreAsRelativeFileSet(s, LINUX_JRE_RULES.fetchFrom(p))
|
||||
+ LINUX_JRE_RULES.fetchFrom(params), true),
|
||||
+ (s, p) -> JreUtils.extractJreAsRelativeFileSet(s, LINUX_JRE_RULES.fetchFrom(p), true)
|
||||
);
|
||||
|
||||
@Override
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b3cef03795577993993c18940ec93deed4a1387e7907974351f056782e5cd49b
|
||||
size 65024785
|
BIN
17.0.11+3.tar.gz
(Stored with Git LFS)
Normal file
BIN
17.0.11+3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
58
build.xml
Normal file
58
build.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<project name="VersionInfo" default="replaceVersionInfo" basedir=".">
|
||||
<!-- set global properties for this build -->
|
||||
<property file="build.properties"/>
|
||||
|
||||
<property name="file.versioninfo" value="VersionInfo.java"/>
|
||||
<property name="src.versioninfo" value="modules/javafx.base/src/main/version-info"/>
|
||||
<property name="dst.versioninfo" value="modules/javafx.base/src/main/java/com/sun/javafx/runtime"/>
|
||||
|
||||
<target name="replaceVersionInfo" depends="prepare,replaceReleaseVersion">
|
||||
<echo message="RELEASE_SUFFIX="/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@RELEASE_SUFFIX@" value=""/>
|
||||
<tstamp>
|
||||
<format property="NOW" pattern="yyyy-MM-dd-HHmmss"/>
|
||||
</tstamp>
|
||||
<echo message="BUILD_TIMESTAMP=${NOW}"/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@BUILD_TIMESTAMP@" value="${NOW}"/>
|
||||
<echo message="HUDSON_JOB_NAME=not_hudson"/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@HUDSON_JOB_NAME@" value="not_hudson"/>
|
||||
<echo message="HUDSON_BUILD_NUMBER=0000"/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@HUDSON_BUILD_NUMBER@" value="0000"/>
|
||||
<echo message="PROMOTED_BUILD_NUMBER=0"/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@PROMOTED_BUILD_NUMBER@" value="0"/>
|
||||
</target>
|
||||
|
||||
<target name="checkReleaseVersion">
|
||||
<condition property="patch">
|
||||
<equals arg1="${jfx.release.patch.version}" arg2="0" trim="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="replaceReleaseVersion" depends="checkReleaseVersion,replaceFullReleaseVersion" if="patch">
|
||||
<echo message="RELEASE_VERSION=${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}"/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@RELEASE_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}"/>
|
||||
<replace file="javafx.pom" token="@VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}"/>
|
||||
<replace file="pom.xml" token="@RELEASE_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}"/>
|
||||
<replace dir="modules" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}">
|
||||
<include name="**/pom.xml"/>
|
||||
<replacetoken>@RELEASE_VERSION@</replacetoken>
|
||||
</replace>
|
||||
</target>
|
||||
|
||||
<target name="replaceFullReleaseVersion" unless="patch">
|
||||
<echo message="RELEASE_VERSION=${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}.${jfx.release.patch.version}"/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@RELEASE_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}.${jfx.release.patch.version}"/>
|
||||
<replace file="javafx.pom" token="@VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}.${jfx.release.patch.version}"/>
|
||||
<replace file="pom.xml" token="@RELEASE_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}.${jfx.release.patch.version}"/>
|
||||
<replace dir="modules" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.security.version}.${jfx.release.patch.version}">
|
||||
<include name="**/pom.xml"/>
|
||||
<replacetoken>@RELEASE_VERSION@</replacetoken>
|
||||
</replace>
|
||||
</target>
|
||||
|
||||
<target name="prepare">
|
||||
<copy file="${src.versioninfo}/${file.versioninfo}" tofile="${dst.versioninfo}/${file.versioninfo}"/>
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
@@ -1,14 +0,0 @@
|
||||
diff -urEbwB jfx11u-11.0.12-4/buildSrc/linux.gradle jfx11u-11.0.12-4/buildSrc/linux.gradle
|
||||
--- jfx11u-11.0.12-4/buildSrc/linux.gradle 2021-07-30 15:42:47.952930659 +0200
|
||||
+++ jfx11u-11.0.12-4/buildSrc/linux.gradle 2021-07-30 15:44:06.821462951 +0200
|
||||
@@ -46,10 +46,6 @@
|
||||
"-fstack-protector",
|
||||
"-Wextra", "-Wall", "-Wformat-security", "-Wno-unused", "-Wno-parentheses", "-Wtrampolines"] // warning flags
|
||||
|
||||
-if (!IS_64) {
|
||||
- commonFlags += "-m32"
|
||||
-}
|
||||
-
|
||||
if (IS_STATIC_BUILD) {
|
||||
commonFlags += "-DSTATIC_BUILD"
|
||||
}
|
@@ -1,11 +0,0 @@
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -2019,7 +2019,7 @@ project(":graphics") {
|
||||
dependencies {
|
||||
stubCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
|
||||
- antlr group: "org.antlr", name: "antlr4", version: "4.7.2", classifier: "complete"
|
||||
+ antlr group: "org.antlr", name: "antlr4", version: "4.7.2"
|
||||
compile project(':base')
|
||||
}
|
||||
|
@@ -1,20 +0,0 @@
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -291,7 +291,7 @@ ext.MODULESOURCEPATH = "modulesourcepath.args"
|
||||
// this build running on a Mac, Windows, or Linux machine? 32 or 64 bit?
|
||||
ext.OS_NAME = System.getProperty("os.name").toLowerCase()
|
||||
ext.OS_ARCH = System.getProperty("os.arch")
|
||||
-ext.IS_64 = OS_ARCH.toLowerCase().contains("64")
|
||||
+ext.IS_64 = OS_ARCH.toLowerCase().contains("64") || OS_ARCH.toLowerCase().contains("s390x")
|
||||
ext.IS_MAC = OS_NAME.contains("mac") || OS_NAME.contains("darwin")
|
||||
ext.IS_WINDOWS = OS_NAME.contains("windows")
|
||||
ext.IS_LINUX = OS_NAME.contains("linux")
|
||||
@@ -308,7 +308,7 @@ if (IS_WINDOWS && OS_ARCH != "x86" && OS_ARCH != "amd64") {
|
||||
} else if (IS_MAC && OS_ARCH != "x86_64" && OS_ARCH != "aarch64") {
|
||||
fail("Unknown and unsupported build architecture: $OS_ARCH")
|
||||
} else if (IS_LINUX && OS_ARCH != "i386" && OS_ARCH != "amd64") {
|
||||
- fail("Unknown and unsupported build architecture: $OS_ARCH")
|
||||
+ logger.warn("Unknown and unsupported build architecture: $OS_ARCH")
|
||||
}
|
||||
|
||||
|
11
openjfx-freetype.patch
Normal file
11
openjfx-freetype.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- jfx/modules/javafx.graphics/src/main/native-font/freetype.c 2024-08-28 18:04:53.293373270 +0200
|
||||
+++ jfx/modules/javafx.graphics/src/main/native-font/freetype.c 2024-08-28 18:05:34.693689191 +0200
|
||||
@@ -520,7 +520,7 @@
|
||||
if (info->lenCoords > SIZE_MAX - DEFAULT_LEN_COORDS) goto fail;
|
||||
info->lenCoords += DEFAULT_LEN_COORDS;
|
||||
|
||||
- jbyte* newPointCoords = (jfloat*)realloc(info->pointCoords, info->lenCoords * sizeof(jfloat));
|
||||
+ jfloat* newPointCoords = (jfloat*)realloc(info->pointCoords, info->lenCoords * sizeof(jfloat));
|
||||
if (newPointCoords == NULL) goto fail;
|
||||
info->pointCoords = newPointCoords;
|
||||
}
|
@@ -1,572 +0,0 @@
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -1733,7 +1733,7 @@ void addJCov(p, test) {
|
||||
"exclude=\"**.*Test\"," +
|
||||
"file=build/reports/jcov/report.xml," +
|
||||
"merge=merge";
|
||||
- test.jvmArgs("-javaagent:${p.configurations.testClasspath.files.find { it.name.startsWith('jcov') }}=$jcovJVMArgument");
|
||||
+ test.jvmArgs("-javaagent:${p.configurations.testCompile.files.find { it.name.startsWith('jcov') }}=$jcovJVMArgument");
|
||||
p.mkdir p.file("build/reports/jcov")
|
||||
}
|
||||
test.doLast {
|
||||
@@ -1741,7 +1741,7 @@ void addJCov(p, test) {
|
||||
if (reportFile.exists()) {
|
||||
p.javaexec {
|
||||
workingDir = p.file("build/reports/jcov")
|
||||
- classpath = p.files(p.configurations.testClasspath.files.find { it.name.startsWith('jcov') })
|
||||
+ classpath = p.files(p.configurations.testCompile.files.find { it.name.startsWith('jcov') })
|
||||
main = "com.sun.tdk.jcov.Helper"
|
||||
args = [
|
||||
"RepGen",
|
||||
@@ -1771,10 +1771,7 @@ allprojects {
|
||||
repositories {
|
||||
ivy {
|
||||
url JFX_DEPS_URL
|
||||
- metadataSources {
|
||||
- artifact()
|
||||
- }
|
||||
- patternLayout {
|
||||
+ layout "pattern", {
|
||||
artifact "[artifact]-[revision](-[classifier]).[ext]"
|
||||
artifact "[artifact].[ext]"
|
||||
}
|
||||
@@ -1787,10 +1784,7 @@ allprojects {
|
||||
mavenCentral()
|
||||
ivy {
|
||||
url "https://download.eclipse.org/eclipse/updates/4.6/R-4.6.3-201703010400/plugins/"
|
||||
- metadataSources {
|
||||
- artifact()
|
||||
- }
|
||||
- patternLayout {
|
||||
+ layout "pattern", {
|
||||
artifact "[artifact].[ext]"
|
||||
}
|
||||
}
|
||||
@@ -1801,19 +1795,13 @@ allprojects {
|
||||
repositories {
|
||||
ivy {
|
||||
url libAVRepositoryURL
|
||||
- metadataSources {
|
||||
- artifact()
|
||||
- }
|
||||
- patternLayout {
|
||||
+ layout "pattern", {
|
||||
artifact "[artifact].[ext]"
|
||||
}
|
||||
}
|
||||
ivy {
|
||||
url FFmpegRepositoryURL
|
||||
- metadataSources {
|
||||
- artifact()
|
||||
- }
|
||||
- patternLayout {
|
||||
+ layout "pattern", {
|
||||
artifact "[artifact].[ext]"
|
||||
}
|
||||
}
|
||||
@@ -1854,9 +1842,9 @@ allprojects {
|
||||
// By default all of our projects require junit for testing so we can just
|
||||
// setup this dependency here.
|
||||
dependencies {
|
||||
- testImplementation group: "junit", name: "junit", version: "4.8.2"
|
||||
+ testCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
if (BUILD_CLOSED && DO_JCOV) {
|
||||
- testImplementation name: "jcov"
|
||||
+ testCompile name: "jcov"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1953,9 +1941,9 @@ project(":base") {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
- testImplementation group: "junit", name: "junit", version: "4.8.2"
|
||||
- testImplementation sourceSets.main.output
|
||||
- testImplementation sourceSets.shims.output
|
||||
+ testCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
+ testCompile sourceSets.main.output
|
||||
+ testCompile sourceSets.shims.output
|
||||
}
|
||||
|
||||
commonModuleSetup(project, [ 'base' ])
|
||||
@@ -2029,10 +2017,10 @@ project(":graphics") {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
- stubImplementation group: "junit", name: "junit", version: "4.8.2"
|
||||
+ stubCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
|
||||
antlr group: "org.antlr", name: "antlr4", version: "4.7.2", classifier: "complete"
|
||||
- implementation project(':base')
|
||||
+ compile project(':base')
|
||||
}
|
||||
|
||||
project.ext.moduleSourcePath = defaultModuleSourcePath_GraphicsOne
|
||||
@@ -2107,7 +2095,7 @@ project(":graphics") {
|
||||
project.task("compileFullJava", type: JavaCompile, dependsOn: processShaders) {
|
||||
description = "Compile all of the graphics java classes - main and shaders"
|
||||
|
||||
- classpath = configurations.compileClasspath
|
||||
+ classpath = configurations.compile
|
||||
|
||||
source = project.sourceSets.main.java.srcDirs
|
||||
source += "$buildDir/gensrc/java"
|
||||
@@ -2274,7 +2262,7 @@ project(":graphics") {
|
||||
executable = JAVA
|
||||
workingDir = project.projectDir
|
||||
main = settings.generator
|
||||
- classpath = configurations.compileClasspath + configurations.antlr
|
||||
+ classpath = configurations.compile + configurations.antlr
|
||||
classpath += files(project.sourceSets.jslc.java.outputDir)
|
||||
|
||||
classpath += files("${project.projectDir}/src/jslc/resources")
|
||||
@@ -2363,7 +2351,7 @@ project(":graphics") {
|
||||
executable = JAVA
|
||||
workingDir = project.projectDir
|
||||
main = "CompileJSL"
|
||||
- classpath = configurations.compileClasspath + configurations.antlr
|
||||
+ classpath = configurations.compile + configurations.antlr
|
||||
classpath += files(project.sourceSets.jslc.java.outputDir)
|
||||
classpath += files(project.sourceSets.jslc.resources)
|
||||
classpath += files("$buildDir/classes/jsl-compilers/prism",
|
||||
@@ -2418,7 +2406,7 @@ project(":graphics") {
|
||||
}
|
||||
if (allLibsPresent) return;
|
||||
|
||||
- for (File f : [configurations.compileClasspath.files, configurations.antlr.files].flatten()) {
|
||||
+ for (File f : [configurations.compile.files, configurations.antlr.files].flatten()) {
|
||||
copy {
|
||||
into libsDir
|
||||
from f.getParentFile()
|
||||
@@ -2461,10 +2449,10 @@ project(":controls") {
|
||||
commonModuleSetup(project, [ 'base', 'graphics', 'controls' ])
|
||||
|
||||
dependencies {
|
||||
- testImplementation project(":graphics").sourceSets.test.output
|
||||
- testImplementation project(":base").sourceSets.test.output
|
||||
- implementation project(':base')
|
||||
- implementation project(':graphics')
|
||||
+ testCompile project(":graphics").sourceSets.test.output
|
||||
+ testCompile project(":base").sourceSets.test.output
|
||||
+ compile project(':base')
|
||||
+ compile project(':graphics')
|
||||
}
|
||||
|
||||
test {
|
||||
@@ -2543,8 +2531,8 @@ project(":swing") {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
- implementation project(":base")
|
||||
- implementation project(":graphics")
|
||||
+ compile project(":base")
|
||||
+ compile project(":graphics")
|
||||
}
|
||||
|
||||
test {
|
||||
@@ -2599,7 +2587,7 @@ project(":swt") {
|
||||
// Skip copy if file is present.
|
||||
if (swtLib.exists()) return;
|
||||
|
||||
- for (File f : configurations.compileClasspath.files) {
|
||||
+ for (File f : configurations.compile.files) {
|
||||
// Have to rename the swt jar because it is some platform specific name but
|
||||
// for the sake of the IDEs we need to have a single stable name that works
|
||||
// on every platform
|
||||
@@ -2663,10 +2651,10 @@ project(":fxml") {
|
||||
|
||||
|
||||
dependencies {
|
||||
- testImplementation project(":graphics").sourceSets.test.output
|
||||
- testImplementation project(":base").sourceSets.test.output
|
||||
- implementation project(":base")
|
||||
- implementation project(":graphics")
|
||||
+ testCompile project(":graphics").sourceSets.test.output
|
||||
+ testCompile project(":base").sourceSets.test.output
|
||||
+ compile project(":base")
|
||||
+ compile project(":graphics")
|
||||
}
|
||||
|
||||
test {
|
||||
@@ -2756,9 +2744,9 @@ project(":fxpackager") {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
- antpluginImplementation group: "org.apache.ant", name: "ant", version: "1.8.2"
|
||||
+ antpluginCompile group: "org.apache.ant", name: "ant", version: "1.8.2"
|
||||
|
||||
- testImplementation project(":controls"),
|
||||
+ testCompile project(":controls"),
|
||||
group: "org.apache.ant", name: "ant", version: "1.8.2",
|
||||
sourceSets.antplugin.output
|
||||
}
|
||||
@@ -3328,8 +3316,8 @@ project(":media") {
|
||||
media name: "ffmpeg-3.3.3", ext: "tar.gz"
|
||||
media name: "ffmpeg-4.0.2", ext: "tar.gz"
|
||||
}
|
||||
- implementation project(":base")
|
||||
- implementation project(":graphics")
|
||||
+ compile project(":base")
|
||||
+ compile project(":graphics")
|
||||
}
|
||||
|
||||
compileJava.dependsOn updateCacheIfNeeded
|
||||
@@ -3931,10 +3919,10 @@ project(":web") {
|
||||
if (IS_COMPILE_WEBKIT) {
|
||||
icu name: "icu4c-${icuVersion}-data-bin-l", ext: "zip"
|
||||
}
|
||||
- implementation project(":base")
|
||||
- implementation project(":graphics")
|
||||
- implementation project(":controls")
|
||||
- implementation project(":media")
|
||||
+ compile project(":base")
|
||||
+ compile project(":graphics")
|
||||
+ compile project(":controls")
|
||||
+ compile project(":media")
|
||||
}
|
||||
|
||||
compileJava.dependsOn updateCacheIfNeeded
|
||||
@@ -3943,8 +3931,8 @@ project(":web") {
|
||||
from (project.file("$projectDir/src/test/resources/test/html")) {
|
||||
include "**/archive-*.*"
|
||||
}
|
||||
- archiveFileName = "webArchiveJar.jar"
|
||||
- destinationDirectory = file("$buildDir/testing/resources")
|
||||
+ archiveName = "webArchiveJar.jar"
|
||||
+ destinationDir = file("$buildDir/testing/resources")
|
||||
}
|
||||
|
||||
def gensrcDir = "${buildDir}/gensrc/java"
|
||||
@@ -4122,7 +4110,7 @@ project(":web") {
|
||||
def compileJavaDOMBindingTask = task("compileJavaDOMBinding${t.capital}", type: JavaCompile,
|
||||
dependsOn: [compileJava, compileNativeTask, copyNativeTask]) {
|
||||
destinationDir = file("$buildDir/classes/java/main")
|
||||
- classpath = configurations.compileClasspath
|
||||
+ classpath = configurations.compile
|
||||
source = project.sourceSets.main.java.srcDirs
|
||||
options.compilerArgs.addAll([
|
||||
'-implicit:none',
|
||||
@@ -4140,8 +4128,8 @@ project(":web") {
|
||||
|
||||
def drtClasses = "**/com/sun/javafx/webkit/drt/**"
|
||||
task drtJar(type: Jar, dependsOn: compileJava) {
|
||||
- archiveFileName = "drt.jar"
|
||||
- destinationDirectory = file("$buildDir/test")
|
||||
+ archiveName = "drt.jar"
|
||||
+ destinationDir = file("$buildDir/test")
|
||||
from "$buildDir/classes/java/main/javafx.web/"
|
||||
include drtClasses
|
||||
includeEmptyDirs = false
|
||||
@@ -4182,10 +4170,10 @@ project(":systemTests") {
|
||||
project.ext.moduleName = "systemTests"
|
||||
|
||||
dependencies {
|
||||
- testImplementation project(":graphics").sourceSets.test.output
|
||||
- testImplementation project(":base").sourceSets.test.output
|
||||
- testImplementation project(":controls").sourceSets.test.output
|
||||
- testImplementation project(":swing").sourceSets.test.output
|
||||
+ testCompile project(":graphics").sourceSets.test.output
|
||||
+ testCompile project(":base").sourceSets.test.output
|
||||
+ testCompile project(":controls").sourceSets.test.output
|
||||
+ testCompile project(":swing").sourceSets.test.output
|
||||
}
|
||||
|
||||
def dependentProjects = [ 'base', 'graphics', 'controls', 'media', 'web', 'swing', 'fxml' ]
|
||||
@@ -4240,8 +4228,8 @@ project(":systemTests") {
|
||||
dependsOn compileTestapp1Java
|
||||
enabled = IS_FULL_TEST
|
||||
|
||||
- destinationDirectory = file("$buildDir/testapp1")
|
||||
- archiveFileName = testapp1JarName
|
||||
+ destinationDir = file("$buildDir/testapp1")
|
||||
+ archiveName = testapp1JarName
|
||||
includeEmptyDirs = false
|
||||
from project.sourceSets.testapp1.java.outputDir
|
||||
include("testapp/**")
|
||||
@@ -4261,8 +4249,8 @@ project(":systemTests") {
|
||||
dependsOn compileTestapp1Java
|
||||
enabled = IS_FULL_TEST
|
||||
|
||||
- destinationDirectory = file("$buildDir/testapp1")
|
||||
- archiveFileName = "jar2.jar";
|
||||
+ destinationDir = file("$buildDir/testapp1")
|
||||
+ archiveName = "jar2.jar";
|
||||
includeEmptyDirs = false
|
||||
from project.sourceSets.testapp1.java.outputDir
|
||||
include("pkg2/**")
|
||||
@@ -4415,7 +4403,6 @@ allprojects {
|
||||
project.jar.enabled = false
|
||||
|
||||
// and redirect the resources into the module
|
||||
- project.sourceSets.main.output.resourcesDir = project.moduleDir
|
||||
project.processResources.destinationDir = project.moduleDir
|
||||
}
|
||||
|
||||
@@ -4449,7 +4436,6 @@ allprojects {
|
||||
project.sourceSets.shims.resources.srcDirs += project.sourceSets.main.resources.srcDirs
|
||||
|
||||
// and redirect the resources into the module
|
||||
- project.sourceSets.shims.output.resourcesDir = project.moduleShimsDir
|
||||
project.processShimsResources.destinationDir = project.moduleShimsDir
|
||||
|
||||
compileTestJava.dependsOn(copyGeneratedShimsTask)
|
||||
@@ -4710,8 +4696,8 @@ compileTargets { t ->
|
||||
enabled = COMPILE_SWT
|
||||
group = "Basic"
|
||||
description = "Creates the javafx-swt.jar for the $t.name target"
|
||||
- destinationDirectory = file("${project(":swt").buildDir}/libs")
|
||||
- archiveFileName = "javafx-swt.jar"
|
||||
+ destinationDir = file("${project(":swt").buildDir}/libs")
|
||||
+ archiveName = "javafx-swt.jar"
|
||||
includeEmptyDirs = false
|
||||
from("${project(":swt").buildDir}/classes/java/main");
|
||||
include("**/javafx/embed/swt/**")
|
||||
@@ -4731,9 +4717,7 @@ compileTargets { t ->
|
||||
dependsOn(javafxSwtTask)
|
||||
|
||||
doLast() {
|
||||
- def destDir = javafxSwtTask.destinationDirectory.get()
|
||||
- def afName = javafxSwtTask.archiveFileName.get()
|
||||
- ant.jar (update: true, index: true, destfile: "${destDir}/${afName}")
|
||||
+ ant.jar (update: true, index: true, destfile: "${javafxSwtTask.destinationDir}/${javafxSwtTask.archiveName}")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4899,8 +4883,8 @@ compileTargets { t ->
|
||||
zipsTask.dependsOn(zipSdkTask)
|
||||
|
||||
def zipDocsTask = task("zipDocs$t.capital", type: Zip, dependsOn: zipSdkTask) {
|
||||
- destinationDirectory = file("${bundlesDir}")
|
||||
- archiveFileName = "${docsBundleName}.zip"
|
||||
+ destinationDir = file("${bundlesDir}")
|
||||
+ archiveName = "${docsBundleName}.zip"
|
||||
includeEmptyDirs = false
|
||||
from docsArtifactsDir
|
||||
into "${docsBundleName}"
|
||||
@@ -4908,8 +4892,8 @@ compileTargets { t ->
|
||||
zipsTask.dependsOn(zipDocsTask)
|
||||
|
||||
def zipJmodsTask = task("zipJmods$t.capital", type: Zip, dependsOn: zipDocsTask) {
|
||||
- destinationDirectory = file("${bundlesDir}")
|
||||
- archiveFileName = "${jmodsBundleName}.zip"
|
||||
+ destinationDir = file("${bundlesDir}")
|
||||
+ archiveName = "${jmodsBundleName}.zip"
|
||||
includeEmptyDirs = false
|
||||
from jmodsArtifactsDir
|
||||
into "${jmodsBundleName}"
|
||||
@@ -5180,8 +5164,8 @@ compileTargets { t ->
|
||||
def dstModularJarDir = "${standaloneLibDir}"
|
||||
def modularJarName = "${moduleName}.jar"
|
||||
def modularJarTask = project.task("modularJarStandalone$t.capital", type: Jar, dependsOn: project.assemble) {
|
||||
- destinationDirectory = file("${dstModularJarDir}")
|
||||
- archiveFileName = modularJarName
|
||||
+ destinationDir = file("${dstModularJarDir}")
|
||||
+ archiveName = modularJarName
|
||||
includeEmptyDirs = false
|
||||
from srcClassesDir
|
||||
}
|
||||
@@ -5237,8 +5221,8 @@ compileTargets { t ->
|
||||
// and the standalone sdk should be independent of one another, but seems
|
||||
// better than the alternatives.
|
||||
def zipSourceFilesTask = project.task("zipSourceFilesStandalone$t.capital", type: Zip, dependsOn: buildModulesTask) {
|
||||
- destinationDirectory = file("${standaloneLibDir}")
|
||||
- archiveFileName = standaloneSrcZipName
|
||||
+ destinationDir = file("${standaloneLibDir}")
|
||||
+ archiveName = standaloneSrcZipName
|
||||
includeEmptyDirs = false
|
||||
from modulesSrcDir
|
||||
include "**/*.java"
|
||||
@@ -5263,8 +5247,8 @@ compileTargets { t ->
|
||||
|
||||
def modularEmptyPublicationJarName = "${moduleName}.jar"
|
||||
def modularEmptyPublicationJarTask = project.task("moduleEmptyPublicationJar${t.capital}", type: Jar) {
|
||||
- destinationDirectory = file("${dstModularJarDir}")
|
||||
- archiveFileName = modularEmptyPublicationJarName
|
||||
+ destinationDir = file("${dstModularJarDir}")
|
||||
+ archiveName = modularEmptyPublicationJarName
|
||||
manifest {
|
||||
attributes(
|
||||
'Automatic-Module-Name':"${moduleName}Empty"
|
||||
@@ -5274,8 +5258,8 @@ compileTargets { t ->
|
||||
|
||||
def modularPublicationJarName = "${moduleName}-${t.name}.jar"
|
||||
def modularPublicationJarTask = project.task("modularPublicationJar${t.capital}", type: Jar, dependsOn: modularEmptyPublicationJarTask) {
|
||||
- destinationDirectory = file("${dstModularJarDir}")
|
||||
- archiveFileName = modularPublicationJarName
|
||||
+ destinationDir = file("${dstModularJarDir}")
|
||||
+ archiveName = modularPublicationJarName
|
||||
from srcLibsDir
|
||||
from srcClassesDir
|
||||
}
|
||||
@@ -5695,8 +5679,8 @@ compileTargets { t ->
|
||||
file("${rootProject.buildDir}/${jfxBundle}").delete()
|
||||
}
|
||||
|
||||
- archiveFileName = jfxBundle
|
||||
- destinationDirectory = file("${rootProject.buildDir}")
|
||||
+ archiveName = jfxBundle
|
||||
+ destinationDir = file("${rootProject.buildDir}")
|
||||
includeEmptyDirs = false
|
||||
from "${bundledSdkDir}"
|
||||
}
|
||||
--- a/build.properties
|
||||
+++ b/build.properties
|
||||
@@ -84,8 +84,8 @@ jfx.build.jdk.buildnum.min=46
|
||||
# gradle/legal/gradle.md.
|
||||
# The jfx.gradle.version.min property defines the minimum version of gradle
|
||||
# that is supported. It must be <= jfx.gradle.version.
|
||||
-jfx.gradle.version=7.0.1
|
||||
-jfx.gradle.version.min=6.3
|
||||
+jfx.gradle.version=5.3
|
||||
+jfx.gradle.version.min=4.8
|
||||
|
||||
# Toolchains
|
||||
jfx.build.linux.gcc.version=gcc10.3.0-OL6.4+1.0
|
||||
--- a/buildSrc/build.gradle
|
||||
+++ b/buildSrc/build.gradle
|
||||
@@ -60,10 +60,7 @@ repositories {
|
||||
if (buildClosed) {
|
||||
ivy {
|
||||
url jfxRepositoryURL
|
||||
- metadataSources {
|
||||
- artifact()
|
||||
- }
|
||||
- patternLayout {
|
||||
+ layout "pattern", {
|
||||
artifact "[artifact]-[revision].[ext]"
|
||||
artifact "[artifact].[ext]"
|
||||
}
|
||||
@@ -74,7 +71,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
- testImplementation group: "junit", name: "junit", version: "4.8.2"
|
||||
+ testCompile group: "junit", name: "junit", version: "4.8.2"
|
||||
}
|
||||
|
||||
// At the moment the ASM library shipped with Gradle that is used to
|
||||
--- a/buildSrc/src/main/groovy/com/sun/javafx/gradle/CCTask.groovy
|
||||
+++ b/buildSrc/src/main/groovy/com/sun/javafx/gradle/CCTask.groovy
|
||||
@@ -23,16 +23,15 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
-import org.gradle.api.tasks.Input
|
||||
import org.gradle.api.tasks.InputDirectory
|
||||
import org.gradle.api.tasks.Optional
|
||||
|
||||
class CCTask extends NativeCompileTask {
|
||||
- @Input String compiler;
|
||||
- @Optional @Input List<String> linkerOptions = new ArrayList<String>();
|
||||
+ String compiler;
|
||||
+ @Optional List<String> linkerOptions = new ArrayList<String>();
|
||||
@Optional @InputDirectory File headers;
|
||||
- @Optional @Input Closure eachOutputFile; // will be given a File and must return a File
|
||||
- @Input boolean exe = false;
|
||||
+ @Optional Closure eachOutputFile; // will be given a File and must return a File
|
||||
+ @Optional boolean exe = false;
|
||||
|
||||
protected File outputFile(File sourceFile) {
|
||||
final String outFileName = sourceFile.getName().substring(0, sourceFile.getName().lastIndexOf("."));
|
||||
--- a/buildSrc/src/main/groovy/com/sun/javafx/gradle/CompileResourceTask.groovy
|
||||
+++ b/buildSrc/src/main/groovy/com/sun/javafx/gradle/CompileResourceTask.groovy
|
||||
@@ -23,11 +23,9 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
-import org.gradle.api.tasks.Input
|
||||
-
|
||||
class CompileResourceTask extends NativeCompileTask {
|
||||
- @Input List<String> rcParams = new ArrayList<String>();
|
||||
- @Input String compiler;
|
||||
+ List<String> rcParams = new ArrayList<String>();
|
||||
+ String compiler;
|
||||
|
||||
protected File outputFile(File sourceFile) {
|
||||
final String outFileName = sourceFile.getName().substring(0, sourceFile.getName().lastIndexOf("."));
|
||||
--- a/buildSrc/src/main/groovy/com/sun/javafx/gradle/ExportedSymbolsTask.groovy
|
||||
+++ b/buildSrc/src/main/groovy/com/sun/javafx/gradle/ExportedSymbolsTask.groovy
|
||||
@@ -24,7 +24,6 @@
|
||||
*/
|
||||
|
||||
import org.gradle.api.DefaultTask
|
||||
-import org.gradle.api.tasks.Input
|
||||
import org.gradle.api.tasks.InputDirectory
|
||||
import org.gradle.api.tasks.Optional
|
||||
import org.gradle.api.tasks.OutputFile
|
||||
@@ -33,7 +32,7 @@ import org.gradle.api.tasks.TaskAction
|
||||
class ExportedSymbolsTask extends DefaultTask {
|
||||
@OutputFile File outputFile;
|
||||
@InputDirectory File libDir;
|
||||
- @Optional @Input List<String> excludes;
|
||||
+ @Optional List<String> excludes;
|
||||
|
||||
|
||||
@TaskAction void generateExportedSymbols() {
|
||||
--- a/buildSrc/src/main/groovy/com/sun/javafx/gradle/JavaHeaderTask.groovy
|
||||
+++ b/buildSrc/src/main/groovy/com/sun/javafx/gradle/JavaHeaderTask.groovy
|
||||
@@ -26,7 +26,6 @@
|
||||
import org.gradle.api.DefaultTask
|
||||
import org.gradle.api.file.FileCollection
|
||||
import org.gradle.api.file.FileTree
|
||||
-import org.gradle.api.tasks.Input
|
||||
import org.gradle.api.tasks.OutputDirectory
|
||||
import org.gradle.api.tasks.TaskAction
|
||||
import org.gradle.api.tasks.util.PatternFilterable
|
||||
@@ -34,8 +33,8 @@ import org.gradle.api.tasks.util.PatternSet
|
||||
|
||||
class JavaHeaderTask extends DefaultTask {
|
||||
@OutputDirectory File output;
|
||||
- @Input List sourceRoots = new ArrayList();
|
||||
- @Input FileCollection classpath;
|
||||
+ List sourceRoots = new ArrayList();
|
||||
+ FileCollection classpath;
|
||||
private final PatternFilterable patternSet = new PatternSet();
|
||||
|
||||
// @InputFiles public void setSource(Object source) {
|
||||
--- a/buildSrc/src/main/groovy/com/sun/javafx/gradle/LinkTask.groovy
|
||||
+++ b/buildSrc/src/main/groovy/com/sun/javafx/gradle/LinkTask.groovy
|
||||
@@ -24,18 +24,16 @@
|
||||
*/
|
||||
|
||||
import org.gradle.api.DefaultTask
|
||||
-import org.gradle.api.tasks.Input
|
||||
import org.gradle.api.tasks.InputDirectory
|
||||
import org.gradle.api.tasks.OutputFile
|
||||
import org.gradle.api.tasks.TaskAction
|
||||
|
||||
|
||||
class LinkTask extends DefaultTask {
|
||||
- @Input List<String> linkParams = new ArrayList<String>();
|
||||
+ List<String> linkParams = new ArrayList<String>();
|
||||
@InputDirectory File objectDir;
|
||||
@OutputFile File lib;
|
||||
- @Input String linker;
|
||||
-
|
||||
+ String linker;
|
||||
@TaskAction void compile() {
|
||||
// Link & generate the library (.dll, .so, .dylib)
|
||||
lib.getParentFile().mkdirs();
|
||||
--- a/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy
|
||||
+++ b/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy
|
||||
@@ -24,7 +24,6 @@
|
||||
*/
|
||||
|
||||
import org.gradle.api.DefaultTask
|
||||
-import org.gradle.api.tasks.Input
|
||||
import org.gradle.api.tasks.InputFiles
|
||||
import org.gradle.api.tasks.Optional
|
||||
import org.gradle.api.tasks.OutputDirectory
|
||||
@@ -39,9 +38,9 @@ import java.util.concurrent.Executors
|
||||
import java.util.concurrent.Future
|
||||
|
||||
class NativeCompileTask extends DefaultTask {
|
||||
- @Optional @Input String matches; // regex for matching input files
|
||||
- @Input List<String> params = new ArrayList<String>();
|
||||
- @Input List sourceRoots = new ArrayList();
|
||||
+ @Optional String matches; // regex for matching input files
|
||||
+ List<String> params = new ArrayList<String>();
|
||||
+ List sourceRoots = new ArrayList();
|
||||
@OutputDirectory File output;
|
||||
@InputFiles List<File> allFiles = [];
|
||||
private final PatternFilterable patternSet = new PatternSet();
|
11
openjfx-libprism.patch
Normal file
11
openjfx-libprism.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- jfx/modules/javafx.graphics/src/main/native-prism-es2/x11/X11GLContext.c 2024-08-28 18:04:53.316706782 +0200
|
||||
+++ jfx/modules/javafx.graphics/src/main/native-prism-es2/x11/X11GLContext.c 2024-08-28 18:27:44.753905337 +0200
|
||||
@@ -275,7 +275,7 @@
|
||||
dlsym(RTLD_DEFAULT, "glXSwapIntervalSGI");
|
||||
|
||||
if (ctxInfo->glXSwapIntervalSGI == NULL) {
|
||||
- ctxInfo->glXSwapIntervalSGI = glXGetProcAddress("glXSwapIntervalSGI");
|
||||
+ ctxInfo->glXSwapIntervalSGI = (void*)glXGetProcAddress("glXSwapIntervalSGI");
|
||||
}
|
||||
|
||||
}
|
@@ -1,38 +0,0 @@
|
||||
--- a/buildSrc/linux.gradle
|
||||
+++ b/buildSrc/linux.gradle
|
||||
@@ -44,7 +44,7 @@ LINUX.library = { name -> return (IS_STATIC_BUILD ? "lib${name}.a" : "lib${name}
|
||||
def commonFlags = [
|
||||
"-fno-strict-aliasing", "-fPIC", "-fno-omit-frame-pointer", // optimization flags
|
||||
"-fstack-protector",
|
||||
- "-Wextra", "-Wall", "-Wformat-security", "-Wno-unused", "-Wno-parentheses", "-Werror=trampolines"] // warning flags
|
||||
+ "-Wextra", "-Wall", "-Wformat-security", "-Wno-unused", "-Wno-parentheses", "-Wtrampolines"] // warning flags
|
||||
|
||||
if (!IS_64) {
|
||||
commonFlags += "-m32"
|
||||
@@ -230,7 +230,7 @@ FileTree ft_gtk = fileTree("${project(":graphics").projectDir}/src/main/native-g
|
||||
LINUX.glass.glass = [:]
|
||||
LINUX.glass.glass.nativeSource = ft_gtk_launcher.getFiles()
|
||||
LINUX.glass.glass.compiler = compiler
|
||||
-LINUX.glass.glass.ccFlags = [cppFlags, "-Werror"].flatten()
|
||||
+LINUX.glass.glass.ccFlags = [cppFlags].flatten()
|
||||
LINUX.glass.glass.linker = linker
|
||||
LINUX.glass.glass.linkFlags = IS_STATIC_BUILD? linkFlags : [linkFlags, "-lX11", "-ldl"].flatten()
|
||||
LINUX.glass.glass.lib = "glass"
|
||||
@@ -240,7 +240,7 @@ LINUX.glass.glassgtk2.nativeSource = ft_gtk.getFiles()
|
||||
LINUX.glass.glassgtk2.compiler = compiler
|
||||
LINUX.glass.glassgtk2.ccFlags = IS_STATIC_BUILD ?
|
||||
["-fno-threadsafe-statics", cppFlags, gtk2CCFlags].flatten() :
|
||||
- [cppFlags, gtk2CCFlags, "-Werror"].flatten()
|
||||
+ [cppFlags, gtk2CCFlags].flatten()
|
||||
LINUX.glass.glassgtk2.linker = linker
|
||||
LINUX.glass.glassgtk2.linkFlags = IS_STATIC_BUILD ? linkFlags : [linkFlags, gtk2LinkFlags].flatten()
|
||||
LINUX.glass.glassgtk2.lib = "glassgtk2"
|
||||
@@ -250,7 +250,7 @@ LINUX.glass.glassgtk3.nativeSource = ft_gtk.getFiles()
|
||||
LINUX.glass.glassgtk3.compiler = compiler
|
||||
LINUX.glass.glassgtk3.ccFlags = IS_STATIC_BUILD ?
|
||||
["-fno-threadsafe-statics", cppFlags, gtk3CCFlags].flatten() :
|
||||
- [cppFlags, gtk3CCFlags, "-Werror"].flatten()
|
||||
+ [cppFlags, gtk3CCFlags].flatten()
|
||||
LINUX.glass.glassgtk3.linker = linker
|
||||
LINUX.glass.glassgtk3.linkFlags = IS_STATIC_BUILD ? linkFlags : [linkFlags, gtk3LinkFlags].flatten()
|
||||
LINUX.glass.glassgtk3.lib = "glassgtk3"
|
@@ -1,6 +1,6 @@
|
||||
--- a/modules/javafx.graphics/src/main/native-font/pango.c
|
||||
+++ b/modules/javafx.graphics/src/main/native-font/pango.c
|
||||
@@ -243,7 +243,7 @@ JNIEXPORT jboolean JNICALL OS_NATIVE(FcConfigAppFontAddFile)
|
||||
--- jfx/modules/javafx.graphics/src/main/native-font/pango.c 2024-08-28 18:04:53.293373270 +0200
|
||||
+++ jfx/modules/javafx.graphics/src/main/native-font/pango.c 2024-08-28 18:19:29.190065141 +0200
|
||||
@@ -243,7 +243,7 @@
|
||||
if (text) {
|
||||
// rc = (jboolean)FcConfigAppFontAddFile(arg0, text);
|
||||
if (fp) {
|
||||
@@ -9,3 +9,12 @@
|
||||
}
|
||||
(*env)->ReleaseStringUTFChars(env, arg1, text);
|
||||
}
|
||||
@@ -402,7 +402,7 @@
|
||||
(JNIEnv *env, jclass that, jlong str, jlong pos)
|
||||
{
|
||||
if (!str) return 0;
|
||||
- return (jlong)g_utf8_strlen((const gchar *)str, (const gchar *)pos);
|
||||
+ return (jlong)g_utf8_strlen((const gchar *)str, (gssize)pos);
|
||||
}
|
||||
|
||||
JNIEXPORT jlong JNICALL OS_NATIVE(g_1utf16_1to_1utf8)
|
||||
|
@@ -1,46 +0,0 @@
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -336,7 +336,7 @@ defineProperty("JAVA", cygpathExe("$JDK_HOME/bin/java"))
|
||||
defineProperty("JAVAC", cygpathExe("$JDK_HOME/bin/javac"))
|
||||
defineProperty("JAVADOC", cygpathExe("$JDK_HOME/bin/javadoc"))
|
||||
defineProperty("JMOD", cygpathExe("$JDK_HOME/bin/jmod"))
|
||||
-defineProperty("JDK_DOCS", "https://docs.oracle.com/javase/10/docs/api/")
|
||||
+defineProperty("JDK_DOCS", "file:///usr/share/javadoc/java")
|
||||
defineProperty("JDK_JMODS", cygpath(System.getenv("JDK_JMODS")) ?: cygpath(System.getenv("JDK_HOME") + "/jmods"))
|
||||
|
||||
defineProperty("javaRuntimeVersion", System.getProperty("java.runtime.version"))
|
||||
@@ -517,10 +517,10 @@ if (IS_MAC) {
|
||||
//
|
||||
|
||||
// The following properties should be left alone by developers and set only from Hudson.
|
||||
-defineProperty("HUDSON_JOB_NAME", "not_hudson")
|
||||
+defineProperty("HUDSON_JOB_NAME", "whatever")
|
||||
defineProperty("HUDSON_BUILD_NUMBER","0000")
|
||||
defineProperty("PROMOTED_BUILD_NUMBER", "0")
|
||||
-defineProperty("MILESTONE_FCS", "false")
|
||||
+defineProperty("MILESTONE_FCS", "true")
|
||||
ext.IS_MILESTONE_FCS = Boolean.parseBoolean(MILESTONE_FCS)
|
||||
|
||||
// The following properties define the product name for Oracle JDK and OpenJDK
|
||||
@@ -555,8 +555,10 @@ if (jfxReleasePatchVersion == "0") {
|
||||
defineProperty("RELEASE_VERSION", relVer)
|
||||
defineProperty("RELEASE_VERSION_PADDED", "${jfxReleaseMajorVersion}.${jfxReleaseMinorVersion}.${jfxReleaseSecurityVersion}.${jfxReleasePatchVersion}")
|
||||
|
||||
-def buildDate = new java.util.Date()
|
||||
-def buildTimestamp = new java.text.SimpleDateFormat("yyyy-MM-dd-HHmmss").format(buildDate)
|
||||
+def buildDate = new java.util.Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")))
|
||||
+def dateFormat = new java.text.SimpleDateFormat("yyyy-MM-dd-HHmmss")
|
||||
+dateFormat.setTimeZone(java.util.TimeZone.getTimeZone("UTC"))
|
||||
+def buildTimestamp = dateFormat.format(buildDate)
|
||||
defineProperty("BUILD_TIMESTAMP", buildTimestamp)
|
||||
def relSuffix = ""
|
||||
def relOpt = ""
|
||||
@@ -569,7 +571,7 @@ if (HUDSON_JOB_NAME == "not_hudson") {
|
||||
defineProperty("RELEASE_SUFFIX", relSuffix)
|
||||
defineProperty("RELEASE_VERSION_SHORT", "${RELEASE_VERSION}${RELEASE_SUFFIX}")
|
||||
defineProperty("RELEASE_VERSION_LONG", "${RELEASE_VERSION_SHORT}+${PROMOTED_BUILD_NUMBER}${relOpt}")
|
||||
-defineProperty("MAVEN_VERSION", IS_MILESTONE_FCS ? "${RELEASE_VERSION_SHORT}" : "${RELEASE_VERSION_LONG}")
|
||||
+defineProperty("MAVEN_VERSION", "${RELEASE_VERSION}")
|
||||
|
||||
// Check whether the COMPILE_TARGETS property has been specified (if so, it was done by
|
||||
// the user and not by this script). If it has not been defined then default
|
460
openjfx.changes
460
openjfx.changes
@@ -1,3 +1,463 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 15:12:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use SOURCE_DATE_EPOCH for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 16:32:12 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patches:
|
||||
* openjfx-freetype.patch
|
||||
* openjfx-libprism.patch
|
||||
+ fix new errors with gcc 14
|
||||
- Modified patch:
|
||||
* openjfx-pango.patch
|
||||
+ fix new error with gcc 14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 12:33:40 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to upstream tag 17.0.11+3 (April 2024 CPU)
|
||||
* Security fixes:
|
||||
+ JDK-8313032, CVE-2024-21004, bsc#1222989: Enhanced handling
|
||||
of Glass
|
||||
+ JDK-8313040, CVE-2024-21005, bsc#1222990: Enhanced Font
|
||||
handling
|
||||
+ JDK-8313064, CVE-2024-21002, bsc#1222981: General enhancements
|
||||
of image handling
|
||||
+ JDK-8313072, CVE-2024-21003, bsc#1222988: Enhanced handling of
|
||||
Fonts
|
||||
+ JDK-8320441: Additional fix for JDK-8313032
|
||||
+ JDK-8322236: Build failure after JDK-8313064
|
||||
* Other fixes:
|
||||
+ JDK-8221261: Deadlock on macOS in JFXPanel app when handling
|
||||
IME calls
|
||||
+ JDK-8271398: GTK3 drag view image swaps red and blue color
|
||||
channels
|
||||
+ JDK-8282386: JavaFX media stubs rely on libav.org
|
||||
+ JDK-8318386: Update Glib to 2.78.1
|
||||
+ JDK-8318387: Update GStreamer to 1.22.6
|
||||
+ JDK-8318614: Update WebKit to 617.1
|
||||
+ JDK-8321722: Tab header flickering when dragging slowly other
|
||||
tabs and reordering uncompleted
|
||||
+ JDK-8322703: Intermittent crash in WebView in a JFXPanel from
|
||||
IME calls on macOS
|
||||
+ JDK-8323829: Change javaFX release version to 17.0.11 in
|
||||
jfx17u
|
||||
+ JDK-8324337: Cherry-pick WebKit 617.1 stabilization fixes
|
||||
+ JDK-8325258: Additional WebKit 617.1 fixes from WebKitGTK
|
||||
2.42.5
|
||||
+ JDK-8326989: Text selection issues on WebView after WebKit
|
||||
617.1
|
||||
+ JDK-8327177: macOS: wrong GlobalRef deleted in GlassMenu
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 10:52:38 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 18:05:10 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to upstream tag 17.0.10+2 (January 2024 CPU)
|
||||
* Security fixes:
|
||||
+ JDK-8313048, CVE-2024-20923: Better Glyph handling
|
||||
+ JDK-8313105, CVE-2024-20925: Improved media framing
|
||||
+ JDK-8313056, CVE-2024-20922: General enhancements of Glass
|
||||
* Other fixes:
|
||||
+ JDK-8181084: JavaFX show big icons in system menu on macOS
|
||||
with Retina display
|
||||
+ JDK-8251240: Menus inaccessible on Linux with i3 wm
|
||||
+ JDK-8260528: Clean glass-gtk sizing and positioning code
|
||||
+ JDK-8299968: Second call to Stage.setScene() create sizing
|
||||
issue with uiScale > 1.0
|
||||
+ JDK-8292922: [Linux] No more drag events when new Stage is
|
||||
created in drag handler
|
||||
+ JDK-8201538: Remove implementation support for applets from
|
||||
JavaFX
|
||||
+ JDK-8320267: WebView crashes on macOS 11 with WebKit 616.1
|
||||
+ JDK-8319231: Unrecognized "minimum" key in .jcheck/conf causes
|
||||
/reviewers command to be ignored
|
||||
+ JDK-8319066: Application window not always activated in macOS
|
||||
14 Sonoma
|
||||
+ JDK-8318823: Change JavaFX release version to 17.0.10 in
|
||||
jfx17u
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 08:00:13 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to upstream tag 17.0.7+2
|
||||
- Changes of version 17.0.7
|
||||
* Fixed Bugs
|
||||
+ JDK-8087673: [TableView] TableView and TreeTableView menu
|
||||
button overlaps columns when using a constrained resize
|
||||
policy.
|
||||
+ JDK-8089009: TableView with CONSTRAINED_RESIZE_POLICY
|
||||
incorrectly displays a horizontal scroll bar.
|
||||
+ JDK-8187145: (Tree)TableView with null selectionModel: throws
|
||||
NPE on sorting
|
||||
+ JDK-8235491: Tree/TableView: implementation of
|
||||
isSelected(int) violates contract
|
||||
+ JDK-8254676: Alert disables Tab selection when TabDragPolicy
|
||||
REORDER is used
|
||||
+ JDK-8277853: With Touch enabled devices scrollbar disappears
|
||||
and the table is scrolled to the beginning
|
||||
+ JDK-8291908: VirtualFlow creates unneeded empty cells
|
||||
+ JDK-8292353: TableRow vs. TreeTableRow: inconsistent visuals
|
||||
in cell selection mode
|
||||
+ JDK-8296413: Tree/TableView with null focus model throws NPE
|
||||
in queryAccessibleAttribute()
|
||||
+ JDK-8300893: Wrong state after deselecting two or more cells
|
||||
of a TableView selection
|
||||
+ JDK-8303026: [TextField] IOOBE on setting text with control
|
||||
characters that replaces existing text
|
||||
+ JDK-8281327: JavaFX does not support fonts installed per-user
|
||||
on Windows 10/11
|
||||
+ JDK-8300872: WebView’s ColorChooser fails to initialize when
|
||||
running in security context
|
||||
+ JDK-8295755: Update SQLite to 3.39.4
|
||||
+ JDK-8298167: Opacity in WebView not working anymore
|
||||
+ JDK-8299977: Update WebKit to 615.1
|
||||
+ JDK-8300954: HTML default Range input control not rendered
|
||||
+ JDK-8301022: Video distortion is observed while playing
|
||||
youtube video
|
||||
+ JDK-8301712: [linux] Crash on exit from WebKit 615.1
|
||||
+ JDK-8302294: Cherry-pick WebKit 615.1 stabilization fixes
|
||||
+ JDK-8302684: Cherry-pick WebKit 615.1 stabilization fixes (2)
|
||||
+ JDK-8303217: Webview loaded webpage is not showing play,
|
||||
volume related buttons for embeded Audio/Video elements
|
||||
+ JDK-8296654: [macos] Crash when launching JavaFX app with JDK
|
||||
that targets SDK 13
|
||||
* Security Fixes
|
||||
+ JDK-8299781: Improve JFX navigation
|
||||
+ JDK-8303501: Unable to navigate to relative URLs after fix
|
||||
for JDK-8299781
|
||||
- Changes of version 17.0.6
|
||||
* Important Changes
|
||||
+ FXML JavaScript Engine Disabled by Default
|
||||
The “JavaScript script engine” for FXML is now disabled by
|
||||
default. Any .fxml file that has a “javascript” Processing
|
||||
Instruction (PI) will no longer load by default, and an
|
||||
exception will be thrown.
|
||||
If the JDK has a JavaScript script engine, it can be enabled
|
||||
by setting the system property: -Djavafx.allowjs=true
|
||||
* Fixed Bugs
|
||||
+ JDK-8087557: [Win] [Accessibility, Dialogs] Alert Dialog
|
||||
content is not fully read by Screen Reader
|
||||
+ JDK-8284281: [Accessibility] [Win] [Narrator] Exceptions with
|
||||
TextArea & TextField when deleted last char
|
||||
+ JDK-8291087: Wrong position of focus of screen reader on
|
||||
Windows with screen scale > 1
|
||||
+ JDK-8293795: [Accessibility] [Win] [Narrator] Exceptions When
|
||||
Deleting Text with Continuous Key Press in TextArea and
|
||||
TextField
|
||||
+ JDK-8277785: ListView scrollTo jumps to wrong location when
|
||||
CellHeight is changed
|
||||
+ JDK-8284665: First selected item of a TreeItem multiple
|
||||
selection gets removed if new items are constantly added to
|
||||
the TreeTableView
|
||||
+ JDK-8290348: TreeTableView jumping to top
|
||||
+ JDK-8291625: DialogPane without header nor headerText nor
|
||||
graphic node adds padding to the left of the content pane
|
||||
+ JDK-8289542: Update JPEG Image Decoding Software to 9e
|
||||
+ JDK-8294400: Provide media support for libavcodec version 59
|
||||
+ JDK-8222210: JFXPanel popups open at wrong coordinates when
|
||||
using multiple hidpi monitors
|
||||
+ JDK-8289541: Update ICU4C to 71.1
|
||||
* Security Fixes
|
||||
+ JDK-8294779: Improve FX pages
|
||||
+ JDK-8289336: Better platform image support
|
||||
+ JDK-8289343: Better GL support
|
||||
+ JDK-8299628: BMP top-down images fail to load after
|
||||
JDK-8289336
|
||||
+ JDK-8292097: Better video decoding
|
||||
+ JDK-8292105: Improve Robot functionality
|
||||
+ JDK-8292112: Better DragView handling
|
||||
- Changes of version 17.0.5
|
||||
* Fixed Bugs
|
||||
+ JDK-8284676: TreeTableView loses sort ordering when applied
|
||||
on empty table
|
||||
+ JDK-8088420: JavaFX WebView memory leak via EventListener
|
||||
+ JDK-8285881: Update WebKit to 614.1
|
||||
+ JDK-8289587: IllegalArgumentException: Color.rgb’s red
|
||||
parameter (-16776961) expects color values 0-255
|
||||
+ JDK-8292609: Cherry-pick WebKit 614.1 stabilization fixes
|
||||
- Changes of version 17.0.4
|
||||
* Fixed Bugs
|
||||
+ JDK-8187596: TreeView selection incorrectly changes after
|
||||
deleting an unselected row
|
||||
+ JDK-8193442: Removing TreeItem from a TreeTableView sometime
|
||||
changes selectedItem
|
||||
+ JDK-8244234: MenuButton: NPE on removing from scene with open
|
||||
popup
|
||||
+ JDK-8273336: Clicking a selected cell from a group of
|
||||
selected cells in a TableView clears the selected items list
|
||||
but remains selected
|
||||
+ JDK-8273339: IOOBE with ListChangeListener added to the
|
||||
selectedItems list of a TableView
|
||||
+ JDK-8274137: TableView scrollbar/header misaligned when
|
||||
reloading data
|
||||
+ JDK-8276167: VirtualFlow.scrollToTop doesn’t scroll to the
|
||||
top of the last element
|
||||
+ JDK-8276553: ListView scrollTo() is broken after fix for
|
||||
JDK-8089589
|
||||
+ JDK-8282093: LineChart path incorrect when outside lower bound
|
||||
+ JDK-8286261: Selection of non-expanded non-leaf treeItem
|
||||
grows unexpectedly when adding two-level descendants
|
||||
+ JDK-8280840: Update libFFI to 3.4.2
|
||||
+ JDK-8283218: Update GStreamer to 1.20.1
|
||||
+ JDK-8283403: Update Glib to 2.72.0
|
||||
+ JDK-8255940: localStorage is null after window.close()
|
||||
+ JDK-8269115: WebView paste event contains old data
|
||||
+ JDK-8278759: PointerEvent: buttons property set to 0 when
|
||||
mouse down
|
||||
+ JDK-8280020: Underline and line-through not straight in
|
||||
WebView
|
||||
+ JDK-8280841: Update SQLite to 3.37.2
|
||||
+ JDK-8282134: Certain regex can cause a JS trap in WebView
|
||||
+ JDK-8283328: Update libxml2 to 2.9.13
|
||||
+ JDK-8284184: Crash in GraphicsContextJava::drawLinesForText
|
||||
on https://us.yahoo.com/
|
||||
+ JDK-8286256: Update libxml2 to 2.9.14
|
||||
+ JDK-8286257: Update libxslt to 1.1.35
|
||||
+ JDK-8271054: [REDO] Wrong stage gets focused after modal
|
||||
stage creation
|
||||
+ JDK-8284654: Modal behavior returns to wrong stage
|
||||
* Security fixes
|
||||
+ JDK-8282121: Improve WebKit referencing
|
||||
+ JDK-8285691: Additional fix for JDK-8282121
|
||||
- Changes of version 17.0.3
|
||||
* Fixed Bugs
|
||||
+ JDK-8203463: [Accessibility, Narrator] NPE in TableView
|
||||
+ JDK-8197991: Selecting many items in a TableView is very slow
|
||||
+ JDK-8281089: JavaFX built with VS2019 and jlinked into JDK
|
||||
11.x fails to start
|
||||
+ JDK-8277457: AccessControlException: access denied
|
||||
("java.net.NetPermission" "getCookieHandler")
|
||||
+ JDK-8278980: Update WebKit to 613.1
|
||||
+ JDK-8281459: WebKit 613.1 build broken on M1
|
||||
+ JDK-8281711: Cherry-pick WebKit 613.1 stabilization fixes
|
||||
+ JDK-8282099: Cherry-pick WebKit 613.1 stabilization fixes (2)
|
||||
+ JDK-8242544: CMD+ENTER key event crashes the application when
|
||||
invoked on dialog
|
||||
- Changes of version 17.0.2
|
||||
* Fixed Bugs
|
||||
+ JDK-8274022: Additional Memory Leak in
|
||||
ControlAcceleratorSupport
|
||||
+ JDK-8274854: Mnemonics for menu containing numeric text not
|
||||
working
|
||||
+ JDK-8276490: Incorrect path for duplicate x and y values,
|
||||
when path falls outside axis bound
|
||||
+ JDK-8275138: WebView: UserAgent string is empty for first
|
||||
request
|
||||
+ JDK-8276847: JSException: ReferenceError: Can't find
|
||||
variable: IntersectionObserver
|
||||
+ JDK-8277133: Dragboard contents retrieved all over again
|
||||
during a DND process on WebView
|
||||
+ JDK-8160597: IllegalArgumentException when we initiate drag
|
||||
on Image
|
||||
+ JDK-8274929: Crash while reading specific clipboard content
|
||||
+ JDK-8275723: Crash on macOS 12 in GlassRunnable::dealloc
|
||||
* Security fixes
|
||||
+ JDK-8272546: Better TrueType font loading
|
||||
- Changes of version 17.0.1
|
||||
* Fixed Bugs
|
||||
+ JDK-8273138: BidirectionalBinding fails to observe changes of
|
||||
invalid properties
|
||||
+ JDK-8273754: Re-introduce Automatic-Module-Name in empty jars
|
||||
+ JDK-8273324: IllegalArgumentException: fromIndex(0) >
|
||||
toIndex(-1) after clear and select TableCell
|
||||
+ JDK-8269374: Menu inoperable after setting stage to second
|
||||
monitor
|
||||
+ JDK-8268718: [macos] Video stops, but audio continues to play
|
||||
when stopTime is reached
|
||||
+ JDK-8268849: Update to 612.1 version of WebKit
|
||||
+ JDK-8270479: WebKit 612.1 build fails with Visual Studio 2017
|
||||
+ JDK-8272329: Cherry pick GTK WebKit 2.32.3 changes
|
||||
+ JDK-8274107: Cherry pick GTK WebKit 2.32.4 changes
|
||||
- Changes of version 17.0.0.1
|
||||
* Fixed Bugs
|
||||
+ JDK-8273754: Re-introduce Automatic-Module-Name in empty jars
|
||||
- Changes of version 17
|
||||
* Enhancement
|
||||
+ JDK-8258777: SkinBase: add api to un-/register
|
||||
invalidation-/listChange listeners
|
||||
+ JDK-8267554: Support loading stylesheets from data-URIs
|
||||
+ JDK-8223717: javafx printing: Support Specifying Print to
|
||||
File in the API
|
||||
+ JDK-8234920: Add SpotLight to the selection of 3D light types
|
||||
+ JDK-8259718: Remove the Marlin rasterizer (single-precision)
|
||||
+ JDK-8267551: Support loading images from inline data-URIs
|
||||
+ JDK-8268120: Allow hardware cursor to be used on Monocle-EGL
|
||||
platforms
|
||||
+ JDK-8258499: JavaFX: Move src.zip out of the lib directory
|
||||
+ JDK-8252935: Add treeShowing listener only when needed
|
||||
+ JDK-8259680: Need API to query states of CAPS LOCK and NUM
|
||||
LOCK keys
|
||||
+ JDK-8092439: [Monocle] Refactor monocle SPI to allow support
|
||||
for multiple screens
|
||||
* Fixed Bugs
|
||||
+ JDK-8185447: The special high-contrast mode of JavaFX
|
||||
Controls in Japanese environment do not work.
|
||||
+ JDK-8263322: Calling Application.launch on FX thread should
|
||||
throw IllegalStateException, but causes deadlock
|
||||
+ JDK-8260468: Wrong behavior of LocalDateTimeStringConverter
|
||||
+ JDK-8260475: Deprecate for removal protected access members
|
||||
in DateTimeStringConverter
|
||||
+ JDK-8264770: BidirectionalBinding should use
|
||||
InvalidationListener to prevent boxing
|
||||
+ JDK-8267505: {List,Set,Map}PropertyBase::bind should check
|
||||
against identity
|
||||
+ JDK-8089589: [ListView] ScrollBar content moves
|
||||
toward-backward during scrolling.
|
||||
+ JDK-8089913: CSS pseudo classes missing by default for some
|
||||
controls
|
||||
+ JDK-8137323: Incorrect parsing of mnemonic in controls text
|
||||
+ JDK-8165214: ListView.EditEvent.getIndex() does not return
|
||||
the correct index
|
||||
+ JDK-8186904: TableColumnHeader: resize cursor lost on right
|
||||
click
|
||||
+ JDK-8187229: Tree/TableCell: cancel event must return correct
|
||||
editing location
|
||||
+ JDK-8189354: Change.getRemoved() list contains incorrect
|
||||
selected items when a TreeItem is collapsed
|
||||
+ JDK-8196065: ListChangeListener getRemoved() returns items
|
||||
that were not removed.
|
||||
+ JDK-8204568: Relative CSS-Attributes don't work all time
|
||||
+ JDK-8208088: Memory Leak in ControlAcceleratorSupport
|
||||
+ JDK-8228363: ContextMenu.show with side=TOP does not work the
|
||||
first time in the presence of CSS
|
||||
+ JDK-8239138: StyleManager should use a BufferedInputStream
|
||||
+ JDK-8244075: Accelerator of ContextMenu's MenuItem is not
|
||||
removed when ContextMenu is removed from Scene
|
||||
+ JDK-8252238: TableView: Editable (pseudo-editable) cells
|
||||
should respect the row editability
|
||||
+ JDK-8256283: IndexOutOfBoundsException when sorting a
|
||||
TreeTableView
|
||||
+ JDK-8258663: Fixed size TableCells are not removed from sene
|
||||
graph when column is removed
|
||||
+ JDK-8261460: Incorrect CSS applied to ContextMenu on
|
||||
DialogPane
|
||||
+ JDK-8261840: Submenus close to screen borders are no longer
|
||||
repositioned
|
||||
+ JDK-8263807: Button types of a DialogPane are set twice,
|
||||
returns a wrong button
|
||||
+ JDK-8264157: Items of non-editable ComboBox cannot be
|
||||
selected using up/down keys
|
||||
+ JDK-8264127: ListCell editing status is true, when index
|
||||
changes while editing
|
||||
+ JDK-8264677: MemoryLeak: Progressindicator leaks, when
|
||||
treeShowing is false
|
||||
+ JDK-8265206: Tree-/TableCell: editing state not updated on
|
||||
cell re-use
|
||||
+ JDK-8265210: TreeCell: cell editing state not updated on cell
|
||||
re-use
|
||||
+ JDK-8265669: AccumCell should not be visible
|
||||
+ JDK-8266539: [TreeView]: Change.getRemoved() contains null
|
||||
item when deselecting a TreeItem
|
||||
+ JDK-8266966: Wrong CSS properties are applied to other nodes
|
||||
after fix for JDK-8204568
|
||||
+ JDK-8267094: TreeCell: cancelEvent must return correct
|
||||
editing location
|
||||
+ JDK-8267392: ENTER key press on editable TableView throws NPE
|
||||
+ JDK-8269026: PasswordField doesn't render bullet character on
|
||||
Android
|
||||
+ JDK-8269136: Tree/TablePosition: must not throw NPE on
|
||||
instantiating with null table
|
||||
+ JDK-8270314: TreeTableCell: inconsistent naming for tableRow
|
||||
and tableColumn property methods
|
||||
+ JDK-8165749: java.lang.RuntimeException: dndGesture.dragboard
|
||||
is null in dragDrop
|
||||
+ JDK-8210199: [linux / macOS] fileChooser can't handle emojis
|
||||
+ JDK-8211362: Restrict export of libjpeg symbols from
|
||||
libjavafx_iio.so
|
||||
+ JDK-8217955: Problems with touch input and JavaFX 11
|
||||
+ JDK-8239589: JavaFX UI will not repaint after reconnecting
|
||||
via Remote Desktop
|
||||
+ JDK-8252099: JavaFX does not render Myanmar script correctly
|
||||
+ JDK-8258986: getColor throws IOOBE when PixelReader reads the
|
||||
same pixel twice
|
||||
+ JDK-8259046: ViewPainter.ROOT_PATHS holds reference to Scene
|
||||
causing memory leak
|
||||
+ JDK-8262396: Update Mesa 3-D Headers to version 21.0.3
|
||||
+ JDK-8262802: Wrong context origin coordinates when using EGL
|
||||
and HiDPI
|
||||
+ JDK-8263402: MemoryLeak: Node hardreferences it's previous
|
||||
Parent after csslayout and getting removed from the scene
|
||||
+ JDK-8267160: Monocle mouse never get ENTERED state
|
||||
+ JDK-8267314: Loading some animated GIFs fails with
|
||||
ArrayIndexOutOfBoundsException: Index 4096 out of bounds for
|
||||
length 4096
|
||||
+ JDK-8259356: MediaPlayer's seek freezes video
|
||||
+ JDK-8262365: Update GStreamer to version 1.18.3
|
||||
+ JDK-8262366: Update glib to version 2.66.7
|
||||
+ JDK-8264737: JavaFX media stream stops playing after
|
||||
reconnecting via Remote Desktop
|
||||
+ JDK-8266860: [macos] Incorrect duration reported for HLS live
|
||||
streams
|
||||
+ JDK-8267819: CoInitialize/CoUninitialize should be called on
|
||||
same thread
|
||||
+ JDK-8268152: gstmpegaudioparse does not provides timestamps
|
||||
for HLS MP3 streams
|
||||
+ JDK-8268219: hlsprogressbuffer should provide PTS after
|
||||
GStreamer update
|
||||
+ JDK-8269147: Update GStreamer to version 1.18.4
|
||||
+ JDK-8252783: Remove the css Selector and ShapeConverter
|
||||
constructors
|
||||
+ JDK-8264162: PickResult.toString() is missing the closing
|
||||
square bracket
|
||||
+ JDK-8264330: Scene MouseHandler is referencing removed nodes
|
||||
+ JDK-8270246: Deprecate for removal implementation methods in
|
||||
Scene
|
||||
+ JDK-8254836: Cherry pick GTK WebKit 2.30.3 changes
|
||||
+ JDK-8259555: Webkit crashes on Apple Silicon
|
||||
+ JDK-8259635: Update to 610.2 version of WebKit
|
||||
+ JDK-8260163: IrresponsiveScriptTest.testInfiniteLoopInScript
|
||||
unit test fails on Windows
|
||||
+ JDK-8260165: CSSFilterTest.testCSSFilterRendering system test
|
||||
fails
|
||||
+ JDK-8260245: Update ICU4C to version 68.2
|
||||
+ JDK-8260257: [Linux] WebView no longer reacts to some mouse
|
||||
events
|
||||
+ JDK-8263788: JavaFX application freezes completely after some
|
||||
time when using the WebView
|
||||
+ JDK-8264501: UIWebView for iOS is deprecated
|
||||
+ JDK-8264990: WebEngine crashes with segfault when not loaded
|
||||
through system classloader
|
||||
+ JDK-8269131: Update libxml2 to version 2.9.12
|
||||
+ JDK-8206253: No/Wrong scroll events from touch input in
|
||||
window mode
|
||||
+ JDK-8231558: [macos] Platform.exit causes assertion error on
|
||||
macOS 10.15 or later
|
||||
+ JDK-8240640: [macos] Wrong focus behaviour with multiple
|
||||
Alerts
|
||||
+ JDK-8248126: JavaFX ignores HiDPI scaling settings on some
|
||||
linux platforms
|
||||
+ JDK-8249737: java.lang.RuntimeException: Too many touch
|
||||
points reported
|
||||
+ JDK-8258381: [macos] Exception when input emoji using Chinese
|
||||
input method
|
||||
+ JDK-8263169: [macOS] JavaFX windows open as tabs when system
|
||||
preference for documents is set
|
||||
+ JDK-8266743: Crash on macOS 10.11 due to ignored @available
|
||||
10.12 check
|
||||
* Security fixes
|
||||
+ JDK-8263112: Enhance String Conclusions
|
||||
- Build using maven build files taken from Fedora package
|
||||
- Removed patches:
|
||||
* 0000-Fix-wait-call-in-PosixPlatform.patch
|
||||
* 0001-Change-SWT-and-Lucene.patch
|
||||
* 0002-Allow-build-to-work-on-newer-gradles.patch
|
||||
* 0004-Fix-Compilation-Flags.patch
|
||||
* 0005-fxpackager-extract-jre-accept-symlink.patch
|
||||
* openjfx-32bit-fix.patch
|
||||
* openjfx-antlr.patch
|
||||
* openjfx-architectures.patch
|
||||
* openjfx-gradle441.patch
|
||||
* openjfx-nowerror.patch
|
||||
* openjfx-rpm-build.patch
|
||||
+ not needed in this version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 20 05:37:36 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
245
openjfx.spec
245
openjfx.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package openjfx
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,39 +16,74 @@
|
||||
#
|
||||
|
||||
|
||||
%global priority 2105
|
||||
%global build_number 3
|
||||
%global jfx_repo jfx11u
|
||||
%global featurever 17
|
||||
%global interimver 0
|
||||
%global updatever 11
|
||||
%global buildver 3
|
||||
%global jfx_repo jfx17u
|
||||
%global jfx_tag %{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}+%{buildver}
|
||||
%global jfx_dir %{jfx_repo}-%{featurever}.%{interimver}.%{updatever}%{?patchver:.%{patchver}}-%{buildver}
|
||||
%global jfx_inst_dir %{_jvmdir}/%{name}
|
||||
%global package_version %{featurever}.%{interimver}.%{updatever}.%{?patchver:%{patchver}}%{!?patchver:0}
|
||||
Name: openjfx
|
||||
Version: 11.0.14
|
||||
Version: %{package_version}
|
||||
Release: 0
|
||||
Summary: Rich client application platform for Java
|
||||
License: BSD-3-Clause AND GPL-2.0-only WITH Classpath-exception-2.0
|
||||
URL: https://openjdk.java.net/projects/openjfx/
|
||||
Source0: https://github.com/openjdk/%{jfx_repo}/archive/refs/tags/%{version}+%{build_number}.tar.gz
|
||||
Patch0: openjfx-gradle441.patch
|
||||
Patch1: 0000-Fix-wait-call-in-PosixPlatform.patch
|
||||
Patch2: 0001-Change-SWT-and-Lucene.patch
|
||||
Patch3: 0002-Allow-build-to-work-on-newer-gradles.patch
|
||||
Patch4: 0004-Fix-Compilation-Flags.patch
|
||||
Patch5: 0005-fxpackager-extract-jre-accept-symlink.patch
|
||||
Patch101: openjfx-antlr.patch
|
||||
Patch102: openjfx-nowerror.patch
|
||||
Patch103: openjfx-pango.patch
|
||||
Patch104: openjfx-architectures.patch
|
||||
Patch105: openjfx-no-return-in-nonvoid-function.patch
|
||||
Patch106: openjfx-32bit-fix.patch
|
||||
Patch200: openjfx-rpm-build.patch
|
||||
BuildRequires: eclipse-swt
|
||||
BuildRequires: fdupes
|
||||
Source0: https://github.com/openjdk/%{jfx_repo}/archive/%{jfx_tag}.tar.gz
|
||||
Source1: pom-base.xml
|
||||
Source2: pom-controls.xml
|
||||
Source3: pom-fxml.xml
|
||||
Source4: pom-graphics.xml
|
||||
Source5: pom-graphics_antlr.xml
|
||||
Source6: pom-graphics_decora.xml
|
||||
Source7: pom-graphics_compileJava.xml
|
||||
Source8: pom-graphics_compileJava-decora.xml
|
||||
Source9: pom-graphics_compileJava-java.xml
|
||||
Source10: pom-graphics_compileJava-prism.xml
|
||||
Source11: pom-graphics_graphics.xml
|
||||
Source12: pom-graphics_libdecora.xml
|
||||
Source13: pom-graphics_libglass.xml
|
||||
Source14: pom-graphics_libglassgtk2.xml
|
||||
Source15: pom-graphics_libglassgtk3.xml
|
||||
Source16: pom-graphics_libjavafx_font.xml
|
||||
Source17: pom-graphics_libjavafx_font_freetype.xml
|
||||
Source18: pom-graphics_libjavafx_font_pango.xml
|
||||
Source19: pom-graphics_libjavafx_iio.xml
|
||||
Source20: pom-graphics_libprism_common.xml
|
||||
Source21: pom-graphics_libprism_es2.xml
|
||||
Source22: pom-graphics_libprism_sw.xml
|
||||
Source23: pom-graphics_prism.xml
|
||||
Source24: pom-media.xml
|
||||
Source25: pom-openjfx.xml
|
||||
Source26: pom-swing.xml
|
||||
Source27: pom-swt.xml
|
||||
Source28: pom-web.xml
|
||||
Source29: build.xml
|
||||
Patch0: openjfx-pango.patch
|
||||
Patch1: openjfx-no-return-in-nonvoid-function.patch
|
||||
Patch2: openjfx-freetype.patch
|
||||
Patch3: openjfx-libprism.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gradle-local
|
||||
BuildRequires: java-devel >= 10
|
||||
BuildRequires: java-javadoc >= 10
|
||||
BuildRequires: gperf
|
||||
BuildRequires: java-devel >= 11
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xmvn-subst
|
||||
BuildRequires: mvn(org.antlr:ST4)
|
||||
BuildRequires: mvn(org.antlr:antlr)
|
||||
BuildRequires: mvn(org.antlr:antlr-runtime)
|
||||
BuildRequires: mvn(org.antlr:antlr4)
|
||||
BuildRequires: mvn(org.apache.ant:ant)
|
||||
BuildRequires: mvn(org.antlr:antlr4-maven-plugin)
|
||||
BuildRequires: mvn(org.antlr:antlr4-runtime)
|
||||
BuildRequires: mvn(org.antlr:stringtemplate)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:native-maven-plugin)
|
||||
BuildRequires: mvn(org.eclipse.swt:swt)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(gthread-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
@@ -56,15 +91,19 @@ BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(xxf86vm)
|
||||
#!BuildRequires: gradle stringtemplate4
|
||||
#!BuildIgnore: gradle-bootstrap
|
||||
#!BuildIgnore: stringtemplate4-bootstrap
|
||||
#!BuildRequires: antlr3-tool
|
||||
#!BuildIgnore: antlr3-bootstrap-tool
|
||||
Obsoletes: %{name}-javadoc < %{version}
|
||||
Obsoletes: %{name}-jmods < %{version}
|
||||
Obsoletes: %{name}-src < %{version}
|
||||
|
||||
%description
|
||||
JavaFX/OpenJFX is a set of graphics and media APIs that enables Java
|
||||
developers to design, create, test, debug, and deploy rich client
|
||||
applications that operate consistently across diverse platforms.
|
||||
|
||||
The media module have been removed due to missing dependencies.
|
||||
|
||||
%package devel
|
||||
Summary: OpenJFX development tools and libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
@@ -72,120 +111,82 @@ Requires: %{name} = %{version}-%{release}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package jmods
|
||||
Summary: OpenJFX Jmods
|
||||
|
||||
%description jmods
|
||||
%{summary}.
|
||||
|
||||
%package src
|
||||
Summary: OpenJFX Source Bundle
|
||||
|
||||
%description src
|
||||
%{summary}.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{jfx_repo}-%{version}-%{build_number}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%setup -q -n %{jfx_dir}
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
%patch104 -p1
|
||||
%patch105 -p1
|
||||
%patch106 -p1
|
||||
#prep for javafx.graphics
|
||||
cp -a modules/javafx.graphics/src/jslc/antlr modules/javafx.graphics/src/main/antlr3
|
||||
cp -a modules/javafx.graphics/src/main/resources/com/sun/javafx/tk/quantum/*.properties modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum
|
||||
|
||||
%patch200 -p1
|
||||
find -name '*.class' -print -delete
|
||||
find -name '*.jar' -print -delete
|
||||
|
||||
cat > gradle.properties << EOF
|
||||
COMPILE_WEBKIT = false
|
||||
COMPILE_MEDIA = false
|
||||
BUILD_JAVADOC = true
|
||||
BUILD_SRC_ZIP = true
|
||||
GRADLE_VERSION_CHECK = false
|
||||
CONF = DebugNative
|
||||
DOC_LINT = none
|
||||
EOF
|
||||
#copy maven files
|
||||
cp -a %{_sourcedir}/pom-*.xml .
|
||||
mv pom-openjfx.xml pom.xml
|
||||
|
||||
find -name '*.class' -type f -delete
|
||||
find -name '*.jar' -type f -delete
|
||||
for i in base controls fxml graphics media swing swt web
|
||||
do
|
||||
mv pom-$i.xml ./modules/javafx.$i/pom.xml
|
||||
done
|
||||
|
||||
#Bundled libraries
|
||||
rm -rf modules/javafx.media/src/main/native/gstreamer/3rd_party/glib
|
||||
rm -rf modules/javafx.media/src/main/native/gstreamer/gstreamer-lite
|
||||
mkdir ./modules/javafx.graphics/mvn-{antlr,decora,compileJava,graphics,libdecora,libglass,libglassgtk2,libglassgtk3,libjavafx_font,libjavafx_font_freetype,libjavafx_font_pango,libjavafx_iio,libprism_common,libprism_es2,libprism_sw,prism}
|
||||
for i in antlr decora compileJava graphics libdecora libglass libglassgtk2 libglassgtk3 libjavafx_font libjavafx_font_freetype libjavafx_font_pango libjavafx_iio libprism_common libprism_es2 libprism_sw prism
|
||||
do
|
||||
mv pom-graphics_$i.xml ./modules/javafx.graphics/mvn-$i/pom.xml
|
||||
done
|
||||
|
||||
%{mvn_package} org.openjfx:::linux:
|
||||
mkdir ./modules/javafx.graphics/mvn-compileJava/mvn-{decora,java,prism}
|
||||
for i in decora java prism
|
||||
do
|
||||
mv pom-graphics_compileJava-$i.xml ./modules/javafx.graphics/mvn-compileJava/mvn-$i/pom.xml
|
||||
done
|
||||
|
||||
#set VersionInfo
|
||||
cp %{SOURCE29} build.xml
|
||||
%{ant}
|
||||
|
||||
mkdir -p ./modules/javafx.graphics/mvn-antlr/src/main
|
||||
mv ./modules/javafx.graphics/src/main/antlr3 ./modules/javafx.graphics/mvn-antlr/src/main/antlr4
|
||||
|
||||
rm -rf ./modules/javafx.web/src/main/native/Source/WTF/icu
|
||||
rm -rf ./modules/javafx.web/src/main/native/Source/ThirdParty/icu
|
||||
|
||||
%{mvn_package} ::so: __noinstall
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=$(date -r %{SOURCE0} +%%s)
|
||||
env | grep SOURCE_DATE_EPOCH
|
||||
gradle-local --no-daemon --offline sdk generatePomFileForMavenPublication generatePomFileForJavafxPublication javadoc jmod
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
|
||||
%{mvn_build} -f -j -- \
|
||||
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
|
||||
|
||||
%install
|
||||
%{mvn_artifact} modules/javafx.base/build/publications/javafx/pom-default.xml
|
||||
for i in base controls fxml graphics media swing web; do
|
||||
%pom_xpath_remove pom:project/pom:packaging modules/javafx.${i}/build/publications/maven/pom-default.xml
|
||||
%pom_xpath_set pom:classifier linux modules/javafx.${i}/build/publications/maven/pom-default.xml
|
||||
%{mvn_artifact} modules/javafx.${i}/build/publications/maven/pom-default.xml build/publications/javafx.${i}.jar
|
||||
%{mvn_artifact} org.openjfx:javafx-${i}::linux:%{version} build/publications/javafx.${i}-linux.jar
|
||||
done
|
||||
|
||||
%mvn_install -J build/javadoc
|
||||
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
install -dm 0755 %{buildroot}%{_datadir}/%{name}
|
||||
cp -a build/sdk/lib %{buildroot}%{_datadir}/%{name}/lib
|
||||
cp -a build/jmods %{buildroot}%{_datadir}/%{name}/jmods
|
||||
|
||||
mv %{buildroot}%{_datadir}/%{name}/lib/src.zip %{buildroot}%{_datadir}/%{name}/src.zip
|
||||
|
||||
%mvn_install
|
||||
install -dm 0755 %{buildroot}%{_libdir}/%{name}
|
||||
install -pm 0755 \
|
||||
modules/javafx.graphics/mvn-lib{decora,javafx_font,javafx_font_freetype,javafx_font_pango,glass,glassgtk2,glassgtk3,javafx_iio,prism_common,prism_es2,prism_sw}/target/*.so \
|
||||
%{buildroot}%{_libdir}/%{name}/
|
||||
|
||||
mv %{buildroot}%{_datadir}/%{name}/lib/*.so %{buildroot}%{_libdir}/%{name}
|
||||
|
||||
for i in base controls fxml graphics media swing web; do
|
||||
if [ -e %{buildroot}%{_javadir}/%{name}/javafx-${i}-linux.jar ]; then
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/lib/javafx.${i}.jar;
|
||||
ln -sf %{_javadir}/%{name}/javafx-${i}-linux.jar %{buildroot}%{_datadir}/%{name}/lib/javafx.${i}.jar
|
||||
elif [ -e %{buildroot}%{_jnidir}/%{name}/javafx-${i}-linux.jar ]; then
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/lib/javafx.${i}.jar;
|
||||
ln -sf %{_jnidir}/%{name}/javafx-${i}-linux.jar %{buildroot}%{_datadir}/%{name}/lib/javafx.${i}.jar
|
||||
fi
|
||||
install -d -m 755 %{buildroot}%{jfx_inst_dir}
|
||||
cp -a modules/javafx.{base,controls,fxml,media,swing,swt,web}/target/*.jar %{buildroot}%{jfx_inst_dir}
|
||||
cp -a modules/javafx.graphics/mvn-compileJava/mvn-java/target/*.jar %{buildroot}%{jfx_inst_dir}
|
||||
for i in %{buildroot}%{_libdir}/%{name}/*.so; do
|
||||
ln -sf %{_libdir}/%{name}/$(basename $i) %{buildroot}%{jfx_inst_dir}/$(basename $i)
|
||||
done
|
||||
xmvn-subst -R %{buildroot} -s %{buildroot}%{jfx_inst_dir}
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE ADDITIONAL_LICENSE_INFO ASSEMBLY_EXCEPTION
|
||||
%doc README.md
|
||||
|
||||
%files devel
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/lib
|
||||
%{_libdir}/%{name}
|
||||
%license LICENSE ADDITIONAL_LICENSE_INFO ASSEMBLY_EXCEPTION
|
||||
%doc README.md
|
||||
|
||||
%files src
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/src.zip
|
||||
|
||||
%files jmods
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/jmods
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
%files devel
|
||||
%{jfx_inst_dir}
|
||||
%license LICENSE ADDITIONAL_LICENSE_INFO ASSEMBLY_EXCEPTION
|
||||
|
||||
%changelog
|
||||
|
29
pom-base.xml
Normal file
29
pom-base.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.base</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.base</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
258
pom-controls.xml
Normal file
258
pom-controls.xml
Normal file
@@ -0,0 +1,258 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.controls</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.controls</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.controls</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>caspian-no-transparency</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/caspian/caspian-no-transparency.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>caspian</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/caspian/caspian.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>embedded-qvga</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/caspian/embedded-qvga.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>embedded</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/caspian/embedded.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>fxvk</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/caspian/fxvk.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>highcontrast</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/caspian/highcontrast.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>caspian-two-level-focus</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/caspian/two-level-focus.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>blackOnWhite</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/blackOnWhite.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>modena-embedded-performance</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/modena-embedded-performance.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>modena-no-transparency</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/modena-no-transparency.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>modena</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/modena.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>touch</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/touch.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>modena-two-level-focus</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/two-level-focus.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>whiteOnBlack</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/whiteOnBlack.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>yellowOnBlack</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>com.sun.javafx.css.parser.Css2Bin</mainClass>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>${project.basedir}/target/classes/com/sun/javafx/scene/control/skin/modena/yellowOnBlack.css</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
47
pom-fxml.xml
Normal file
47
pom-fxml.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.fxml</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.fxml</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.controls</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.fxml</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
32
pom-graphics.xml
Normal file
32
pom-graphics.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics</name>
|
||||
<packaging>pom</packaging>
|
||||
<artifactId>javafx.graphics-aggregator</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modules>
|
||||
<module>mvn-antlr</module>
|
||||
<module>mvn-graphics</module>
|
||||
<module>mvn-decora</module>
|
||||
<module>mvn-prism</module>
|
||||
<module>mvn-compileJava</module>
|
||||
<module>mvn-libdecora</module>
|
||||
<module>mvn-libjavafx_font</module>
|
||||
<module>mvn-libjavafx_font_freetype</module>
|
||||
<module>mvn-libjavafx_font_pango</module>
|
||||
<module>mvn-libglass</module>
|
||||
<module>mvn-libglassgtk2</module>
|
||||
<module>mvn-libglassgtk3</module>
|
||||
<module>mvn-libjavafx_iio</module>
|
||||
<module>mvn-libprism_common</module>
|
||||
<module>mvn-libprism_es2</module>
|
||||
<module>mvn-libprism_sw</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
76
pom-graphics_antlr.xml
Normal file
76
pom-graphics_antlr.xml
Normal file
@@ -0,0 +1,76 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics-antlr</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-antlr</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4-runtime</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>../src/jslc/java</sourceDirectory>
|
||||
<outputDirectory>../build/classes/java/jslc</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../src/jslc/java</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.rc</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<outputDirectory>../build/gensrc/antlr</outputDirectory>
|
||||
<visitor>true</visitor>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>antlr</id>
|
||||
<goals>
|
||||
<goal>antlr4</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
59
pom-graphics_compileJava-decora.xml
Normal file
59
pom-graphics_compileJava-decora.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics-compileDecora</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-compileDecora</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics-java</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>../../build/gensrc/jsl-decora</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../../build/gensrc/jsl-decora</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.rc</exclude>
|
||||
<exclude>**/*.tokens</exclude>
|
||||
<exclude>**/*.hlsl</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-nowarn</arg>
|
||||
<arg>-implicit:none</arg>
|
||||
<arg>-h</arg>
|
||||
<arg>modules/javafx.graphics/build/gensrc/headers/</arg>
|
||||
</compilerArgs>
|
||||
<excludes>
|
||||
<exclude>**/mac/*.java</exclude>
|
||||
<exclude>**/ios/*.java</exclude>
|
||||
<exclude>**/android/*.java</exclude>
|
||||
<exclude>**/win/*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
126
pom-graphics_compileJava-java.xml
Normal file
126
pom-graphics_compileJava-java.xml
Normal file
@@ -0,0 +1,126 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>../../src/main/java</sourceDirectory>
|
||||
<outputDirectory>../../target/classes</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../../src/main/java</directory>
|
||||
<includes>
|
||||
<include>**/*.frag</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.rc</exclude>
|
||||
<exclude>**/*.tokens</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>../../src/main/resources</directory>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>../../build/gensrc/jsl-decora</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.cc</exclude>
|
||||
<exclude>**/*.rc</exclude>
|
||||
<exclude>**/*.hlsl</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>../../build/gensrc/jsl-prism</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.cc</exclude>
|
||||
<exclude>**/*.rc</exclude>
|
||||
<exclude>**/*.hlsl</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-nowarn</arg>
|
||||
<arg>-implicit:none</arg>
|
||||
<arg>-h</arg>
|
||||
<arg>modules/javafx.graphics/build/gensrc/headers/</arg>
|
||||
</compilerArgs>
|
||||
<excludes>
|
||||
<exclude>**/mac/*.java</exclude>
|
||||
<exclude>**/ios/*.java</exclude>
|
||||
<exclude>**/android/*.java</exclude>
|
||||
<exclude>**/win/*.java</exclude>
|
||||
<exclude>**/prism/d3d/*.java</exclude>
|
||||
<exclude>**/prism/es2/WinGL*.java</exclude>
|
||||
<exclude>**/prism/es2/MacGL*.java</exclude>
|
||||
<exclude>**/prism/es2/IOS*.java</exclude>
|
||||
<exclude>**/prism/es2/EGL*.java</exclude>
|
||||
<exclude>**/prism/null3d/*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<target>
|
||||
<copy todir="../../target/classes/com/sun/prism/shader">
|
||||
<fileset dir="../mvn-prism/target/classes/com/sun/prism/shader">
|
||||
<include name="**/*.class"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="../../target/classes/com/sun/scenario/effect/impl/prism/ps">
|
||||
<fileset dir="../mvn-decora/target/classes/com/sun/scenario/effect/impl/prism/ps">
|
||||
<include name="**/*.class"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="../../target/classes/com/sun/scenario/effect/impl/sw/java">
|
||||
<fileset dir="../mvn-decora/target/classes/com/sun/scenario/effect/impl/sw/java">
|
||||
<include name="**/*.class"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="../../target/classes/com/sun/scenario/effect/impl/sw/sse">
|
||||
<fileset dir="../mvn-decora/target/classes/com/sun/scenario/effect/impl/sw/sse">
|
||||
<include name="**/*.class"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.graphics</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
59
pom-graphics_compileJava-prism.xml
Normal file
59
pom-graphics_compileJava-prism.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics-compilePrism</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-compilePrism</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics-java</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>../../build/gensrc/jsl-prism</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../../build/gensrc/jsl-prism</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.rc</exclude>
|
||||
<exclude>**/*.tokens</exclude>
|
||||
<exclude>**/*.hlsl</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-nowarn</arg>
|
||||
<arg>-implicit:none</arg>
|
||||
<arg>-h</arg>
|
||||
<arg>modules/javafx.graphics/build/gensrc/headers/</arg>
|
||||
</compilerArgs>
|
||||
<excludes>
|
||||
<exclude>**/mac/*.java</exclude>
|
||||
<exclude>**/ios/*.java</exclude>
|
||||
<exclude>**/android/*.java</exclude>
|
||||
<exclude>**/win/*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
38
pom-graphics_compileJava.xml
Normal file
38
pom-graphics_compileJava.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics-compileJava</name>
|
||||
<packaging>pom</packaging>
|
||||
<artifactId>javafx.graphics-compileJava</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<modules>
|
||||
<module>mvn-prism</module>
|
||||
<module>mvn-decora</module>
|
||||
<module>mvn-java</module>
|
||||
</modules>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.graphics</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
</project>
|
331
pom-graphics_decora.xml
Normal file
331
pom-graphics_decora.xml
Normal file
@@ -0,0 +1,331 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics-decora</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-decora</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics-java</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics-antlr</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>../src/main/jsl-decora</sourceDirectory>
|
||||
<outputDirectory>../build/classes/jsl-compilers/decora</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../src/main/jsl-decora</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.jsl</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-nowarn</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-implicit:none</arg>
|
||||
<arg>--add-exports=javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED</arg>
|
||||
<arg>--add-exports=javafx.graphics/com.sun.scenario.effect.light=ALL-UNNAMED</arg>
|
||||
<arg>--add-exports=javafx.graphics/com.sun.scenario.effect.impl.state=ALL-UNNAMED</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ColorAdjust</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora/</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>ColorAdjust</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>Brightpass</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>Brightpass</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>SepiaTone</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>SepiaTone</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PerspectiveTransform</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>PerspectiveTransform</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>DisplacementMap</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>DisplacementMap</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>InvertMask</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>InvertMask</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>Blend</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileBlend</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>Blend</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PhongLighting</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompilePhong</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-all</argument>
|
||||
<argument>PhongLighting</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>LinearConvolve</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileLinearConvolve</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-hw</argument>
|
||||
<argument>LinearConvolve</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>LinearConvolveShadow</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileLinearConvolve</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-decora</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/scenario/effect</argument>
|
||||
<argument>-hw</argument>
|
||||
<argument>LinearConvolveShadow</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
79
pom-graphics_graphics.xml
Normal file
79
pom-graphics_graphics.xml
Normal file
@@ -0,0 +1,79 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics-java</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-java</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>../src/main/java</sourceDirectory>
|
||||
<outputDirectory>../target/classes</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../src/main/java</directory>
|
||||
<includes>
|
||||
<include>**/*.frag</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.rc</exclude>
|
||||
<exclude>**/*.tokens</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>../src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
</compilerArgs>
|
||||
<excludes>
|
||||
<exclude>**/mac/*.java</exclude>
|
||||
<exclude>**/ios/*.java</exclude>
|
||||
<exclude>**/android/*.java</exclude>
|
||||
<exclude>**/win/*.java</exclude>
|
||||
<exclude>**/prism/d3d/*.java</exclude>
|
||||
<exclude>**/prism/es2/WinGL*.java</exclude>
|
||||
<exclude>**/prism/es2/MacGL*.java</exclude>
|
||||
<exclude>**/prism/es2/IOS*.java</exclude>
|
||||
<exclude>**/prism/es2/EGL*.java</exclude>
|
||||
<exclude>**/prism/null3d/*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
71
pom-graphics_libdecora.xml
Normal file
71
pom-graphics_libdecora.xml
Normal file
@@ -0,0 +1,71 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libdecora_sse</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libdecora_sse</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -ffast-math</commonCompilerOptions>
|
||||
<native.gen.dir>../build/gensrc/jsl-decora</native.gen.dir>
|
||||
<native.source.dir>../src/main/native-decora</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/*.cc</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${native.gen.dir}</directory>
|
||||
<includes>
|
||||
<include>**/*.cc</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../src/main/native-decora</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
117
pom-graphics_libglass.xml
Normal file
117
pom-graphics_libglass.xml
Normal file
@@ -0,0 +1,117 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libglass</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libglass</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -pthread</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-glass</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/gtk/launcher.c</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/freetype2</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libpng16</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/pango-1.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/glib-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib64/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/fribidi</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/harfbuzz</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/cairo</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/pixman-1</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/gtk-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib64/gtk-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib/gtk-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/gdk-pixbuf-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libmount</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/blkid</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/uuid</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/atk-1.0</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
<linkerStartOption>-lX11</linkerStartOption>
|
||||
<linkerStartOption>-ldl</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
132
pom-graphics_libglassgtk2.xml
Normal file
132
pom-graphics_libglassgtk2.xml
Normal file
@@ -0,0 +1,132 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libglassgtk2</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libglassgtk2</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -pthread -DGLIB_DISABLE_DEPRECATION_WARNINGS</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-glass</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/gtk/wrapped.c</include>
|
||||
<include>**/gtk/*.cpp</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/freetype2</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libpng16</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/pango-1.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/glib-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib64/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/fribidi</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/harfbuzz</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/cairo</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/pixman-1</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/gtk-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib64/gtk-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib/gtk-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/gdk-pixbuf-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libmount</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/blkid</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/uuid</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/atk-1.0</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
<linkerStartOption>-lgtk-x11-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lgdk-x11-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lpangocairo-1.0</linkerStartOption>
|
||||
<linkerStartOption>-latk-1.0</linkerStartOption>
|
||||
<linkerStartOption>-lcairo</linkerStartOption>
|
||||
<linkerStartOption>-lgdk_pixbuf-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lgio-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lpangoft2-1.0</linkerStartOption>
|
||||
<linkerStartOption>-lpango-1.0</linkerStartOption>
|
||||
<linkerStartOption>-lgobject-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lfontconfig</linkerStartOption>
|
||||
<linkerStartOption>-lfreetype</linkerStartOption>
|
||||
<linkerStartOption>-pthread</linkerStartOption>
|
||||
<linkerStartOption>-lgthread-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lglib-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lXtst</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
137
pom-graphics_libglassgtk3.xml
Normal file
137
pom-graphics_libglassgtk3.xml
Normal file
@@ -0,0 +1,137 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libglassgtk3</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libglassgtk3</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -Wno-deprecated-declarations -pthread</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-glass</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/gtk/wrapped.c</include>
|
||||
<include>**/gtk/*.cpp</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/freetype2</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libpng16</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/pango-1.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/glib-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib64/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/fribidi</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/harfbuzz</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/cairo</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/gtk-3.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/gdk-pixbuf-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libmount</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/blkid</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/atk-1.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/at-spi2-atk/2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/at-spi-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libdrm</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/gio-unix-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/dbus-1.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib64/dbus-1.0/include</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
<linkerStartOption>-lgtk-3</linkerStartOption>
|
||||
<linkerStartOption>-lgdk-3</linkerStartOption>
|
||||
<linkerStartOption>-lpangocairo-1.0</linkerStartOption>
|
||||
<linkerStartOption>-latk-1.0</linkerStartOption>
|
||||
<linkerStartOption>-lcairo</linkerStartOption>
|
||||
<linkerStartOption>-lgdk_pixbuf-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lgio-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lpango-1.0</linkerStartOption>
|
||||
<linkerStartOption>-lgobject-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lfreetype</linkerStartOption>
|
||||
<linkerStartOption>-pthread</linkerStartOption>
|
||||
<linkerStartOption>-lgthread-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lglib-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lXtst</linkerStartOption>
|
||||
<linkerStartOption>-lcairo-gobject</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
62
pom-graphics_libjavafx_font.xml
Normal file
62
pom-graphics_libjavafx_font.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libjavafx_font</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libjavafx_font</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-font</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/*.c</include>
|
||||
<include>**/*.cpp</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
68
pom-graphics_libjavafx_font_freetype.xml
Normal file
68
pom-graphics_libjavafx_font_freetype.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libjavafx_font_freetype</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libjavafx_font_freetype</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -D_ENABLE_PANGO</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-font</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/freetype.c</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/freetype2</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libpng16</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
<linkerStartOption>-lfreetype</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
97
pom-graphics_libjavafx_font_pango.xml
Normal file
97
pom-graphics_libjavafx_font_pango.xml
Normal file
@@ -0,0 +1,97 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libjavafx_font_pango</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libjavafx_font_pango</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -D_ENABLE_PANGO</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-font</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/pango.c</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/freetype2</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/libpng16</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/pango-1.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/glib-2.0</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib64/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/lib/glib-2.0/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/fribidi</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/harfbuzz</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/cairo</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>/usr/include/pixman-1</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
<linkerStartOption>-lfreetype</linkerStartOption>
|
||||
<linkerStartOption>-lpangoft2-1.0</linkerStartOption>
|
||||
<linkerStartOption>-lpango-1.0</linkerStartOption>
|
||||
<linkerStartOption>-lgobject-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lglib-2.0</linkerStartOption>
|
||||
<linkerStartOption>-lfontconfig</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
65
pom-graphics_libjavafx_iio.xml
Normal file
65
pom-graphics_libjavafx_iio.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libjavafx_iio</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libjavafx_iio</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -Wtrampolines -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -Wimplicit-function-declaration</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-iio</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/jpegloader.c</include>
|
||||
<include>**/libjpeg/*.c</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${native.source.dir}/libjpeg</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
61
pom-graphics_libprism_common.xml
Normal file
61
pom-graphics_libprism_common.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libprism_common</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libprism_common</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -DINLINE=inline</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-prism</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/*.c</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
71
pom-graphics_libprism_es2.xml
Normal file
71
pom-graphics_libprism_es2.xml
Normal file
@@ -0,0 +1,71 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libprism_es2</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libprism_es2</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-DLINUX -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-prism-es2</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>*.c</include>
|
||||
<include>x11/X11GLDrawable.c</include>
|
||||
<include>x11/X11GLContext.c</include>
|
||||
<include>x11/X11GLPixelFormat.c</include>
|
||||
<include>x11/X11GLFactory.c</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${native.source.dir}/GL</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
<linkerStartOption>-lX11</linkerStartOption>
|
||||
<linkerStartOption>-lXxf86vm</linkerStartOption>
|
||||
<linkerStartOption>-lGL</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
61
pom-graphics_libprism_sw.xml
Normal file
61
pom-graphics_libprism_sw.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>libprism_sw</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libprism_sw</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -DINLINE=inline</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native-prism-sw</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/*.c</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>../build/gensrc/headers</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-fno-strict-aliasing</linkerStartOption>
|
||||
<linkerStartOption>-fPIC</linkerStartOption>
|
||||
<linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
|
||||
<linkerStartOption>-fstack-protector</linkerStartOption>
|
||||
<linkerStartOption>-Wextra</linkerStartOption>
|
||||
<linkerStartOption>-Wall</linkerStartOption>
|
||||
<linkerStartOption>-Wformat-security</linkerStartOption>
|
||||
<linkerStartOption>-Wno-unused</linkerStartOption>
|
||||
<linkerStartOption>-Wno-parentheses</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
889
pom-graphics_prism.xml
Normal file
889
pom-graphics_prism.xml
Normal file
@@ -0,0 +1,889 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.graphics-prism</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-prism</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics-java</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics-antlr</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>../src/main/jsl-prism</sourceDirectory>
|
||||
<outputDirectory>../build/classes/jsl-compilers/prism</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../src/main/jsl-prism</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.jsl</exclude>
|
||||
<exclude>**/*.stg</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-nowarn</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-implicit:none</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>MaskAlphaOne</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskAlphaOne.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskAlphaTexture</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskAlphaTexture.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskAlphaTextureDifference</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskAlphaTextureDifference.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskDrawCircle</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskDrawCircle.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskDrawEllipse</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskDrawEllipse.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskDrawPgram</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskDrawPgram.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskDrawRoundRect</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskDrawRoundRect.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskDrawSemiRoundRect</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskDrawSemiRoundRect.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskFillCircle</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskFillCircle.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskFillEllipse</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskFillEllipse.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskFillPgram</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskFillPgram.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskFillRoundRect</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskFillRoundRect.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskSolid</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskSolid.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>MaskTexture</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/MaskTexture.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintAlphaTextureImagePattern</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintAlphaTextureImagePattern.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintAlphaTextureLinearGradient</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintAlphaTextureLinearGradient.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintAlphaTextureRadialGradient</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintAlphaTextureRadialGradient.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintColor</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintColor.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintImagePattern</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintImagePattern.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintLinearGradient</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintLinearGradient.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintMaskTextureRGB</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintMaskTextureRGB.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintMaskTextureSuper</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintMaskTextureSuper.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintMultiGradient</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintMultiGradient.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintRadialGradient</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintRadialGradient.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintTextureFirstPassLCD</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintTextureFirstPassLCD.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintTextureRGB</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintTextureRGB.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintTextureSecondPassLCD</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintTextureSecondPassLCD.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintTextureYUV422</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintTextureYUV422.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintTextureYUV444</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintTextureYUV444.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>PaintTextureYV12</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<mainClass>CompileJSL</mainClass>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>../src/jslc/resources</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<addResourcesToClasspath>true</addResourcesToClasspath>
|
||||
<arguments>
|
||||
<argument>-i</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/javafx.graphics/build/gensrc/jsl-prism</argument>
|
||||
<argument>-t</argument>
|
||||
<argument>-pkg</argument>
|
||||
<argument>com/sun/prism</argument>
|
||||
<argument>-d3d</argument>
|
||||
<argument>-es2</argument>
|
||||
<argument>-name</argument>
|
||||
<argument>modules/javafx.graphics/src/main/jsl-prism/PaintTextureYV12.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
46
pom-media.xml
Normal file
46
pom-media.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.media</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.media</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.media</finalName>
|
||||
<excludes>
|
||||
<exclude>**/platform/osx/*.class</exclude>
|
||||
<exclude>**/platform/ios/*.class</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
24
pom-openjfx.xml
Normal file
24
pom-openjfx.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>openjfx</name>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<description>OpenJFX JavaFX</description>
|
||||
<packaging>pom</packaging>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<modules>
|
||||
<module>modules/javafx.base</module>
|
||||
<module>modules/javafx.graphics</module>
|
||||
<module>modules/javafx.media</module>
|
||||
<module>modules/javafx.controls</module>
|
||||
<module>modules/javafx.swt</module>
|
||||
<module>modules/javafx.web</module>
|
||||
<module>modules/javafx.fxml</module>
|
||||
<module>modules/javafx.swing</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
57
pom-swing.xml
Normal file
57
pom-swing.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.swing</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.swing</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>11</source>
|
||||
<target>11</target>
|
||||
<compilerArgs>
|
||||
<arg>-nowarn</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-implicit:none</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>--add-exports=java.desktop/java.awt.dnd.peer=javafx.swing</arg>
|
||||
<arg>--add-exports=java.desktop/sun.awt=javafx.swing</arg>
|
||||
<arg>--add-exports=java.desktop/sun.awt.dnd=javafx.swing</arg>
|
||||
<arg>--add-exports=java.desktop/sun.awt.image=javafx.swing</arg>
|
||||
<arg>--add-exports=java.desktop/sun.java2d=javafx.swing</arg>
|
||||
<arg>--add-exports=java.desktop/sun.swing=javafx.swing</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.swing</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
46
pom-swt.xml
Normal file
46
pom-swt.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.swt</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.swt</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.swt</groupId>
|
||||
<artifactId>swt</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx-swt</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
99
pom-web.xml
Normal file
99
pom-web.xml
Normal file
@@ -0,0 +1,99 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>javafx.web</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.web</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.media</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.controls</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
<compilerArgs>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-nowarn</arg>
|
||||
<arg>-h</arg>
|
||||
<arg>modules/javafx.web/build/gensrc/headers/javafx.web/</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.web</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-dom3</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<copy todir="src/main/java">
|
||||
<fileset dir="src/main/native/Source/WebCore/bindings/java/dom3/java"/>
|
||||
</copy>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>build-jfxwebkit</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<copy todir="src/main/native/Source/WebCore/bridge/jni/jsc">
|
||||
<fileset dir="build/gensrc/headers/javafx.web"/>
|
||||
</copy>
|
||||
<copy todir="src/main/native/WebKitBuild/Release/DerivedSources/ForwardingHeaders/wtf/unicode/java">
|
||||
<fileset dir="build/gensrc/headers/javafx.web"/>
|
||||
</copy>
|
||||
<copy todir="src/main/native/Source/WebCore/platform/graphics/java">
|
||||
<fileset dir="build/gensrc/headers/javafx.web"/>
|
||||
</copy>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
Reference in New Issue
Block a user