[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and
From: |
Jambunathan K |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Glenn Morris <address@hidden> 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
,----
| address@hidden:~$ dpkg -S /usr/bin/soffice
| libreoffice-common: /usr/bin/soffice
`----
unoconv does NOT depend on libreoffice-common
,----
| address@hidden:~$ 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
,----
| address@hidden:~$ 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
,----
| address@hidden:~$ 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
| address@hidden:~$
`----
>
>
--
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Stefan Monnier, 2013/02/09
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Glenn Morris, 2013/02/09
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Glenn Morris, 2013/02/09
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Bastien, 2013/02/10
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Glenn Morris, 2013/02/10
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF,
Jambunathan K <=
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Stephen J. Turnbull, 2013/02/10
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Tassilo Horn, 2013/02/12
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Tassilo Horn, 2013/02/12
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF, Tassilo Horn, 2013/02/10