[med-svn] r17092 - trunk/packages/gnuhealth/trunk/debian

Emilien Klein e2jk-guest at moszumanska.debian.org
Mon Jun 9 21:42:17 UTC 2014


Author: e2jk-guest
Date: 2014-06-09 21:42:17 +0000 (Mon, 09 Jun 2014)
New Revision: 17092

Added:
   trunk/packages/gnuhealth/trunk/debian/docs
   trunk/packages/gnuhealth/trunk/debian/gnuhealth.1
   trunk/packages/gnuhealth/trunk/debian/install
Removed:
   trunk/packages/gnuhealth/trunk/debian/database-scripts/
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.desktop
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.install
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.links
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.manpages
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.menu
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.profiles.cfg
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.py
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.tryton.conf
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.conf
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.config
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.default
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.docs
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.init
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.install
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.manpages
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postinst
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postrm
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.preinst
   trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.prerm
   trunk/packages/gnuhealth/trunk/debian/gnuhealth.xpm
   trunk/packages/gnuhealth/trunk/debian/manpages/
Modified:
   trunk/packages/gnuhealth/trunk/debian/README.Debian
   trunk/packages/gnuhealth/trunk/debian/README.source
   trunk/packages/gnuhealth/trunk/debian/changelog
   trunk/packages/gnuhealth/trunk/debian/control
   trunk/packages/gnuhealth/trunk/debian/copyright
   trunk/packages/gnuhealth/trunk/debian/rules
Log:
Major reduction in GNU Health Debian package functionality. See #748561 for further details.


Modified: trunk/packages/gnuhealth/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/README.Debian	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/README.Debian	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,26 +1,23 @@
 GNU Health for Debian
 ---------------------
 
-The gnuhealth-server package takes care of creating the "gnuhealth" system
-user, the "gnuhealth" PostgreSQL role (i.e. database user) and the "gnuhealth"
-database, which is initialized and ready to use.
-This package introduces a new service (gnuhealth-server), which is a Tryton
-server running on a dedicated port (8482).
+The gnuhealth Debian package installs the server-side components of GNU Health.
+In order to be able to use GNU Health, you will need to set up the Tryton server
+to meet your needs. You will then be able to create a database for use with
+GNU Health/Tryton.
 
-The gnuhealth-client package provides the `gnuhealth` command, which is a
-wrapper around `tryton-client`.
-If a config and/or a profiles file wasn't found, it will create new default
-files that are configured for a GNU Health (Tryton) server running on the same
-machine.
-In case the server is not on the same machine, the user will have to change
-the server name during the first startup, but port number, database name and
-user will already be defaulted in.
+** IMPORTANT NOTE **
+You will need to backup your database periodically, and at least before each
+upgrade of either the tryton-server or gnuhealth packages.
+Also, while the gnuhealth package will install the upstream-provided scripts to
+upgrade the database, you will be required to run them yourself.
 
-The gnuhealth metapackage allows for easy installation of everyting needed to
-run a GNU Health instance on a single machine (it installs gnuhealth-server
-and gnuhealth-client)
+You can find these scripts at the following location:
+/usr/share/gnuhealth/scripts/upgrade/
 
+** end of IMPORTANT NOTE **
 
+
 Configuring GNU Health
 ======================
 
@@ -28,26 +25,22 @@
 wiki page:
   http://en.wikibooks.org/wiki/GNU_Health/Installation
 
-The client can be installed either on the same machine as where you installed
-gnuhealth-server, or on a different machine.
+The tryton-client package can be installed either on the same machine as where
+you installed the gnuhealth and tryton-server packages, or on a different machine.
+From this point on, you will use the client for mostly every process.
 
 
 Creating a Connection Profile
 -----------------------------
 
-Note: this step is only needed if you didn't install gnuhealth-client, as this
-package takes care of this automatically the first time you run the
-`gnuhealth` command.
-
 Open the Tryton client (run the `tryton-client` command)
 
 Click on Manage profiles, then click on Add. Give your new connection a name
 on the left side, and fill the fields on the right side:
 * Hostname: localhost (if running the client on the same machine as the server)
-  or the IP address/hostname of the machine where you installed gnuhealth-server.
-* Port: 8482
-The "gnuhealth" database should then automatically appear, as it was created
-when installing the gnuhealth-server package.
+  or the IP address/hostname of the machine where you installed tryton-server.
+* Port: (likely) 8000
+Create a new database (e.g. "gnuhealth")
 You will first need to log in as "admin", so enter that in the Username field.
 
 You're now ready to log in!
@@ -60,14 +53,13 @@
 Profile is the one you've just created. Fill in the login form:
 
     User name: The one you used previously (usually: admin)
-    Password: the one entered while installing the gnuhealth-server package.
+    Password: the one entered while creating the database.
 
 
 Installing the default modules
 ------------------------------
 
-From this point on, you will use the client for mostly every process. Start
-with the installation of the basic functionality:
+Start with the installation of the basic functionality:
 
 After you've created the database, the system will ask you to create some new
 users. You can skip this step for now.
@@ -88,7 +80,7 @@
 computer where GNU Health is being installed on. Once it's done, a success
 message appears.
 
-Congratulations, you've successfully installed GNU Health!
+Congratulations, you've successfully installed and configured GNU Health!
 
 
 Installing Extra Modules
@@ -112,5 +104,18 @@
 Congratulations, you have completed the initial installation of GNU Health!
 
 
- -- Emilien Klein <emilien+debian at klein.st>  Mon, 20 May 2013 02:04:29 +0200
+Upgrading GNU Health
+====================
+The gnuhealth package will install the upstream-provided scripts to upgrade
+the database, you will be required to run them yourself.
 
+You can find these scripts at the following location:
+/usr/share/gnuhealth/scripts/upgrade/
+
+Please make sure to backup your database periodically, and at least before each
+upgrade of either the tryton-server or gnuhealth packages:
+  pg_dump your_database_name > your_database_name_backup.sql
+(you will need to run this command as the user owning that Postgres database)
+
+
+ -- Emilien Klein <emilien+debian at klein.st>  Mon, 09 Jun 2014 21:26:22 +0200

Modified: trunk/packages/gnuhealth/trunk/debian/README.source
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/README.source	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/README.source	2014-06-09 21:42:17 UTC (rev 17092)
@@ -10,6 +10,6 @@
   the required version of the tryton-* packages in the "Build-Depends" and 
   "Depends" sections of the debian/control file.
 - Update the Tryton version number in debian/gnuhealth-client.py
-- Update the date and GNU Health version number in debian/manpages/gnuhealth.1
+- Update the date and GNU Health version number in debian/gnuhealth.1
 - Build the new package with `debuild -us -uc`.
 

Modified: trunk/packages/gnuhealth/trunk/debian/changelog
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/changelog	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/changelog	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,3 +1,23 @@
+gnuhealth (2.4.1-3) unstable; urgency=low
+
+  * Major reduction in Debian package functionality:
+    - The database will not longer be created, maintained or backed up by the
+      Debian package itself. The user will be responsible for setting up Tryton,
+      creating their database, backing the database up and applying
+      upstream-provided upgrade patches. (Closes: #748561)
+
+      See /usr/share/doc/gnuhealth/README.Debian for installation and upgrade
+      instructions.
+
+      Since there is no way to know how the database will be called, it is also
+      not possible anymore to create a ready-to-use "launcher". This means that
+      the binary package gnuhealth-client has no more reason to exist. Therefore
+      the gnuhealth source package will now only produce a single binary package
+      named gnuhealth, which will only provide the server-side code. The binary
+      packages gnuhealth-server and gnuhealth-client will no longer exist.
+
+ -- Emilien Klein <emilien+debian at klein.st>  Mon, 09 Jun 2014 23:34:27 +0200
+
 gnuhealth (2.4.1-2) unstable; urgency=low
 
   * Use su instead of sudo to run commands as gnuhealth user (Closes: #739657)

Modified: trunk/packages/gnuhealth/trunk/debian/control
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/control	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/control	2014-06-09 21:42:17 UTC (rev 17092)
@@ -16,7 +16,7 @@
 Homepage: http://health.gnu.org/
 X-Python-Version: >= 2.6, << 3.0
 
-Package: gnuhealth-server
+Package: gnuhealth
 Architecture: all
 Depends: ${python:Depends},
          ${misc:Depends},
@@ -55,7 +55,6 @@
          tryton-modules-company (<< 3.1~),
          tryton-modules-stock-lot,
          tryton-modules-stock-lot (<< 3.1~)
-Recommends: postgresql-client
 Description: Electronic Medical Record and Hospital Information System - Server
  GNU Health is a multi-user, highly scalable, centralized Electronic
  Medical Record (EMR) and Hospital Information System (HIS) for Tryton,
@@ -63,8 +62,10 @@
  economic status, will benefit from a centralized, high quality, secure
  and scalable system.
  .
- This package provides the server part of GNU Health. Install the
- gnuhealth-client package to connect to your server.
+ This package installs the server-side Tryton modules that provides the
+ GNU Health functionality. You will need to install the tryton-client package
+ (either on the same machine or another) to be able to connect to the Tryton
+ server and use the GNU Health functionality.
  .
  GNU Health at a glance:
   * Strong focus in family medicine and Primary Health Care
@@ -86,76 +87,3 @@
   * GNU Health allows one to attach documents (X-rays, Biopsy results, ...)
     to the Patient chart.
   * Designed with industry standards in mind
-
-Package: gnuhealth-client
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends},
-         tryton-client (>= 3.0~),
-         tryton-client (<< 3.1~)
-Description: Electronic Medical Record and Hospital Information System - Client
- GNU Health is a multi-user, highly scalable, centralized Electronic
- Medical Record (EMR) and Hospital Information System (HIS) for Tryton,
- so doctors and institutions all over the world, independently of their
- economic status, will benefit from a centralized, high quality, secure
- and scalable system.
- .
- This package provides the client part of GNU Health. The gnuhealth-server
- package provides the server part of GNU Health.
- .
- GNU Health at a glance:
-  * Strong focus in family medicine and Primary Health Care
-  * Major interest in Socio-economics (housing conditions, substance
-    abuse, education...)
-  * Diseases and Medical procedures standards (ICD-10 / ICD-10-PCS)
-  * Prescription writing
-  * Billing
-  * Patient Genetic and Hereditary risks: over 4200 genes related to
-    diseases (NCBI / Genecards)
-  * Epidemiological and other statistical reports
-  * 100% paperless patient examination and history taking
-  * Patient Administration (creation, evaluations / consultations, history...)
-  * Doctor Administration
-  * Lab Administration
-  * Medicine / Drugs information (vademécum)
-  * Medical stock and supply chain management
-  * Hospital Financial Administration
-  * GNU Health allows one to attach documents (X-rays, Biopsy results, ...)
-    to the Patient chart.
-  * Designed with industry standards in mind
-
-Package: gnuhealth
-Architecture: all
-Depends: ${misc:Depends},
-         gnuhealth-server (= ${binary:Version}),
-         gnuhealth-client (= ${binary:Version})
-Description: Electronic Medical Record and Hospital Information System
- GNU Health is a multi-user, highly scalable, centralized Electronic
- Medical Record (EMR) and Hospital Information System (HIS) for Tryton,
- so doctors and institutions all over the world, independently of their
- economic status, will benefit from a centralized, high quality, secure
- and scalable system.
- .
- This metapackage allows for easy installation of everyting needed to run a
- GNU Health instance on a single machine.
- .
- GNU Health at a glance:
-  * Strong focus in family medicine and Primary Health Care
-  * Major interest in Socio-economics (housing conditions, substance
-    abuse, education...)
-  * Diseases and Medical procedures standards (ICD-10 / ICD-10-PCS)
-  * Prescription writing
-  * Billing
-  * Patient Genetic and Hereditary risks: over 4200 genes related to
-    diseases (NCBI / Genecards)
-  * Epidemiological and other statistical reports
-  * 100% paperless patient examination and history taking
-  * Patient Administration (creation, evaluations / consultations, history...)
-  * Doctor Administration
-  * Lab Administration
-  * Medicine / Drugs information (vademécum)
-  * Medical stock and supply chain management
-  * Hospital Financial Administration
-  * GNU Health allows one to attach documents (X-rays, Biopsy results, ...)
-    to the Patient chart.
-  * Designed with industry standards in mind

Modified: trunk/packages/gnuhealth/trunk/debian/copyright
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/copyright	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/copyright	2014-06-09 21:42:17 UTC (rev 17092)
@@ -24,26 +24,12 @@
 
 Files: debian/*
 Copyright: 2011-2012 Andreas Tille <tille at debian.org>
-           2012 Emilien Klein <emilien+debian at klein.st>
+           2012-2014 Emilien Klein <emilien+debian at klein.st>
            2012 Dmitry Smirnov <onlyjob at debian.org>
 License: same-as-upstream
  Same as GNU Health itself (see above).
 
-Files: debian/gnuhealth-server.init debian/gnuhealth-server.default
-Copyright: 2009-2012 Daniel Baumann <daniel at debian.org>
-           2010-2013 Mathias Behrle <mathiasb at m9s.biz>
-           2013 Emilien Klein <emilien+debian at klein.st>
 License: GPL-3+
-Comment: Files were adapted from tryton-server's Debian package.
-
-Files: debian/gnuhealth.xpm
-Copyright: Leonardo D'Acchille - GNU Solidario
-           2013 Emilien Klein <emilien+debian at klein.st>
-License: CC-BY-SA-3.0
-Comment: This file was generated from health/icons/gnuhealth_icon.svg
- using The GIMP.
-
-License: GPL-3+
  This program 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
@@ -403,4 +389,3 @@
  not granted under this License, such additional rights are deemed to be
  included in the License; this License is not intended to restrict the
  license of any rights under applicable law.
-

Added: trunk/packages/gnuhealth/trunk/debian/docs
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/gnuhealth/trunk/debian/docs	2014-06-09 21:42:17 UTC (rev 17092)
@@ -0,0 +1 @@
+README

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.desktop
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.desktop	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.desktop	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=GNU Health
-GenericName=Client for GNU Health
-Comment=Access the GNU Health server
-Exec=gnuhealth
-Icon=gnuhealth
-Terminal=false
-Categories=Education;Science;MedicalSoftware;
-Keywords=medical;health;hospital;
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.install
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.install	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.install	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,6 +0,0 @@
-debian/gnuhealth-client.py usr/share/gnuhealth-client
-debian/gnuhealth-client.tryton.conf etc/gnuhealth
-debian/gnuhealth-client.profiles.cfg etc/gnuhealth
-debian/gnuhealth.xpm usr/share/icons/gnuhealth
-debian/gnuhealth-client.desktop usr/share/applications
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.links
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.links	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.links	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,3 +0,0 @@
-/usr/share/gnuhealth-client/gnuhealth-client.py /usr/bin/gnuhealth
-/usr/share/icons/gnuhealth/gnuhealth.xpm /usr/share/pixmaps/gnuhealth.xpm
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.manpages
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.manpages	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.manpages	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,2 +0,0 @@
-debian/manpages/gnuhealth.1
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.menu
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.menu	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.menu	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,4 +0,0 @@
-?package(gnuhealth-client):needs="X11" section="Applications/Science/Medicine"\
-  title="GNU Health" longtitle="GNU Health - Health and Hospital Information System (Tryton Client)"\
-  description="GNU Health is a free, centralized Health and Hospital Information System. It runs on top of Tryton, a high-level general purpose application platform."\
-  command="gnuhealth" icon="/usr/share/pixmaps/gnuhealth.xpm"

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.profiles.cfg
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.profiles.cfg	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.profiles.cfg	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,10 +0,0 @@
-[DEFAULT]
-host = localhost
-port = 8482
-
-[GNU Health]
-host = localhost
-port = 8482
-database = gnuhealth
-username = admin
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.py
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.py	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.py	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,63 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-### BEGIN LICENSE
-# Copyright (C) 2013 Emilien Klein <emilien _PLUS_ debian _AT_ klein _DOT_ st>
-# 
-# This program 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 program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, 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 <http://www.gnu.org/licenses/>.
-### END LICENSE
-
-# This script is a wrapper around tryton-client.
-# If a config and/or a profiles file wasn't found, it will create new default
-# files that are configured for a GNU Health (Tryton) server running on the same
-# machine.
-# In case the server is not on the same machine, the user will have to change
-# the server name during the first startup, but port number, database name and
-# user will already be defaulted in.
-# After the default files are created, or if those files already exist,
-# tryton-client will be run.
-
-import os
-import subprocess
-import shutil
-
-if __name__ == "__main__":
-    #TODO: detect installed version of Tryton automatically
-    tryton_version = "3.0"
-    base_config_path = os.path.expanduser("~/.config/tryton/%s/" % tryton_version)
-    config_file = os.path.join(base_config_path, "tryton.conf")
-    default_config_file = "/etc/gnuhealth/gnuhealth-client.tryton.conf"
-    profiles_file = os.path.join(base_config_path, "profiles.cfg")
-    default_profiles_file = "/etc/gnuhealth/gnuhealth-client.profiles.cfg"
-
-    # Check if there already is a config file
-    if not os.path.isfile(config_file):
-        # Create the config directory if it doesn't exist
-        if not os.path.exists(base_config_path):
-            os.makedirs(base_config_path)
-        # Copy the default config file
-        shutil.copyfile(default_config_file, config_file)
-        # Make sure permissions are set appropriately
-        os.chmod(config_file, 0644)
-    # Check if there already is a profiles file
-    if not os.path.isfile(profiles_file):
-        # Copy the default profiles file
-        shutil.copyfile(default_profiles_file, profiles_file)
-        # Make sure permissions are set appropriately
-        os.chmod(profiles_file, 0644)
-
-    # Call the Tryton client
-    #TODO: pass the arguments given to gnuhealth-server to tryton-server
-    args = ["tryton-client"]
-    subprocess.Popen(args)
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.tryton.conf
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.tryton.conf	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-client.tryton.conf	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,12 +0,0 @@
-[login]
-login = admin
-profile = GNU Health
-db = gnuhealth
-expanded = False
-port = 8482
-server = localhost
-
-[client]
-form_tab = top
-maximize = True
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.conf
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.conf	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.conf	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,19 +0,0 @@
-# Minimal Tryton configuration file for GNU Health.
-# See Tryton's default server configuration file for more options you can use:
-# /etc/trytond.conf
-[options]
-
-# Activate the json-rpc protocol on a port that's different than the default
-# Tryton server's port
-jsonrpc = localhost:8482
-
-# Configure the database type
-db_type = postgresql
-
-# Configure the database connection. On Debian, PostgreSQL's default
-# authentication method is set to peer, so only the database's role name is needed.
-db_user = gnuhealth
-
-# Configure the path to store attachments
-data_path = /var/lib/gnuhealth
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.config
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.config	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.config	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,17 +0,0 @@
-#!/bin/sh
-# config maintainer script for gnuhealth-server
-
-set -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# source dbconfig-common shell library, and call the hook function
-if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
-    . /usr/share/dbconfig-common/dpkg/config.pgsql
-	# Both the PostgreSQL role and database are to be called gnuhealth
-	dbc_dbuser="gnuhealth"
-	dbc_dbname="gnuhealth"
-    dbc_go gnuhealth-server $@
-fi
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.default
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.default	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.default	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,17 +0,0 @@
-# Defaults for gnuhealth-server initscript
-
-# Specify the user name (Default: gnuhealth).
-DAEMONUSER="gnuhealth"
-
-# Specify an alternate config file (Default: /etc/gnuhealth-server.conf).
-CONFIGFILE="/etc/gnuhealth/gnuhealth-server.conf"
-
-# Specify the log file (Default: /var/log/gnuhealth/gnuhealth-server.log).
-LOGFILE="/var/log/gnuhealth/gnuhealth-server.log"
-
-# Specify the locale for the server to run (Default: en_US).
-#LANG="fr_FR.UTF-8"
-
-# Additional options that are passed to the Daemon.
-# i.e. to increase the verbosity of the server log add -v
-DAEMON_OPTS=" --config=${CONFIGFILE} --logfile=${LOGFILE}"

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.docs
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.docs	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.docs	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1 +0,0 @@
-README

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.init
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.init	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.init	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Based on the init script for tryton-server
-
-### BEGIN INIT INFO
-# Provides:             gnuhealth-server
-# Required-Start:       $syslog $remote_fs
-# Required-Stop:        $syslog $remote_fs
-# Should-Start:         $network postgresql mysql
-# Should-Stop:          $network postgresql mysql
-# Default-Start:        2 3 4 5
-# Default-Stop:         0 1 6
-# Short-Description:    GNU Health Server (Tryton)
-# Description:          Deamon for running GNU Health. This is a wrapper around
-#                       Tryton, an Application Platform serving as a base for
-#                       a complete ERP software.
-### END INIT INFO
-
-PATH="/sbin:/bin:/usr/sbin:/usr/bin"
-DAEMON="/usr/bin/trytond"
-
-test -x "${DAEMON}" || exit 0
-
-NAME="gnuhealth-server"
-DESC="GNU Health Server (Tryton Application Platform)"
-DAEMONUSER="gnuhealth"
-PIDDIR="/var/run/${NAME}"
-PIDFILE="${PIDDIR}/${NAME}.pid"
-LOGFILE="/var/log/gnuhealth/${NAME}.log"
-DEFAULTS="/etc/default/gnuhealth-server"
-CONFIGFILE="/etc/gnuhealth/${NAME}.conf"
-DAEMON_OPTS="--config=${CONFIGFILE} --logfile=${LOGFILE}"
-
-# Include gnuhealth-server defaults if available
-if [ -r "${DEFAULTS}" ]
-then
-	. "${DEFAULTS}"
-fi
-
-. /lib/lsb/init-functions
-
-# Make sure gnuhealth-server is started with configured locale
-if [ -n "${LANG}" ]
-then
-	LANG="${LANG}"
-	export LANG
-fi
-
-set -e
-
-do_start ()
-{
-	if [ ! -d "${PIDDIR}" ]
-	then
-		mkdir -p "${PIDDIR}"
-		chown "${DAEMONUSER}":"${DAEMONUSER}" "${PIDDIR}"
-	fi
-
-	start-stop-daemon --start --quiet --pidfile ${PIDFILE} \
-		--chuid ${DAEMONUSER} --background --make-pidfile \
-		--exec ${DAEMON} -- ${DAEMON_OPTS}
-}
-
-do_stop ()
-{
-	start-stop-daemon --stop --quiet --pidfile ${PIDFILE} --oknodo
-}
-
-case "${1}" in
-	start)
-		log_daemon_msg "Starting ${DESC}" "${NAME}"
-		do_start
-		log_end_msg ${?}
-		;;
-
-	stop)
-		log_daemon_msg "Stopping ${DESC}" "${NAME}"
-		do_stop
-		log_end_msg ${?}
-		;;
-
-	restart|force-reload)
-		log_daemon_msg "Restarting ${DESC}" "${NAME}"
-		do_stop
-		sleep 1
-		do_start
-		log_end_msg ${?}
-	;;
-
-	status)
-		status_of_proc -p ${PIDFILE} ${DAEMON} ${NAME} && \
-		exit 0 || exit ${?}
-	;;
-
-	*)
-		N="/etc/init.d/${NAME}"
-		echo "Usage: ${N} {start|stop|restart|force-reload|status}" >&2
-		exit 1
-		;;
-esac
-
-exit 0

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.install
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.install	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.install	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,5 +0,0 @@
-debian/gnuhealth-server.conf etc/gnuhealth
-debian/database-scripts/install usr/share/dbconfig-common/scripts/gnuhealth-server
-debian/database-scripts/upgrade usr/share/dbconfig-common/scripts/gnuhealth-server
-scripts/upgrade/2.0/pre.py usr/share/gnuhealth/scripts/upgrade/2.0
-scripts/upgrade/2.4/remove_test_module.sql usr/share/gnuhealth/scripts/upgrade/2.4

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.manpages
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.manpages	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.manpages	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,2 +0,0 @@
-debian/manpages/gnuhealth-server.1
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postinst
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postinst	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postinst	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,83 +0,0 @@
-#!/bin/sh
-# postinst script for gnuhealth-server
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# source dbconfig-common shell library, and call the hook function
-if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then
-    . /usr/share/dbconfig-common/dpkg/postinst.pgsql
-    dbc_go gnuhealth-server $@
-fi
-
-GNUHEALTH_USER="gnuhealth"
-GNUHEALTH_HOMEDIR="/var/lib/gnuhealth"
-GNUHEALTH_NODBUPDATEFILE="${GNUHEALTH_HOMEDIR}/no-db-update"
-GNUHEALTH_LOGDIR="/var/log/gnuhealth"
-GNUHEALTH_CONFFILE="/etc/gnuhealth/gnuhealth-server.conf"
-
-case "$1" in
-    configure)
-        # Create system user
-        adduser --home ${GNUHEALTH_HOMEDIR} --quiet --system --group ${GNUHEALTH_USER}
-        
-		# Create log directory
-        if [ ! -d ${GNUHEALTH_LOGDIR} ]; then
-		    mkdir -p ${GNUHEALTH_LOGDIR}
-		    chown ${GNUHEALTH_USER}:adm ${GNUHEALTH_LOGDIR}
-		    chmod 0750 ${GNUHEALTH_LOGDIR}
-		fi
-
-		# Setting ownership and permissions on configuration file
-		chown ${GNUHEALTH_USER}:${GNUHEALTH_USER} ${GNUHEALTH_CONFFILE}
-		chmod 0440 ${GNUHEALTH_CONFFILE}
-
-		# Check if the DB should not be updated
-		if [ ! -f ${GNUHEALTH_NODBUPDATEFILE} ]; then
-			# Source the config file from dbconfig-common
-			. /etc/dbconfig-common/gnuhealth-server.conf
-
-			# Update the gnuhealth database
-			echo "Updating the '${dbc_dbname}' database"
-			su --shell /bin/sh -c "trytond --database=${dbc_dbname} --update=all --config=${GNUHEALTH_CONFFILE}" ${dbc_dbuser}
-		else
-			# Do not update the database, as it's just been created.
-			# Just remove the temporary file, so that the database will be updated next time.
-			echo "The database was just created, no need to update it now."
-			rm ${GNUHEALTH_NODBUPDATEFILE}
-		fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postrm
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postrm	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.postrm	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,62 +0,0 @@
-#!/bin/sh
-# postrm script for gnuhealth-server
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <overwriter>
-#          <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# source dbconfig-common shell library, and call the hook function
-if [ -f /usr/share/dbconfig-common/dpkg/postrm.pgsql ]; then
-    . /usr/share/dbconfig-common/dpkg/postrm.pgsql
-    dbc_go gnuhealth-server $@
-fi
-
-GNUHEALTH_USER="gnuhealth"
-GNUHEALTH_HOMEDIR="/var/lib/gnuhealth"
-GNUHEALTH_LOGDIR="/var/log/gnuhealth"
-
-case "$1" in
-    purge)
-		# Remove system user
-		#TODO: maybe the system user should just be frozen? See #678099 and #621833
-		if [ -x /usr/sbin/deluser ]; then
-			deluser --quiet --system ${GNUHEALTH_USER}
-		fi
-
-		# Remove log directory and user's home directory
-		rm -rf ${GNUHEALTH_HOMEDIR} ${GNUHEALTH_LOGDIR} > /dev/null 2>&1 || true
-	;;
-	
-    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-    ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.preinst
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.preinst	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.preinst	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,50 +0,0 @@
-#!/bin/sh
-# preinst script for gnuhealth-server
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <new-preinst> `install'
-#        * <new-preinst> `install' <old-version>
-#        * <new-preinst> `upgrade' <old-version>
-#        * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    upgrade)
-        # Make a backup and upgrade the database when upgrading from a previous version
-        # Source the config file from dbconfig-common
-        . /etc/dbconfig-common/gnuhealth-server.conf
-
-        BACKUP_FOLDER="/var/lib/gnuhealth/backups"
-        BACKUP_FILE="${BACKUP_FOLDER}/backup_${dbc_dbname}_v$2_`date +\%F_\%H-\%M-\%S`.sql"
-
-        #Create the backup directory if it doesn't already exist
-        mkdir -p ${BACKUP_FOLDER}
-        chown ${dbc_dbuser}:${dbc_dbuser} ${BACKUP_FOLDER}
-
-        # Make a backup of the database prior to upgrading from a previous version
-        echo "Backing up database '${dbc_dbname}' to ${BACKUP_FILE}"
-        su --shell /bin/sh -c "pg_dump ${dbc_dbname} > ${BACKUP_FILE}" ${dbc_dbuser}
-        chown ${dbc_dbuser}:${dbc_dbuser} ${BACKUP_FILE}
-    ;;
-
-    install|abort-upgrade)
-    ;;
-
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.prerm
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.prerm	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth-server.prerm	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,48 +0,0 @@
-#!/bin/sh
-# prerm script for gnuhealth-server
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# source dbconfig-common shell library, and call the hook function
-if [ -f /usr/share/dbconfig-common/dpkg/prerm.pgsql ]; then
-    . /usr/share/dbconfig-common/dpkg/prerm.pgsql
-    dbc_go gnuhealth-server $@
-fi
-
-case "$1" in
-    remove|upgrade|deconfigure)
-    ;;
-
-    failed-upgrade)
-    ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-

Added: trunk/packages/gnuhealth/trunk/debian/gnuhealth.1
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth.1	                        (rev 0)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth.1	2014-06-09 21:42:17 UTC (rev 17092)
@@ -0,0 +1,80 @@
+.TH GNUHEALTH 1 "2014\-06\-09" "2.4.1" "GNU Health: Free Health and Hospital Information System"
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" Process this file with
+.\" groff -man -Tascii gnuhealth.1
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.\"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+
+.SH NAME
+gnuhealth \- Free Health and Hospital Information System
+
+.SH SYNOPSIS
+\fBGNU Health\fR is a Health and Hospital Information System that uses the Tryton platform.
+
+.SH DESCRIPTION
+The database needs to be created and the modules that your Healthcare organisation wishes to use need to be activated from within the \fItryton-client\fR client. Activating the \fBhealth_profile\fR module from within the Tryton client will provide your installation with the default GNU Health modules.
+
+\fBGeneral information about GNU Health\fR:
+.br
+GNU Health is a free, centralized Health and Hospital Information System that provides the following functionality:
+ * Electronic Medical Record (EMR)
+ * Hospital Information System (HIS)
+ * Health Information System
+
+Our goal is to contribute with health professionals around the world to improve the quality of life of the underprivileged, providing a free system that optimizes health promotion and disease prevention.
+
+\fBGNU Health at a glance\fR:
+.br
+ * Strong focus in family medicine and Primary Health Care
+ * Major interest in Socio-economics (housing conditions, substance abuse, education, ...)
+ * Diseases and Medical procedures standards (ICD-10 / ICD-10-PCS)
+ * Prescription writing
+ * Billing
+ * Patient Genetic and Hereditary risks: over 4200 genes related to diseases (NCBI / Genecards)
+ * Epidemiological and other statistical reports
+ * 100% paperless patient examination and history taking
+ * Patient Administration (creation, evaluations / consultations, history, ...)
+ * Doctor Administration
+ * Lab Administration
+ * Medicine / Drugs information (vademécum)
+ * Medical stock and supply chain management
+ * Hospital Financial Administration
+ * GNU Health allows one to attach documents (X-rays, Biopsy results, ...) to the patient's chart.
+ * Designed with industry standards in mind
+
+The data model is designed in such a way that centralizes the information, so no duplication occurs. On the other hand, GNU Health optimizes collaboration and communication between health professionals.
+
+\fBStandards\fR:
+.br
+The information generated and gathered in GNU Health should be standard. We use ICD-10 for pathologies / diseases diagnoses. For example, instead of typing an arbitrary name for the condition, the doctor will be able to choose from over 14.000 mutually exclusive classified diseases. This is very important for epidemiological and other statistical studies.
+
+GNU Health uses the information on genetics from the National Center for Biotechnology Information (NCBI) and Genecards to link genes disorders to diseases. This information is important to evaluate risks of the patient to contract a specific disease and the probability of transmitting it to next generations. GNU Health also registers all the relevant family history information of the patient.
+
+Similarly, the patient history will be in a format that medical centers all over the world would be able to process. Effective, paperless and fast way of practising medicine.
+
+
+.SH SEE ALSO
+\fItryton-server\fR(1), \fItryton-client\fR(1)
+
+.SH HOMEPAGE
+More information about the GNU Health project and GNU Solidario can be found at <\fIhttp://www.gnuhealth.org/\fR>.
+
+.SH AUTHOR
+GNU Health was written by Luis Falcon <\fIlfalcon at gnusolidario.org\fR> with the help of many free software enthusiasts around the world.
+.br
+This manual page was written by Emilien Klein <\fIemilien+debian at klein.st\fR> for the \fBDebian GNU/Linux\fR system (but may be used by others).
+

Deleted: trunk/packages/gnuhealth/trunk/debian/gnuhealth.xpm
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/gnuhealth.xpm	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/gnuhealth.xpm	2014-06-09 21:42:17 UTC (rev 17092)
@@ -1,401 +0,0 @@
-/* XPM */
-static char * gnuhealth_icon_xpm[] = {
-"32 32 366 2",
-"  	c None",
-". 	c #0D828C",
-"+ 	c #10858E",
-"@ 	c #11858E",
-"# 	c #11868F",
-"$ 	c #12868F",
-"% 	c #128790",
-"& 	c #138891",
-"* 	c #138991",
-"= 	c #148992",
-"- 	c #148A92",
-"; 	c #148A93",
-"> 	c #158B93",
-", 	c #158B94",
-"' 	c #158C95",
-") 	c #148B94",
-"! 	c #11898F",
-"~ 	c #0E838D",
-"{ 	c #198790",
-"] 	c #1E8A93",
-"^ 	c #1F8C95",
-"/ 	c #208D96",
-"( 	c #218F98",
-"_ 	c #229099",
-": 	c #23929A",
-"< 	c #24939C",
-"[ 	c #25959D",
-"} 	c #26969F",
-"| 	c #2797A0",
-"1 	c #2899A1",
-"2 	c #299AA3",
-"3 	c #2A9CA4",
-"4 	c #2B9DA6",
-"5 	c #2C9FA7",
-"6 	c #2DA0A8",
-"7 	c #2EA2AA",
-"8 	c #2FA3AB",
-"9 	c #30A5AD",
-"0 	c #31A6AE",
-"a 	c #32A7AF",
-"b 	c #299EA8",
-"c 	c #128891",
-"d 	c #0E828B",
-"e 	c #19868F",
-"f 	c #1D8891",
-"g 	c #1D8992",
-"h 	c #319FA7",
-"i 	c #A8D7DA",
-"j 	c #6EBDC3",
-"k 	c #128791",
-"l 	c #0F848C",
-"m 	c #1A848D",
-"n 	c #1C868F",
-"o 	c #2B9AA2",
-"p 	c #B9DEE1",
-"q 	c #CFE8EA",
-"r 	c #FCFDFE",
-"s 	c #72BFC4",
-"t 	c #138A94",
-"u 	c #0F828C",
-"v 	c #19838C",
-"w 	c #27969F",
-"x 	c #A9D6D9",
-"y 	c #8CC9CD",
-"z 	c #2C9BA4",
-"A 	c #B8DEE1",
-"B 	c #FBFDFD",
-"C 	c #6FBDC3",
-"D 	c #168B94",
-"E 	c #0F838B",
-"F 	c #18818B",
-"G 	c #9ACED2",
-"H 	c #9DD0D4",
-"I 	c #2E9CA5",
-"J 	c #C4E3E6",
-"K 	c #F9FCFD",
-"L 	c #67BAC0",
-"M 	c #168C95",
-"N 	c #0F828B",
-"O 	c #178089",
-"P 	c #239099",
-"Q 	c #98CCD0",
-"R 	c #8FC8CD",
-"S 	c #329EA7",
-"T 	c #D0E9EB",
-"U 	c #167F88",
-"V 	c #248F98",
-"W 	c #ABD4D8",
-"X 	c #73B9BF",
-"Y 	c #37A1A9",
-"Z 	c #CAE6E8",
-"` 	c #FDFEFE",
-" .	c #8ECCD0",
-"..	c #2EA0A8",
-"+.	c #157D86",
-"@.	c #268E97",
-"#.	c #B7DADD",
-"$.	c #67B1B7",
-"%.	c #409FA7",
-"&.	c #B0DADD",
-"*.	c #FFFFFF",
-"=.	c #BEE1E4",
-"-.	c #3FA8B0",
-";.	c #0E818A",
-">.	c #147C85",
-",.	c #2C9098",
-"'.	c #BADBDE",
-").	c #6DB3B9",
-"!.	c #DBEDEE",
-"~.	c #6FB5BB",
-"{.	c #87C6CB",
-"].	c #7AC0C6",
-"^.	c #7DC2C7",
-"/.	c #F7FBFC",
-"(.	c #EEF7F8",
-"_.	c #8FCCD1",
-":.	c #44ACB3",
-"<.	c #137A84",
-"[.	c #3B969E",
-"}.	c #C1DEE0",
-"|.	c #449DA4",
-"1.	c #90C5CA",
-"2.	c #FAFCFC",
-"3.	c #238E97",
-"4.	c #73BBC1",
-"5.	c #309DA4",
-"6.	c #46A9B0",
-"7.	c #B0DADE",
-"8.	c #E2F2F3",
-"9.	c #C6E6E8",
-"0.	c #84C9CE",
-"a.	c #168C94",
-"b.	c #127982",
-"c.	c #53A1A9",
-"d.	c #BDDCDE",
-"e.	c #2F8F97",
-"f.	c #BDDCDF",
-"g.	c #EEF6F7",
-"h.	c #CAE5E7",
-"i.	c #C9E5E7",
-"j.	c #56AFB6",
-"k.	c #A9D7DA",
-"l.	c #90CCD1",
-"m.	c #58B3B9",
-"n.	c #60B7BD",
-"o.	c #65BAC0",
-"p.	c #38A7AF",
-"q.	c #158C94",
-"r.	c #0E8189",
-"s.	c #127781",
-"t.	c #69ADB2",
-"u.	c #A9D0D4",
-"v.	c #2A8B94",
-"w.	c #308F97",
-"x.	c #C9E2E4",
-"y.	c #F9FCFC",
-"z.	c #208A93",
-"A.	c #62AEB5",
-"B.	c #CDE6E8",
-"C.	c #B2D8DB",
-"D.	c #4DA6AD",
-"E.	c #D2E9EB",
-"F.	c #2998A1",
-"G.	c #64B5BB",
-"H.	c #309DA6",
-"I.	c #0D8089",
-"J.	c #11767F",
-"K.	c #177C86",
-"L.	c #8EC0C4",
-"M.	c #9FC9CD",
-"N.	c #94C4C8",
-"O.	c #7DB8BD",
-"P.	c #218690",
-"Q.	c #B8D9DC",
-"R.	c #3C98A0",
-"S.	c #A9D2D6",
-"T.	c #BEDEE0",
-"U.	c #AFD6DA",
-"V.	c #A0CFD3",
-"W.	c #C5E2E4",
-"X.	c #F0F7F8",
-"Y.	c #10747E",
-"Z.	c #3F929A",
-"`.	c #539EA5",
-" +	c #6EAEB4",
-".+	c #22848D",
-"++	c #A0CCD0",
-"@+	c #55A4AB",
-"#+	c #96C8CC",
-"$+	c #89C2C6",
-"%+	c #90C6CB",
-"&+	c #A9D3D7",
-"*+	c #B8DBDE",
-"=+	c #339AA3",
-"-+	c #0D7E89",
-";+	c #0F737D",
-">+	c #95C5CA",
-",+	c #499DA4",
-"'+	c #1F8992",
-")+	c #A0CDD1",
-"!+	c #C1DFE1",
-"~+	c #46A4AA",
-"{+	c #0D7E88",
-"]+	c #0E717B",
-"^+	c #B0D4D7",
-"/+	c #208790",
-"(+	c #3F9BA2",
-"_+	c #248D96",
-":+	c #9CCCD0",
-"<+	c #4CA5AD",
-"[+	c #0B7E88",
-"}+	c #0D707A",
-"|+	c #177E87",
-"1+	c #EBF4F5",
-"2+	c #D6E9EA",
-"3+	c #8EC5C9",
-"4+	c #4EA6AD",
-"5+	c #0B7D88",
-"6+	c #0C6F78",
-"7+	c #3E949B",
-"8+	c #A3CCD0",
-"9+	c #8EC4C9",
-"0+	c #419EA6",
-"a+	c #0B6D77",
-"b+	c #78B3B9",
-"c+	c #61A7AD",
-"d+	c #95C7CC",
-"e+	c #31959E",
-"f+	c #0B7D86",
-"g+	c #0A6C76",
-"h+	c #BFDBDD",
-"i+	c #F6FAFA",
-"j+	c #20838B",
-"k+	c #21858E",
-"l+	c #99C7CB",
-"m+	c #D0E5E7",
-"n+	c #7AB7BC",
-"o+	c #A6D0D4",
-"p+	c #FCFEFE",
-"q+	c #228C95",
-"r+	c #128892",
-"s+	c #0B7C86",
-"t+	c #096A74",
-"u+	c #25818A",
-"v+	c #ACD0D3",
-"w+	c #197F87",
-"x+	c #D8E9EB",
-"y+	c #BFDCDE",
-"z+	c #CAE2E4",
-"A+	c #FEFFFF",
-"B+	c #37939B",
-"C+	c #C7E1E3",
-"D+	c #DEEEEF",
-"E+	c #086973",
-"F+	c #7AB2B7",
-"G+	c #589FA6",
-"H+	c #69ACB2",
-"I+	c #72B2B7",
-"J+	c #FAFDFD",
-"K+	c #258891",
-"L+	c #E9F3F4",
-"M+	c #B7D9DB",
-"N+	c #10727C",
-"O+	c #DAEAEB",
-"P+	c #E8F1F2",
-"Q+	c #167982",
-"R+	c #9AC6CA",
-"S+	c #288790",
-"T+	c #A5CDD0",
-"U+	c #C2DDE0",
-"V+	c #2E8D96",
-"W+	c #8EC2C7",
-"X+	c #128890",
-"Y+	c #61A2A8",
-"Z+	c #6AA8AE",
-"`+	c #DEECEE",
-" @	c #CEE3E5",
-".@	c #8FC0C5",
-"+@	c #348E96",
-"@@	c #59A4AB",
-"#@	c #60A9B0",
-"$@	c #128690",
-"%@	c #237A83",
-"&@	c #61A0A7",
-"*@	c #9AC2C6",
-"=@	c #EAF3F3",
-"-@	c #F3F8F8",
-";@	c #C1DADD",
-">@	c #599EA5",
-",@	c #2E858E",
-"'@	c #A2C9CD",
-")@	c #368C94",
-"!@	c #1B7F88",
-"~@	c #308B93",
-"{@	c #7BB6BB",
-"]@	c #268992",
-"^@	c #118690",
-"/@	c #17727B",
-"(@	c #70A8AE",
-"_@	c #C0D9DB",
-":@	c #BDD7DA",
-"<@	c #87B7BB",
-"[@	c #66A3AA",
-"}@	c #5C9EA4",
-"|@	c #8BBABE",
-"1@	c #A3C9CD",
-"2@	c #8FBEC3",
-"3@	c #98C4C8",
-"4@	c #C9E0E2",
-"5@	c #F8FBFB",
-"6@	c #84BBBF",
-"7@	c #2A8991",
-"8@	c #599AA1",
-"9@	c #96BFC4",
-"0@	c #53969D",
-"a@	c #116E78",
-"b@	c #428F96",
-"c@	c #A8CBCF",
-"d@	c #ACCED1",
-"e@	c #8DBDC1",
-"f@	c #62A4AB",
-"g@	c #2B858D",
-"h@	c #59A0A7",
-"i@	c #ECF4F5",
-"j@	c #F5F9FA",
-"k@	c #DCECED",
-"l@	c #88BEC2",
-"m@	c #67ACB3",
-"n@	c #77B6BB",
-"o@	c #86BEC3",
-"p@	c #95C7CB",
-"q@	c #88C0C5",
-"r@	c #4AA1A8",
-"s@	c #0B7E87",
-"t@	c #0C6B75",
-"u@	c #147882",
-"v@	c #308A92",
-"w@	c #4B9AA1",
-"x@	c #77B3B8",
-"y@	c #D2E6E8",
-"z@	c #EFF6F7",
-"A@	c #DFEEEF",
-"B@	c #C9E1E4",
-"C@	c #B1D5D8",
-"D@	c #95C6CA",
-"E@	c #76B6BB",
-"F@	c #32939B",
-"G@	c #0F858E",
-"H@	c #0D7F88",
-"I@	c #096F78",
-"J@	c #188790",
-"K@	c #10838C",
-"L@	c #0C8189",
-"M@	c #096F79",
-"N@	c #18858E",
-"O@	c #0E848D",
-"P@	c #0B8089",
-"Q@	c #0A7E87",
-"R@	c #0C7D86",
-"S@	c #0C7E87",
-"T@	c #0D7E87",
-"U@	c #0D8088",
-"V@	c #0E8089",
-"W@	c #0F828A",
-"X@	c #0E848C",
-"Y@	c #0E838C",
-"    . + @ # $ $ % % % & & & * = = - ; ; > , , , , , , ' ) !     ",
-"  ~ { ] ^ / ( _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a a a a a a b c   ",
-"d e f g ] ^ / ( _ : < [ } | 1 2 h i j 6 7 8 9 0 a a a a a a b k ",
-"l m n f g ] ^ / ( _ : < [ } | o p q r s 6 7 8 9 0 a a a a a a t ",
-"u v m n f g ] ^ / ( _ : < [ w x y z A B C 6 7 8 9 0 a a a a a D ",
-"E F v m n f g ] ^ / ( _ : < G H | 1 I J K L 6 7 8 9 0 a a a a M ",
-"N O F v m n f g ] ^ / ( P Q R [ } | 1 S T K C 6 7 8 9 0 a a a M ",
-"d U O F v m n f g ] ^ V W X : < [ } | 1 Y Z `  ...7 8 9 0 a a M ",
-"d +.U O F v m n f g @.#.$.%._ : < [ } | 1 I &.*.=.-.7 8 9 0 a M ",
-";.>.+.U O F v m n ,.'.).!.~.( _ : < [ } | {.].^./.(._.:.8 9 0 M ",
-";.<.>.+.U O F v [.}.|.1.2.3./ ( _ : < [ 4.(.5.2 6.7.(.*.8.9.0.a.",
-";.b.<.>.+.U O c.d.e.n f.g.] ^ / ( _ : < h.i.| 1 j.k.l.m.n.o.p.q.",
-"r.s.b.<.>.+.t.u.v.w.m x.y.z.] A.B.C.D.: E.E.} F.G.H.3 4 5 6 7 , ",
-"I.J.s.b.K.L.M.N.O.P.v Q.*.R.g S.T.U.V._ W.X.[ } | 1 2 3 4 5 6 , ",
-"I.Y.J.s.Z.`. +.+U O F ++*. at +f #+$+%+&+( *+*.=+[ } | 1 2 3 4 5 > ",
-"-+;+Y.J.s.b.<.>.+.U O >+*.,+n '+)+*.!+/ W *.~+< [ } | 1 2 3 4 ; ",
-"{+]+;+Y.J.s.b.<.>.+.U ^+B /+m n f (+_+^ :+*.<+: < [ } | 1 2 3 ; ",
-"[+}+]+;+Y.J.s.b.<.>.|+1+2+F v m n f g ] 3+*.4+_ : < [ } | 1 2 = ",
-"5+6+}+]+;+Y.J.s.b.<.7+*.8+O F v m n f g 9+*.0+( _ : < [ } | 1 = ",
-"5+a+6+}+]+;+Y.J.s.b.b+*.c+U O F v m n f d+*.e+/ ( _ : < [ } | = ",
-"f+g+a+6+}+]+;+Y.J.s.h+i+j++.k+l+m+n+m n o+p+q+^ / ( _ : < [ } r+",
-"s+t+g+a+6+}+]+;+Y.u+B v+<.w+x+y+z+A+B+m C+D+g ] ^ / ( _ : < [ c ",
-"s+E+t+g+a+6+}+]+;+F+*.G+b.`.*.H+I+J+K+v L+M+f g ] ^ / ( _ : < c ",
-"s+E+E+t+g+a+6+}+N+O+P+Q+s.R+` S+T+U+O V+*.W+n f g ] ^ / ( _ : X+",
-"s+E+E+E+t+g+a+6+Y+*.Z+Y.J.`+ @<.. at +@U @@*.#@m n f g ] ^ / ( _ $@",
-"s+E+E+E+E+%@&@*@=@-@;@>@,@'@)@b.!@~@+.{@x.]@v m n f g ] ^ / ( ^@",
-"s+E+/@(@_@:@<@[@}@|@i+` 1 at 2@3 at 4@5 at r 6 at 7@U O F v m n f g ] ^ / ^@",
-"s+8 at 9@0 at a@E+E+t+g+a+b at c@d at e@f at g@h at i@*.*.j at k@l at m@n at o@p at q@r@] ^ @ ",
-"s at t@E+E+E+E+E+E+t+g+a+6+}+]+;+Y.J.u at v@w at x@y at z@A at B@C at D@E at F@g ] G@",
-"H at I@E+E+E+E+E+E+E+t+g+a+6+}+]+;+Y.J.s.b.<.>.+.U O F v m n f J at K@",
-"  L at M@E+E+E+E+E+E+E+t+g+a+6+}+]+;+Y.J.s.b.<.>.+.U O F v m N at O@  ",
-"    P at Q@R at R@R at R@R at R@R at R@S at S@S at T@H at H@H at U@V at V@V@;.;.;.W at u X at Y@    "};

Added: trunk/packages/gnuhealth/trunk/debian/install
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/install	                        (rev 0)
+++ trunk/packages/gnuhealth/trunk/debian/install	2014-06-09 21:42:17 UTC (rev 17092)
@@ -0,0 +1,2 @@
+scripts/upgrade/2.0/pre.py usr/share/gnuhealth/scripts/upgrade/2.0
+scripts/upgrade/2.4/remove_test_module.sql usr/share/gnuhealth/scripts/upgrade/2.4

Modified: trunk/packages/gnuhealth/trunk/debian/rules
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/rules	2014-06-09 21:05:31 UTC (rev 17091)
+++ trunk/packages/gnuhealth/trunk/debian/rules	2014-06-09 21:42:17 UTC (rev 17092)
@@ -18,7 +18,7 @@
 	@
 
 TRYTON_PATH:=$(shell python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
-DESTDIR:="debian/gnuhealth-server$(TRYTON_PATH)/trytond/modules"
+DESTDIR:="debian/gnuhealth$(TRYTON_PATH)/trytond/modules"
 override_dh_auto_install:
 	dh_auto_install
 	# GNU Health used to have a Makefile, but now we have to do it manually here
@@ -29,8 +29,6 @@
 	find debian -name "health_qrcodes" -type d -prune -execdir rm -r \{\} \;
 	# Mark all the Python scripts non-executable
 	find debian -name "*.py"  -type f -executable -exec chmod a-x \{\} \;
-	# Mark the gnuhealth-client script executable
-	chmod a+x debian/gnuhealth-client.py
 	# Remove all the tests folders from the binary package
 	find debian -name "tests" -type d -prune -execdir rm -r \{\} \;
 




More information about the debian-med-commit mailing list