Discussion:
sensible-lomua patch patch ping
Rene Engelhard
2012-09-17 17:57:58 UTC
Permalink
Forgive me if you already knew about this. I was confused when this
bug submission did not turn up on the debian-openoffice list, and
wanted to make sure you had a chance to be notified about it.
Then you should have sent it to the maintainer explicitely.
/me is not the maintainer, debian-openoffice is. :-)
(Though I am de-facto the sole one maintaining it.)

Fullquoting for -openoffice's sake.

(and yes, the BTS seems to have problems reaching -openoffice. You're
not the only one)
The Debian LibreOffice sensible-lomua patch defines the default mail
handler, by going through a predefined list of MUA's in a set order,
and setting the mailer to the first one found on the system. In
practice, this means that "Send Document by Email" invokes Evolution,
regardless of which mailer may be configured by the user.
If you have evolution installed and didn't manually set the option yourself
in the options, yes.
Starting in 3.6, senddoc.sh handles mailers that it does not
understand by executing xdg-open (or another of its ilk) with a mailto
URL. This allows the desktop to manage which mailer is to be used.
Ah.

But what happens if xdg-utils isn't installed?
The attached patch amends sensible-lomua.diff to make 'sensible-lomua'
an undefined case in senddoc.sh, in effect making xdg-open the default
MUA interface.
The attached patch is nonsense, sorry.
Why not fix sensible-lomua.diff instead instead of adding a new patch which in fact
removes sensible-lomua.diff?

But I see the point of this patch..

But we probably should check for xdg-open, use it if there and if not, do what
we have already?

Regards,

Rene
Dave Steele
2012-09-17 19:45:31 UTC
Permalink
...
Post by Rene Engelhard
The Debian LibreOffice sensible-lomua patch defines the default mail
handler, by going through a predefined list of MUA's in a set order,
and setting the mailer to the first one found on the system. In
practice, this means that "Send Document by Email" invokes Evolution,
regardless of which mailer may be configured by the user.
If you have evolution installed and didn't manually set the option yourself
in the options, yes.
The point is that I should be able to configure the mailer in GNOME,
instead of in LibreOffice (and whatever other applications).
Post by Rene Engelhard
Starting in 3.6, senddoc.sh handles mailers that it does not
understand by executing xdg-open (or another of its ilk) with a mailto
URL. This allows the desktop to manage which mailer is to be used.
Ah.
But what happens if xdg-utils isn't installed?
senddoc.sh also checks for and uses kde-open or gnome-open. As the
developer of a smaller MUA (gnome-gmail), I'd prefer a LibreOffice
strategy of searching for mailto: handlers, rather than checking for
mail handlers sorted by popularity.
Post by Rene Engelhard
The attached patch amends sensible-lomua.diff to make 'sensible-lomua'
an undefined case in senddoc.sh, in effect making xdg-open the default
MUA interface.
The attached patch is nonsense, sorry.
Why not fix sensible-lomua.diff instead instead of adding a new patch which in fact
removes sensible-lomua.diff?
It's a mess, granted. I had some difficulty setting up the work
environment. This was the easiest way for me to define the changes.

It doesn't remove the whole sensible-lomua patch - just the
modifications to senddoc.sh. "sensible-lomua" is still the configured
mailer, but it is not defined in senddoc, invoking the 'unknown
mailer' code.
Post by Rene Engelhard
But I see the point of this patch..
But we probably should check for xdg-open, use it if there and if not, do what
we have already?
That would meet my needs. Note that senddoc does not have a case for
e.g. xdg-open. You would need to define a bogus mailer if xdg-open is
found. The patch should probably also check for kde-open and
gnome-open - see the senddoc.sh *) case.
Post by Rene Engelhard
Regards,
Rene
Thanks for the prompt reply.
Dave Steele
2012-10-08 02:55:49 UTC
Permalink
...
Post by Rene Engelhard
Why not fix sensible-lomua.diff instead instead of adding a new patch which in fact
removes sensible-lomua.diff?
...
Post by Rene Engelhard
But I see the point of this patch..
But we probably should check for xdg-open, use it if there and if not, do what
we have already?
debdiff, and updated sensible-lomua.diff, attached.

Loading...