File: disable_git_call.diff

package info (click to toggle)
libjogl2-java 2.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,484 kB
  • sloc: java: 257,713; ansic: 86,782; xml: 7,914; objc: 4,880; sh: 3,033; cpp: 139; makefile: 50; awk: 46; perl: 27
file content (27 lines) | stat: -rw-r--r-- 1,404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: not calling git as part of the build process
Author: Sylvestre Ledru <sylvestre@debian.org>
Forwarded: not-needed
Last-Update: 2023-04-17

--- a/make/build-common.xml
+++ b/make/build-common.xml
@@ -82,19 +82,7 @@
         <property name="jogl.build.number" value="manual"/>
         <property name="jogl.build.id"     value="${version.timestamp}"/>
         <mkdir dir="${tempdir}" />
-        <exec dir="." executable="git" logError="true" failonerror="false" failifexecutionfails="false"
-                  output="${tempdir}/localbranch.raw">
-            <arg line="branch --no-color"/>
-        </exec>
-        <exec dir="." executable="sed" logError="true" failonerror="false" failifexecutionfails="false"
-                  outputproperty="jogl.build.branch">
-            <arg line="-e '/^[^*]/d' -e 's/* \(.*\)/\1/' ${tempdir}/localbranch.raw"/>
-        </exec>
         <property name="jogl.build.branch" value="manual"/> <!-- fallback -->
-        <exec dir="${project.root}" executable="git" logError="true" failonerror="false" failifexecutionfails="false"
-                  outputproperty="jogl.build.commit">
-            <arg line="rev-parse HEAD"/>
-        </exec>
         <property name="jogl.build.commit" value="manual"/> <!-- fallback -->
 
         <property name="jogl.version"         value="${jogamp.version.base}-b${jogl.build.number}-${version.timestamp}" />