Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tycho to version 1.6.0 / rev 12 via SR 1110990
https://build.opensuse.org/request/show/1110990 by user fstrba + anag+factory more reproducibility stuff
- Loading branch information
1 parent
53524f5
commit ce24ff2
Showing
6 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff -urEbwB org.eclipse.tycho-tycho-1.6.0.orig/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/DefaultBuildTimestampProvider.java org.eclipse.tycho-tycho-1.6.0/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/DefaultBuildTimestampProvider.java | ||
--- org.eclipse.tycho-tycho-1.6.0.orig/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/DefaultBuildTimestampProvider.java 2023-09-05 17:53:07.666513409 +0200 | ||
+++ org.eclipse.tycho-tycho-1.6.0/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/DefaultBuildTimestampProvider.java 2023-09-14 06:14:27.034252611 +0200 | ||
@@ -28,6 +28,9 @@ | ||
|
||
@Override | ||
public Date getTimestamp(MavenSession session, MavenProject project, MojoExecution execution) { | ||
+ if (System.getenv("SOURCE_DATE_EPOCH") != null) { | ||
+ return new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); | ||
+ } | ||
return session.getStartTime(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/tycho-compiler-jdt/src/main/java/org/eclipse/tycho/compiler/jdt/JDTCompiler.java | ||
+++ b/tycho-compiler-jdt/src/main/java/org/eclipse/tycho/compiler/jdt/JDTCompiler.java | ||
@@ -617,4 +617,8 @@ private void checkCompilerArgs(Collection<Map.Entry<String, String>> argEntries, | ||
|
||
} | ||
|
||
+ public String getCompilerId() { | ||
+ return "tycho-jdt"; | ||
+ } | ||
+ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters