! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
exo-compose-mail-1 is a perl script that pulls in a giant pile of perl deps o...


Description seth vidal 2013-03-29 19:56:03 CET
 I have no objection to perl itself - but I don't love pulling in a bunch of package deps for a single script which handles mailtos.

When I was looking at the xfce pkg deps and I noticed that exo pulls in perl I went looking for why and came up with the exo-compose-mail-1 script causing it all.

Since many modern linux distros use python for system tools (fedora, ubuntu, debian, centos, rhel, etc, etc, etc) I rewrote the script in python.

I've only tested it with claws-mail and a little bit with thunderbird but if there is a test suite that can be run against it I'd be happy to try that out.

the script is here


If the exo maintainers would like to use it (or any parts of it) to replace the perl script I am happy to contribute it.

If not or if you have other plans for the exo-compose-mail-1 script, then that's fine too. :)

I was just trying to minimize dependencies on my system. :)
Comment 1 Urmas 2019-11-23 15:53:04 CET
Please fix that, it is completely unreasonable to depend on both perl and python!
Comment 2 Skunnyk editbugs 2019-11-23 17:22:31 CET
I +1 the removal of the perl version of exo-compose-mail-1, by replacing it with python or whatever other solutions.
Comment 3 Landry Breuil editbugs 2020-04-19 17:46:33 CEST
please dont replace it by something in another scripting language :) that only shifts the dependencies problem to packagers... oh and i dont see a dependency of xfce on python, except maybe some obscure unmaintained bindings.
Comment 4 Skunnyk editbugs 2020-04-28 23:43:05 CEST
The python reimplemenation only uses lib from standard python (btw, the script needs to be ported to python3 if we want to use it)
The perl version needs perl + uri module.
Comment 5 Git Bot editbugs 2020-05-25 22:53:52 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/exo/-/issues/4.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9964

Reported by:
seth vidal
Reported on: 2013-03-29
Last modified on: 2020-05-25


Sean Davis
CC List:
9 users




Additional information