Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ximi1970:Toolchains:AVR:latest:Staging
openjfx
openjfx-rpm-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openjfx-rpm-build.patch of Package openjfx
--- a/build.gradle +++ b/build.gradle @@ -336,7 +336,7 @@ defineProperty("JAVA", cygpathExe("$JDK_HOME/bin/java")) defineProperty("JAVAC", cygpathExe("$JDK_HOME/bin/javac")) defineProperty("JAVADOC", cygpathExe("$JDK_HOME/bin/javadoc")) defineProperty("JMOD", cygpathExe("$JDK_HOME/bin/jmod")) -defineProperty("JDK_DOCS", "https://docs.oracle.com/javase/10/docs/api/") +defineProperty("JDK_DOCS", "file:///usr/share/javadoc/java") defineProperty("JDK_JMODS", cygpath(System.getenv("JDK_JMODS")) ?: cygpath(System.getenv("JDK_HOME") + "/jmods")) defineProperty("javaRuntimeVersion", System.getProperty("java.runtime.version")) @@ -516,10 +516,10 @@ if (IS_MAC) { // // The following properties should be left alone by developers and set only from Hudson. -defineProperty("HUDSON_JOB_NAME", "not_hudson") +defineProperty("HUDSON_JOB_NAME", "whatever") defineProperty("HUDSON_BUILD_NUMBER","0000") defineProperty("PROMOTED_BUILD_NUMBER", "0") -defineProperty("MILESTONE_FCS", "false") +defineProperty("MILESTONE_FCS", "true") ext.IS_MILESTONE_FCS = Boolean.parseBoolean(MILESTONE_FCS) // The following properties define the product name for Oracle JDK and OpenJDK @@ -554,8 +554,10 @@ if (jfxReleasePatchVersion == "0") { defineProperty("RELEASE_VERSION", relVer) defineProperty("RELEASE_VERSION_PADDED", "${jfxReleaseMajorVersion}.${jfxReleaseMinorVersion}.${jfxReleaseSecurityVersion}.${jfxReleasePatchVersion}") -def buildDate = new java.util.Date() -def buildTimestamp = new java.text.SimpleDateFormat("yyyy-MM-dd-HHmmss").format(buildDate) +def buildDate = new java.util.Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) +def dateFormat = new java.text.SimpleDateFormat("yyyy-MM-dd-HHmmss") +dateFormat.setTimeZone(java.util.TimeZone.getTimeZone("UTC")) +def buildTimestamp = dateFormat.format(buildDate) defineProperty("BUILD_TIMESTAMP", buildTimestamp) def relSuffix = "" def relOpt = "" @@ -568,7 +570,7 @@ if (HUDSON_JOB_NAME == "not_hudson") { defineProperty("RELEASE_SUFFIX", relSuffix) defineProperty("RELEASE_VERSION_SHORT", "${RELEASE_VERSION}${RELEASE_SUFFIX}") defineProperty("RELEASE_VERSION_LONG", "${RELEASE_VERSION_SHORT}+${PROMOTED_BUILD_NUMBER}${relOpt}") -defineProperty("MAVEN_VERSION", IS_MILESTONE_FCS ? "${RELEASE_VERSION_SHORT}" : "${RELEASE_VERSION_LONG}") +defineProperty("MAVEN_VERSION", "${RELEASE_VERSION}") // Check whether the COMPILE_TARGETS property has been specified (if so, it was done by // the user and not by this script). If it has not been defined then default
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor