Compare commits

..

No commits in common. "32a51c9e25689dd0cba095487e57a354f979d93c" and "dd4e77d9d9a93a6fc5f38d296e76d37f4323f1fe" have entirely different histories.

5 changed files with 23 additions and 29 deletions

Binary file not shown.

View File

@ -8,16 +8,10 @@
%else %else
%global arch aarch64 %global arch aarch64
%endif %endif
%ifarch ppc64le
%global arch ppc64le
%endif
%ifarch loongarch64
%global arch loongarch64
%endif
Name: openjfx8 Name: openjfx8
Version: 8u370 Version: 8u352
Release: 4 Release: 1
Summary: Rich client application platform for Java Summary: Rich client application platform for Java
#fxpackager is BSD #fxpackager is BSD
@ -59,10 +53,11 @@ Source31: build.xml
Source32: buildSrc.xml Source32: buildSrc.xml
Source33: fxpackager-native.xml Source33: fxpackager-native.xml
Source34: fxpackager-so.xml Source34: fxpackager-so.xml
Source35: settings.xml
Patch0: 0000-Fix-wait-call-in-PosixPlatform.patch Patch0: 0000-Fix-wait-call-in-PosixPlatform.patch
ExclusiveArch: x86_64 aarch64 ppc64le loongarch64 ExclusiveArch: x86_64 aarch64
Requires: java-1.8.0-openjdk Requires: java-1.8.0-openjdk
@ -131,6 +126,7 @@ find -name '*.class' -delete
find -name '*.jar' -delete find -name '*.jar' -delete
#copy maven files #copy maven files
cp -a %{_sourcedir}/settings.xml .
cp -a %{_sourcedir}/pom-*.xml . cp -a %{_sourcedir}/pom-*.xml .
mv pom-openjfx.xml pom.xml mv pom-openjfx.xml pom.xml
@ -167,7 +163,7 @@ ant -f build.xml
#set openjdk8 for build #set openjdk8 for build
export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk
# %%mvn_build # %%mvn_build
mvn install mvn install --settings ./settings.xml
%install %install
install -d -m 755 %{buildroot}%{openjfxdir} install -d -m 755 %{buildroot}%{openjfxdir}
@ -232,21 +228,6 @@ ln -s %{openjfxdir}/bin/javapackager %{buildroot}%{_bindir}
%license LICENSE %license LICENSE
%changelog %changelog
* Tue Nov 5 2024 xieguangyao00 <xieguangyao@inspur.com> - 8u370-4
- del settings.xml from source
* Tue Jun 04 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 8u370-3
- add loongarch64 support for openjfx8
* Fri Mar 8 2024 Ren Zhijie <zhijie.ren@shingroup.cn> - 8u370.2
- Add support for ppc64le
* Tue Jun 20 2023 DXwangg <wangjiawei80@huawei.com> - 8u370.1
- update 8u353.tar.gz to 8u370.tar.gz
* Wed Dec 12 2022 douyiwang <douyiwang@huawei.com> - 8u353.1
- update 8u352.tar.bz to 8u353.tar.gz
* Wed Dec 7 2022 douyiwang <douyiwang@huawei.com> - 8u352.1 * Wed Dec 7 2022 douyiwang <douyiwang@huawei.com> - 8u352.1
- update 8u340.tar.bz to 8u352.tar.gz - update 8u340.tar.bz to 8u352.tar.gz

View File

@ -78,7 +78,7 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<target> <tasks>
<move todir="target/classes/resources/classes/com/javafx/main"> <move todir="target/classes/resources/classes/com/javafx/main">
<fileset dir="target/classes/com/javafx/main"/> <fileset dir="target/classes/com/javafx/main"/>
</move> </move>
@ -87,7 +87,7 @@
<fileset dir="native/target"/> <fileset dir="native/target"/>
<globmapper from="JavaAppLauncher.uexe" to="JavaAppLauncher"/> <globmapper from="JavaAppLauncher.uexe" to="JavaAppLauncher"/>
</copy> </copy>
</target> </tasks>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -71,11 +71,11 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<target> <tasks>
<copy todir="src/main/java"> <copy todir="src/main/java">
<fileset dir="src/main/native/Source/WebCore/bindings/java/dom3/java"/> <fileset dir="src/main/native/Source/WebCore/bindings/java/dom3/java"/>
</copy> </copy>
</target> </tasks>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

13
settings.xml Normal file
View File

@ -0,0 +1,13 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>huaweicloud</id>
<mirrorOf>central</mirrorOf>
<name>central repo</name>
<url>https://repo.huaweicloud.com/repository/maven/</url>
</mirror>
</mirrors>
</settings>