Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

113 righe
4.4 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Joshua S. Grant <youlysses@riseup.net>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages gl)
  19. #:use-module ((guix licenses)
  20. #:renamer (symbol-prefix-proc 'l:))
  21. #:use-module (guix packages)
  22. #:use-module (guix download)
  23. #:use-module (guix build-system gnu)
  24. #:use-module (guix packages)
  25. #:use-module (gnu packages xorg)
  26. #:use-module (gnu packages fontutils))
  27. (define-public glu
  28. (package
  29. (name "glu")
  30. (version "9.0.0")
  31. (source (origin
  32. (method url-fetch)
  33. (uri (string-append "ftp://ftp.freedesktop.org/pub/mesa/glu/glu-"
  34. version ".tar.gz"))
  35. (sha256
  36. (base32 "0r72yyhj09x3krn3kn629jqbwyq50ji8w5ri2pn6zwrk35m4g1s3"))))
  37. (build-system gnu-build-system)
  38. (inputs `(("mesa" ,mesa)))
  39. (home-page "http://www.opengl.org/archives/resources/faq/technical/glu.htm")
  40. (synopsis "Mesa OpenGL Utility library")
  41. (description
  42. "GLU, or OpenGL Utility Library provides some higher-level functionality
  43. not provided by just OpenGL itself. Some of GLU's Features
  44. include: Scaling of 2D images and creation of mipmap pyramids,
  45. Transformation of object coordinates into device coordinates and
  46. vice versa, Support for NURBS surfaces, Support for tessellation
  47. of concave or bow tie polygonal primitives, Specialty transformation
  48. matrices for creating perspective and orthographic projections,
  49. positioning a camera, and selection/picking, Rendering of disk,
  50. cylinder, and sphere primitives, Interpreting OpenGL error values
  51. as ASCII text.")
  52. (license (l:x11-style "http://directory.fsf.org/wiki/License:SGIFreeBv2"))))
  53. (define-public freeglut
  54. (package
  55. (name "freeglut")
  56. (version "2.8.1")
  57. (source (origin
  58. (method url-fetch)
  59. (uri (string-append "mirror://sourceforge/project/freeglut/freeglut/"
  60. version "/freeglut-" version ".tar.gz"))
  61. (sha256
  62. (base32 "16lrxxxd9ps9l69y3zsw6iy0drwjsp6m26d1937xj71alqk6dr6x"))))
  63. (build-system gnu-build-system)
  64. (inputs `(("mesa" ,mesa)
  65. ("libx11" ,libx11)
  66. ("libxi" ,libxi)
  67. ("libxrandr" ,libxrandr)
  68. ("libxxf86vm" ,libxxf86vm)
  69. ("inputproto" ,inputproto)
  70. ("xinput" ,xinput)
  71. ("glu" ,glu)))
  72. (home-page "http://freeglut.sourceforge.net/")
  73. (synopsis "Alternative to the OpenGL Utility Toolkit (GLUT)")
  74. (description
  75. "Freeglut is a completely Free/OpenSourced alternative to
  76. the OpenGL Utility Toolkit (GLUT) library. GLUT was originally
  77. written by Mark Kilgard to support the sample programs in the
  78. second edition OpenGL 'RedBook'. Since then, GLUT has been used
  79. in a wide variety of practical applications because it is simple,
  80. widely available and highly portable.
  81. GLUT (and hence freeglut) allows the user to create and manage windows
  82. containing OpenGL contexts on a wide range of platforms and also read
  83. the mouse, keyboard and joystick functions. freeglut is released under
  84. the X-Consortium license.")
  85. (license l:x11)))
  86. (define-public ftgl
  87. (package
  88. (name "ftgl")
  89. (version "2.1.3-rc5")
  90. (source (origin
  91. (method url-fetch)
  92. (uri (string-append "mirror://sourceforge/project/ftgl/FTGL%20Source/2.1.3~rc5/ftgl-"
  93. version ".tar.gz"))
  94. (sha256
  95. (base32 "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l"))))
  96. (build-system gnu-build-system)
  97. (inputs `(("freetype" ,freetype)
  98. ("libx11" ,libx11)
  99. ("mesa" ,mesa)
  100. ("glu" ,glu)))
  101. (home-page "http://ftgl.sourceforge.net")
  102. (synopsis "Font rendering library for OpenGL applications")
  103. (description
  104. "FTGL is a font rendering library for OpenGL applications. Supported
  105. rendering modes are: Bitmaps, Anti-aliased pixmaps, Texture maps, Outlines,
  106. Polygon meshes, and Extruded polygon meshes")
  107. (license l:x11)))