The patch was applied upstream :

commit 60845a6d213f7e84857608f828dbbfd5d1c69e58
Author: Peter Tillemans <p...@snamellit.com>
Date:   Tue Jun 26 12:20:36 2012 +0100

    enable gnome-mail and xdg-mail
    
    Change-Id: Iba47ee76328aeb4734dbeb46322a9516b0ea9f7a


Is there anything else to be done for this bug report?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1011735

Title:
  LibreOffice ignores setting mailclient to gnome-gmail

Status in “libreoffice” package in Ubuntu:
  Incomplete

Bug description:
  LibreOffice does some weird checking on email clients.

  by default it sends the mails to "sensible-lomua" which is added by
  the upstream. However this is not a script, but if this is added it is
  passed to a delivery script.

  It delegates actual delivery to a script :
  /usr/lib/libreoffice/program/senddoc

  The senddoc script is patched upstream to translate "sensible-lomua"
  to some mail user agent for which an executable is found and rewrites
  the mail delivery executable. This also has no support for gnome-
  gmail.

  gnome-gmail has the same (or at least similar) CLI params as
  evolution, so I could workaround the issue by creating a symbolic link
  :

      cd /usr/bin
      sudo ln -s gnome-gmail evolution

  LibreOffice now picks up the executable file and does the right thing.

  
  This is a practical workaround, but rather hacky...

  
  This patch applied to senddoc adds support for gnome-mail :

  --- a/usr/lib/libreoffice/program/senddoc     2012-04-10 19:14:24.000000000 
+0200
  +++ b/usr/lib/libreoffice/program/senddoc     2012-06-11 19:28:19.854232144 
+0200
  @@ -65,6 +65,9 @@
               MAILER=/usr/bin/evolution
           elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kmail ]; then
               MAILER=/usr/bin/kmail
  +        elif [ -x /usr/bin/gnome-gmail ]; then
  +            # fallback
  +            MAILER=/usr/bin/gnome-gmail
           elif [ -x /usr/bin/evolution ]; then
               # default
               MAILER=/usr/bin/evolution
  @@ -227,7 +230,7 @@
           rm -f $BODY
           ;;
   
  -    evolution)
  +    evolution | gnome)
   
           while [ "$1" != "" ]; do
               case $1 in


  the strange addition of "gnome" after "evolution" is because the
  basename of the mailer is piped through sed to remove 'suffixes" from
  the name, which also removes the "-gmail" part.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libreoffice-common 1:3.5.3-0ubuntu1 [modified: 
usr/lib/libreoffice/program/senddoc]
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Mon Jun 11 19:01:51 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  PackageArchitecture: all
  ProcEnviron:
   LC_CTYPE=en_US.UTF-8
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1011735/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to