[ scummvm-Bugs-1423793 ] DEB: debian/control generated incorrectly
SourceForge.net
noreply at sourceforge.net
Sat Feb 4 00:30:32 CET 2006
Bugs item #1423793, was opened at 2006-02-04 00:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1423793&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jorge Suárez (ys_)
Assigned to: Nobody/Anonymous (nobody)
Summary: DEB: debian/control generated incorrectly
Initial Comment:
The debian/control file is generated incorrectly,
because an incorrect version string. It looks like
this:
Version: -0cvs20060204
Error is in debian/prepare, line 7
VERSION=`sed -n -e 's/CVS//g' -e 's/^const char
\*gScummVMVersion = "\(.*\)";/\1/p' base/main.cpp
`-0cvs`date +%Y%m%d`
It seems version is now defined in a constant at
base/internal_version.h and then it's called from
main.cpp, so it fails to check version.
Changing that line by this one seems to fix it:
VERSION=`sed -n -e 's/#define //g' -e 's/cvs//g' -e
's/SCUMMVM_VERSION "\(.*\)"/\1/p'
base/internal_version.h `-0cvs`date +%Y%m%d`
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1423793&group_id=37116
More information about the Scummvm-tracker
mailing list