Take version number from VERSION file

This commit is contained in:
Ingo Ruhnke 2010-05-26 18:56:05 +02:00
parent 7c508f95cd
commit c9adac314e
6 changed files with 67 additions and 23 deletions

View file

@ -18,6 +18,13 @@ else:
"-Winit-self", # only works with >= -O1
"-Wno-unused-parameter",
])
f = open("VERSION")
package_version = f.read()
f.close()
env.Append(CPPDEFINES={ 'PACKAGE_VERSION': "'\"%s\"'" % package_version})
conf = Configure(env)
if not conf.env['CXX']:

36
TODO
View file

@ -3,7 +3,7 @@ Pre Release Testing:
* check the version number
VERSION="0.4.14"
VERSION="$(cat VERSION)"
TAG="v${VERSION}"
git tag -s "${TAG}" -m "xboxdrv ${TAG}"
@ -19,32 +19,38 @@ git push --tags
Stuff to do before 0.5 release:
===============================
* split xboxdrv-daemon into a separate .deb package
Docu
====
* docu on how to write a wrapper script needs to be moved to xboxdrv manpage
* add a some general info to how xboxdrv works
Packaging
=========
* split xboxdrv-daemon into a separate .deb package
Cleanup
=======
* version number needs to be centralized, its currently in the man
pages, in xboxdrv, in the TODO and in xboxdrv-daemon
* improve output on which uinput devices are created
Feature
=======
* src/xbox_controller.cpp:71: Make endpoint variable
http://ubuntuforums.org/showthread.php?p=7538167#post7538167
* add a way to not create a joystick/event device and figure out why
it currently gets created at all
* add a some general info to how xboxdrv works
Bugs
====
* improve output on which uinput devices are created
* --extra_devices is broken (no longer implemented and somewhat tricky to reimplement)
* add key combinations to --ui-buttonmap X=KEY_SHIFT+KEY_A,A=KEY_SHIFT+KEY_CONTROL+KEY_A
* uinput class needs a serious code review and rewrite
* --ui-clear doesn't work properly
* --extra_devices is broken (no longer implemented)
* add -m as shortcut for --mouse
* figure out a way to make userspace force feedback driver not become dead processes

1
VERSION Normal file
View file

@ -0,0 +1 @@
0.5.0

View file

@ -5,7 +5,7 @@
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
.TH "xboxdrv " 1 2010-05-05 0.4.14 "User Commands"
.TH "xboxdrv " 1 2010-05-05 0.5.0 "User Commands"
.SH NAME
xboxdrv
\- A Xbox/Xbox360 gamepad driver that works in userspace
@ -1187,4 +1187,9 @@ License GPLv3+: GNU GPL version 3 or later
are free to change and redistribute it. There is NO WARRANTY,
to the extent permitted by law.
.SH "SEE ALSO"
xboxdrv-daemon(1), evtest(1), jstest(1), xev(1), fftest(1), lsusb(1)
\fBxboxdrv-daemon\fR(1),
\fBevtest\fR(1),
\fBjstest\fR(1),
\fBxev\fR(1),
\fBfftest\fR(1),
\fBlsusb\fR(1)

View file

@ -1,6 +1,9 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY % xboxdrvstuff SYSTEM "xboxdrv.ent">
%xboxdrvstuff;
]>
<refentry id="xboxdrv">
<refentryinfo>
<date>2010-05-05</date>
@ -11,8 +14,8 @@
<application>xboxdrv</application>
</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="version">0.4.14</refmiscinfo>
<refmiscinfo class="author">0.4.14</refmiscinfo>
<refmiscinfo class="version">&xboxdrv_version;</refmiscinfo>
<refmiscinfo class="author">&xboxdrv_version;</refmiscinfo>
<refmiscinfo class="manual">User Commands</refmiscinfo>
<refmiscinfo class="source">xboxdrv</refmiscinfo>
</refmeta>
@ -1537,8 +1540,30 @@ EndSection]]></programlisting>
<refsect1>
<title>See also</title>
<para>
xboxdrv-daemon(1), evtest(1), jstest(1), xev(1), fftest(1), lsusb(1)
<citerefentry>
<refentrytitle>xboxdrv-daemon</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>evtest</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>jstest</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>xev</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>fftest</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>lsusb</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>
</para>
</refsect1>
</refentry>

View file

@ -586,7 +586,7 @@ void
CommandLineOptions::print_version() const
{
std::cout
<< "xboxdrv 0.4.14\n"
<< "xboxdrv " PACKAGE_VERSION "\n"
<< "Copyright (C) 2008-2010 Ingo Ruhnke <grumbel@gmx.de>\n"
<< "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
<< "This is free software: you are free to change and redistribute it.\n"