Discussion:
In Thunar "send to email" doesn't work
Kyrill Detinov
2013-05-02 07:26:01 UTC
Permalink
Hello.

In Thunar right click on a file and select "Send to ->
Email" (translated from Russian).

I have an error window:

...
"/usr/lib/xfce4/exo-1/exo-compose-mail-1" (no such file or directory).

I'm running x86_64 system and exo-compose-mail-1 is installed
in /usr/lib64/xfce4/exo-1/.

openSUSE Factory
libexo-1-0-0.10.2-67.12.x86_64
thunar-1.6.2-87.14.x86_64
--
WBR
Kyrill
Guido Berhoerster
2013-05-02 09:13:28 UTC
Permalink
Post by Kyrill Detinov
Hello.
In Thunar right click on a file and select "Send to ->
Email" (translated from Russian).
...
"/usr/lib/xfce4/exo-1/exo-compose-mail-1" (no such file or directory).
I'm running x86_64 system and exo-compose-mail-1 is installed
in /usr/lib64/xfce4/exo-1/.
openSUSE Factory
libexo-1-0-0.10.2-67.12.x86_64
thunar-1.6.2-87.14.x86_64
I cannot reproduce this in a default install, please look up what
your preferred mail reader is by executing
exo-preferred-applications and then find the corresponding
desktop file in /usr/share/xfce4/helpers/. E.g. the default
install has thunderbird as the preferred mail reader which
corresponds to /usr/share/xfce4/helpers/thunderbird.desktop which
has the correct path
X-XFCE-CommandsWithParameter=/usr/lib64/xfce4/exo-1/exo-compose-mail-1 mozilla-remote %B "mailto:%s";/usr/lib64/xfce4/exo-1/exo-compose-mail-1 mozilla %B "mailto:%s";
My guess would be that your exo-data is not in sync with libexo-1-0.

Since exo now supports --with-helper-path-prefix I'll reorganize the package
putting the helper binaries under %{_libexecdir}/exo-1, move the data to a
versioned directory and merge it into the library subpackage.
--
Guido Berhoerster
Kyrill Detinov
2013-05-02 10:52:51 UTC
Permalink
Post by Guido Berhoerster
E.g. the default
install has thunderbird as the preferred mail reader which
corresponds to /usr/share/xfce4/helpers/thunderbird.desktop which
has the correct path
X-XFCE-CommandsWithParameter=/usr/lib64/xfce4/exo-1/exo-compose-mail-1
mozilla-remote %B
"mailto:%s";/usr/lib64/xfce4/exo-1/exo-compose-mail-1 mozilla %B
"mailto:%s";
I have
X-XFCE-CommandsWithParameter=/usr/lib/xfce4/exo-1/exo-compose-mail-1
mozilla-remote %B "mailto:%s";/usr/lib/xfce4/exo-1/exo-compose-mail-1
mozilla %B "mailto:%s";

I think, the problem is exo-data is built noarch. Really i586 and
x86_64 are different. But a build server keeps the only version.

I just downloaded
https://build.opensuse.org/package/binary?arch=x86_64&filename=exo-data-0.10.2-67.12.noarch.rpm&package=exo&project=X11%3Axfce&repository=openSUSE_Factory

And it contains /usr/lib/xfce4/exo-1/.

Build log i586:
[ 134s] /usr/bin/install -c exo-compose-mail-1 '/home/abuild/rpmbuild/BUILDROOT/exo-0.10.2-67.12.i386/usr/lib/xfce4/exo-1'

Build log x86_64:
[ 154s] /usr/bin/install -c exo-compose-mail-1 '/home/abuild/rpmbuild/BUILDROOT/exo-0.10.2-67.12.x86_64/usr/lib64/xfce4/exo-1'
--
WBR
Kyrill
Kyrill Detinov
2013-05-02 11:03:27 UTC
Permalink
Post by Kyrill Detinov
[ 134s] /usr/bin/install -c exo-compose-mail-1
'/home/abuild/rpmbuild/BUILDROOT/exo-0.10.2-67.12.i386/usr/lib/xfce4/exo-1'
[ 154s] /usr/bin/install -c exo-compose-mail-1
'/home/abuild/rpmbuild/BUILDROOT/exo-0.10.2-67.12.x86_64/usr/lib64/xfce4/exo-1'
It is for i586:
[ 113s] sed -e 's,\@HELPERDIR\@,/usr/lib/xfce4/exo-1,g' < thunderbird.desktop.in.in > thunderbird.desktop.in

For x86_64:
[ 123s] sed -e 's,\@HELPERDIR\@,/usr/lib64/xfce4/exo-1,g' < thunderbird.desktop.in.in > thunderbird.desktop.in
--
WBR
Kyrill
Guido Berhoerster
2013-05-02 11:10:22 UTC
Permalink
Post by Kyrill Detinov
Post by Guido Berhoerster
E.g. the default
install has thunderbird as the preferred mail reader which
corresponds to /usr/share/xfce4/helpers/thunderbird.desktop which
has the correct path
X-XFCE-CommandsWithParameter=/usr/lib64/xfce4/exo-1/exo-compose-mail-1
mozilla-remote %B
"mailto:%s";/usr/lib64/xfce4/exo-1/exo-compose-mail-1 mozilla %B
"mailto:%s";
I have
X-XFCE-CommandsWithParameter=/usr/lib/xfce4/exo-1/exo-compose-mail-1
mozilla-remote %B "mailto:%s";/usr/lib/xfce4/exo-1/exo-compose-mail-1
mozilla %B "mailto:%s";
I think, the problem is exo-data is built noarch. Really i586 and
x86_64 are different. But a build server keeps the only version.
I just downloaded
https://build.opensuse.org/package/binary?arch=x86_64&filename=exo-data-0.10.2-67.12.noarch.rpm&package=exo&project=X11%3Axfce&repository=openSUSE_Factory
And it contains /usr/lib/xfce4/exo-1/.
[ 134s] /usr/bin/install -c exo-compose-mail-1 '/home/abuild/rpmbuild/BUILDROOT/exo-0.10.2-67.12.i386/usr/lib/xfce4/exo-1'
[ 154s] /usr/bin/install -c exo-compose-mail-1 '/home/abuild/rpmbuild/BUILDROOT/exo-0.10.2-67.12.x86_64/usr/lib64/xfce4/exo-1'
Yes, the upstream default of installing helper binaries in
arch-specific directories rather than libexecdir does not make
much sense, in particular not when considering multi-arch or
parallel installable library packages. I've now configured it to
install helper binaries into libexecdir and merged the helpers db
into the lib package since some desktop files are tied to the exo
API version.
--
Guido Berhoerster
Loading...