From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Joshua \"Youlysses\" S. Grant" Subject: Add Package FTGL Date: Sat, 28 Sep 2013 10:07:10 -0500 Message-ID: <1380380830.864.33.camel@battlestallion> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-BPQvQPLHljY8OpfFAiRN" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPw74-0005YU-Vo for guix-devel@gnu.org; Sat, 28 Sep 2013 11:07:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPw70-0006Gb-2h for guix-devel@gnu.org; Sat, 28 Sep 2013 11:07:18 -0400 Received: from mx1.riseup.net ([198.252.153.129]:48904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPw6z-0006GW-Ql for guix-devel@gnu.org; Sat, 28 Sep 2013 11:07:14 -0400 Received: from fruiteater.riseup.net (fruiteater-pn.riseup.net [10.0.1.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id C191A4924F for ; Sat, 28 Sep 2013 08:07:12 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-BPQvQPLHljY8OpfFAiRN Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --=-BPQvQPLHljY8OpfFAiRN Content-Disposition: attachment; filename="ftgl.scm" Content-Type: text/x-scheme; name="ftgl.scm"; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013 Ludovic Court=C3=A8s ;;; ;;; 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 . (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 free= type (and it warns me), but dosen't seem to work without explicitly calle= d as an input. #:use-module (gnu packages freeglut)) (define-public ftgl ;Should expression move to fontutils, xorg, or keep h= ere? (package (name "ftgl") (version "2.1.3-rc5")=20 (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/project/ftgl/FTGL%20Sour= ce/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)))=20 (home-page "http://sourceforge.net/apps/mediawiki/ftgl/index.php?title=3D= Main_Page") =20 (synopsis "A font rendering library for OpenGL applications. ") (description=20 "FTGL is a font rendering library for OpenGL applications. Supported r= endering 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, o= r if one can currently dual-license. --=-BPQvQPLHljY8OpfFAiRN--