[Debian-med-packaging] Packaging GNU Health

Emilien Klein emilien+debian at klein.st
Thu Nov 29 21:59:43 UTC 2012


Hey Debian Med team,

After numerous fresh reinstalls to make sure the
installation/configuration instructions in debian/README.Debian are
correct, I've gotten to the point where the GNU Health package is
ready for review.

I've used Andreas' files as a starting point, and committed my changes
to the svn [0]. I've also created the ITP bug [1].

A few points key points (but please do check all my modifications):
- I've removed the health_qrcodes module from the installation, as I
wasn't able to get the proper Python package installed, and leaving
the health_qrcodes module resulted in exceptions when running Tryton.
Not sure it's packaged for Debian, there are a few Python QR Codes
modules, but none seemed to provide the qrcode module... Will try to
investigate more in the coming weeks.
- I've explicitly turned of testing (it wasn't running anyway, but
making it explicit seems better). Reason is that to be able to test,
you need to have a proper database set up. Not sure how this should be
handled though.
- In light of the recent changes [2] I've removed the
DM-Upload-Allowed tag in debian/control.
- I've changed the values of files debian/compat and Standards-Version
in debian/control to what is currently being given when you start a
new package with dh_make. Not sure why Andreas' values were higher?

As stated in debian/TODO.Debian, the current version of GNU Health
depends on Tryton 2.4.X. The current version of GNU Health requires
Tryton 2.4 (exactly) while at the moment Tryton 2.2 is in testing and
2.6 in experimental. So this package can not be uploaded directly to
sid, but as soon as GNU Health 1.8 comes out (planned end of the month
[3]) updating the package should be relatively straight forward.
Note: due to this unmet dependency in sid, building the package in a
chroot (pdebuild) will fail.

FYI this is how I was able to test the package, using the Tryton 2.4
version that was in experimental last month (might be useful if you
want to test building the package, and the setup instructions)

Add snapshot for old experimental in /etc/apt/sources.list:
deb http://snapshot.debian.org/archive/debian/20121022T125613Z/
experimental main

Update the repos
$ sudo aptitude -o Acquire::Check-Valid-Until=false update

Install Tryton
$ sudo aptitude -t experimental install tryton-modules-account-invoice
tryton-modules-calendar
$ sudo aptitude -t experimental --without-recommends install tryton-client


   +Emilien
[0] http://anonscm.debian.org/viewvc/debian-med?view=revision&revision=12576
[1] http://bugs.debian.org/694749
[2] http://lists.debian.org/debian-devel-announce/2012/11/msg00006.html
[3] http://lists.gnu.org/archive/html/health-dev/2012-11/msg00028.html



More information about the Debian-med-packaging mailing list