[med-svn] [gnumed-client] 07/09: Generate gnumed-client.conf out of example
Andreas Tille
tille at debian.org
Sat Mar 19 15:11:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gnumed-client.
commit f863aeaaabf1b3832e3c0235159757b83e7dfb6f
Author: Andreas Tille <tille at debian.org>
Date: Sat Mar 19 15:49:05 2016 +0100
Generate gnumed-client.conf out of example
---
debian/changelog | 1 +
debian/conf/gnumed-client.conf | 253 -----------------------------------------
debian/gnumed-client.install | 1 -
debian/rules | 3 +
4 files changed, 4 insertions(+), 254 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 82c6b92..a0cbb37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ gnumed-client (1.6.0+dfsg-1) UNRELEASED; urgency=medium
* gnumed-client-common: Suggests: dmtx-utils | iec16022
* Install apstream data
* cme fix dpkg-control
+ * Generate gnumed-client.conf out of example
-- Andreas Tille <tille at debian.org> Sat, 19 Mar 2016 14:44:31 +0100
diff --git a/debian/conf/gnumed-client.conf b/debian/conf/gnumed-client.conf
deleted file mode 100644
index 5f5a44d..0000000
--- a/debian/conf/gnumed-client.conf
+++ /dev/null
@@ -1,253 +0,0 @@
-# -------------------------------------------------------------
-# GNUmed client config file
-# -------------------------------------------------------------
-# This file can be used as:
-#
-# ~/.gnumed/gnumed.conf
-# /etc/gnumed/gnumed-client.conf
-#
-# See also:
-#
-# http://wiki.gnumed.de/bin/view/Gnumed/ConfigFiles
-# http://wiki.gnumed.de/bin/view/Gnumed/CustomizingClientStartup
-# http://wiki.gnumed.de/bin/view/Gnumed/ConfigurationStoredInBackend
-# http://wiki.gnumed.de/bin/view/Gnumed/WorkPlace
-#
-# man gnumed
-#
-# -------------------------------------------------------------
-
-
-# -------------------------------------------------------------
-[preferences]
-profile = GNUmed database at publicdb.gnumed.de (PUBLIC) (gnumed_v20 at publicdb.gnumed.de)
-login = any-doc
-
-
-# -------------------------------------------------------------
-[backend]
-
-# these are the standard accounts installed with any
-# stock installation, they should be disabled when going
-# into production because the passwords are known to all
-# (it is "any-doc" / "any-staff" as well)
-#
-logins = $logins$
-any-doc
-any-staff
-$logins$
-
-
-profiles = $profiles$
-GNUmed database on this machine ("local": Linux/Mac)
-GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)
-GNUmed database at publicdb.gnumed.de (PUBLIC)
-$profiles$
-
-
-# If the system locale matches this value a mismatch
-# with the database locale will be ignored.
-# Remove this option if you want to stop ignoring mismatches.
-#
-#ignored mismatching system locale = de_DE at euro
-
-
-# If GNUmed cannot detect the proper timezone from system
-# information or you want to use a timezone different from
-# the system GNUmed is running on you can explicitly set
-# the time zone here.
-# Note that the timezone must be a valid PostgreSQL timezone
-# string. If in doubt consult the PostgreSQL docs.
-# If you don't want to change the timezone GNUmed detects
-# in the system you need to comment out this option.
-#
-#client timezone = Europe/Berlin
-
-
-# -------------------------------------------------------------
-[profile GNUmed database on this machine ("local": Linux/Mac)]
-
-host =
-port = 5432
-database = gnumed_v20
-public/open access = 0
-help desk = Your own IT support <needs configuration>
-last known workplaces = $last known workplaces$
-Clinician
-Front Desk
-GNUmed Default
-Local Default
-xxxDEFAULTxxx
-$last known workplaces$
-
-
-# -------------------------------------------------------------
-[profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)]
-
-host = 127.0.0.1
-port = 5432
-database = gnumed_v20
-public/open access = 0
-help desk = Your own IT support <needs configuration>
-
-
-# -------------------------------------------------------------
-[profile GNUmed database at publicdb.gnumed.de (PUBLIC)]
-
-# the computer (IP or hostname) your database is hosted on,
-# (publicdb is our public database, formerly known as <salaam.homeunix.com>)
-host = publicdb.gnumed.de
-
-# the port PostgreSQL is accepting connections on,
-# typically 5432, but maybe 5433 or even 5434 when
-# there are several PostgreSQL instances running
-# on a database server
-port = 5432
-database = gnumed_v20
-# public/open access controls exception message and log handling
-# 0 --> message by default goes to public list if no receiver given
-# 0 (1) --> log is (not) included by default, which user can override
-public/open access = 1
-
-help desk = GNUmed Development List <gnumed-bugs at gnu.org>
-
-last known workplaces = $last known workplaces$
-Clinician
-Dra Claribel Desena Reyes
-Front Desk
-GNUmed Default
-Local Default
-xxxDEFAULTxxx
-$last known workplaces$
-
-# -------------------------------------------------------------
-[client]
-
-# Here you can define the plugins installed for this client on
-# this machine. This is only useful if scanning the plugin
-# directory fails, such as when running a EXE-fied Windows
-# version of the client
-#installed plugins = $installed plugins$
-#plugin A
-#plugin B
-#plugin C
-#$installed plugins$
-
-# -------------------------------------------------------------
-[workplace]
-
-# Here you can define profiles for XDT files
-# provided by other applications such as
-# German practice management software.
-#
-XDT profiles = $XDT profiles$
-$XDT profiles$
-
-
-# default is 9999 if not set
-#
-#xml-rpc port = 9999
-
-
-# default is gnumed-client if not set
-#
-#slave personality = <personality>
-
-
-# Set the help desk contact information for your
-# GNUmed installation here. If this includes a
-# valid email address that address can be used
-# to email error logs to on request.
-help desk = GNUmed Development List <gnumed-bugs at gnu.org>
-
-
-# Which workplace to use.
-#
-# http://wiki.gnumed.de/bin/view/Gnumed/WorkPlace
-#
-# This will influence which plugins are loaded and
-# which configuration values are used. The default
-# workplace hardcoded into GNUmed is called:
-#
-# name = Local Default
-#
-# Another useful workplace for testing would be "Clinician".
-#
-# If there is a problem with a workplace such that
-# GNUmed cannot successfully load plugins you can
-# set the name to
-#
-#name = System fallback
-#
-# which will make GNUmed start with a minimal set of
-# plugins. After fixing the problem reset the name
-# to whatever you previously used, or re-comment it
-# out.
-#
-name = GNUmed Default
-#name = System fallback
-#name = Clinician
-#name = Front Desk
-#name = <a workplace name>
-
-
-# Here you can set the font you want the client to use.
-#
-# GNUmed by default uses the "DejaVu Sans" - if found - on
-# Windows or else the system default unless you explicitely
-# set another font here.
-#
-# Note that when selecting a font you better choose one with
-# good coverage of Unicode symbols because GNUmed makes use
-# of those.
-#
-#client font = DejaVu Sans # fallback on Windows
-#client font = <a font name>
-
-
-# -------------------------------------------------------------
-[XDT profile generic XDT connector]
-
-# a short (!) description of the xDT source,
-# this will be shown to the user when activating
-# a patient from an xDT file
-source = xDT allgemein
-
-# this is the name of the file eventually containing
-# the patient data in xDT format
-filename = patient.xdt
-
-#DOB format =
-#encoding =
-
-
-# -------------------------------------------------------------
-[XDT profile Terminiko]
-
-filename = /home/ncq/gnumed/tmp/terminiko2gnumed.xdt
-
-
-# -------------------------------------------------------------
-[XDT profile TurboMed/Win]
-
-source = TM/Win
-encoding = cp437
-DOB format = %d%m%Y
-filename = C:\Turbomed\patient.xdt
-
-
-# -------------------------------------------------------------
-[AU PracSoft PATIENTS.IN]
-
-source = PracSoft (fake)
-filename = ~/gnumed/xDT/PATIENTS.IN
-
-
-# -------------------------------------------------------------
-[CA Medical Manager MSVA]
-
-# typically something along the lines:
-#filename = <DRIVE>:\somewhere\VMEDICAL\EXPORT\PATEXPORT
-
-# in the git tree:
-filename = ../data/other/CA-MSVA.txt.test
diff --git a/debian/gnumed-client.install b/debian/gnumed-client.install
index 94396b1..59ef4a1 100644
--- a/debian/gnumed-client.install
+++ b/debian/gnumed-client.install
@@ -6,7 +6,6 @@ client/wxGladeWidgets usr/share/gnumed/Gnumed
client/gnumed usr/bin
external-tools/gm-print_doc usr/bin
external-tools/gm-convert_file usr/bin
-debian/conf/[gm]*.conf etc/gnumed
client/connectors/gm_ctl_client.conf etc/gnumed
client/bitmaps/*.png usr/share/gnumed/bitmaps
debian/gnumed.xpm usr/share/pixmaps
diff --git a/debian/rules b/debian/rules
index 3e85b5a..7612d40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,6 +43,9 @@ override_dh_install:
# Remove appendix .py from gm_ctl_client
cp -a client/connectors/gm_ctl_client.py debian/$(client)/usr/bin/gm_ctl_client
+ # Generate config out of example
+ sed 's/# *\(name = GNUmed Default\)/\1/' client/etc/gnumed/gnumed-client.conf.example > debian/$(client)/etc/gnumed/gnumed-client.conf
+
# Remove extra license file
find debian/$(client) -name COPYING -delete
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gnumed-client.git
More information about the debian-med-commit
mailing list