-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmms2-0.7DrNo-moresaneversioning.patch
36 lines (32 loc) · 1.38 KB
/
xmms2-0.7DrNo-moresaneversioning.patch
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
28
29
30
31
32
33
34
35
36
diff -up xmms2-0.7DrNo/wscript.versionsanity xmms2-0.7DrNo/wscript
--- xmms2-0.7DrNo/wscript.versionsanity 2010-04-13 17:50:25.000000000 -0400
+++ xmms2-0.7DrNo/wscript 2010-04-13 17:51:34.272674113 -0400
@@ -23,7 +23,7 @@ import Build
import Configure
from logging import fatal, warning
-BASEVERSION="0.7 DrNo"
+BASEVERSION="0.7"
APPNAME='xmms2'
srcdir='.'
@@ -266,14 +266,15 @@ def configure(conf):
nam,changed = gittools.get_info()
conf.check_message("git commit id", "", True, nam)
- if Options.options.customversion:
- conf.env["VERSION"] = BASEVERSION + " (%s + %s)" % (nam, Options.options.customversion)
- else:
- dirty=""
- if changed:
- dirty="-dirty"
- conf.check_message("uncommitted changes", "", bool(changed))
- conf.env["VERSION"] = BASEVERSION + " (git commit: %s%s)" % (nam, dirty)
+ ## if Options.options.customversion:
+ ## conf.env["VERSION"] = BASEVERSION + " (%s + %s)" % (nam, Options.options.customversion)
+ ## else:
+ ## dirty=""
+ ## if changed:
+ ## dirty="-dirty"
+ ## conf.check_message("uncommitted changes", "", bool(changed))
+ ## conf.env["VERSION"] = BASEVERSION + " (git commit: %s%s)" % (nam, dirty)
+ conf.env["VERSION"] = BASEVERSION
## conf.env["CCFLAGS"] = Utils.to_list(conf.env["CCFLAGS"]) + ['-g', '-O0']
for warning in ('all',