Leksah 0.12 Release Candidate

219 views
Skip to first unread message

Hamish Mackenzie

unread,
Feb 26, 2012, 7:28:50 AM2/26/12
to lek...@googlegroups.com
If all goes well, we will be releasing 0.12 version of Leksah next weekend.

If you have time, can you please kick the tires?

The source we are planning to release is in github master branches of...
https://github.com/leksah/ltk

OS X Binary Installer

Windows Binary Installers

Changes to the last release include: 

* Support for GHC 7.2 and 7.4
* Better handling of navigation from text panes
* Addition of a Files pane
* Support for "cabal test"
* Better printer for cabal files (when Leksah is built with Cabal >1.10)
* Better candy support for literal Haskell
* Syntax highlighting for quasi-quoted hamlet, julius and cassius (DSLs used in Yesod)
* Several bug fixes and optimizations

Thanks to Sanny Sanoff for improving some of the keyboard navigation and symbol searching among other things. 

Thanks to Harald Jagenteufel and Stephan Fortelny we have basic source control integration (git,svn) in a repo branch, but it is not part of this release.  We hope to merge this in soon.

Work has been progressing on a major
restructuring of Leksah to make it a modular plugin based system from the ground up.  It is a big task and there is still more to do.  Unfortunately this has meant we have spent less time adding features.

Ozgur Akgun

unread,
Feb 26, 2012, 7:41:29 AM2/26/12
to lek...@googlegroups.com
Hi,

I am now trying to install Leksah from upstream source but cannot build one of it's dependencies (glib). I guess building Leksah with GHC-7.4.1 will require some of its dependencies to be fixed first.

I've created a ticket on the glib bug tracker for this. http://hackage.haskell.org/trac/gtk2hs/ticket/1257

HTH,
Ozgur

Luke

unread,
Feb 28, 2012, 4:22:16 PM2/28/12
to leksah
Great news about the Leksah release (love Leksah!).

However, I have a mix of Macs, including an old 32-bit Core Duo Intel
(MacBook Pro) that has to run Snow Leopard rather than Lion.
Leksah 0.10.0.4 runs fine on this machine, but 0.12.0.0 won't run
because of a library dependency (see below).
Not sure if this is an oversight, or if 0.12.0.0 will now only run on
a later OS.

-------------------------------------------
Process: leksah [1595]
Path: /Applications/NewLeksah.app/Contents/MacOS/Leksah
Identifier: org.leksah
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [367]

Date/Time: 2012-02-28 09:16:09.647 -0800
OS Version: Mac OS X Server 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 2044687 sec
Crashes Since Last Report: 18
Per-App Crashes Since Last Report: 6
Anonymous UUID: F5AC4EF3-C60F-4BD9-
A8AD-645D825C7CE8

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /usr/lib/libcurl.4.dylib
Referenced from: /Applications/NewLeksah.app/Contents/Resources/bin/
leksah
Reason: Incompatible library version: leksah requires version 7.0.0
or later, but libcurl.4.dylib provides version 6.0.0




On Feb 26, 4:28 am, Hamish Mackenzie
<hamish.k.macken...@googlemail.com> wrote:
> If all goes well, we will be releasing 0.12 version of Leksah next weekend.
>
> If you have time, can you please kick the tires?
>
> The source we are planning to release is in github master branches of...https://github.com/leksah/ltkhttps://github.com/leksah/leksah-serverhttps://github.com/leksah/leksah
>
> OS X Binary Installerhttp://leksah.org/packages/leksah-0.12.0.0-ghc-7.0.4.dmg
>
> Windows Binary Installershttp://leksah.org/packages/leksah-0.12.0.0-ghc-6.12.3.exehttp://leksah.org/packages/leksah-0.12.0.0-ghc-7.0.3.exehttp://leksah.org/packages/leksah-0.12.0.0-ghc-7.0.4.exe

Lyle Kopnicky

unread,
Feb 28, 2012, 6:11:47 PM2/28/12
to leksah
Thanks, it works great for me on Mac OX X Lion!

However, I am unable to build it on Linux (Ubuntu Natty) using GHC
7.0.4:

lyle@lyle-ubuntu:~/work/leksah$ cabal configure
Resolving dependencies...
Configuring leksah-0.12.0.0...
cabal: At least the following dependencies are missing:
gtksourceview2 >=0.10.0 && <0.13,
hslogger >=1.0.7 && <1.2,
leksah-server ==0.12.*,
ltk ==0.12.*,
network >=2.2 && <3.0,
process-leksah >=1.0.1.3 && <1.1,
regex-base ==0.93.*,
regex-tdfa ==1.1.*,
strict >=0.3.2 && <0.4,
utf8-string >=0.3.1.1 && <0.4

Kopnicky, Lyle

unread,
Feb 28, 2012, 6:47:09 PM2/28/12
to leksah
If I try to install gtksourceview2 on its own, I get an error complaining that "the package-cfg package gtk-sourceview-2.0 is not installed". Looks like I have libgtksourceview2.0 on my system... how can I check to see if it is version 2.0.2 or higher? And how can I update it?

Any help would be appreciated. I would love to be able to give Leksah a try on my Linux box. Thanks.

lyle@lyle-ubuntu:~/work/leksah$ cabal install gtksourceview2
Resolving dependencies...
[1 of 2] Compiling SetupWrapper     ( /tmp/gtksourceview2-0.12.321988/gtksourceview2-0.12.3/SetupWrapper.hs, /tmp/gtksourceview2-0.12.321988/gtksourceview2-0.12.3/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main             ( /tmp/gtksourceview2-0.12.321988/gtksourceview2-0.12.3/Setup.hs, /tmp/gtksourceview2-0.12.321988/gtksourceview2-0.12.3/dist/setup/Main.o )
Linking /tmp/gtksourceview2-0.12.321988/gtksourceview2-0.12.3/dist/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main             ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring gtksourceview2-0.12.3...
setup: The pkg-config package gtksourceview-2.0 version >=2.0.2 is required
but it could not be found.
cabal: Error: some packages failed to install:
gtksourceview2-0.12.3 failed during the configure step. The exception was:
ExitFailure 1

Hartmut

unread,
Mar 1, 2012, 4:47:27 PM3/1/12
to leksah
Lyle,
since I had previously the same error I can give you the hint to do:

sudo apt-get install libgtksourceview-dev

This is the c code which is needed by Leksah.
Good luck
Hartmut

Hartmut

unread,
Mar 1, 2012, 5:10:55 PM3/1/12
to leksah
Lyle,
to get these dependencies installed,

cabal install --only-dependencies

helped me a lot. I have now Leksah 0.12 running on Ubuntu 10.04.4 LTS
"Lucid"

I am very glad to have Leksah on my PC - it is very very nice!! Great
Job!
Hartmut

Hamish Mackenzie

unread,
Mar 3, 2012, 7:44:29 AM3/3/12
to lek...@googlegroups.com
I think I have fixed this. Please try this one...

http://leksah.org/packages/leksah-0.12.0.1-ghc-7.0.4.dmg

Hartmut

unread,
Mar 3, 2012, 6:11:17 PM3/3/12
to leksah
sorry for the typo. it should read:

   sudo apt-get install libgtksourceview2.0-dev

Hartmut

2012/3/1 Hartmut <hartm...@googlemail.com>

Luke

unread,
Mar 4, 2012, 2:36:05 AM3/4/12
to leksah
You certainly have! Many thanks Hamish.

On Mar 3, 4:44 am, Hamish Mackenzie
> >> The source we are planning to release is in github master branches of...https://github.com/leksah/ltkhttps://github.com/leksah/leksah-serverh...
>
> >> OS X Binary Installerhttp://leksah.org/packages/leksah-0.12.0.0-ghc-7.0.4.dmg
>
> >> Windows Binary Installershttp://leksah.org/packages/leksah-0.12.0.0-ghc-6.12.3.exehttp://leksa...
Reply all
Reply to author
Forward
0 new messages