unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Fix circularity issue in sdl
@ 2015-04-06  8:32 Andy Wingo
  2015-04-06 23:06 ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2015-04-06  8:32 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-sdl-Paper-over-build-circularity-problem-with-fo.patch --]
[-- Type: text/x-diff, Size: 1741 bytes --]

From 0eccb8e5f24964439b76adbf3ab318c87f7443d2 Mon Sep 17 00:00:00 2001
From: Andy Wingo <wingo@pobox.com>
Date: Sun, 5 Apr 2015 20:25:30 +0200
Subject: [PATCH] gnu: sdl: Paper over build circularity problem with fontutils

* gnu/packages/sdl.scm: Horrifically, having the font: prefix on
  fontutils makes "guix package --search=" fail, now that there is an
  edge that goes from gtk -> gl -> fontutils -> gtk, whereas before
  there was just gtk -> fontutils -> gtk.  Remove the #:prefix and
  instead #:prefix the licenses import, to disambiguate the freetype
  binding.  Terrible.
---
 gnu/packages/sdl.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 9a3b389..4e9ebfb 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -20,12 +20,12 @@
 
 (define-module (gnu packages sdl)
   #:use-module (gnu packages)
-  #:use-module (guix licenses)
+  #:use-module ((guix licenses) #:hide (freetype))
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
-  #:use-module ((gnu packages fontutils) #:prefix font:)
+  #:use-module (gnu packages fontutils)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
@@ -260,7 +260,7 @@ SDL.")
                "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j"))))
     (build-system gnu-build-system)
     (propagated-inputs `(("sdl" ,sdl)))
-    (inputs `(("freetype" ,font:freetype)
+    (inputs `(("freetype" ,freetype)
               ("mesa" ,mesa)))
     (native-inputs `(("pkg-config" ,pkg-config)))
     (synopsis "SDL TrueType font library")
-- 
2.2.1


[-- Attachment #2: Type: text/plain, Size: 26 bytes --]


-- 
http://wingolog.org/

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

* Re: [PATCH] Fix circularity issue in sdl
  2015-04-06  8:32 [PATCH] Fix circularity issue in sdl Andy Wingo
@ 2015-04-06 23:06 ` Mark H Weaver
  0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2015-04-06 23:06 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guix-devel

Andy Wingo <wingo@pobox.com> writes:

> From 0eccb8e5f24964439b76adbf3ab318c87f7443d2 Mon Sep 17 00:00:00 2001
> From: Andy Wingo <wingo@pobox.com>
> Date: Sun, 5 Apr 2015 20:25:30 +0200
> Subject: [PATCH] gnu: sdl: Paper over build circularity problem with fontutils

I pushed this to core-updates with a modified commit log.

    Thanks!
      Mark

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

end of thread, other threads:[~2015-04-06 23:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06  8:32 [PATCH] Fix circularity issue in sdl Andy Wingo
2015-04-06 23:06 ` Mark H Weaver

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