Re: FreeMedForms new upstream
- To: debian-med@lists.debian.org
- Cc: Eric Maeker <eric.maeker@gmail.com>
- Subject: Re: FreeMedForms new upstream
- From: Andreas Tille <andreas@an3as.eu>
- Date: Wed, 3 Jul 2013 23:02:50 +0200
- Message-id: <[🔎] 20130703210250.GC14702@an3as.eu>
- In-reply-to: <20130626062158.GA9774@an3as.eu>
- References: <D61C00CF-58E8-4842-ACE4-0A917E4C6D4B@gmail.com> <A8557659-466C-4A86-A7C2-751AD258962B@gmail.com> <BCC950F1-3708-4F00-B099-DC6C8A551FE5@gmail.com> <CD9EBEFC-8F15-47BF-BCDF-448C0A86CAAC@gmail.com> <20130617095306.GB3415@an3as.eu> <DA6528D9-725E-404A-9812-2AA37D923BDE@gmail.com> <20130626062158.GA9774@an3as.eu>
Hi Eric,
thanks for the reminder you just sended but I expected some reaction
from your side to the rpath related things I have written below.
Kind regards
Andreas.
On Wed, Jun 26, 2013 at 08:21:58AM +0200, Andreas Tille wrote:
> Hi,
>
> On Tue, Jun 25, 2013 at 09:50:19PM +0200, Eric Maeker wrote:
> > Le 17 juin 2013 à 11:53, Andreas Tille a écrit :
> >
> > > I try to have another look into the rpath issue if not yet solved.
>
> Sorry for not beeing able to check this until now. :-(
>
> > I think the best way to correct the rpath issue is:
> > - to add to qmake commandline: "CONFIG+=norpath"
>
> Sounds promising.
>
> > - create a bin wrapper that sets the LD_LIBRARY_PATH to the right place according to the application
>
> I do not think that a wrapper is needed at all. That's the point of the
> lintian warning that RPATH should not be set because it is simply
> unneeded. At installation time dpkg is making sure that all installed
> libraries will be found and there is no need for extra LD_LIBRARY_PATH.
>
> > /usr/bin/freemedforms.sh -> Wrapper to "/usr/bin/freemedforms" that can be simple bash like this
> > #!/bin/sh
> > # Here an example for the FreeMedForms EMR
> > # May be wildcards can lead to uncorrect behavior
> > PLUGINS_PATH="/usr/lib*/freemedforms"
> > LIBS_PATH="/usr/lib*/freemedforms-common"
> > LD_LIBRARY_PATH=$PLUGINS_PATH:$LIBS_PATH${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
> > export LD_LIBRARY_PATH
> > exec "freemedforms" ${1+"$@"}
> >
> > Then make all launchers point to /usr/bin/freemedforms.sh
> >
> > Untested.
> > Any comment?
>
> Because I will most probably not manage to check this in the next two
> days (at least) I'd recommend you simply try CONFIG+=norpath and see
> whether everything works nicely.
>
> Kind regards
>
> Andreas.
>
>
> --
> http://fam-tille.de
>
>
> --
> To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20130626062158.GA9774@an3as.eu
>
>
--
http://fam-tille.de
Reply to: