From: "Joshua \"Youlysses\" S. Grant" <youlysses@riseup.net>
To: guix-devel@gnu.org
Subject: Add Package FTGL
Date: Sat, 28 Sep 2013 10:07:10 -0500 [thread overview]
Message-ID: <1380380830.864.33.camel@battlestallion> (raw)
[-- 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.
next reply other threads:[~2013-09-28 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-28 15:07 Joshua "Youlysses" S. Grant [this message]
[not found] <1380381098.864.35.camel@battlestallion>
2013-09-28 15:23 ` Add Package FTGL Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1380380830.864.33.camel@battlestallion \
--to=youlysses@riseup.net \
--cc=guix-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.