Files
gentoo/dev-java/gwt/files/gwt-2.9.0-remove-git-usage.patch
Wolfgang E. Sanyer cc67cd13dc dev-java/gwt: bump to 2.9.0
This resolves the two bugs references below, but does not close them
since they still exist in the older version of this ebuild.

Bug: https://bugs.gentoo.org/762619
Bug: https://bugs.gentoo.org/716220
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20222
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
2021-06-11 11:51:07 +02:00

27 lines
1.3 KiB
Diff

# This git stuff in the ant configs is useful during development, since it does
# something or other withe git revision and sets some sort of sentinel file.
# Since this package is for a release, we don't need it.
--- a/common.ant.xml
+++ b/common.ant.xml
@@ -277,16 +277,16 @@
<macrodef name="gwt.getgitinfo" description="Identifies the GIT info of a workspace">
<sequential>
- <exec executable="git" searchpath="true" outputproperty="gwt.gitrev">
- <arg line="rev-parse --short HEAD"/>
- </exec>
+ <!-- <exec executable="git" searchpath="true" outputproperty="gwt.gitrev"> -->
+ <!-- <arg line="rev-parse - -short HEAD"/> -->
+ <!-- </exec> -->
<!-- Generally, filtering requires a sentinel file so that changes to git rev will
be noticed as invalidating the previously-generated filter output. This property
names where such a sentinel lives; it is tested with <available/> and created
with <touch/> -->
<mkdir dir="${project.build}/sentinels"/>
<property name="filter.sentinel"
- location="${project.build}/sentinels/gwt-${gwt.version}-git-${gwt.gitrev}"/>
+ location="${project.build}/sentinels/gwt-${gwt.version}"/>
</sequential>
</macrodef>