Re: GUI: clipping of controls fails on Linux but not on Windows

Matthew Flatt <mflatt-sDh8Nw2yj/[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>
At Thu, 19 May 2016 14:30:08 +0300, Dmitry Pavlov wrote:
> Thank you so much. I am eager to try this new feature. I can not figure 
> a good way to set it up on my machine.
> I have Racket 6.5 release. My first thought was "let me try this new 
> package system":
> 
> $ sudo raco pkg update gui
> Inferred package scope: installation
> Resolving "gui" via https://download.racket-lang.org/releases/6.5/catalog/
> Resolving "gui-lib" via 
> https://download.racket-lang.org/releases/6.5/catalog/
> Resolving "gui-doc" via 
> https://download.racket-lang.org/releases/6.5/catalog/
> No updates available

A release is configured with a release-specific catalog before the main
one:

 laptop% bin/raco pkg config catalogs
 https://download.racket-lang.org/releases/6.5/catalog/
 https://pkgs.racket-lang.org
 https://planet-compats.racket-lang.org

So, you could specify the catalog that always has the latest:

 laptop% bin/raco pkg update --catalog https://pkgs.racket-lang.org gui-lib

Unfortunately, it's not going to work in this case:

 Inferred package scope: installation
 Resolving "gui-lib" via https://pkgs.racket-lang.org
 Updating:
  gui-lib
 Downloading repository git://github.com/racket/gui/?path=gui-lib
 The following out-of-date packages are listed as dependencies of gui-lib:
    base (have 6.5, need 6.5.0.2)
 Would you like to update these dependencies? [Y/n/a/c/?] n

The problem is that the latest "gui-lib" already uses base features
that are not in v6.5.

> Second thought was to check the latest snapshot (d0d85b2, commit in 
> racket/racket made ~3h later than yours in racket/gui). That did not 
> work, too -- the commit of interest is not included into the snapshot.

That should have worked, and it looks to me like the change is included
in the d0d85b2 snapshots. (I downloaded a source distribution from both
the Utah and NWU sites to check.) Can you say more about which one you
downloaded and why the change seems to be missing?

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.