unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Add Package FTGL
@ 2013-09-28 15:07 Joshua "Youlysses" S. Grant
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua "Youlysses" S. Grant @ 2013-09-28 15:07 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

So here's another package expression (attached) -- which is dependent on
glu of the freeglut.scm package, fyi. Everything in the process seems to
build and install, just fine -- but there is a warning when I run
through it, that says: 

"WARNING: (gnu packages ftgl): `freetype' imported from both (guix
licenses) and (gnu packages fontutils)"

Seems harmless enough; So when I remove the module fontutils along with
the related freetype input, it complains that it doesn't have freetype
and the build fails. 


//

Also, as an expression, I think it would probably be more ideal just to
add this to fontutils.scm --rather than to keep it as a lone-ranger.


-- Joshua "Youlysses" S. Grant

[-- Attachment #2: ftgl.scm --]
[-- Type: text/x-scheme, Size: 2438 bytes --]

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages ftgl)
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages fontutils) ;;The licenses module calls freetype (and it warns me), but dosen't seem to work without explicitly called as an input.
   #:use-module (gnu packages freeglut))

(define-public ftgl ;Should expression move to fontutils, xorg, or keep here?
  (package
     (name "ftgl")
     (version "2.1.3-rc5") 
     (source (origin
	      (method url-fetch)
	      (uri (string-append "mirror://sourceforge/project/ftgl/FTGL%20Source/2.1.3~rc5/ftgl-"
                                   version ".tar.gz"))
              (sha256
	        (base32 "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l"))))
         (build-system gnu-build-system)
         (inputs `(("freetype" ,freetype)
                   ("libx11" ,libx11)
                   ("mesa" ,mesa)
                   ("glu" ,glu))) 
	 (home-page "http://sourceforge.net/apps/mediawiki/ftgl/index.php?title=Main_Page")                              
         (synopsis "A font rendering library for OpenGL applications. ")
         (description 
	  "FTGL is a font rendering library for OpenGL applications. Supported rendering modes are:
           Bitmaps, Anti-aliased pixmaps, Texture maps, Outlines, Polygon meshes, and Extruded polygon meshes")
         (license lgpl2.0))) ;Mit or Lgpl at your option, not sure how, or if one can currently dual-license.



^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <1380381098.864.35.camel@battlestallion>]

end of thread, other threads:[~2013-09-28 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-28 15:07 Add Package FTGL Joshua "Youlysses" S. Grant
     [not found] <1380381098.864.35.camel@battlestallion>
2013-09-28 15:23 ` Ludovic Courtès

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