1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-24 14:55:33 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Jonathan Nieder
bf43104a6a xburst-tools: generate changelog from git log
Use git shortlog to generate a brief list of changes to put in
/usr/share/doc/xburst-tools/changelog.gz.  This list is built
at source package generation time because it requires access to
the git repository.  The commit ID corresponding to each upstream
release is extracted from debian/changelog since the repository
has no tags.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:44:17 +08:00
Jonathan Nieder
24d1e9ce24 odds and ends
Bump the upstream version number since configure.ac changed.  Add
a debian/source/included-binaries file so dpkg-source does not
misinterpret the included firmware as a mistake.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:36:02 +08:00
Jonathan Nieder
3d74b6ace7 debian/rules: add target to build source tarball
Document how to use ‘git archive’ to build a tarball from the
usbboot subdirectory of the source repository.

Repeated invocations of the get-orig-source target to fetch the
same commit will produce byte-for-byte identical results.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:29:21 +08:00
Jonathan Nieder
a2a9d90ef9 use new dpkg source format
The compiled firmware files are unrepresentable in a text diff.
Use the new source format with debian.tar.gz to fix this.

This will also make it easier to patch the upstream source if that
is ever needed in between versions.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-06 09:27:25 +08:00
Jonathan Nieder
81adfd188d Do not build firmware on buildds
There is no mipsel cross-compiler packaged for Debian, so building
the firmware on arbitrary build machines is not possible.

So let packagers build firmware when generating the source package.
The built firmware is kept in the debian/ directory and then
copied verbatim to <staging directory>/usr/share/xburst-tools
at the appropriate time.

The commands to prepare the firmware are in a script named
debian/autogen.sh, which could be taught to do other things (such as
generate a changelog) later.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:58:29 +08:00
Jonathan Nieder
1b6d5cccd3 debian/control: Add a Vcs-Git field
Add a pointer to the repository with packaging files to make it
easier for people to contribute.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:58:17 +08:00
Jonathan Nieder
3d82483481 debian/rules: rewrite as a minimal debian/rules file (using dh)
This makes the packaging easier to read and modify.

Features added:

 * runs ‘make’ with the -j option for a tiny speedup
 * uses appropriate compiler flags even when run directly instead of
   through dpkg-buildpackage
 * after interrupting a partial build, there is no need any more
   for (fake) root privileges to clean up
 * after interrupting a partial build, ‘debian/rules clean’ will
   work without running autoreconf again.

Features retained:

 * ‘debian/rules -n <target>’ provides the list of commands used
   to make that target.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:56:44 +08:00
Xiangfu Liu
7fcb66d6eb update changelog 2010-02-25 11:47:40 +08:00
Xiangfu Liu
e8b1b896f4 cleanup
add build dependenices

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-05 12:43:21 +08:00
Xiangfu Liu
63f51d89dc fix changelog-should-mention-num and version number warning
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-03 13:23:51 +08:00
Xiangfu Liu
aa89f3049f no '_' in package
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-02 17:22:33 +08:00
Xiangfu Liu
4e6821ddd7 -correct the version number
-add manpage to debian package

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-02 10:15:46 +08:00
Xiangfu Liu
45007d1b71 add man page for usbboot
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-01 23:19:11 +08:00
Xiangfu Liu
8ca963fdb3 fix description-synopsis-might-not-be-phrased-properly warning
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-07-01 22:21:59 +08:00
Xiangfu Liu
dc52bfe889 add cross compile to Makefile.am
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-06-30 14:34:20 +08:00
Wolfgang Spraul
6d4212b643 renamed 'xburst-tools' utility back to 'usbboot' 2009-06-30 13:49:11 +08:00