unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: 宋文武 <iyzsong@gmail.com>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: sdl: Allow dlopen for OpenGL.
Date: Wed, 18 Mar 2015 18:55:58 -0400	[thread overview]
Message-ID: <87twxhzzi9.fsf@fsf.org> (raw)
In-Reply-To: <1426655589-32639-1-git-send-email-iyzsong@gmail.com>

宋文武 <iyzsong@gmail.com> writes:

> Fixes a regression introduced in 666aa99.
> Reported by Felipe López and David Thompso.

Unfortunately, this doesn't solve the issue.  I need to dig deeper into
the SDL source to figure out exactly why it's still failing.

I use the following crude command to test, run from a git checkout of Sly[0].

    guix environment -l package.scm -E "guile -c \"(use-modules ((sdl sdl) #:prefix sdl:)) (sdl:init 'video) (pk 'window (sdl:set-video-mode 320 240 24 'opengl))\""

(any package that has guile-sdl as an input will do, but there are none
in the distro yet)

When the test fails, the output is:

    ;;; (window #f)

If I remove the 'opengl flag, a window is succesfully opened:

    ;;; (window #<SDL-Surface 320x240 24 bpp>)

We'll find the culprit, eventually! :)

[0] https://gitorious.org/sly/sly

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

  reply	other threads:[~2015-03-18 22:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18  5:13 [PATCH] gnu: sdl: Allow dlopen for OpenGL 宋文武
2015-03-18 22:55 ` David Thompson [this message]
2015-03-19  8:50   ` Ludovic Courtès
2015-03-20  0:51     ` David Thompson
2015-03-21  7:48       ` 宋文武

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twxhzzi9.fsf@fsf.org \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).