The package rpms/openjfx.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/openjfx.git/commit/?id=d43d45e481df7....
Change: -%ifarch s390 %{arm} %{ix86}
Thanks.
Full change: ============
commit d43d45e481df7cca5b46cd1a6e2d588cedc269e4 Author: Nicolas De Amicis deamicis@bluewin.ch Date: Mon Apr 27 10:21:47 2020 +0200
Replace gradle build with maven build. (FTBFS in Fedora F32 see bug 1799832)
diff --git a/0001-Change-SWT-and-Lucene.patch b/0001-Change-SWT-and-Lucene.patch deleted file mode 100644 index 7a0ec2f..0000000 --- a/0001-Change-SWT-and-Lucene.patch +++ /dev/null @@ -1,97 +0,0 @@ ---- rt-8u202-b02/build.gradle -+++ rt-8u202-b02-patched/build.gradle -@@ -1303,7 +1303,7 @@ - - dependencies { - compile project(":base"), BUILD_SRC -- compile name: SWT_FILE_NAME -+ compile group: "org.eclipse.swt", name: "swt", version: "3.108.0" - stubCompile group: "junit", name: "junit", version: "4.8.2", - project(":base").sourceSets.test.output, sourceSets.main.output - antlr3 group: "org.antlr", name: "antlr", version: "3.1.3" -@@ -1688,7 +1688,7 @@ - } - dependencies { - compile BUILD_SRC, project(":base"), project(":graphics") -- compile name: SWT_FILE_NAME -+ compile group: "org.eclipse.swt", name: "swt", version: "3.108.0" - } - } - -@@ -3268,38 +3268,38 @@ - // The apps build is Ant based, and gradle lets us "import" ant build.xml - // into our configuration. - -- ant.importBuild 'build.xml' -+ //ant.importBuild 'build.xml' - - // Download the Lucene libraries needed for the Ensemble8 app -- def luceneVersion = "7.4.0" -- getConfigurations().create("lucene"); -- dependencies { -- lucene group: "org.apache.lucene", name: "lucene-core", version: luceneVersion -- lucene group: "org.apache.lucene", name: "lucene-grouping", version: luceneVersion -- lucene group: "org.apache.lucene", name: "lucene-queryparser", version: luceneVersion -- } -+ //def luceneVersion = "7.4.0" -+ //getConfigurations().create("lucene"); -+ //dependencies { -+ // lucene group: "org.apache.lucene", name: "lucene-core", version: luceneVersion -+ // lucene group: "org.apache.lucene", name: "lucene-grouping", version: luceneVersion -+ // lucene group: "org.apache.lucene", name: "lucene-queryparser", version: luceneVersion -+ //} - - // Copy Lucene libraries into the Ensemble8/lib directory -- File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib"); -- def libNames = [ "lucene-core-${luceneVersion}.jar", -- "lucene-grouping-${luceneVersion}.jar", -- "lucene-queryparser-${luceneVersion}.jar" ] -- -- -- task getLucene(type: Copy) { -- doFirst { -- ensembleLibDir.mkdirs(); -- } -- into ensembleLibDir -- includeEmptyDirs = false -- configurations.lucene.files.each { f -> -- libNames.each { name -> -- if (name == f.getName()) { -- from f.getPath() -- } -- } -- } -- } -+ //File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib"); -+ //def libNames = [ "lucene-core-${luceneVersion}.jar", -+ // "lucene-grouping-${luceneVersion}.jar", -+ // "lucene-queryparser-${luceneVersion}.jar" ] -+ -+ -+ //task getLucene(type: Copy) { -+ // doFirst { -+ // ensembleLibDir.mkdirs(); -+ // } -+ // into ensembleLibDir -+ // includeEmptyDirs = false -+ // configurations.lucene.files.each { f -> -+ // libNames.each { name -> -+ // if (name == f.getName()) { -+ // from f.getPath() -+ // } -+ // } -+ // } -+ //} - - compileTargets { t -> - // The apps build is Ant based, and gradle lets us "import" ant apps/build.xml -@@ -3310,7 +3310,7 @@ - def jfxrtJar = "${rootProject.buildDir}/${sdkDirName}/rt/lib/ext/jfxrt.jar" - - def appsJar = project.task("appsJar${t.capital}") { -- dependsOn(sdk, getLucene) -+ dependsOn(sdk) - doLast() { - ant.properties['targetBld'] = "$t.name" - if (!rootProject.ext[t.upper].compileSwing) { - diff --git a/0002-Allow-build-to-work-on-newer-gradles.patch b/0002-Allow-build-to-work-on-newer-gradles.patch deleted file mode 100644 index 050ee23..0000000 --- a/0002-Allow-build-to-work-on-newer-gradles.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- rt-8u152-b05/buildSrc/build.gradle 2017-06-16 01:18:26.000000000 +0200 -+++ rt-8u152-b05-patched/buildSrc/build.gradle 2018-11-07 13:15:06.915893681 +0100 -@@ -57,6 +57,7 @@ - - - repositories { -+ xmvn() - if (buildClosed) { - ivy { - url jfxRepositoryURL diff --git a/0006-Drop-SWT-32bits-and-Lucene.patch b/0006-Drop-SWT-32bits-and-Lucene.patch deleted file mode 100644 index b40b5b7..0000000 --- a/0006-Drop-SWT-32bits-and-Lucene.patch +++ /dev/null @@ -1,97 +0,0 @@ ---- rt-8u202-b02/build.gradle -+++ rt-8u202-b02-patched/build.gradle -@@ -1303,7 +1303,7 @@ - - dependencies { - compile project(":base"), BUILD_SRC -- compile name: SWT_FILE_NAME -+ //compile group: "org.eclipse.swt", name: "swt", version: "3.108.0" - stubCompile group: "junit", name: "junit", version: "4.8.2", - project(":base").sourceSets.test.output, sourceSets.main.output - antlr3 group: "org.antlr", name: "antlr", version: "3.1.3" -@@ -1688,7 +1688,7 @@ - } - dependencies { - compile BUILD_SRC, project(":base"), project(":graphics") -- compile name: SWT_FILE_NAME -+ //compile group: "org.eclipse.swt", name: "swt", version: "3.108.0" - } - } - -@@ -3268,38 +3268,38 @@ - // The apps build is Ant based, and gradle lets us "import" ant build.xml - // into our configuration. - -- ant.importBuild 'build.xml' -+ //ant.importBuild 'build.xml' - - // Download the Lucene libraries needed for the Ensemble8 app -- def luceneVersion = "7.4.0" -- getConfigurations().create("lucene"); -- dependencies { -- lucene group: "org.apache.lucene", name: "lucene-core", version: luceneVersion -- lucene group: "org.apache.lucene", name: "lucene-grouping", version: luceneVersion -- lucene group: "org.apache.lucene", name: "lucene-queryparser", version: luceneVersion -- } -+ //def luceneVersion = "7.4.0" -+ //getConfigurations().create("lucene"); -+ //dependencies { -+ // lucene group: "org.apache.lucene", name: "lucene-core", version: luceneVersion -+ // lucene group: "org.apache.lucene", name: "lucene-grouping", version: luceneVersion -+ // lucene group: "org.apache.lucene", name: "lucene-queryparser", version: luceneVersion -+ //} - - // Copy Lucene libraries into the Ensemble8/lib directory -- File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib"); -- def libNames = [ "lucene-core-${luceneVersion}.jar", -- "lucene-grouping-${luceneVersion}.jar", -- "lucene-queryparser-${luceneVersion}.jar" ] -- -- -- task getLucene(type: Copy) { -- doFirst { -- ensembleLibDir.mkdirs(); -- } -- into ensembleLibDir -- includeEmptyDirs = false -- configurations.lucene.files.each { f -> -- libNames.each { name -> -- if (name == f.getName()) { -- from f.getPath() -- } -- } -- } -- } -+ //File ensembleLibDir = rootProject.file("apps/samples/Ensemble8/lib"); -+ //def libNames = [ "lucene-core-${luceneVersion}.jar", -+ // "lucene-grouping-${luceneVersion}.jar", -+ // "lucene-queryparser-${luceneVersion}.jar" ] -+ -+ -+ //task getLucene(type: Copy) { -+ // doFirst { -+ // ensembleLibDir.mkdirs(); -+ // } -+ // into ensembleLibDir -+ // includeEmptyDirs = false -+ // configurations.lucene.files.each { f -> -+ // libNames.each { name -> -+ // if (name == f.getName()) { -+ // from f.getPath() -+ // } -+ // } -+ // } -+ //} - - compileTargets { t -> - // The apps build is Ant based, and gradle lets us "import" ant apps/build.xml -@@ -3310,7 +3310,7 @@ - def jfxrtJar = "${rootProject.buildDir}/${sdkDirName}/rt/lib/ext/jfxrt.jar" - - def appsJar = project.task("appsJar${t.capital}") { -- dependsOn(sdk, getLucene) -+ dependsOn(sdk) - doLast() { - ant.properties['targetBld'] = "$t.name" - if (!rootProject.ext[t.upper].compileSwing) { - diff --git a/build.xml b/build.xml new file mode 100755 index 0000000..2aebd45 --- /dev/null +++ b/build.xml @@ -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="@RELEASE_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> diff --git a/buildSrc.xml b/buildSrc.xml new file mode 100644 index 0000000..ec74c1c --- /dev/null +++ b/buildSrc.xml @@ -0,0 +1,97 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd%22%3E + <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> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr-runtime</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>ST4</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>stringtemplate</artifactId> + </dependency> + <!--<dependency> + <groupId>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> + <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> diff --git a/fxpackager-native.xml b/fxpackager-native.xml new file mode 100644 index 0000000..0798e41 --- /dev/null +++ b/fxpackager-native.xml @@ -0,0 +1,48 @@ +<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%22%3E + <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> + <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> diff --git a/fxpackager-so.xml b/fxpackager-so.xml new file mode 100644 index 0000000..c2669cc --- /dev/null +++ b/fxpackager-so.xml @@ -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%22%3E + <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> diff --git a/openjfx.spec b/openjfx.spec index c78d24b..af50a7e 100644 --- a/openjfx.spec +++ b/openjfx.spec @@ -2,7 +2,7 @@
Name: openjfx Version: 8.0.202 -Release: 9.b07%{?dist} +Release: 10.b07%{?dist} Summary: Rich client application platform for Java
#fxpackager is BSD @@ -11,31 +11,63 @@ URL: http://openjdk.java.net/projects/openjfx/
Source0: http://hg.openjdk.java.net/openjfx/8u-dev/rt/archive/8u202-b07.tar.bz2 Source1: README.fedora +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: 0001-Change-SWT-and-Lucene.patch -Patch2: 0002-Allow-build-to-work-on-newer-gradles.patch -Patch3: 0003-fix-cast-between-incompatible-function-types.patch -Patch4: 0004-Fix-Compilation-Flags.patch -Patch5: 0005-fxpackager-extract-jre-accept-symlink.patch -Patch6: 0006-Drop-SWT-32bits-and-Lucene.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: %{ix86} x86_64 +ExclusiveArch: x86_64
Requires: java
-BuildRequires: gradle-local +BuildRequires: maven-local +BuildRequires: ant BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libstdc++-static +BuildRequires: mvn(org.eclipse.swt:swt) BuildRequires: mvn(antlr:antlr) -BuildRequires: mvn(junit:junit) -BuildRequires: mvn(org.antlr:antlr:3.1.3) +BuildRequires: mvn(org.antlr:antlr) BuildRequires: mvn(org.antlr:stringtemplate) BuildRequires: mvn(org.apache.ant:ant) -%ifarch s390x x86_64 aarch64 ppc64le -BuildRequires: mvn(org.eclipse.swt:swt) -%endif +BuildRequires: mvn(org.codehaus.mojo:native-maven-plugin) +BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-3.0) @@ -45,10 +77,6 @@ BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(gl)
-BuildRequires: bison -BuildRequires: flex -BuildRequires: gperf - %description JavaFX/OpenJFX is a set of graphics and media APIs that enables Java developers to design, create, test, debug, and deploy rich client @@ -64,79 +92,111 @@ Summary: OpenJFX development tools and libraries %description devel %{summary}.
-%package src -Requires: %{name}%{?_isa} = %{version}-%{release} -Summary: OpenJFX Source Bundle - -%description src -%{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 -%ifarch s390 %{arm} %{ix86} -%patch -P 6 -p1 -%else %patch1 -p1 -%endif %patch2 -p1 %patch3 -p1 -%patch4 -p1 -%patch5 -p1
cp %{SOURCE1} .
-cat > gradle.properties << EOF -COMPILE_WEBKIT = false -COMPILE_MEDIA = false -%ifarch s390 %{arm} %{ix86} -COMPILE_SWT = false -%endif -BUILD_JAVADOC = true -BUILD_SRC_ZIP = true -GRADLE_VERSION_CHECK = false -CONF = DebugNative -EOF +#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
-#Bundled libraries -rm -rf modules/media/src/main/native/gstreamer/3rd_party/glib -rm -rf modules/media/src/main/native/gstreamer/gstreamer-lite +#copy maven files +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
-#Drop SWT for 32 bits build -%ifarch s390 %{arm} %{ix86} -rm -rf modules/swt -rm -rf modules/graphics/src/main/java/com/sun/glass/ui/swt -rm -rf modules/builders/src/main/java/javafx/embed/swt -%endif +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 -#Tests do not run by default, tests in web fails and one test in graphics fail: -#UnsatisfiedLinkError: libjavafx_iio.so: undefined symbol: jpeg_resync_to_restart -gradle-local --no-daemon --offline + +#set openjdk8 for build +export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk +%mvn_build
%install install -d -m 755 %{buildroot}%{openjfxdir} -cp -a build/sdk/{bin,lib,rt} %{buildroot}%{openjfxdir} +mkdir -p %{buildroot}%{openjfxdir}/bin +mkdir -p %{buildroot}%{openjfxdir}/lib +mkdir -p %{buildroot}%{openjfxdir}/rt/lib/{amd64,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/amd64 +cp -a modules/graphics/libglass/target/libglass.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libglassgtk2/target/libglassgtk2.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libglassgtk3/target/libglassgtk3.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libjavafx_font/target/libjavafx_font.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libjavafx_font_freetype/target/libjavafx_font_freetype.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libjavafx_font_pango/target/libjavafx_font_pango.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libjavafx_iio/target/libjavafx_iio.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libprism_common/target/libprism_common.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libprism_es2/target/libprism_es2.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +cp -a modules/graphics/libprism_sw/target/libprism_sw.so %{buildroot}%{openjfxdir}/rt/lib/amd64 +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 build/sdk/man/man1/* %{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 build/sdk/man/ja_JP.UTF-8/man1/* %{buildroot}%{_mandir}/ja_JP/man1 - -install -m 644 build/sdk/javafx-src.zip %{buildroot}%{openjfxdir}/javafx-src.zip +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 build/sdk/docs/api/. %{buildroot}%{_javadocdir}/%{name} +cp -a target/site/apidocs/. %{buildroot}%{_javadocdir}/%{name}
mkdir -p %{buildroot}%{_bindir} ln -s %{openjfxdir}/bin/javafxpackager %{buildroot}%{_bindir} @@ -162,14 +222,14 @@ ln -s %{openjfxdir}/bin/javapackager %{buildroot}%{_bindir} %doc README %doc README.fedora
-%files src -%{openjfxdir}/javafx-src.zip - %files javadoc %{_javadocdir}/%{name} %license LICENSE
%changelog +* Wed Feb 12 2020 Nicolas De Amicis deamicis@bluewin.ch - 8.0.202-10.b07 +- Replace gradle build with maven build + * Wed Jan 29 2020 Fedora Release Engineering releng@fedoraproject.org - 8.0.202-9.b07 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/pom-base.xml b/pom-base.xml new file mode 100644 index 0000000..a15234c --- /dev/null +++ b/pom-base.xml @@ -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%22%3E + <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> diff --git a/pom-builders.xml b/pom-builders.xml new file mode 100644 index 0000000..fe27baa --- /dev/null +++ b/pom-builders.xml @@ -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%22%3E + <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> diff --git a/pom-controls.xml b/pom-controls.xml new file mode 100644 index 0000000..5f7e16b --- /dev/null +++ b/pom-controls.xml @@ -0,0 +1,272 @@ +<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%22%3E + <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> + <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> diff --git a/pom-fxml.xml b/pom-fxml.xml new file mode 100644 index 0000000..ba85625 --- /dev/null +++ b/pom-fxml.xml @@ -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%22%3E + <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> diff --git a/pom-fxpackager.xml b/pom-fxpackager.xml new file mode 100644 index 0000000..e256f0a --- /dev/null +++ b/pom-fxpackager.xml @@ -0,0 +1,94 @@ +<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%22%3E + <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> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-launcher</artifactId> + </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> diff --git a/pom-graphics.xml b/pom-graphics.xml new file mode 100644 index 0000000..626095b --- /dev/null +++ b/pom-graphics.xml @@ -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%22%3E + <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> diff --git a/pom-graphics_compileDecoraCompilers.xml b/pom-graphics_compileDecoraCompilers.xml new file mode 100644 index 0000000..07df81b --- /dev/null +++ b/pom-graphics_compileDecoraCompilers.xml @@ -0,0 +1,329 @@ +<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%22%3E + <modelVersion>4.0.0</modelVersion> + <name>javafx.graphics-decora</name> + <packaging>jar</packaging> + <artifactId>javafx.graphics-decora</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <dependencies> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr-runtime</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>ST4</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>stringtemplate</artifactId> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>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> + <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> diff --git a/pom-graphics_compileDecoraJavaShaders.xml b/pom-graphics_compileDecoraJavaShaders.xml new file mode 100644 index 0000000..54ae43f --- /dev/null +++ b/pom-graphics_compileDecoraJavaShaders.xml @@ -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%22%3E + <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> diff --git a/pom-graphics_compileJava.xml b/pom-graphics_compileJava.xml new file mode 100644 index 0000000..595cfbc --- /dev/null +++ b/pom-graphics_compileJava.xml @@ -0,0 +1,101 @@ +<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%22%3E + <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>swt</artifactId> + </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> + </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <finalName>javafx.graphics</finalName> + </configuration> + </plugin> + </plugins> + </build> + +</project> diff --git a/pom-graphics_compilePrismCompilers.xml b/pom-graphics_compilePrismCompilers.xml new file mode 100644 index 0000000..a5a7301 --- /dev/null +++ b/pom-graphics_compilePrismCompilers.xml @@ -0,0 +1,885 @@ +<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%22%3E + <modelVersion>4.0.0</modelVersion> + <name>javafx.graphics-prism</name> + <packaging>jar</packaging> + <artifactId>javafx.graphics-prism</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <dependencies> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr-runtime</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>ST4</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>stringtemplate</artifactId> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>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> + <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> diff --git a/pom-graphics_compilePrismJavaShaders.xml b/pom-graphics_compilePrismJavaShaders.xml new file mode 100644 index 0000000..2d08358 --- /dev/null +++ b/pom-graphics_compilePrismJavaShaders.xml @@ -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%22%3E + <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> diff --git a/pom-graphics_libdecora.xml b/pom-graphics_libdecora.xml new file mode 100644 index 0000000..a691913 --- /dev/null +++ b/pom-graphics_libdecora.xml @@ -0,0 +1,73 @@ +<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%22%3E + <modelVersion>4.0.0</modelVersion> + <name>libdecora_sse</name> + <packaging>so</packaging> + <artifactId>libdecora_sse</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -ffast-math</commonCompilerOptions> + <native.gen.dir>../build/gensrc/jsl-decora</native.gen.dir> + <native.source.dir>../src/main/native-decora</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <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> diff --git a/pom-graphics_libglass.xml b/pom-graphics_libglass.xml new file mode 100644 index 0000000..41ed511 --- /dev/null +++ b/pom-graphics_libglass.xml @@ -0,0 +1,111 @@ +<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%22%3E + <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> + <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> diff --git a/pom-graphics_libglassgtk2.xml b/pom-graphics_libglassgtk2.xml new file mode 100644 index 0000000..cfa8679 --- /dev/null +++ b/pom-graphics_libglassgtk2.xml @@ -0,0 +1,126 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd%22%3E + <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> + <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> diff --git a/pom-graphics_libglassgtk3.xml b/pom-graphics_libglassgtk3.xml new file mode 100644 index 0000000..25be42e --- /dev/null +++ b/pom-graphics_libglassgtk3.xml @@ -0,0 +1,134 @@ +<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%22%3E + <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> + <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> diff --git a/pom-graphics_libjavafx_font.xml b/pom-graphics_libjavafx_font.xml new file mode 100644 index 0000000..7d7c5f1 --- /dev/null +++ b/pom-graphics_libjavafx_font.xml @@ -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%22%3E + <modelVersion>4.0.0</modelVersion> + <name>libjavafx_font</name> + <packaging>so</packaging> + <artifactId>libjavafx_font</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG</commonCompilerOptions> + <native.source.dir>../src/main/native-font</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <compilerStartOptions> + <compilerStartOption>${commonCompilerOptions}</compilerStartOption> + </compilerStartOptions> + <sources> + <source> + <directory>${native.source.dir}</directory> + <includes> + <include>**/*.c</include> + <include>**/*.cpp</include> + </includes> + </source> + <source> + <directory>${JAVA_HOME}/include</directory> + </source> + <source> + <directory>${JAVA_HOME}/include/linux</directory> + </source> + <source> + <directory>../build/gensrc/headers</directory> + </source> + </sources> + <linkerStartOptions> + <linkerStartOption>-static-libgcc</linkerStartOption> + <linkerStartOption>-static-libstdc++</linkerStartOption> + <linkerStartOption>-shared</linkerStartOption> + <linkerStartOption>-fno-strict-aliasing</linkerStartOption> + <linkerStartOption>-fPIC</linkerStartOption> + <linkerStartOption>-fno-omit-frame-pointer</linkerStartOption> + <linkerStartOption>-fstack-protector</linkerStartOption> + <linkerStartOption>-Wextra</linkerStartOption> + <linkerStartOption>-Wall</linkerStartOption> + <linkerStartOption>-Wformat-security</linkerStartOption> + <linkerStartOption>-Wno-unused</linkerStartOption> + <linkerStartOption>-Wno-parentheses</linkerStartOption> + <linkerStartOption>-z</linkerStartOption> + <linkerStartOption>relro</linkerStartOption> + <linkerStartOption>-Wl,--gc-sections</linkerStartOption> + </linkerStartOptions> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/pom-graphics_libjavafx_font_freetype.xml b/pom-graphics_libjavafx_font_freetype.xml new file mode 100644 index 0000000..7614b4c --- /dev/null +++ b/pom-graphics_libjavafx_font_freetype.xml @@ -0,0 +1,68 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd%22%3E + <modelVersion>4.0.0</modelVersion> + <name>libjavafx_font_freetype</name> + <packaging>so</packaging> + <artifactId>libjavafx_font_freetype</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -D_ENABLE_PANGO</commonCompilerOptions> + <native.source.dir>../src/main/native-font</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <compilerStartOptions> + <compilerStartOption>${commonCompilerOptions}</compilerStartOption> + </compilerStartOptions> + <sources> + <source> + <directory>${native.source.dir}</directory> + <includes> + <include>**/freetype.c</include> + </includes> + </source> + <source> + <directory>${JAVA_HOME}/include</directory> + </source> + <source> + <directory>${JAVA_HOME}/include/linux</directory> + </source> + <source> + <directory>../build/gensrc/headers</directory> + </source> + <source> + <directory>/usr/include/freetype2</directory> + </source> + <source> + <directory>/usr/include/libpng16</directory> + </source> + </sources> + <linkerStartOptions> + <linkerStartOption>-static-libgcc</linkerStartOption> + <linkerStartOption>-static-libstdc++</linkerStartOption> + <linkerStartOption>-shared</linkerStartOption> + <linkerStartOption>-fno-strict-aliasing</linkerStartOption> + <linkerStartOption>-fPIC</linkerStartOption> + <linkerStartOption>-fno-omit-frame-pointer</linkerStartOption> + <linkerStartOption>-fstack-protector</linkerStartOption> + <linkerStartOption>-Wextra</linkerStartOption> + <linkerStartOption>-Wall</linkerStartOption> + <linkerStartOption>-Wformat-security</linkerStartOption> + <linkerStartOption>-Wno-unused</linkerStartOption> + <linkerStartOption>-Wno-parentheses</linkerStartOption> + <linkerStartOption>-z</linkerStartOption> + <linkerStartOption>relro</linkerStartOption> + <linkerStartOption>-Wl,--gc-sections</linkerStartOption> + <linkerStartOption>-lfreetype</linkerStartOption> + </linkerStartOptions> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/pom-graphics_libjavafx_font_pango.xml b/pom-graphics_libjavafx_font_pango.xml new file mode 100644 index 0000000..e825a18 --- /dev/null +++ b/pom-graphics_libjavafx_font_pango.xml @@ -0,0 +1,94 @@ +<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%22%3E + <modelVersion>4.0.0</modelVersion> + <name>libjavafx_font_pango</name> + <packaging>so</packaging> + <artifactId>libjavafx_font_pango</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -D_ENABLE_PANGO</commonCompilerOptions> + <native.source.dir>../src/main/native-font</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <compilerStartOptions> + <compilerStartOption>${commonCompilerOptions}</compilerStartOption> + </compilerStartOptions> + <sources> + <source> + <directory>${native.source.dir}</directory> + <includes> + <include>**/pango.c</include> + </includes> + </source> + <source> + <directory>${JAVA_HOME}/include</directory> + </source> + <source> + <directory>${JAVA_HOME}/include/linux</directory> + </source> + <source> + <directory>../build/gensrc/headers</directory> + </source> + <source> + <directory>/usr/include/freetype2</directory> + </source> + <source> + <directory>/usr/include/libpng16</directory> + </source> + <source> + <directory>/usr/include/pango-1.0</directory> + </source> + <source> + <directory>/usr/include/glib-2.0</directory> + </source> + <source> + <directory>/usr/lib64/glib-2.0/include</directory> + </source> + <source> + <directory>/usr/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> diff --git a/pom-graphics_libjavafx_iio.xml b/pom-graphics_libjavafx_iio.xml new file mode 100644 index 0000000..620fbc1 --- /dev/null +++ b/pom-graphics_libjavafx_iio.xml @@ -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%22%3E + <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> + <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> diff --git a/pom-graphics_libprism_common.xml b/pom-graphics_libprism_common.xml new file mode 100644 index 0000000..eb9b5d7 --- /dev/null +++ b/pom-graphics_libprism_common.xml @@ -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%22%3E + <modelVersion>4.0.0</modelVersion> + <name>libprism_common</name> + <packaging>so</packaging> + <artifactId>libprism_common</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -DINLINE=inline</commonCompilerOptions> + <native.source.dir>../src/main/native-prism</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <compilerStartOptions> + <compilerStartOption>${commonCompilerOptions}</compilerStartOption> + </compilerStartOptions> + <sources> + <source> + <directory>${native.source.dir}</directory> + <includes> + <include>**/*.c</include> + </includes> + </source> + <source> + <directory>${JAVA_HOME}/include</directory> + </source> + <source> + <directory>${JAVA_HOME}/include/linux</directory> + </source> + <source> + <directory>../build/gensrc/headers</directory> + </source> + </sources> + <linkerStartOptions> + <linkerStartOption>-static-libgcc</linkerStartOption> + <linkerStartOption>-static-libstdc++</linkerStartOption> + <linkerStartOption>-shared</linkerStartOption> + <linkerStartOption>-fno-strict-aliasing</linkerStartOption> + <linkerStartOption>-fPIC</linkerStartOption> + <linkerStartOption>-fno-omit-frame-pointer</linkerStartOption> + <linkerStartOption>-fstack-protector</linkerStartOption> + <linkerStartOption>-Wextra</linkerStartOption> + <linkerStartOption>-Wall</linkerStartOption> + <linkerStartOption>-Wformat-security</linkerStartOption> + <linkerStartOption>-Wno-unused</linkerStartOption> + <linkerStartOption>-Wno-parentheses</linkerStartOption> + <linkerStartOption>-z</linkerStartOption> + <linkerStartOption>relro</linkerStartOption> + <linkerStartOption>-Wl,--gc-sections</linkerStartOption> + </linkerStartOptions> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/pom-graphics_libprism_es2.xml b/pom-graphics_libprism_es2.xml new file mode 100644 index 0000000..977c763 --- /dev/null +++ b/pom-graphics_libprism_es2.xml @@ -0,0 +1,71 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd%22%3E + <modelVersion>4.0.0</modelVersion> + <name>libprism_es2</name> + <packaging>so</packaging> + <artifactId>libprism_es2</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-DLINUX -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG</commonCompilerOptions> + <native.source.dir>../src/main/native-prism-es2</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <compilerStartOptions> + <compilerStartOption>${commonCompilerOptions}</compilerStartOption> + </compilerStartOptions> + <sources> + <source> + <directory>${native.source.dir}</directory> + <includes> + <include>*.c</include> + <include>x11/X11GLDrawable.c</include> + <include>x11/X11GLContext.c</include> + <include>x11/X11GLPixelFormat.c</include> + <include>x11/X11GLFactory.c</include> + </includes> + </source> + <source> + <directory>${JAVA_HOME}/include</directory> + </source> + <source> + <directory>${JAVA_HOME}/include/linux</directory> + </source> + <source> + <directory>../build/gensrc/headers</directory> + </source> + <source> + <directory>${native.source.dir}/GL</directory> + </source> + </sources> + <linkerStartOptions> + <linkerStartOption>-static-libgcc</linkerStartOption> + <linkerStartOption>-static-libstdc++</linkerStartOption> + <linkerStartOption>-shared</linkerStartOption> + <linkerStartOption>-fno-strict-aliasing</linkerStartOption> + <linkerStartOption>-fPIC</linkerStartOption> + <linkerStartOption>-fno-omit-frame-pointer</linkerStartOption> + <linkerStartOption>-fstack-protector</linkerStartOption> + <linkerStartOption>-Wextra</linkerStartOption> + <linkerStartOption>-Wall</linkerStartOption> + <linkerStartOption>-Wformat-security</linkerStartOption> + <linkerStartOption>-Wno-unused</linkerStartOption> + <linkerStartOption>-Wno-parentheses</linkerStartOption> + <linkerStartOption>-z</linkerStartOption> + <linkerStartOption>relro</linkerStartOption> + <linkerStartOption>-Wl,--gc-sections</linkerStartOption> + <linkerStartOption>-lX11</linkerStartOption> + <linkerStartOption>-lXxf86vm</linkerStartOption> + <linkerStartOption>-lGL</linkerStartOption> + </linkerStartOptions> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/pom-graphics_libprism_sw.xml b/pom-graphics_libprism_sw.xml new file mode 100644 index 0000000..29192ed --- /dev/null +++ b/pom-graphics_libprism_sw.xml @@ -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%22%3E + <modelVersion>4.0.0</modelVersion> + <name>libprism_sw</name> + <packaging>so</packaging> + <artifactId>libprism_sw</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -DINLINE=inline</commonCompilerOptions> + <native.source.dir>../src/main/native-prism-sw</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <compilerStartOptions> + <compilerStartOption>${commonCompilerOptions}</compilerStartOption> + </compilerStartOptions> + <sources> + <source> + <directory>${native.source.dir}</directory> + <includes> + <include>**/*.c</include> + </includes> + </source> + <source> + <directory>${JAVA_HOME}/include</directory> + </source> + <source> + <directory>${JAVA_HOME}/include/linux</directory> + </source> + <source> + <directory>../build/gensrc/headers</directory> + </source> + </sources> + <linkerStartOptions> + <linkerStartOption>-static-libgcc</linkerStartOption> + <linkerStartOption>-static-libstdc++</linkerStartOption> + <linkerStartOption>-shared</linkerStartOption> + <linkerStartOption>-fno-strict-aliasing</linkerStartOption> + <linkerStartOption>-fPIC</linkerStartOption> + <linkerStartOption>-fno-omit-frame-pointer</linkerStartOption> + <linkerStartOption>-fstack-protector</linkerStartOption> + <linkerStartOption>-Wextra</linkerStartOption> + <linkerStartOption>-Wall</linkerStartOption> + <linkerStartOption>-Wformat-security</linkerStartOption> + <linkerStartOption>-Wno-unused</linkerStartOption> + <linkerStartOption>-Wno-parentheses</linkerStartOption> + <linkerStartOption>-z</linkerStartOption> + <linkerStartOption>relro</linkerStartOption> + <linkerStartOption>-Wl,--gc-sections</linkerStartOption> + </linkerStartOptions> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/pom-jmx.xml b/pom-jmx.xml new file mode 100644 index 0000000..8b3490c --- /dev/null +++ b/pom-jmx.xml @@ -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%22%3E + <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> diff --git a/pom-media.xml b/pom-media.xml new file mode 100644 index 0000000..17bd170 --- /dev/null +++ b/pom-media.xml @@ -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%22%3E + <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> diff --git a/pom-openjfx.xml b/pom-openjfx.xml new file mode 100644 index 0000000..c2b0786 --- /dev/null +++ b/pom-openjfx.xml @@ -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%22%3E + <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> diff --git a/pom-swing.xml b/pom-swing.xml new file mode 100644 index 0000000..ec40820 --- /dev/null +++ b/pom-swing.xml @@ -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%22%3E + <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> diff --git a/pom-swt.xml b/pom-swt.xml new file mode 100644 index 0000000..6e73f81 --- /dev/null +++ b/pom-swt.xml @@ -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%22%3E + <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>swt</artifactId> + </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> diff --git a/pom-web.xml b/pom-web.xml new file mode 100644 index 0000000..8fbb5e8 --- /dev/null +++ b/pom-web.xml @@ -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%22%3E + <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> diff --git a/shade.xml b/shade.xml new file mode 100644 index 0000000..ee40e4c --- /dev/null +++ b/shade.xml @@ -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%22%3E + <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>
arch-excludes@lists.fedoraproject.org