!23 I66VDG: update to openjfx-11.0.18+0

From: @jvmboy 
Reviewed-by: @stubCode 
Signed-off-by: @stubCode
This commit is contained in:
openeuler-ci-bot 2022-12-21 07:39:40 +00:00 committed by Gitee
commit c02b07f62b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 17 additions and 15 deletions

View File

@ -3,14 +3,14 @@
%global xmvn_bootstrap 0 %global xmvn_bootstrap 0
Name: openjfx Name: openjfx
Version: 11.0.3 Version: 11.0.18.0
Release: 6 Release: 1
Summary: Rich client application platform for Java Summary: Rich client application platform for Java
License: GPL v2 with exceptions and BSD License: GPL v2 with exceptions and BSD
URL: http://openjdk.java.net/projects/openjfx/ URL: http://openjdk.java.net/projects/openjfx/
Source0: hg.openjdk.java.net/openjfx/11/rt/archive/rt-11.0.3+1.tar.bz2 Source0: https://github.com/openjdk/jfx11u/archive/refs/tags/11.0.18+0.tar.gz
Source1: pom-base.xml Source1: pom-base.xml
Source2: pom-controls.xml Source2: pom-controls.xml
Source3: pom-fxml.xml Source3: pom-fxml.xml
@ -53,7 +53,7 @@ BuildRequires: ant
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libstdc++-static BuildRequires: libstdc++-static
BuildRequires: mvn(antlr:antlr) BuildRequires: mvn(org.antlr:antlr4-maven-plugin)
BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-2.0)
@ -82,7 +82,7 @@ Summary: OpenJFX development tools and libraries
%global debug_package %{nil} %global debug_package %{nil}
%prep %prep
%setup -q -n rt-11.0.3+1 %setup -q -n rt-11.0.18+0
#Drop *src/test folders #Drop *src/test folders
rm -rf modules/javafx.{base,controls,fxml,graphics,media,swing,swt,web}/src/test/ rm -rf modules/javafx.{base,controls,fxml,graphics,media,swing,swt,web}/src/test/
@ -130,7 +130,6 @@ export JAVA_HOME=%{_jvmdir}/java-11-openjdk
export CFLAGS="${RPM_OPT_FLAGS}" export CFLAGS="${RPM_OPT_FLAGS}"
export CXXFLAGS="${RPM_OPT_FLAGS}" export CXXFLAGS="${RPM_OPT_FLAGS}"
# %%mvn_build --skip-javadoc
mvn install --settings ./settings.xml mvn install --settings ./settings.xml
%install %install
@ -146,16 +145,19 @@ cp -a modules/javafx.graphics/mvn-lib{decora,javafx_font,javafx_font_freetype,ja
%license LICENSE %license LICENSE
%license ADDITIONAL_LICENSE_INFO %license ADDITIONAL_LICENSE_INFO
%license ASSEMBLY_EXCEPTION %license ASSEMBLY_EXCEPTION
%doc README %doc README.md
%files devel %files devel
%{openjfxdir}/ %{openjfxdir}/
%license LICENSE %license LICENSE
%license ADDITIONAL_LICENSE_INFO %license ADDITIONAL_LICENSE_INFO
%license ASSEMBLY_EXCEPTION %license ASSEMBLY_EXCEPTION
%doc README %doc README.md
%changelog %changelog
* Wed Dec 20 2022 Noah <hedongbo@huawei.com> - 11.0.18.0-1
- update to openjfx-11.0.18+0
* Wed Jul 21 2021 Noah <hedongbo@huawei.com> - 11.0.3-6 * Wed Jul 21 2021 Noah <hedongbo@huawei.com> - 11.0.3-6
- change maven repository to huawei cloud - change maven repository to huawei cloud

View File

@ -9,13 +9,13 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.antlr</groupId> <groupId>org.antlr</groupId>
<artifactId>antlr</artifactId> <artifactId>antlr4</artifactId>
<version>3.5.2</version> <version>4.7.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.antlr</groupId> <groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId> <artifactId>antlr4-runtime</artifactId>
<version>3.5.2</version> <version>4.7.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.antlr</groupId> <groupId>org.antlr</groupId>
@ -48,8 +48,8 @@
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.antlr</groupId> <groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId> <artifactId>antlr4-maven-plugin</artifactId>
<version>3.5.2</version> <version>4.7.2</version>
<configuration> <configuration>
<sourceDirectory>../src/main/antlr3</sourceDirectory> <sourceDirectory>../src/main/antlr3</sourceDirectory>
<outputDirectory>../build/gensrc/antlr</outputDirectory> <outputDirectory>../build/gensrc/antlr</outputDirectory>
@ -58,7 +58,7 @@
<execution> <execution>
<id>antlr</id> <id>antlr</id>
<goals> <goals>
<goal>antlr</goal> <goal>antlr4</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>