[med-svn] [sleepyhead] 02/02: Initial release (0.9.8-1).

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Sun Oct 11 07:01:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

sergiodj-guest pushed a commit to branch master
in repository sleepyhead.

commit 6e32ac5e644d33de411f130340d95092ab1fa808
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Sun Oct 11 02:56:08 2015 -0400

    Initial release (0.9.8-1).
---
 debian/README.Debian                               | 10 ++++
 debian/README.source                               | 12 ++++
 debian/SleepyHead.1                                | 64 ++++++++++++++++++++++
 debian/changelog                                   |  5 ++
 debian/compat                                      |  1 +
 debian/control                                     | 39 +++++++++++++
 debian/copyright                                   | 32 +++++++++++
 debian/docs                                        |  4 ++
 .../0001-Do-not-use-bundled-libraries.patch        | 30 ++++++++++
 .../0002-Create-install-rule-on-Makefile.patch     | 21 +++++++
 debian/patches/series                              |  2 +
 debian/rules                                       | 22 ++++++++
 debian/sleepyhead.manpages                         |  1 +
 debian/sleepyhead.menu                             |  2 +
 debian/source/format                               |  1 +
 15 files changed, 246 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..8941e28
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,10 @@
+sleepyhead for Debian
+---------------------
+
+Upstream ships bundled libraries which are not necessary under Debian,
+therefore I removed them (see debian/patches).  The package is not in
+a very good shape regarding quality of code/organization of build
+system, but it works well enough the way it is.  It needs a lot of TLC
+on GNU/Linux to get things improved.
+
+ -- Sergio Durigan Junior <sergiodj at sergiodj.net>  Mon, 28 Sep 2015 15:09:59 -0400
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..db46a8b
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,12 @@
+sleepyhead for Debian
+---------------------
+
+- When you use SleepyHead to examine your CPAP data, please remember
+  to write-protect you sdcard!  SleepyHead is read-only (therefore, it
+  does not and will not write anything on your sdcard), but it is
+  never a bad idea to make sure that no other program will try to do
+  "smart" things when you use your sdcard, which can cause your CPAP
+  machine to corrupt the data.
+
+ -- Sergio Durigan Junior <sergiodj at sergiodj.net>  Mon, 28 Sep 2015 15:09:59 -0400
+
diff --git a/debian/SleepyHead.1 b/debian/SleepyHead.1
new file mode 100644
index 0000000..a6697d4
--- /dev/null
+++ b/debian/SleepyHead.1
@@ -0,0 +1,64 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" Copyright (C) 2015 Sergio Durigan Junior <sergiodj at sergiodj.net>
+.\"
+.\" This document is free software.  You may distribute and/or modify
+.\" it under the terms of:
+.\"
+.\" * The GNU General Public License, as published by the Free
+.\"   Software Foundation, version 3 or (at your option) any later
+.\"   version.  You should have received a copy of the GNU General
+.\"   Public License along with this program.  If not, see
+.\"   <http://www.gnu.org/licenses/>.
+.\"
+.\" $Id$
+.TH SLEEPYHEAD 1 "version 0.9.8" "October 2015"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+
+.SH NAME
+
+SleepyHead \- Sleep tracking software with a focus on monitoring CPAP treatment.
+
+.SH DESCRIPTION
+
+\fBSleepyHead\fP is a Free Software, cross platform research tool for
+exploring data produced by CPAP (Continuous Positive Airway Pressure)
+machines, and related equipment, which are used in the treatment of
+sleep apnea and other sleep disorders.
+
+\fBSleepyHead\fP supports data capable CPAP machine models from the
+following series:
+
+ - ResMed S9
+ - AirSense 10
+ - AirCurve 10
+ - Philips Respironics System One
+ - Fisher & Paykel ICON & ICON+
+ - DeVilbiss IntelliPAP
+
+The software supports the full range of Contec CMS50 series of
+Oximeters, either standalone or synced with CPAP data (although you
+will need to install a separate driver for Contact equipments).  It
+also supports ResMed and PR System One oximeter attachments and file
+imports from ChoiceMMed MD300W1 oximeters.
+
+.SH OPTIONS
+
+This program does not accept command-line options.
+
+.SH BUGS
+
+Please report bugs using the Debian BTS
+\fB<https://bugs.debian.org>\fP.
+
+.SH HOMEPAGE
+
+\fB<http://sleepyhead.sourceforge.net>\fP
+
+.SH AUTHORS
+
+Mark Watkins  <jedimark at users.sourceforge.net>
+
+.PP
+
+This manual page was written by Sergio Durigan Junior <sergiodj at sergiodj.net>.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..96ad727
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+sleepyhead (0.9.8-1) unstable; urgency=low
+
+  * Initial release (Closes: #780060)
+
+ -- Sergio Durigan Junior <sergiodj at sergiodj.net>  Mon, 28 Sep 2015 15:09:59 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..00ad000
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: sleepyhead
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Build-Depends: debhelper (>= 9),
+	       qt5-qmake,
+	       libqt5serialport5-dev,
+	       libquazip-qt5-dev,
+	       libqt5webkit5-dev,
+	       libqt5opengl5-dev
+Standards-Version: 3.9.6
+Homepage: http://sleepyhead.sourceforge.net
+Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/sleepyhead.git
+Vcs-Git: git://anonscm.debian.org/debian-med/sleepyhead.git
+
+Package: sleepyhead
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Sleep tracking software with a focus on monitoring CPAP treatment.
+ SleepyHead is a Free Software, cross platform research tool for
+ exploring data produced by CPAP (Continuous Positive Airway Pressure)
+ machines, and related equipment, which are used in the treatment of
+ sleep apnea and other sleep disorders.
+ .
+ SleepyHead supports data capable CPAP machine models from the
+ following series:
+  - ResMed S9
+  - AirSense 10
+  - AirCurve 10
+  - Philips Respironics System One
+  - Fisher & Paykel ICON & ICON+
+  - DeVilbiss IntelliPAP
+ .
+ The software supports the full range of Contec CMS50 series of
+ Oximeters, either standalone or synced with CPAP data (although you
+ will need to install a separate driver for Contact equipments).  It
+ also supports ResMed and PR System One oximeter attachments and file
+ imports from ChoiceMMed MD300W1 oximeters.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..81838e0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: SleepyHead
+Source: http://sleepyhead.sourceforge.net
+Files-Excluded:
+ 3rdparty/quazip/doc/html/jquery.js
+ 3rdparty/*
+ Bundle3rdParty
+
+Files: *
+Copyright: 2011-2014 Mark Watkins <jedimark at users.sourceforge.net>
+License: GPL-3
+
+Files: debian/*
+Copyright: 2015 Sergio Durigan Junior <sergiodj at sergiodj.net>
+License: GPL-3
+
+License: GPL-3
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..0516d96
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,4 @@
+README
+sleepyhead/docs/PRS1?Data?Format.odt
+sleepyhead/docs/release_notes.html
+sleepyhead/docs/usage.html
diff --git a/debian/patches/0001-Do-not-use-bundled-libraries.patch b/debian/patches/0001-Do-not-use-bundled-libraries.patch
new file mode 100644
index 0000000..1977e3b
--- /dev/null
+++ b/debian/patches/0001-Do-not-use-bundled-libraries.patch
@@ -0,0 +1,30 @@
+From: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Date: Sat, 3 Oct 2015 20:28:59 -0400
+Subject: Do not use bundled libraries
+
+Upstream ships with bundled libraries (e.g., quazip), but we do not
+need to use them because Debian already provides their packages.
+---
+ sleepyhead/sleepyhead.pro | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/sleepyhead/sleepyhead.pro b/sleepyhead/sleepyhead.pro
+index 512f944..c783db5 100644
+--- a/sleepyhead/sleepyhead.pro
++++ b/sleepyhead/sleepyhead.pro
+@@ -291,9 +291,12 @@ mac {
+     QT += serialport
+ #}
+ 
+-include(../3rdparty/quazip/quazip/quazip.pri)
+-INCLUDEPATH += $$PWD/../3rdparty/quazip
+-DEPENDPATH += $$PWD/../3rdparty/quazip
++# Debian provides quazip, so we do not need the bundled version shipped by
++# upstream.
++#include(../3rdparty/quazip/quazip/quazip.pri)
++#INCLUDEPATH += $$PWD/../3rdparty/quazip
++#DEPENDPATH += $$PWD/../3rdparty/quazip
++LIBS += -lquazip-qt5
+ 
+ #bundlelibs = $$cat($$PWD/../Bundle3rdParty)
+ 
diff --git a/debian/patches/0002-Create-install-rule-on-Makefile.patch b/debian/patches/0002-Create-install-rule-on-Makefile.patch
new file mode 100644
index 0000000..b0393dd
--- /dev/null
+++ b/debian/patches/0002-Create-install-rule-on-Makefile.patch
@@ -0,0 +1,21 @@
+From: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Date: Sun, 4 Oct 2015 13:53:48 -0400
+Subject: Create install rule on Makefile
+
+---
+ sleepyhead/sleepyhead.pro | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/sleepyhead/sleepyhead.pro b/sleepyhead/sleepyhead.pro
+index c783db5..0e24df4 100644
+--- a/sleepyhead/sleepyhead.pro
++++ b/sleepyhead/sleepyhead.pro
+@@ -41,6 +41,8 @@ CONFIG += rtti
+ TARGET = SleepyHead
+ unix:!macx {
+     TARGET.path=/usr/bin
++    target.path = /usr/bin
++    INSTALLS += target
+ }
+ 
+ TEMPLATE = app
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1c66b47
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Do-not-use-bundled-libraries.patch
+0002-Create-install-rule-on-Makefile.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0af531b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+# Needed for selecting qmake-qt5
+export QT_SELECT = qt5
+
+%:
+	dh $@ --buildsystem=qmake --builddirectory=_build/
+
+# Override dh_auto_configure in order to call qmake on the parent dir.
+override_dh_auto_configure:
+	dh_auto_configure -- ..
+
+# Upstream ships with a 'history' directory containing ancient code.
+# We are not interested in installing this.
+override_dh_installchangelogs:
+	dh_installchangelogs --exclude=history
diff --git a/debian/sleepyhead.manpages b/debian/sleepyhead.manpages
new file mode 100644
index 0000000..2f3db8f
--- /dev/null
+++ b/debian/sleepyhead.manpages
@@ -0,0 +1 @@
+debian/SleepyHead.1
diff --git a/debian/sleepyhead.menu b/debian/sleepyhead.menu
new file mode 100644
index 0000000..04f2030
--- /dev/null
+++ b/debian/sleepyhead.menu
@@ -0,0 +1,2 @@
+?package(sleepyhead):needs="X11" section="Applications/Science/Medicine"\
+  title="SleepyHead" command="/usr/bin/SleepyHead"
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sleepyhead.git



More information about the debian-med-commit mailing list