initial packaging
This commit is contained in:
parent
1227949b27
commit
6a0099755f
22
0000-Fix-wait-call-in-PosixPlatform.patch
Normal file
22
0000-Fix-wait-call-in-PosixPlatform.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- rt-8u202-b02/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-10-29 16:26:04.000000000 +0100
|
||||
+++ rt-8u202-b02-patched/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-11-27 15:34:52.170181958 +0100
|
||||
@@ -43,7 +43,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
-#include <sys/sysctl.h>
|
||||
#include <iostream>
|
||||
#include <dlfcn.h>
|
||||
#include <signal.h>
|
||||
@@ -232,10 +231,7 @@
|
||||
pid_t wpid = 0;
|
||||
|
||||
//TODO Use waitpid instead of wait
|
||||
-#ifdef LINUX
|
||||
- wait(&status);
|
||||
-#endif
|
||||
-#ifdef MAC
|
||||
+#if defined(LINUX) || defined(MAC)
|
||||
wpid = wait(&status);
|
||||
#endif
|
||||
|
||||
77
0003-fix-cast-between-incompatible-function-types.patch
Normal file
77
0003-fix-cast-between-incompatible-function-types.patch
Normal file
@ -0,0 +1,77 @@
|
||||
From 36b952bdcdc301a600009308bff90440b6ceab5b Mon Sep 17 00:00:00 2001
|
||||
From: Mat Booth <mat.booth@redhat.com>
|
||||
Date: Thu, 21 Jun 2018 15:57:01 +0100
|
||||
Subject: [PATCH 4/4] fix cast between incompatible function types
|
||||
|
||||
---
|
||||
modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp | 8 ++++++--
|
||||
.../src/main/native-glass/gtk/glass_window_ime.cpp | 9 +++------
|
||||
2 files changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp b/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp
|
||||
index f85b1dae..3b9225f7 100644
|
||||
--- a/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp
|
||||
+++ b/modules/graphics/src/main/native-glass/gtk/glass_dnd.cpp
|
||||
@@ -556,7 +556,7 @@ static GdkDragContext *get_drag_context() {
|
||||
return ctx;
|
||||
}
|
||||
|
||||
-static gboolean dnd_finish_callback() {
|
||||
+static gboolean dnd_finish_callback(gpointer data) {
|
||||
if (dnd_window) {
|
||||
dnd_set_performed_action(
|
||||
translate_gdk_action_to_glass(
|
||||
@@ -1079,6 +1079,10 @@ gboolean DragView::get_drag_image_offset(int* x, int* y) {
|
||||
return offset_set;
|
||||
}
|
||||
|
||||
+static void on_pixbuf_destroy_notify(guchar *pixels, gpointer data) {
|
||||
+ g_free(pixels);
|
||||
+}
|
||||
+
|
||||
GdkPixbuf* DragView::get_drag_image(gboolean* is_raw_image, gint* width, gint* height) {
|
||||
GdkPixbuf *pixbuf = NULL;
|
||||
gboolean is_raw = FALSE;
|
||||
@@ -1106,7 +1110,7 @@ GdkPixbuf* DragView::get_drag_image(gboolean* is_raw_image, gint* width, gint* h
|
||||
if (data) {
|
||||
memcpy(data, (raw + whsz), nraw - whsz);
|
||||
pixbuf = gdk_pixbuf_new_from_data(data, GDK_COLORSPACE_RGB, TRUE, 8,
|
||||
- w, h, w * 4, (GdkPixbufDestroyNotify) g_free, NULL);
|
||||
+ w, h, w * 4, (GdkPixbufDestroyNotify) on_pixbuf_destroy_notify, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
diff --git a/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp b/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp
|
||||
index 82e54d11..51af2a6a 100644
|
||||
--- a/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp
|
||||
+++ b/modules/graphics/src/main/native-glass/gtk/glass_window_ime.cpp
|
||||
@@ -122,15 +122,12 @@ bool WindowContextBase::filterIME(GdkEvent * event) {
|
||||
}
|
||||
}
|
||||
|
||||
-//Note: this function must return int, despite the fact it doesn't conform to XIMProc type.
|
||||
-// This is required in documentation of XIM
|
||||
-static int im_preedit_start(XIM im_xim, XPointer client, XPointer call) {
|
||||
+static void im_preedit_start(XIM im_xim, XPointer client, XPointer call) {
|
||||
(void)im_xim;
|
||||
(void)call;
|
||||
|
||||
mainEnv->CallVoidMethod((jobject) client, jViewNotifyPreeditMode, JNI_TRUE);
|
||||
- CHECK_JNI_EXCEPTION_RET(mainEnv, -1);
|
||||
- return -1; // No restrictions
|
||||
+ CHECK_JNI_EXCEPTION(mainEnv);
|
||||
}
|
||||
|
||||
static void im_preedit_done(XIM im_xim, XPointer client, XPointer call) {
|
||||
@@ -234,7 +231,7 @@ void WindowContextBase::enableOrResetIME() {
|
||||
return;
|
||||
}
|
||||
|
||||
- XIMCallback startCallback = {(XPointer) jview, (XIMProc) im_preedit_start};
|
||||
+ XIMCallback startCallback = {(XPointer) jview, im_preedit_start};
|
||||
XIMCallback doneCallback = {(XPointer) jview, im_preedit_done};
|
||||
XIMCallback drawCallback = {(XPointer) jview, im_preedit_draw};
|
||||
XIMCallback caretCallback = {(XPointer) jview, im_preedit_caret};
|
||||
--
|
||||
2.17.1
|
||||
|
||||
23
0004-Fix-Compilation-Flags.patch
Normal file
23
0004-Fix-Compilation-Flags.patch
Normal file
@ -0,0 +1,23 @@
|
||||
--- rt-8u202-b07/buildSrc/linux.gradle
|
||||
+++ rt-8u202-b07-patched/buildSrc/linux.gradle
|
||||
@@ -54,7 +54,7 @@
|
||||
def ccFlags = [
|
||||
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 ccFlagsGTK3 = ccFlags
|
||||
//ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"])
|
||||
def linkFlags = ["-static-libgcc", "-static-libstdc++", "-shared", commonFlags,
|
||||
|
||||
--- rt-8u202-b07/buildSrc/x86egl.gradle
|
||||
+++ rt-8u202-b07-patched/buildSrc/x86egl.gradle
|
||||
@@ -99,7 +99,7 @@
|
||||
def ccFlags = [
|
||||
commonFlags,
|
||||
"-I$JDK_HOME/include", "-I$JDK_HOME/include/${jniPlatform}", "-c",
|
||||
- IS_DEBUG_NATIVE ? ["-ggdb", "-DVERBOSE"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
+ IS_DEBUG_NATIVE ? ["-ggdb", "-DNDEBUG"] : ["-O2", "-DNDEBUG"]].flatten()
|
||||
//ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"])
|
||||
def linkFlags = ["-shared", commonFlags].flatten()
|
||||
|
||||
14
0005-fxpackager-extract-jre-accept-symlink.patch
Normal file
14
0005-fxpackager-extract-jre-accept-symlink.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- rt-8u202-b07/modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxAppBundler.java
|
||||
+++ rt-8u202-b07-patched/modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxAppBundler.java
|
||||
@@ -116,8 +116,8 @@
|
||||
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
|
||||
|
||||
BIN
8u202-b07.tar.bz2
Normal file
BIN
8u202-b07.tar.bz2
Normal file
Binary file not shown.
18
README.openeuler
Normal file
18
README.openeuler
Normal file
@ -0,0 +1,18 @@
|
||||
This OpenEuler package installs JavaFX in a JDK/JRE-independent way. It is
|
||||
up to each JDK/JRE to make use of it correctly. In general, you want to symlink
|
||||
the shared object and the jar into somehwere where the JDK/JRE can find it.
|
||||
|
||||
The process looks something like this:
|
||||
openjfx_dir=/usr/lib/jvm/openjfx
|
||||
|
||||
jdk_files=$(find $openjfx_dir/{bin,lib} -type f -print)
|
||||
for file in $jdk_files; do
|
||||
relative=${file#$openjfx_dir/}
|
||||
ln -sfv "$openjfx_dir/$relative" "/usr/lib/jvm/java/$relative"
|
||||
done
|
||||
|
||||
jre_files=$(find $openjfx_dir/rt -type f -print)
|
||||
for file in $jre_files; do
|
||||
relative=${file#$openjfx_dir/rt/}
|
||||
ln -sfv "$openjfx_dir/rt/$relative" "/usr/lib/jvm/jre/$relative"
|
||||
done
|
||||
49
build.xml
Executable file
49
build.xml
Executable file
@ -0,0 +1,49 @@
|
||||
<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/base/src/main/version-info"/>
|
||||
<property name="dst.versioninfo" value="modules/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_MILESTONE@" 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="replaceReleaseVersion">
|
||||
<echo message="RELEASE_VERSION=${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>
|
||||
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@RAW_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>
|
||||
<!--<replace file="javafx.pom" token="@VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>-->
|
||||
<replace file="pom.xml" token="@RELEASE_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>
|
||||
<replace dir="modules" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}">
|
||||
<include name="**/pom.xml"/>
|
||||
<replacetoken>@RELEASE_VERSION@</replacetoken>
|
||||
</replace>
|
||||
<replace dir="shade" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}">
|
||||
<include name="**/pom.xml"/>
|
||||
<replacetoken>@RELEASE_VERSION@</replacetoken>
|
||||
</replace>
|
||||
<replace dir="buildSrc" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.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>
|
||||
102
buildSrc.xml
Normal file
102
buildSrc.xml
Normal file
@ -0,0 +1,102 @@
|
||||
<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>buildSrc</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>buildSrc</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr</artifactId>
|
||||
<version>3.5.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
<version>3.5.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
<version>4.0.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
<version>3.2.1</version>
|
||||
</dependency>
|
||||
<!--<dependency>
|
||||
<groupId>org.codehaus.groovy</groupId>
|
||||
<artifactId>groovy-all</artifactId>
|
||||
</dependency>-->
|
||||
</dependencies>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr3-maven-plugin</artifactId>
|
||||
<version>3.5.2</version>
|
||||
<configuration>
|
||||
<sourceDirectory>src/main/antlr</sourceDirectory>
|
||||
<!--<outputDirectory>../build/gensrc/antlr</outputDirectory>-->
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>antlr</id>
|
||||
<goals>
|
||||
<goal>antlr</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!--<plugin>
|
||||
<groupId>org.codehaus.gmavenplus</groupId>
|
||||
<artifactId>gmavenplus-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>addSources</goal>
|
||||
<goal>generateStubs</goal>
|
||||
<goal>compile</goal>
|
||||
<goal>removeStubs</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<source>src/main/groovy/CCTask.groovy</source>
|
||||
<source>src/main/groovy/CompileHLSLTask.groovy</source>
|
||||
<source>src/main/groovy/CompileResourceTask.groovy</source>
|
||||
<source>src/main/groovy/ExportedSymbolsTask.groovy</source>
|
||||
<source>src/main/groovy/JavaHeaderTask.groovy</source>
|
||||
<source>src/main/groovy/LinkTask.groovy</source>
|
||||
<source>src/main/groovy/LipoTask.groovy</source>
|
||||
<source>src/main/groovy/NativeCompileTask.groovy</source>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>-->
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
49
fxpackager-native.xml
Normal file
49
fxpackager-native.xml
Normal file
@ -0,0 +1,49 @@
|
||||
<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>fxpackager</name>
|
||||
<packaging>uexe</packaging>
|
||||
<artifactId>JavaAppLauncher</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fstack-protector -DJAVAARCH="amd64"</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native/launcher/linux</native.source.dir>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<version>1.0-alpha-6</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerStartOptions>
|
||||
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
|
||||
</compilerStartOptions>
|
||||
<sources>
|
||||
<source>
|
||||
<directory>${native.source.dir}</directory>
|
||||
<includes>
|
||||
<include>**/*.cpp</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-lstdc++</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-ldl</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
53
fxpackager-so.xml
Normal file
53
fxpackager-so.xml
Normal file
@ -0,0 +1,53 @@
|
||||
<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>libpackager</name>
|
||||
<packaging>so</packaging>
|
||||
<artifactId>libpackager</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<properties>
|
||||
<commonCompilerOptions>-fstack-protector -fPIC -std=gnu++98 -ffunction-sections -fdata-sections -DJAVAARCH="amd64"</commonCompilerOptions>
|
||||
<native.source.dir>../src/main/native/library/common/</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>**/*.cpp</include>
|
||||
</includes>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include</directory>
|
||||
</source>
|
||||
<source>
|
||||
<directory>${JAVA_HOME}/include/linux</directory>
|
||||
</source>
|
||||
</sources>
|
||||
<linkerStartOptions>
|
||||
<linkerStartOption>-lpthread</linkerStartOption>
|
||||
<linkerStartOption>-shared</linkerStartOption>
|
||||
<linkerStartOption>-static-libgcc</linkerStartOption>
|
||||
<linkerStartOption>-lstdc++</linkerStartOption>
|
||||
<linkerStartOption>-static-libstdc++</linkerStartOption>
|
||||
<linkerStartOption>-Wl,--gc-sections</linkerStartOption>
|
||||
<linkerStartOption>-z</linkerStartOption>
|
||||
<linkerStartOption>relro</linkerStartOption>
|
||||
<linkerStartOption>-ldl</linkerStartOption>
|
||||
</linkerStartOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
237
openjfx8.spec
Normal file
237
openjfx8.spec
Normal file
@ -0,0 +1,237 @@
|
||||
%global openjfxdir %{_jvmdir}/%{name}
|
||||
|
||||
%global xmvn_bootstrap 0
|
||||
|
||||
|
||||
%ifarch x86_64
|
||||
%global arch amd64
|
||||
%else
|
||||
%global arch aarch64
|
||||
%endif
|
||||
|
||||
Name: openjfx8
|
||||
Version: 8.0.202
|
||||
Release: 20.b07%{?dist}
|
||||
Summary: Rich client application platform for Java
|
||||
|
||||
#fxpackager is BSD
|
||||
License: GPL v2 with exceptions and BSD
|
||||
URL: http://openjdk.java.net/projects/openjfx/
|
||||
|
||||
Source0: http://hg.openjdk.java.net/openjfx/8u-dev/rt/archive/8u202-b07.tar.bz2
|
||||
Source1: README.openeuler
|
||||
Source2: pom-base.xml
|
||||
Source3: pom-builders.xml
|
||||
Source4: pom-controls.xml
|
||||
Source5: pom-fxml.xml
|
||||
Source6: pom-fxpackager.xml
|
||||
Source7: pom-graphics.xml
|
||||
Source8: pom-graphics_compileDecoraCompilers.xml
|
||||
Source9: pom-graphics_compileDecoraJavaShaders.xml
|
||||
Source10: pom-graphics_compileJava.xml
|
||||
Source11: pom-graphics_compilePrismCompilers.xml
|
||||
Source12: pom-graphics_compilePrismJavaShaders.xml
|
||||
Source13: pom-graphics_libdecora.xml
|
||||
Source14: pom-graphics_libglass.xml
|
||||
Source15: pom-graphics_libglassgtk2.xml
|
||||
Source16: pom-graphics_libglassgtk3.xml
|
||||
Source17: pom-graphics_libjavafx_font.xml
|
||||
Source18: pom-graphics_libjavafx_font_freetype.xml
|
||||
Source19: pom-graphics_libjavafx_font_pango.xml
|
||||
Source20: pom-graphics_libjavafx_iio.xml
|
||||
Source21: pom-graphics_libprism_common.xml
|
||||
Source22: pom-graphics_libprism_es2.xml
|
||||
Source23: pom-graphics_libprism_sw.xml
|
||||
Source24: pom-jmx.xml
|
||||
Source25: pom-media.xml
|
||||
Source26: pom-openjfx.xml
|
||||
Source27: pom-swing.xml
|
||||
Source28: pom-swt.xml
|
||||
Source29: pom-web.xml
|
||||
Source30: shade.xml
|
||||
Source31: build.xml
|
||||
Source32: buildSrc.xml
|
||||
Source33: fxpackager-native.xml
|
||||
Source34: fxpackager-so.xml
|
||||
|
||||
Patch0: 0000-Fix-wait-call-in-PosixPlatform.patch
|
||||
Patch1: 0003-fix-cast-between-incompatible-function-types.patch
|
||||
Patch2: 0004-Fix-Compilation-Flags.patch
|
||||
Patch3: 0005-fxpackager-extract-jre-accept-symlink.patch
|
||||
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
BuildRequires: java-1.8.0-openjdk-devel
|
||||
BuildRequires: maven
|
||||
BuildRequires: ant
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-static
|
||||
BuildRequires: mvn(antlr:antlr)
|
||||
BuildRequires: mvn(org.apache.ant:ant)
|
||||
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gthread-2.0)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(xxf86vm)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
|
||||
%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 and web module have been removed due to missing dependencies.
|
||||
|
||||
%package devel
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: java-devel
|
||||
Summary: OpenJFX development tools and libraries
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%setup -q -n rt-8u202-b07
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
cp %{SOURCE1} .
|
||||
|
||||
#Drop *src/test folders
|
||||
rm -rf modules/{base,builders,controls,fxml,fxpackager,graphics,jmx,media,swing,swt,web}/src/test/
|
||||
rm -rf buildSrc/src/test/
|
||||
|
||||
#prep for graphics
|
||||
##cp -a modules/javafx.graphics/src/jslc/antlr modules/javafx.graphics/src/main/antlr3
|
||||
cp -a modules/graphics/src/main/resources/com/sun/javafx/tk/quantum/*.properties modules/graphics/src/main/java/com/sun/javafx/tk/quantum
|
||||
|
||||
#prep for base
|
||||
cp -a modules/base/src/main/java8/javafx modules/base/src/main/java
|
||||
|
||||
#prep for swt
|
||||
cp -a modules/builders/src/main/java/javafx/embed/swt/CustomTransferBuilder.java modules/swt/src/main/java/javafx/embed/swt
|
||||
|
||||
find -name '*.class' -delete
|
||||
find -name '*.jar' -delete
|
||||
|
||||
#copy maven files
|
||||
cp -a %{_sourcedir}/settings.xml .
|
||||
cp -a %{_sourcedir}/pom-*.xml .
|
||||
mv pom-openjfx.xml pom.xml
|
||||
|
||||
for MODULE in base graphics controls swing swt fxml media web builders fxpackager jmx
|
||||
do
|
||||
mv pom-$MODULE.xml ./modules/$MODULE/pom.xml
|
||||
done
|
||||
|
||||
#shade
|
||||
mkdir shade
|
||||
cp -a %{_sourcedir}/shade.xml ./shade/pom.xml
|
||||
|
||||
#fxpackager native exe
|
||||
mkdir ./modules/fxpackager/native
|
||||
cp -a %{_sourcedir}/fxpackager-native.xml ./modules/fxpackager/native/pom.xml
|
||||
#fxpackager libpackager.so
|
||||
mkdir ./modules/fxpackager/so
|
||||
cp -a %{_sourcedir}/fxpackager-so.xml ./modules/fxpackager/so/pom.xml
|
||||
|
||||
cp -a %{_sourcedir}/buildSrc.xml ./buildSrc/pom.xml
|
||||
|
||||
mkdir ./modules/graphics/{compileJava,compilePrismCompilers,compilePrismJavaShaders,compileDecoraCompilers,compileDecoraJavaShaders,libdecora,libjavafx_font,libjavafx_font_freetype,libjavafx_font_pango,libglass,libglassgtk2,libglassgtk3,libjavafx_iio,libprism_common,libprism_es2,libprism_sw}
|
||||
for GRAPHMOD in compileJava compilePrismCompilers compilePrismJavaShaders compileDecoraCompilers compileDecoraJavaShaders libdecora libjavafx_font libjavafx_font_freetype libjavafx_font_pango libglass libglassgtk2 libglassgtk3 libjavafx_iio libprism_common libprism_es2 libprism_sw
|
||||
do
|
||||
mv pom-graphics_$GRAPHMOD.xml ./modules/graphics/$GRAPHMOD/pom.xml
|
||||
done
|
||||
|
||||
#set VersionInfo
|
||||
cp -a %{_sourcedir}/build.xml .
|
||||
ant -f build.xml
|
||||
|
||||
%build
|
||||
|
||||
#set openjdk8 for build
|
||||
export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk
|
||||
# %%mvn_build
|
||||
mvn install --settings ./settings.xml
|
||||
|
||||
%install
|
||||
install -d -m 755 %{buildroot}%{openjfxdir}
|
||||
mkdir -p %{buildroot}%{openjfxdir}/bin
|
||||
mkdir -p %{buildroot}%{openjfxdir}/lib
|
||||
mkdir -p %{buildroot}%{openjfxdir}/rt/lib/{%{arch},ext}
|
||||
|
||||
cp -a shade/target/jfxrt.jar %{buildroot}%{openjfxdir}/rt/lib/ext
|
||||
cp -a modules/swt/target/jfxswt.jar %{buildroot}%{openjfxdir}/rt/lib
|
||||
cp -a modules/graphics/libdecora/target/libdecora_sse.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libglass/target/libglass.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libglassgtk2/target/libglassgtk2.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libglassgtk3/target/libglassgtk3.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libjavafx_font/target/libjavafx_font.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libjavafx_font_freetype/target/libjavafx_font_freetype.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libjavafx_font_pango/target/libjavafx_font_pango.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libjavafx_iio/target/libjavafx_iio.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libprism_common/target/libprism_common.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libprism_es2/target/libprism_es2.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/graphics/libprism_sw/target/libprism_sw.so %{buildroot}%{openjfxdir}/rt/lib/%{arch}
|
||||
cp -a modules/jmx/target/javafx-mx.jar %{buildroot}%{openjfxdir}/lib
|
||||
cp -a modules/fxpackager/target/fxpackager-ant-javafx.jar %{buildroot}%{openjfxdir}/lib/ant-javafx.jar
|
||||
cp -a modules/fxpackager/target/fxpackager-packager.jar %{buildroot}%{openjfxdir}/lib/packager.jar
|
||||
cp -a modules/fxpackager/src/main/native/javapackager/shell/javapackager %{buildroot}%{openjfxdir}/bin
|
||||
cp -a modules/fxpackager/src/main/native/javapackager/shell/javapackager %{buildroot}%{openjfxdir}/bin/javafxpackager
|
||||
|
||||
install -d -m 755 %{buildroot}%{_mandir}/man1
|
||||
install -m 644 modules/fxpackager/src/main/man/man1/* %{buildroot}%{_mandir}/man1
|
||||
|
||||
install -d -m 755 %{buildroot}%{_mandir}/ja_JP/man1
|
||||
install -m 644 modules/fxpackager/src/main/man/ja_JP.UTF-8/man1/* %{buildroot}%{_mandir}/ja_JP/man1
|
||||
|
||||
install -d 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
# cp -a target/site/apidocs/. %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -s %{openjfxdir}/bin/javafxpackager %{buildroot}%{_bindir}
|
||||
ln -s %{openjfxdir}/bin/javapackager %{buildroot}%{_bindir}
|
||||
|
||||
%files
|
||||
%dir %{openjfxdir}
|
||||
%{openjfxdir}/rt
|
||||
%license LICENSE
|
||||
%doc README
|
||||
%doc README.openeuler
|
||||
|
||||
%files devel
|
||||
%{openjfxdir}/lib
|
||||
%{openjfxdir}/bin
|
||||
%{_bindir}/javafxpackager
|
||||
%{_bindir}/javapackager
|
||||
%{_mandir}/man1/javafxpackager.1*
|
||||
%{_mandir}/man1/javapackager.1*
|
||||
%{_mandir}/ja_JP/man1/javafxpackager.1*
|
||||
%{_mandir}/ja_JP/man1/javapackager.1*
|
||||
%license LICENSE
|
||||
%doc README
|
||||
%doc README.openeuler
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Aug 6 2020 Noah <hedongbo@huawei.com> - 8.0.202-8.b07
|
||||
- Initial packaging
|
||||
42
pom-base.xml
Normal file
42
pom-base.xml
Normal file
@ -0,0 +1,42 @@
|
||||
<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>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.base</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
86
pom-builders.xml
Normal file
86
pom-builders.xml
Normal file
@ -0,0 +1,86 @@
|
||||
<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.builders</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.builders</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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.fxml</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.swing</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.swt</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.web</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.builders</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
273
pom-controls.xml
Normal file
273
pom-controls.xml
Normal file
@ -0,0 +1,273 @@
|
||||
<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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</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>
|
||||
<version>1.6.0</version>
|
||||
<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>
|
||||
61
pom-fxml.xml
Normal file
61
pom-fxml.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>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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.fxml</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
96
pom-fxpackager.xml
Normal file
96
pom-fxpackager.xml
Normal file
@ -0,0 +1,96 @@
|
||||
<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.fxpackager</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.fxpackager</artifactId>
|
||||
<parent>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx</artifactId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.ant</groupId>
|
||||
<artifactId>ant</artifactId>
|
||||
<version>1.10.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.ant</groupId>
|
||||
<artifactId>ant-launcher</artifactId>
|
||||
<version>1.10.8</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ant-javafx</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<finalName>fxpackager</finalName>
|
||||
<classifier>ant-javafx</classifier>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>packager</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<finalName>fxpackager</finalName>
|
||||
<classifier>packager</classifier>
|
||||
<includes>
|
||||
<include>**/jdk/**</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<move todir="target/classes/resources/classes/com/javafx/main">
|
||||
<fileset dir="target/classes/com/javafx/main"/>
|
||||
</move>
|
||||
<delete dir="target/classes/com/javafx" />
|
||||
<copy todir="target/classes/com/oracle/tools/packager/linux">
|
||||
<fileset dir="native/target"/>
|
||||
<globmapper from="JavaAppLauncher.uexe" to="JavaAppLauncher"/>
|
||||
</copy>
|
||||
</tasks>
|
||||
</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>compileJava</module>
|
||||
<module>compilePrismCompilers</module>
|
||||
<module>compilePrismJavaShaders</module>
|
||||
<module>compileDecoraCompilers</module>
|
||||
<module>compileDecoraJavaShaders</module>
|
||||
<module>libdecora</module>
|
||||
<module>libjavafx_font</module>
|
||||
<module>libjavafx_font_freetype</module>
|
||||
<module>libjavafx_font_pango</module>
|
||||
<module>libglass</module>
|
||||
<module>libglassgtk2</module>
|
||||
<module>libglassgtk3</module>
|
||||
<module>libjavafx_iio</module>
|
||||
<module>libprism_common</module>
|
||||
<module>libprism_es2</module>
|
||||
<module>libprism_sw</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
334
pom-graphics_compileDecoraCompilers.xml
Normal file
334
pom-graphics_compileDecoraCompilers.xml
Normal file
@ -0,0 +1,334 @@
|
||||
<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>
|
||||
<version>3.5.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
<version>3.5.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
<version>4.0.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
<version>3.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>
|
||||
<sourceDirectory>${project.basedir}/../src/main/jsl-decora</sourceDirectory>
|
||||
<outputDirectory>${project.basedir}/../build/classes/jsl-compilers/decora</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/../src/main/jsl-decora</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.jsl</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</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>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<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/graphics/src/main/jsl-decora/</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-decora</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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>
|
||||
61
pom-graphics_compileDecoraJavaShaders.xml
Normal file
61
pom-graphics_compileDecoraJavaShaders.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>javafx.graphics-decora-shaders</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-decora-shaders</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>
|
||||
<sourceDirectory>${project.basedir}/../build/gensrc/jsl-decora</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/../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>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<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/graphics/build/gensrc/headers/</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
103
pom-graphics_compileJava.xml
Normal file
103
pom-graphics_compileJava.xml
Normal file
@ -0,0 +1,103 @@
|
||||
<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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.swt</groupId>
|
||||
<artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
|
||||
<version>4.3</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>${project.basedir}/../src/main/java</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/../src/main/java</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
<arg>-h</arg>
|
||||
<arg>modules/graphics/build/gensrc/headers/</arg>
|
||||
</compilerArgs>
|
||||
<excludes>
|
||||
<exclude>**/d3d/*.java</exclude>
|
||||
<exclude>**/mac/*.java</exclude>
|
||||
<exclude>**/ios/*.java</exclude>
|
||||
<exclude>**/android/*.java</exclude>
|
||||
<exclude>**/win/*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<exportAntProperties>true</exportAntProperties>
|
||||
<target>
|
||||
<property name="runtime_classpath" refid="maven.compile.classpath"/>
|
||||
<exec executable="${java.home}/../bin/javah">
|
||||
<arg value="-cp"/>
|
||||
<arg value="${runtime_classpath}"/>
|
||||
<arg value="-d"/>
|
||||
<arg value="${project.build.directory}/../../build/gensrc/headers/"/>
|
||||
<arg value="com.sun.glass.ui.Application"/>
|
||||
<arg value="com.sun.glass.ui.Cursor"/>
|
||||
<arg value="com.sun.glass.ui.Window"/>
|
||||
<arg value="com.sun.glass.ui.View"/>
|
||||
<arg value="com.sun.glass.events.WindowEvent"/>
|
||||
<arg value="com.sun.glass.events.MouseEvent"/>
|
||||
<arg value="com.sun.glass.events.ViewEvent"/>
|
||||
<arg value="com.sun.glass.events.KeyEvent"/>
|
||||
<arg value="com.sun.glass.events.DndEvent"/>
|
||||
<arg value="com.sun.prism.es2.GLDrawable"/>
|
||||
<arg value="com.sun.prism.es2.GLPixelFormat"/>
|
||||
<arg value="com.sun.pisces.RendererBase"/>
|
||||
</exec>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<version>3.0.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.graphics</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
890
pom-graphics_compilePrismCompilers.xml
Normal file
890
pom-graphics_compilePrismCompilers.xml
Normal file
@ -0,0 +1,890 @@
|
||||
<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>
|
||||
<version>3.5.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr-runtime</artifactId>
|
||||
<version>3.5.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>ST4</artifactId>
|
||||
<version>4.0.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>stringtemplate</artifactId>
|
||||
<version>3.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>${project.basedir}/../src/main/jsl-prism</sourceDirectory>
|
||||
<outputDirectory>${project.basedir}/../build/classes/jsl-compilers/prism</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/../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>
|
||||
<source>1.8</source>
|
||||
<target>1.8</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>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/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/graphics/src/main/jsl-prism</argument>
|
||||
<argument>-o</argument>
|
||||
<argument>modules/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/graphics/src/main/jsl-prism/PaintTextureYV12.jsl</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
60
pom-graphics_compilePrismJavaShaders.xml
Normal file
60
pom-graphics_compilePrismJavaShaders.xml
Normal file
@ -0,0 +1,60 @@
|
||||
<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-shaders</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>javafx.graphics-prism-shaders</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</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>${project.basedir}/../build/gensrc/jsl-prism</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/../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>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<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/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>
|
||||
74
pom-graphics_libdecora.xml
Normal file
74
pom-graphics_libdecora.xml
Normal file
@ -0,0 +1,74 @@
|
||||
<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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<compilerProvider>generic-classic</compilerProvider>
|
||||
<compilerExecutable>gcc</compilerExecutable>
|
||||
<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>
|
||||
112
pom-graphics_libglass.xml
Normal file
112
pom-graphics_libglass.xml
Normal file
@ -0,0 +1,112 @@
|
||||
<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 -Werror</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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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/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/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>
|
||||
127
pom-graphics_libglassgtk2.xml
Normal file
127
pom-graphics_libglassgtk2.xml
Normal file
@ -0,0 +1,127 @@
|
||||
<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 -Werror -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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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/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/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>
|
||||
135
pom-graphics_libglassgtk3.xml
Normal file
135
pom-graphics_libglassgtk3.xml
Normal file
@ -0,0 +1,135 @@
|
||||
<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 -Werror</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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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/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>
|
||||
63
pom-graphics_libjavafx_font.xml
Normal file
63
pom-graphics_libjavafx_font.xml
Normal file
@ -0,0 +1,63 @@
|
||||
<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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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>
|
||||
69
pom-graphics_libjavafx_font_freetype.xml
Normal file
69
pom-graphics_libjavafx_font_freetype.xml
Normal file
@ -0,0 +1,69 @@
|
||||
<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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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>
|
||||
95
pom-graphics_libjavafx_font_pango.xml
Normal file
95
pom-graphics_libjavafx_font_pango.xml
Normal file
@ -0,0 +1,95 @@
|
||||
<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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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/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>
|
||||
63
pom-graphics_libjavafx_iio.xml
Normal file
63
pom-graphics_libjavafx_iio.xml
Normal file
@ -0,0 +1,63 @@
|
||||
<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 -c -ffunction-sections -fdata-sections -O2 -DNDEBUG</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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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>${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>
|
||||
62
pom-graphics_libprism_common.xml
Normal file
62
pom-graphics_libprism_common.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>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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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>
|
||||
72
pom-graphics_libprism_es2.xml
Normal file
72
pom-graphics_libprism_es2.xml
Normal file
@ -0,0 +1,72 @@
|
||||
<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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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>
|
||||
62
pom-graphics_libprism_sw.xml
Normal file
62
pom-graphics_libprism_sw.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>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>
|
||||
<version>1.0-alpha-6</version>
|
||||
<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>
|
||||
60
pom-jmx.xml
Normal file
60
pom-jmx.xml
Normal file
@ -0,0 +1,60 @@
|
||||
<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>jmx</name>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>jmx</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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.swing</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx-mx</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
60
pom-media.xml
Normal file
60
pom-media.xml
Normal file
@ -0,0 +1,60 @@
|
||||
<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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</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>
|
||||
31
pom-openjfx.xml
Normal file
31
pom-openjfx.xml
Normal file
@ -0,0 +1,31 @@
|
||||
<?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>buildSrc</module>
|
||||
<module>modules/base</module>
|
||||
<module>modules/graphics</module>
|
||||
<module>modules/controls</module>
|
||||
<module>modules/swing</module>
|
||||
<module>modules/swt</module>
|
||||
<module>modules/fxml</module>
|
||||
<module>modules/media</module>
|
||||
<module>modules/web</module>
|
||||
<module>modules/builders</module>
|
||||
<module>modules/fxpackager/native</module>
|
||||
<module>modules/fxpackager</module>
|
||||
<module>modules/fxpackager/so</module>
|
||||
<module>modules/jmx</module>
|
||||
<module>shade</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
58
pom-swing.xml
Normal file
58
pom-swing.xml
Normal file
@ -0,0 +1,58 @@
|
||||
<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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<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>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>javafx.swing</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
61
pom-swt.xml
Normal file
61
pom-swt.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>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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>org.eclipse.swt.gtk.linux.x86_64</artifactId>
|
||||
<version>4.3</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>jfxswt</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
84
pom-web.xml
Normal file
84
pom-web.xml
Normal file
@ -0,0 +1,84 @@
|
||||
<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>buildSrc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<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>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<compilerArgs>
|
||||
<arg>-bootclasspath</arg>
|
||||
<arg>${java.home}/lib/rt.jar</arg>
|
||||
<arg>-XDignore.symbol.file</arg>
|
||||
<arg>-XDuseUnsharedTable=true</arg>
|
||||
<arg>-proc:none</arg>
|
||||
<arg>-g:source,lines,vars</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>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<copy todir="src/main/java">
|
||||
<fileset dir="src/main/native/Source/WebCore/bindings/java/dom3/java"/>
|
||||
</copy>
|
||||
</tasks>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
31
settings.xml
Normal file
31
settings.xml
Normal file
@ -0,0 +1,31 @@
|
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||||
http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
<localRepository/>
|
||||
<interactiveMode/>
|
||||
<usePluginRegistry/>
|
||||
<offline/>
|
||||
<pluginGroups/>
|
||||
<servers/>
|
||||
<mirrors>
|
||||
<mirror>
|
||||
<id>repo1</id>
|
||||
<mirrorOf>central</mirrorOf>
|
||||
<name>central repo</name>
|
||||
<url>https://repo1.maven.org/maven2/</url>
|
||||
</mirror>
|
||||
</mirrors>
|
||||
<proxies/>
|
||||
<activeProfiles/>
|
||||
<profiles>
|
||||
<profile>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>MavenCentral</id>
|
||||
<url>http://repo1.maven.org/maven2/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
</settings>
|
||||
127
shade.xml
Normal file
127
shade.xml
Normal file
@ -0,0 +1,127 @@
|
||||
<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>shade</name>
|
||||
<artifactId>shade</artifactId>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<version>@RELEASE_VERSION@</version>
|
||||
<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.graphics-prism-shaders</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.graphics-decora-shaders</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.controls</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.swing</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.fxml</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.web</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>javafx.builders</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>org.openjfx:javafx.base</include>
|
||||
<include>org.openjfx:javafx.graphics</include>
|
||||
<include>org.openjfx:javafx.graphics-prism-shaders</include>
|
||||
<include>org.openjfx:javafx.graphics-decora-shaders</include>
|
||||
<include>org.openjfx:javafx.controls</include>
|
||||
<include>org.openjfx:javafx.swing</include>
|
||||
<include>org.openjfx:javafx.fxml</include>
|
||||
<include>org.openjfx:javafx.media</include>
|
||||
<include>org.openjfx:javafx.web</include>
|
||||
<include>org.openjfx:javafx.builders</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>org.openjfx:javafx.graphics-prism-shaders</artifact>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.cc</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
<filter>
|
||||
<artifact>org.openjfx:*</artifact>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
<exclude>**/*.cc</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
<filter>
|
||||
<artifact>org.openjfx:javafx.builders</artifact>
|
||||
<excludes>
|
||||
<exclude>**/CustomTransferBuilder.*</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>jfxrt</finalName>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
Loading…
x
Reference in New Issue
Block a user