Commit graph

27 commits

Author SHA1 Message Date
Brian Padalino
c3bd0f217f hdl/libbladeRF/debian: Bumping FPGA v.0.0.6. 2014-07-20 16:34:55 -04:00
Ryan Tucker
354e639d8c debian: Update firmware pointer to v1.7.1 2014-07-20 10:56:34 -04:00
Jon Szymaniak
3a30c49490 Merge pull request #276 from rtucker/dev-issue166
Add Debian packages to download FPGA/FX3 images (Fixes #166)
2014-07-08 22:13:23 -04:00
Jon Szymaniak
280675c68c Merge pull request #275 from rtucker/dev-help_and_man_fixes_cleaned_3
Markdown-ify the bladeRF-cli interactive help
2014-07-08 22:11:48 -04:00
Ryan Tucker
00c512356f Change FPGA/Firmware download path to be cleaner
Now using /usr/share/Nuand/bladeRF for everything, instead of
/usr/share/bladerf/{firmware,fpga}
2014-07-07 18:09:57 -04:00
Ryan Tucker
39afa2f07b Markdown-ify the bladeRF-cli interactive help
Adds a new include, doc/cmd_help.h.  This is generated by
pandoc from doc/interactive-help.md.  It's ugly, but that's
why it's programatically generated.

CMake will either generate a new cmd_help.{h,man} or copy them
in from cmd_help.{h,man}.in if pandoc isn't available.

Update cmd.c to use all of these new #defines.  (It looks
cleaner now...!)

Remove the old get-interactive-commands.bash, which is no longer
a part of the build process.  pandoc also generates a man page
snippet for insertion by help2man.

Also some editorial/spelling clarifications/corrections, and
adjustments for formatting.
2014-07-06 17:04:47 -04:00
Ryan Tucker
b9867daacf Fix Lintian udev-rule-in-etc
Per the Rules, /etc is reserved for user-installed files.

http://lintian.debian.org/tags/udev-rule-in-etc.html
2014-07-06 16:37:32 -04:00
Ryan Tucker
57cb6b38c9 debian: add packages to download FPGA/FX3 imgs
Based somewhat loosely on prism2-usb-firmware-installer.
2014-07-06 15:12:16 -04:00
Ryan Tucker
c6114b1174 Handle the ppa:bladerf/bladerf versions (#272)
This will permit bladerf-cli --version, etc, to show
something more usable.
2014-07-05 23:21:16 -04:00
Ryan Tucker
c9f3945d18 update debian/copyright to match inttypes_msvc.h rename 2014-06-21 13:49:37 -04:00
Frank Jenner
e075cc67d9 bladeRF-cli: Removed python references and build dependencies
Since the man page generation has been changed from a python script to a
bash script, there is no longer a dependency on python.
2014-05-12 22:01:53 -04:00
Ryan Tucker
d9577d52d2 debian: rename libbladerf0-dev -> libbladerf-dev 2013-12-29 16:05:59 -05:00
Ryan Tucker
587682cccc Fix two lintian errors
W: bladerf source: syntax-error-in-dep5-copyright line 95: Continuation line outside a paragraph.
W: bladerf source: ancient-standards-version 3.9.2 (current is 3.9.4)

My laptop (with saucy) is somewhat pickier than my old lucid desktop.
Surprise, surprise.
2013-12-01 13:40:10 -05:00
Daniel Gröber
6abbec9138 Add debian/copyright entries for new code 2013-11-28 13:58:09 -05:00
Ryan Tucker
8957eda839 Use help2man to generate man pages (fixes #165)
A little more lightweight than the doxygen approach,
and keeps the documentation harmonized with --help.

h/t to A. Maitland Bottoms for pointing me to this.
2013-11-16 16:25:58 -05:00
Ryan Tucker
5583a51990 Enable documentation build for debian packages 2013-10-30 18:39:02 -04:00
Ryan Tucker
86a498c6d5 Add top-level options for toggling host/fx3 builds
Adds ENABLE_HOST_BUILD and ENABLE_FX3_BUILD as CMake options.
2013-10-27 16:25:32 -04:00
Ryan Tucker
98eca856f9 Inject the current Debian snapshot version
This figures out the version number of the source package we're
building, then injects it into the VERSION_INFO within CMake.
2013-10-27 15:51:32 -04:00
Ryan Tucker
edc468dbb2 Update debian/copyright to match current state
Second/third/fourth pairs of eyes are welcome...

h/t to A. Maitland Bottoms' Debian package for spotting the
Altera and OpenCores packages
2013-10-27 00:18:13 -04:00
Ryan Tucker
f3ab5f5514 Don't always worry about manpage capitalization
Rename the man pages to have the "proper" capitalization, per lintian, only if
we're building a .deb.
2013-10-22 18:08:19 -04:00
Ryan Tucker
3a0b14d4c6 Remove unnecessary debian man page build step
I believe it should just work now
2013-10-20 21:17:50 -04:00
Ryan Tucker
1201f34d36 Fix Debian packaging to support multiarch
Fixes .deb build failure from pull req #150
2013-10-20 13:05:33 -04:00
Ryan Tucker
f105e2ef65 Update libbladeRF cmake minimum to 2.8.5
First appearance of GNUInstallDirs module:
http://www.cmake.org/cmake/help/v2.8.5/cmake.html#module:GNUInstallDirs
2013-10-20 12:51:10 -04:00
Ryan Tucker
b7fad68e58 debian: install udev rule with libbladerf0 2013-10-19 17:49:00 -04:00
Ryan Tucker
223adda59c Generate manpages for bladeRF-* with doxygen
It still requires manual canoodling, but the canoodling is with
markdown instead of nroff.
2013-10-06 20:17:26 -04:00
Ryan Tucker
322b737913 Only copy one README.md file to debian docs 2013-10-06 20:16:55 -04:00
Ryan Tucker
21111276e1 Debianization of libbladeRF and friends
How to build the .debs:
    wget https://github.com/Nuand/bladeRF/archive/master.tar.gz
    tar -zxvf master.tar.gz
    cd bladeRF-master
    debuild -i -us -uc -b

Caveat: once we get into a groove release-wise, we'll need to remember
to update debian/changelog (look at the 'dch' command)

This produces three .deb files:
bladerf_0~20131005-2_amd64.deb
    Contains bladeRF-cli, bladeRF-flash, and man pages
libbladerf0_0~20131005-2_amd64.deb
    Contains libbladeRF.so.0
libbladerf0-dev_0~20131005-2_amd64.deb
    Contains libbladeRF.so symlink, libbladeRF.h, and libbladeRF.pc

This is still somewhat fragile.  Also, it pretty much depends on
Ubuntu 13.10, which hasn't been released yet.  But we're ahead of
the game, no?!
2013-10-06 20:16:19 -04:00