Switch travis-ci distro from trusty to xenial; updated Debian rules.

The Qt5 version included with trusty (5.2.1) attempts to use
QStyleOptionViewItem as if it's a QObject, which results in errors:

build/src/qrvthtool/widgets/moc_QItemView_Text.cpp:71:10: error: ‘staticMetaObject’ is not a member of
‘QStyleOptionViewItem’
         &QStyleOptionViewItem::staticMetaObject,
          ^

Added separate packages for rvthtool and qrvthtool.
Updated COMPILING.md with Qt packages.
This commit is contained in:
David Korth 2019-03-21 00:03:50 -04:00
parent 00071cf446
commit 0c6b3a86ff
7 changed files with 25 additions and 2 deletions

View File

@ -4,7 +4,7 @@ language: cpp
matrix:
include:
- os: linux
dist: trusty
dist: xenial
sudo: required
compiler: gcc
- os: osx
@ -23,6 +23,7 @@ addons:
- nettle-dev
- libudev-dev
- qtbase5-dev
- qttools5-dev-tools
# Run the build script.
script: ./travis.sh

10
debian/control vendored
View File

@ -8,7 +8,9 @@ Build-Depends:
dpkg-dev (>= 1.17.17),
libgmp3-dev,
nettle-dev,
libudev-dev
libudev-dev,
qtbase5-dev,
qttools5-dev-tools
Standards-Version: 3.9.8
Homepage: https://github.com/GerbilSoft/rvthtool
Vcs-Git: https://github.com/GerbilSoft/rvthtool
@ -19,3 +21,9 @@ Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: RVT-H Tool
This is an open-source tool for managing RVT-H Reader consoles.
Package: qrvthtool
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: RVT-H Tool (GUI)
This is an open-source tool for managing RVT-H Reader consoles. (GUI)

5
debian/qrvthtool.docs vendored Normal file
View File

@ -0,0 +1,5 @@
README.md
NEWS.md
doc/disc_image.md
doc/rvth_notes.md
doc/sdk_header.md

1
debian/qrvthtool.install vendored Normal file
View File

@ -0,0 +1 @@
/usr/bin/qrvthtool

5
debian/rvthtool.docs vendored Normal file
View File

@ -0,0 +1,5 @@
README.md
NEWS.md
doc/disc_image.md
doc/rvth_notes.md
doc/sdk_header.md

1
debian/rvthtool.install vendored Normal file
View File

@ -0,0 +1 @@
/usr/bin/rvthtool

View File

@ -5,10 +5,12 @@
On Debian/Ubuntu, you will need build-essential and the following development
packages:
* pkg-config libgmp-dev nettle-dev libudev-dev
* For the Qt GUI: qtbase5-dev qttools-dev-tools
On Red Hat/Fedora, you will need to install "C Development Tools and Libraries"
and the following development packages:
* cmake gmp-devel nettle-devel libudev-devel
* For the Qt GUI: qt-devel qt5-linguist
Clone the repository, then:
* cd rvthtool