Package Details: leo 5.2-1

Git Clone URL: https://aur.archlinux.org/leo.git (read-only)
Package Base: leo
Description: Literate programmer's editor, outliner, and project manager
Upstream URL: http://leoeditor.com/
Licenses: custom
Submitter: None
Maintainer: djscholl
Last Packager: djscholl
Votes: 25
Popularity: 0.426164
First Submitted: 2006-05-08 11:34
Last Updated: 2016-03-19 14:47

Dependencies (7)

Required by (0)

Sources (3)

Latest Comments

djscholl commented on 2015-10-26 19:26

Arch version bump for dependencies; thanks to Arch user SideburnEtic.

SideburnEtic commented on 2015-10-18 06:18

Please add pip's setuptools as dependency. Also, Qt 4.8.7 is the last planned patch release in the Qt4 series with standard support ending in December 2015, after which The Qt Company's paid support will only be available. The Qt Company is encouraging all Qt 4 users to upgrade to Qt 5.

djscholl commented on 2014-12-21 01:13

Version 5.0 from upstream; also updated PKGBUILD from python 2 to 3.

exaos commented on 2014-12-15 13:04

Leo 5.0 is ready.

djscholl commented on 2013-11-09 05:38

New minor version from upstream.

djscholl commented on 2013-04-21 14:18

Arch version bump to update project home page (thanks to Arch user contrebasse) and modernize PKGBUILD.

contrebasse commented on 2013-04-18 19:03

Home page moved to http://leoeditor.com/

djscholl commented on 2012-09-16 13:09

Arch version bump to include desktop enhancements, thanks to Arch user dram.

Anonymous comment on 2012-09-15 23:40

Please consider to merge this change to add desktop and mimetype file.

https://github.com/dram/pkgbuild/tree/master/leo

Thanks.

djscholl commented on 2012-04-26 01:30

Thank you for your comments, Arch user exaos. I have bumped the Arch version to fix the execute permissions on /opt/leo/launchLeo.py.

Please let me clarify the spell check situation. With a default Arch installation, and python2-pyenchant installed, leo will start. However, it starts with error messages, and the spell check will not work. The reason is that Leo is written to install into a user-writable directory. Workarounds may be required when installing leo with Arch package management, which installs into system directories. This is why the leo.install file reports that leo "can be configured" to use pyenchant.

The leo spell check requires a user-writable dictionary file, so that words can be added. The default dictionary /opt/leo/leo/plugins/spellpyx.txt is shared by users, and is not user-writable. The pyenchant error message is misleading, as the dictionary file contents are valid, but the permissions are not valid. To configure spell check requires several steps. First, create ~/.leo/myLeoSettings.leo for your personal leo settings, as described in the Leo website documentation. Next, edit your personal settings to tell leo about your personal dictionary file. Under settings -> spell checking, find the headline "enchant_local_dictionry = None". Change "None" to "~/.leo/spellpyx.txt", and save your personal settings. Finally, copy the spellpyx.txt file from its default location to your ~/.leo directory. The next time you start leo, the spell check should work with no error messages. Please post again if you still have issues.

Anonymous comment on 2012-04-24 15:12

Do not install `python2-pyenchant` as recommended! It will cause leo failed to start. Another problem is, the `/opt/leo/launchLeo.py` is not executable after install, please fix it!

djscholl commented on 2012-03-30 23:26

Update for new upstream version, thanks to Arch user mesteiral.

djscholl commented on 2011-07-28 23:44

Upstream updated to 4.9. Note that there is now only one GUI (pyqt). The tkinter GUI is gone.

djscholl commented on 2011-06-15 20:18

Minor version bump because python2-qt was renamed to python2-pyqt.

djscholl commented on 2011-01-22 00:40

Arch version bump to change pyqt to python2-qt, thanks to Arch user adaptee.

adaptee commented on 2011-01-21 04:15

dependency 'pyqt' should be renamed into 'python2-qt'

djscholl commented on 2010-12-16 13:49

Update to 4.8-final release from upstream. I have switched from the AUR python-pmw to the Pmw bundled with leo because the AUR python-pmw PKGBUILD was broken by the Arch update to python 3. The Pmw tests bundled with leo mostly fail, and so do the tests in the AUR python-pmw. This may be a reason to prefer the leo qt GUI, which runs by default. Note that leo is a large package with a long history, and many helper scripts, plugins, extensions, etc. I updated the main calling script from python to python2, but there are other places where "python" is hard-coded. If you encounter issues with some component of leo, one of the first things you should do is investigate whether another "#!/usr/bin/env python" needs to be changed to "#!/usr/bin/env python2".

djscholl commented on 2010-11-16 03:09

Bumped the Arch version number for compatibility with the python 3 upgrade, thanks to Arch users hollunder and boon.

boon commented on 2010-11-10 15:49

It works for me, thanks for your efforts!

djscholl commented on 2010-11-06 13:06

OK, I suspect the PKGBUILD and/or installation, not an upstream issue. I want to focus on the Arch update from python 2 to python 3. I have not been able to take this step, so I need your help. Have you done a system update since 2010-10-18 so that all packages via pacman have been updated for python 3? Have you updated python-pmw from the AUR to 1.3.2-3? Try to start leo with the shell command:
python2 /opt/leo/launchLeo.py

If you get errors, please add the errors to your pastebin. If it works, edit /opt/leo/launchLeo.py so that the first line is:
#!/usr/bin/env python2
and try to start leo with the shell command:
leo

If this also works, then I will update the PKGBUILD to make that edit and upload as 4.7.1-2. If not, I will look at what you report from these trials. Thanks.

hollunder commented on 2010-11-05 10:21

Installs but doesn't start here: http://aur.pastebin.com/jTaDsGcL