diff -Nru libreoffice-3.6.2~rc1/debian/changelog libreoffice-3.6.2~rc1/debian/changelog --- libreoffice-3.6.2~rc1/debian/changelog 2012-09-14 05:01:17.000000000 -0400 +++ libreoffice-3.6.2~rc1/debian/changelog 2012-10-07 21:39:40.000000000 -0400 @@ -1,3 +1,9 @@ +libreoffice (1:3.6.2~rc1-1.1) UNRELEASED; urgency=low + + * senddoc.sh sensible-lomua patch defaults to standard mailto handler + + -- daves Sun, 07 Oct 2012 21:38:32 -0400 + libreoffice (1:3.6.2~rc1-1) experimental; urgency=low * new upstream release candidate diff -Nru libreoffice-3.6.2~rc1/debian/patches/sensible-lomua.diff libreoffice-3.6.2~rc1/debian/patches/sensible-lomua.diff --- libreoffice-3.6.2~rc1/debian/patches/sensible-lomua.diff 2012-09-10 12:17:23.000000000 -0400 +++ libreoffice-3.6.2~rc1/debian/patches/sensible-lomua.diff 2012-10-07 21:34:19.000000000 -0400 @@ -1,8 +1,8 @@ -Index: logit/officecfg/registry/data/org/openoffice/Office/Common.xcu +Index: libreoffice-3.6.2~rc1/officecfg/registry/data/org/openoffice/Office/Common.xcu =================================================================== ---- logit.orig/officecfg/registry/data/org/openoffice/Office/Common.xcu 2011-11-22 20:57:46.000000000 +0000 -+++ logit/officecfg/registry/data/org/openoffice/Office/Common.xcu 2011-11-24 16:31:09.504024867 +0000 -@@ -659,8 +659,7 @@ +--- libreoffice-3.6.2~rc1.orig/officecfg/registry/data/org/openoffice/Office/Common.xcu 2012-10-07 21:03:17.662850386 -0400 ++++ libreoffice-3.6.2~rc1/officecfg/registry/data/org/openoffice/Office/Common.xcu 2012-10-07 21:03:57.174850591 -0400 +@@ -665,8 +665,7 @@ @@ -12,17 +12,22 @@ -Index: logit/shell/source/unix/misc/senddoc.sh +Index: libreoffice-3.6.2~rc1/shell/source/unix/misc/senddoc.sh =================================================================== ---- logit.orig/shell/source/unix/misc/senddoc.sh 2011-11-22 20:57:46.000000000 +0000 -+++ logit/shell/source/unix/misc/senddoc.sh 2011-11-24 16:30:30.276027576 +0000 -@@ -59,6 +59,25 @@ +--- libreoffice-3.6.2~rc1.orig/shell/source/unix/misc/senddoc.sh 2012-10-07 21:03:17.662850386 -0400 ++++ libreoffice-3.6.2~rc1/shell/source/unix/misc/senddoc.sh 2012-10-07 21:29:13.074858447 -0400 +@@ -59,6 +59,30 @@ shift fi +case `basename "$MAILER"` in + sensible-lomua) -+ if [ -n "$GNOME_DESKTOP_SESSION_ID" -a -x /usr/bin/evolution ]; then ++ if [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] \ ++ || [ -x /usr/bin/gnome-open ] \ ++ || [ -x /usr/bin/xdg-open ]; then ++ # use an undefined mailer, to trigger the default handling ++ MAILER=undefined ++ elif [ -n "$GNOME_DESKTOP_SESSION_ID" -a -x /usr/bin/evolution ]; then + MAILER=/usr/bin/evolution + elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kmail ]; then + MAILER=/usr/bin/kmail