forked from len0rd/rockbox
Rockbox Utility: add "revision" information back.
Add a revision-like information and make deploy.py replace it with the git hash. Change-Id: Ic88ad0b2af255e76a7129a6a5cf52663b868fd32
This commit is contained in:
parent
b069562ef4
commit
7d2c7b83b5
3 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>Rockbox Utility</string>
|
<string>Rockbox Utility</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.2.12</string>
|
<string>1.2.12 ($Rev$)</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>rbutilqt.icns</string>
|
<string>rbutilqt.icns</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#define BUILDID ""
|
#define BUILDID ""
|
||||||
#define VERSION "1.2.12" BUILDID
|
#define VERSION "1.2.12" BUILDID
|
||||||
// PUREVERSION should identify the build uniquely. Use version string for now.
|
// PUREVERSION should identify the build uniquely. Use version string for now.
|
||||||
#define PUREVERSION VERSION
|
#define PUREVERSION "$Rev$"
|
||||||
|
|
||||||
#define FULLVERSION VERSION", built "__DATE__" "__TIME__
|
#define FULLVERSION VERSION" ("PUREVERSION"), built "__DATE__" "__TIME__
|
||||||
|
|
||||||
|
|
|
@ -56,9 +56,9 @@ deploy.progexe = {
|
||||||
"linux2" : "RockboxUtility"
|
"linux2" : "RockboxUtility"
|
||||||
}
|
}
|
||||||
deploy.regreplace = {
|
deploy.regreplace = {
|
||||||
"rbutil/rbutilqt/version.h" : [["SVN \$.*\$", "SVN r%REVISION%"],
|
"rbutil/rbutilqt/version.h" : [["\$Rev\$", "%REVISION%"],
|
||||||
["(^#define BUILDID).*", "\\1 \"-%BUILDID%\""]],
|
["(^#define BUILDID).*", "\\1 \"-%BUILDID%\""]],
|
||||||
"rbutil/rbutilqt/Info.plist" : [["SVN \$.*\$", "SVN r%REVISION%"]],
|
"rbutil/rbutilqt/Info.plist" : [["\$Rev\$", "%REVISION%"]],
|
||||||
}
|
}
|
||||||
# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
|
# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
|
||||||
# compatible with 10.4 requires using gcc-4.0.
|
# compatible with 10.4 requires using gcc-4.0.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue