Re: [racket-dev] Racket 6 (git branch release), configure options and dependencies

2013-12-01 Thread Juan Francisco Cantero Hurtado



On Mon, Dec 2, 2013 at 2:25 AM, Robby Findler 
 wrote:
Not that you need more to do, I'm sure :), but the builds from the 
release branch (or just checking it out yourself if that's easier) 
are probably pretty close to the final release from the perspective 
of dependencies and OS packaging issues. And that turns out to be 
wrong, we'd probably be better positioned to fix it before the 
release goes out




I'll wait to the release because I know racket 6 works without problems 
on amd64/i386 and I want to include the update of the package in the 
next release of OpenBSD for these platforms. Add more platforms require 
time and a lot of tests (from me and other people).


Meanwhile, I'm working on the update to racket 6 for amd64/i386 :) 
(that's also the reason for my questions)






On Sun, Dec 1, 2013 at 7:19 PM, Juan Francisco Cantero Hurtado 
 wrote:

On 12/01/13 04:00, Matthew Flatt wrote:
At Sun, 01 Dec 2013 03:31:32 +0100, Juan Francisco Cantero Hurtado 
wrote:

On 11/25/13 05:10, Juan Francisco Cantero Hurtado wrote:
Hi. I'm compiling racket 6 (from the git branch "release") on 
OpenBSD.


The configure script includes the options "enable-gracket" and
"enable-docs" but I don't see the gracket binary and the docs 
installed
after the installation. Someone forgot remove the options or 
these are

usefull for something?.

Another question. Racket 5.3 needs gtk, cairo, pango, gtkglext 
and so

forth. What are the dependencies of racket core now?.


 
Nobody?


 
Sorry that I missed your message.


 
Don't worry!





These `--enable-docs` and `--enable-gracket` options are not as 
useful
as before, but I haven't sorted out whether they're completely 
useless,

and so they're still there. For example, `--disable-gracket` would
avoid building the `gracket` helper executable that goes in "lib" 
---

but, then, installing any package with a `gracket`-based executable
won't work right.

The new way to avoid documentation is to just not install any
documentation packages (at the Racket level). Similarly, aside from 
the
`gracket` helper executable, avoid graphics and GUI dependencies by 
not

installing graphics and GUI packages (at the Racket level).

 
I like a lot the new approach :)






I'm asking because I would like to add support for more OpenBSD
platforms to racket. If I could to compile racket without the
dependencies, just with a C compiler, it will help me a lot.

I'm not interested in to give support to the GUI on some platforms
because probably nobody will run drracket on a headless computer 
:) .
And probably cairo or gtk will have problems on some old 
platforms, so

the package won't compile because doesn't have the dependencies.

So, basically I'm asking if racket 6 (and raco pkg) can work 
correctly
without gtk, cairo, pango and others deps. Obviously raco can't 
generate

docs but this isn't important. Any help?.

 
A minimal Racket build doesn't depend on anything except standard
tools, like `make` and a compiler, although it will use "libiconv" 
when
available, and it will also use a pre-built "libffi" if available 
(or

build one, otherwise).

Libraries such as gtk, cairo, and pango are now dependencies of the
"gui" and "draw" packages. (The `gracket` executable that is put in 
the

"lib" directory doesn't depend on them.)

Documentation builds depend on "libsqlite3".


 
Thanks for the help. I'll start the work on the new platforms after 
of the racket 6 release.




_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Racket 6 (git branch release), configure options and dependencies

2013-12-01 Thread Robby Findler
Not that you need more to do, I'm sure :), but the builds from the release
branch (or just checking it out yourself if that's easier) are probably
pretty close to the final release from the perspective of dependencies and
OS packaging issues. And that turns out to be wrong, we'd probably be
better positioned to fix it before the release goes out

Robby



On Sun, Dec 1, 2013 at 7:19 PM, Juan Francisco Cantero Hurtado <
i...@juanfra.info> wrote:

> On 12/01/13 04:00, Matthew Flatt wrote:
>
>> At Sun, 01 Dec 2013 03:31:32 +0100, Juan Francisco Cantero Hurtado wrote:
>>
>>> On 11/25/13 05:10, Juan Francisco Cantero Hurtado wrote:
>>>
 Hi. I'm compiling racket 6 (from the git branch "release") on OpenBSD.

 The configure script includes the options "enable-gracket" and
 "enable-docs" but I don't see the gracket binary and the docs installed
 after the installation. Someone forgot remove the options or these are
 usefull for something?.

 Another question. Racket 5.3 needs gtk, cairo, pango, gtkglext and so
 forth. What are the dependencies of racket core now?.


>>> Nobody?
>>>
>>
>> Sorry that I missed your message.
>>
>
> Don't worry!
>
>
>
>> These `--enable-docs` and `--enable-gracket` options are not as useful
>> as before, but I haven't sorted out whether they're completely useless,
>> and so they're still there. For example, `--disable-gracket` would
>> avoid building the `gracket` helper executable that goes in "lib" ---
>> but, then, installing any package with a `gracket`-based executable
>> won't work right.
>>
>> The new way to avoid documentation is to just not install any
>> documentation packages (at the Racket level). Similarly, aside from the
>> `gracket` helper executable, avoid graphics and GUI dependencies by not
>> installing graphics and GUI packages (at the Racket level).
>>
>
> I like a lot the new approach :)
>
>
>
>>  I'm asking because I would like to add support for more OpenBSD
>>> platforms to racket. If I could to compile racket without the
>>> dependencies, just with a C compiler, it will help me a lot.
>>>
>>> I'm not interested in to give support to the GUI on some platforms
>>> because probably nobody will run drracket on a headless computer :) .
>>> And probably cairo or gtk will have problems on some old platforms, so
>>> the package won't compile because doesn't have the dependencies.
>>>
>>> So, basically I'm asking if racket 6 (and raco pkg) can work correctly
>>> without gtk, cairo, pango and others deps. Obviously raco can't generate
>>> docs but this isn't important. Any help?.
>>>
>>
>> A minimal Racket build doesn't depend on anything except standard
>> tools, like `make` and a compiler, although it will use "libiconv" when
>> available, and it will also use a pre-built "libffi" if available (or
>> build one, otherwise).
>>
>> Libraries such as gtk, cairo, and pango are now dependencies of the
>> "gui" and "draw" packages. (The `gracket` executable that is put in the
>> "lib" directory doesn't depend on them.)
>>
>> Documentation builds depend on "libsqlite3".
>>
>>
> Thanks for the help. I'll start the work on the new platforms after of the
> racket 6 release.
>
>
>
> _
>  Racket Developers list:
>  http://lists.racket-lang.org/dev
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Racket 6 (git branch release), configure options and dependencies

2013-12-01 Thread Juan Francisco Cantero Hurtado

On 12/01/13 04:00, Matthew Flatt wrote:

At Sun, 01 Dec 2013 03:31:32 +0100, Juan Francisco Cantero Hurtado wrote:

On 11/25/13 05:10, Juan Francisco Cantero Hurtado wrote:

Hi. I'm compiling racket 6 (from the git branch "release") on OpenBSD.

The configure script includes the options "enable-gracket" and
"enable-docs" but I don't see the gracket binary and the docs installed
after the installation. Someone forgot remove the options or these are
usefull for something?.

Another question. Racket 5.3 needs gtk, cairo, pango, gtkglext and so
forth. What are the dependencies of racket core now?.



Nobody?


Sorry that I missed your message.


Don't worry!



These `--enable-docs` and `--enable-gracket` options are not as useful
as before, but I haven't sorted out whether they're completely useless,
and so they're still there. For example, `--disable-gracket` would
avoid building the `gracket` helper executable that goes in "lib" ---
but, then, installing any package with a `gracket`-based executable
won't work right.

The new way to avoid documentation is to just not install any
documentation packages (at the Racket level). Similarly, aside from the
`gracket` helper executable, avoid graphics and GUI dependencies by not
installing graphics and GUI packages (at the Racket level).


I like a lot the new approach :)




I'm asking because I would like to add support for more OpenBSD
platforms to racket. If I could to compile racket without the
dependencies, just with a C compiler, it will help me a lot.

I'm not interested in to give support to the GUI on some platforms
because probably nobody will run drracket on a headless computer :) .
And probably cairo or gtk will have problems on some old platforms, so
the package won't compile because doesn't have the dependencies.

So, basically I'm asking if racket 6 (and raco pkg) can work correctly
without gtk, cairo, pango and others deps. Obviously raco can't generate
docs but this isn't important. Any help?.


A minimal Racket build doesn't depend on anything except standard
tools, like `make` and a compiler, although it will use "libiconv" when
available, and it will also use a pre-built "libffi" if available (or
build one, otherwise).

Libraries such as gtk, cairo, and pango are now dependencies of the
"gui" and "draw" packages. (The `gracket` executable that is put in the
"lib" directory doesn't depend on them.)

Documentation builds depend on "libsqlite3".



Thanks for the help. I'll start the work on the new platforms after of 
the racket 6 release.



_
 Racket Developers list:
 http://lists.racket-lang.org/dev


Re: [racket-dev] Doc failure on release snapshot

2013-12-01 Thread Robby Findler
This seems to be working now. Thanks again.

Robby


On Sat, Nov 30, 2013 at 10:03 PM, Robby Findler  wrote:

> Thanks guys, for sorting this out.
>
> I hope I've fixed my release snapshot configuration file. We'll see in
> about 16 hours, I guess. :)
>
> Robby
>
>
> On Sat, Nov 30, 2013 at 5:04 PM, Matthew Flatt  wrote:
>
>> I think the main problem is that the release snapshot is misconfigured.
>> When I download a release snapshot and look at the top-level README, it
>> says
>>
>>  The distribution has been configured so that when you install or
>>  update packages, the package catalog at
>>http://plt.eecs.northwestern.edu/snapshots/20131130-3d502f2/catalog/
>>  is consulted, first.
>>
>> That URL should instead be
>>
>>
>> http://plt.eecs.northwestern.edu/release-snapshots/20131130-3d502f2/catalog/
>>
>> Since the URL was wrong, the package installation fetched sources via
>> "pkg.racket-lang.org" instead of using the ones for the snapshot.
>>
>>
>> Meanwhile, given the configuration, I think the right result would have
>> been an error that "scribble-lib" requires a newer version of "base"
>> and/or "racket" than you have installed. Either we need to update
>> versions and dependencies on the main-distribution libraries much more
>> carefully, or we need to at least adjust versions and dependencies
>> after we create a release branch.
>>
>>
>> At Sat, 30 Nov 2013 15:04:47 -0500, Asumu Takikawa wrote:
>> > Hi all,
>> >
>> > I installed a Minimal Racket release snapshot, installed DrRacket, and
>> > got the following failure during the documentation build:
>> >
>> >   application: procedure does not accept keyword arguments
>> > procedure: doc-path
>> > arguments...:
>> >
>>  #
>> >  "browser"
>> >  '()
>> >  #f
>> >  'false-if-missing
>> >  #:main? #f
>> > context...:
>> >  /home/asumu/plt/racket-5.91/collects/racket/private/kw.rkt:1255:14
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/setup/xref.rkt:23
>> > :3: for-loop
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/setup/xref.rkt:23
>> > :3: for-loop
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/setup/xref.rkt:17
>> > :0: get-dests
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/setup/xref.rkt:13
>> > 3:0: get-reader-thunks
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/setup/xref.rkt:92
>> > :2: force-all
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/xref.rkt
>> > :56:19
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/base-ren
>> > der.rkt:1092:28
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/base-ren
>> > der.rkt:1092:28
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/base.rkt
>> > :658:0: get-index-entries
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/racket-index/scribblings/main/
>> > private/make-search.rkt:64:0: make-script
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/base-ren
>> > der.rkt:866:4: render-content method in render%
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/html-ren
>> > der.rkt:1316:4: render-plain-content method in
>> ...bble/html-render.rkt:243:2
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/base-ren
>> > der.rkt:866:4: render-content method in render%
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/html-ren
>> > der.rkt:1091:4: do-render-paragraph method in
>> ...bble/html-render.rkt:243:2
>> >
>> >
>> /home/asumu/plt/racket-5.91/add-on/snapshot/pkgs/scribble-lib/scribble/html-ren
>> > der.rkt:1119:4: render-intrapara-block method in
>> > ...bble/html-render.rkt:243:2...
>> >
>> > Cheers,
>> > Asumu
>> > _
>> >   Racket Developers list:
>> >   http://lists.racket-lang.org/dev
>> _
>>   Racket Developers list:
>>   http://lists.racket-lang.org/dev
>>
>
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] cairo_recording_surface_create

2013-12-01 Thread Robby Findler
The relevant message may have been visible in the logs (which you can see
via Console.app) just in case you're in a situation where you can't easily
switch to the cmdline DrRacket.

Robby

On Sunday, December 1, 2013, Jens Axel Søgaard wrote:

> 2013/12/1 Matthew Flatt >:
> > What happens if you run `drracket` directly from the command line,
> > instead of using `open`?
>
> Then I get to see that the error message, that tells me that
> that I forgot to run make (well it says "bytecode file needs re-compile").
> And indeed I did forget to run make.
>
> After running make, everything works as expected.
>
> For the future I will use bin/drracket rather than open DrRacket.app.
>
> Thanks.
> /Jens Axel
> _
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] cairo_recording_surface_create

2013-12-01 Thread Jens Axel Søgaard
2013/12/1 Matthew Flatt :
> What happens if you run `drracket` directly from the command line,
> instead of using `open`?

Then I get to see that the error message, that tells me that
that I forgot to run make (well it says "bytecode file needs re-compile").
And indeed I did forget to run make.

After running make, everything works as expected.

For the future I will use bin/drracket rather than open DrRacket.app.

Thanks.
/Jens Axel
_
  Racket Developers list:
  http://lists.racket-lang.org/dev