From: Jambunathan K <kjambunathan@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: Bastien <bzg@gnu.org>, Tassilo Horn <tsdh@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF
Date: Mon, 11 Feb 2013 09:06:01 +0530 [thread overview]
Message-ID: <87y5evmsim.fsf@gmail.com> (raw)
In-Reply-To: <vpobfr3nbb.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 10 Feb 2013 15:51:04 -0500")
Glenn Morris <rgm@gnu.org> writes:
> Bastien wrote:
>
>>> PS I think it's impossible to have unoconv without soffice, so this
>>> change amounts to "always use soffice".
>>
>> I'm not sure I get the logic here: you need to have soffice installed
>> if you want to use unoconv, but being able to use unoconv instead of
>> soffice is good. So as I understand it, the change does not amount
>> to "always use soffice", does it?
>
> (cond
> ((executable-find "soffice") "soffice")
> ((executable-find "unoconv") "unoconv")
> (t "soffice"))
>
> It is impossible for this to return anything but "soffice".
> IMO it should be:
>
> (or (executable-find "unoconv") "soffice")
I didn't put deliberate thought in what the order should be.
My patch WILL require tweaks on a case-by-case basis. My immediate focus
was to get the functionality in. I invite people with commit access to
fix "minor issues" without much ado.
soffice comes from libreoffice-common
,----
| kjambunathan@debian-6:~$ dpkg -S /usr/bin/soffice
| libreoffice-common: /usr/bin/soffice
`----
unoconv does NOT depend on libreoffice-common
,----
| kjambunathan@debian-6:~$ apt-rdepends unoconv | grep libre
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Depends: libreadline6 (>= 6.0)
| libreadline6
`----
unoconv instread depends on openoffice.org packages
,----
| kjambunathan@debian-6:~$ apt-rdepends unoconv | grep office
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Depends: openoffice.org-core (= 1:3.2.1-11+squeeze7)
| openoffice.org-core
| Depends: openoffice.org-common (>> 1:3.2.1)
| openoffice.org-common
| Depends: openoffice.org-style
| Depends: openoffice.org-style-default
| openoffice.org-style
| openoffice.org-style-default
`----
I see an soffice.sh in /etc/openoffice/soffice.sh
,----
| kjambunathan@debian-6:~$ dpkg -L openoffice.org-common
| /etc
| /etc/bash_completion.d
| /etc/bash_completion.d/ooffice.sh
| /etc/openoffice
| /etc/openoffice/sofficerc
| /etc/openoffice/psprint.conf
| /etc/openoffice/soffice.sh
| kjambunathan@debian-6:~$
`----
>
>
--
next prev parent reply other threads:[~2013-02-11 3:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1U47Uj-0004Wk-3p@vcs.savannah.gnu.org>
2013-02-09 14:26 ` [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF Stefan Monnier
2013-02-09 20:03 ` Glenn Morris
2013-02-10 0:26 ` Glenn Morris
2013-02-10 8:57 ` Bastien
2013-02-10 20:51 ` Glenn Morris
2013-02-11 3:36 ` Jambunathan K [this message]
2013-02-11 4:40 ` Stephen J. Turnbull
2013-02-12 9:59 ` Tassilo Horn
2013-02-12 11:58 ` Tassilo Horn
2013-02-10 11:07 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y5evmsim.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=bzg@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rgm@gnu.org \
--cc=tsdh@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).