public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Kawa 2.2 broken on OSX when using Homebrew
@ 2016-12-28  7:54 Duncan Mak
  2016-12-28  8:50 ` Per Bothner
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan Mak @ 2016-12-28  7:54 UTC (permalink / raw)
  To: kawa mailing list

Hello Per,

I think the changes to the Kawa distribution in 2.2 are not properly
reflected in the packaging on OSX by the Homebrew people.

Currently, it's built using this Formula -
https://github.com/Homebrew/homebrew-core/blob/master/Formula/kawa.rb

I noticed that the readline front-end is not included, and I'm also
not able to import SRFIs.

duncan@furigana:~$ brew install kawa
==> Downloading
https://homebrew.bintray.com/bottles/kawa-2.2.el_capitan.bottle.tar.gz
==> Pouring kawa-2.2.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/kawa/2.2: 19 files, 3.5M

duncan@furigana:~$ kawa
#|kawa:1|# (import (srfi 1))
/dev/stdin:1:9: unknown library (srfi 1)
#|kawa:2|# ^A ;; this gets printed instead of cursor movement

I have time this week to go fix it, could you review the build formula
and let me know if there's anything wrong with it? I think it might be
missing some configure flags.


Cheers!

-- 
Duncan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kawa 2.2 broken on OSX when using Homebrew
  2016-12-28  7:54 Kawa 2.2 broken on OSX when using Homebrew Duncan Mak
@ 2016-12-28  8:50 ` Per Bothner
  2016-12-29 20:41   ` Duncan Mak
  0 siblings, 1 reply; 3+ messages in thread
From: Per Bothner @ 2016-12-28  8:50 UTC (permalink / raw)
  To: Duncan Mak, kawa mailing list



On 12/28/2016 08:53 AM, Duncan Mak wrote:
> Hello Per,
>
> I think the changes to the Kawa distribution in 2.2 are not properly
> reflected in the packaging on OSX by the Homebrew people.

That is plausible/  Kawa 2.2 switched to a new way of making
binary releases, with the jline3 and domterm libraries (as well
as the documentation) bundled.  You will have to evaluate if that
makes sense for homebrew. If so you probably the kawa-$(VERSION).zip
rule, or something similar.  For most platforms it should just
work to unzip the resulting zip, and optionally create suitable
symlinks and/or adjust the environment.

I want to release a 2.3 release ASAP.  This is mainly to update
the documentation and website to refer to git rather than Subversion.
If you find any Mac/Homebrew problems (soon) we can also include those.

> Currently, it's built using this Formula -
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/kawa.rb

The main issue I can see whether you want to bundle JLine3 and DomTerm,
and it so how you handle the dependencies.

> I noticed that the readline front-end is not included,

The readline front-end is deprecated - I use the JLine3 front.end now.

> and I'm also not able to import SRFIs.
>
> duncan@furigana:~$ brew install kawa
> ==> Downloading
> https://homebrew.bintray.com/bottles/kawa-2.2.el_capitan.bottle.tar.gz
> ==> Pouring kawa-2.2.el_capitan.bottle.tar.gz
> 🍺  /usr/local/Cellar/kawa/2.2: 19 files, 3.5M
>
> duncan@furigana:~$ kawa
> #|kawa:1|# (import (srfi 1))
> /dev/stdin:1:9: unknown library (srfi 1)
> #|kawa:2|# ^A ;; this gets printed instead of cursor movement

Nothing comes to mind ...

> I have time this week to go fix it, could you review the build formula
> and let me know if there's anything wrong with it? I think it might be
> missing some configure flags.

See what kawa-#(CRESION).zip make rule does.

-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kawa 2.2 broken on OSX when using Homebrew
  2016-12-28  8:50 ` Per Bothner
@ 2016-12-29 20:41   ` Duncan Mak
  0 siblings, 0 replies; 3+ messages in thread
From: Duncan Mak @ 2016-12-29 20:41 UTC (permalink / raw)
  To: Per Bothner; +Cc: kawa mailing list

I made a pull request to Homebrew, I'm waiting to see if they would merge it.

https://github.com/Homebrew/homebrew-core/pull/8301

In the mean time, anyone wanting a working kawa from homebrew should
use my patched version of the formula:

https://github.com/duncanmak/homebrew-core/commit/7c69640c6422f669af0b1d6e6e898f9c0067a6a7

Enjoy!


-- 
Duncan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-29 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-28  7:54 Kawa 2.2 broken on OSX when using Homebrew Duncan Mak
2016-12-28  8:50 ` Per Bothner
2016-12-29 20:41   ` Duncan Mak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).