Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit eb9acb7

Browse files
committed
Add travis.yml debian/
1 parent cb1b14e commit eb9acb7

File tree

7 files changed

+136
-0
lines changed

7 files changed

+136
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
sudo: required
2+
3+
services:
4+
- docker
5+
6+
script:
7+
- export TRAVIS_DEBIAN_DISTRIBUTION=sid; wget -O- http://travis.debian.net/script.sh | sh -
8+
- sudo dpkg -i ../qmqtt-plot*deb
9+
- sudo apt -y -f install
10+
- dpkg -L bpp
11+
12+
branches:
13+
except:
14+
- /^debian\/\d/

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
qmqtt-plot (0.0.1-1) UNRELEASED; urgency=medium
2+
3+
* Bump version 0.0.1.
4+
5+
-- Jakob Flierl <[email protected]> Sun, 05 Jun 2016 12:46:03 +0200

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7

debian/control

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Source: qmqtt-plot
2+
Section: graphics
3+
Priority: optional
4+
Maintainer: Jakob Flierl <[email protected]>
5+
Uploaders: Jakob Flierl <[email protected]>
6+
Build-Depends: debhelper (>= 7.0.50~), pkgconf, automake, libtool, cmake, qt5-default, qt5-qmake, qtbase5-dev, qttools5-dev-tools, lsb-release
7+
Standards-Version: 3.9.7
8+
Homepage: https://github.com/koppi/qmqtt-plot
9+
Vcs-Git: git://github.com/koppi/qmqtt-plot.git
10+
Vcs-Browser: https://github.com/koppi/qmqtt-plot
11+
12+
Package: qmqtt-plot
13+
Architecture: any
14+
Depends: ${shlibs:Depends}, ${misc:Depends}
15+
Description: MQTT plot Qt5 app
16+
A GUI that plots timestamped MQTT data.

debian/gbp.conf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[DEFAULT]
2+
# the default branch for upstream sources:
3+
upstream-branch = master
4+
# the default branch for the debian patch:
5+
debian-branch = master
6+
# the default tag formats used:
7+
upstream-tag = %(version)s
8+
debian-tag = debian/%(version)s
9+
# use pristine-tar:
10+
#pristine-tar = True

debian/rules

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
#!/usr/bin/make -f
2+
3+
# Uncomment this to turn on verbose mode.
4+
export DH_VERBOSE=1
5+
6+
CXXFLAGS = -Wall -g
7+
8+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
9+
CXXFLAGS += -O0
10+
else
11+
CXXFLAGS += -O2
12+
endif
13+
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
14+
INSTALL_PROGRAM += -s
15+
endif
16+
17+
QMAKE_AFTER = -after \
18+
'QMAKE_CXXFLAGS_RELEASE = $(CXXFLAGS)' \
19+
'QMAKE_POST_LINK ~= s/strip/:'
20+
21+
build: build-stamp
22+
build-stamp: $(QUILT_STAMPFN)
23+
dh_testdir
24+
25+
qmake $(QMAKE_AFTER) main.pro && $(MAKE)
26+
27+
touch $@
28+
29+
clean:
30+
dh_testdir
31+
dh_testroot
32+
rm -f build-stamp
33+
[ ! -f Makefile ] || $(MAKE) clean
34+
dh_clean
35+
36+
install: build
37+
dh_testdir
38+
dh_testroot
39+
dh_clean -k
40+
dh_installdirs
41+
42+
$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
43+
install -d -v -m 0755 $(CURDIR)/debian/tmp/usr/share/applications
44+
chmod 664 $(CURDIR)/debian/tmp/usr/share/applications/qmqtt-plot.desktop
45+
46+
install -d -v -m 0755 $(CURDIR)/debian/tmp/usr/share/icons/hicolor/scalable/apps
47+
chmod 664 $(CURDIR)/debian/tmp/usr/share/icons/hicolor/scalable/apps/qmqtt-plot.svg
48+
49+
install -d -v -m 0755 $(CURDIR)/debian/tmp/usr/bin
50+
install -m 755 -p bpp $(CURDIR)/debian/tmp/usr/bin/qmqtt-plot
51+
52+
# Build architecture-independent files here.
53+
binary-indep: build install
54+
dh_testdir
55+
dh_testroot
56+
# dh_installchangelogs ChangeLog
57+
dh_installdocs -i
58+
dh_install -i
59+
dh_installman -i
60+
dh_compress -i --exclude=.cpp --exclude=.pri
61+
dh_fixperms
62+
dh_installdeb
63+
dh_gencontrol
64+
dh_md5sums
65+
dh_builddeb
66+
67+
# Build architecture-dependent files here.
68+
binary-arch: build install
69+
dh_testdir
70+
dh_testroot
71+
# dh_installchangelogs ChangeLog
72+
dh_installdocs -s README.md
73+
dh_install -s --sourcedir=$(CURDIR)/debian/tmp
74+
# dh_installman bpp.1
75+
dh_installmime
76+
dh_installmenu
77+
dh_link
78+
dh_strip
79+
dh_compress -s
80+
dh_fixperms
81+
dh_makeshlibs
82+
dh_installdeb
83+
dh_shlibdeps
84+
dh_gencontrol
85+
dh_md5sums
86+
dh_builddeb
87+
88+
binary: binary-indep binary-arch
89+
.PHONY: build clean binary-indep binary-arch binary install configure

debian/source/options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extend-diff-ignore = "^\.travis\.yml$"

0 commit comments

Comments
 (0)