[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
147/402: gnu: cairo: Update package definition.
From: |
guix-commits |
Subject: |
147/402: gnu: cairo: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:22 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit b9c3866a126fff6d8762f78215ee0de494c3a7d2
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jul 17 16:06:39 2020 -0400
gnu: cairo: Update package definition.
* gnu/packages/gtk.scm (cairo): Update package definition.
[build-system]: Change from gnu to glib-or-gtk.
[outputs]: New output "doc".
[arguments]<#:configure-flags>[--with-html-dir]: New flag.
[native-inputs]: Add gobject-introspection.
[inputs]: Add libdrm. Remove xorgproto and zlib.
[propagated-inputs]: Add libxcb.
[synopsis]: Modify.
[description]: Modify.
[license]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gtk.scm | 114 +++++++++++++++++++++++++++++----------------------
1 file changed, 64 insertions(+), 50 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index c6b68d4..701f0b7 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -131,57 +131,71 @@ accessibility tools have full access to view and control
running applications.")
(define-public cairo
(package
- (name "cairo")
- (version "1.16.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://cairographics.org/releases/cairo-"
- version ".tar.xz"))
- (sha256
- (base32
- "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"))))
- (build-system gnu-build-system)
- (propagated-inputs
- `(("fontconfig" ,fontconfig)
- ("freetype" ,freetype)
- ("glib" ,glib)
- ("libpng" ,libpng)
- ("libx11" ,libx11)
- ("libxext" ,libxext)
- ("libxrender" ,libxrender)
- ("pixman" ,pixman)))
- (inputs
- `(("ghostscript" ,ghostscript)
- ("libspectre" ,libspectre)
- ("poppler" ,poppler)
- ("xorgproto" ,xorgproto)
- ("zlib" ,zlib)))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("python" ,python-wrapper)))
+ (name "cairo")
+ (version "1.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://cairographics.org/releases/cairo-"
+ version ".tar.xz"))
+ (sha256
+ (base32 "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"))))
+ (build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
(arguments
- `(#:tests? #f ; see
http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
- #:configure-flags '("--enable-tee" ;needed for GNU Icecat
- "--enable-xml" ;for cairo-xml support
- "--disable-static")))
- (synopsis "2D graphics library")
- (description
- "Cairo is a 2D graphics library with support for multiple output devices.
-Currently supported output targets include the X Window System (via both
-Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file
-output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.
-
-Cairo is designed to produce consistent output on all output media while
-taking advantage of display hardware acceleration when available
-eg. through the X Render Extension).
-
-The cairo API provides operations similar to the drawing operators of
-PostScript and PDF. Operations in cairo including stroking and filling cubic
-Bézier splines, transforming and compositing translucent images, and
-antialiased text rendering. All drawing operations can be transformed by any
-affine transformation (scale, rotation, shear, etc.).")
- (license license:lgpl2.1) ; or Mozilla Public License 1.1
- (home-page "https://cairographics.org/")))
+ `(#:tests? #f ; See
http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
+ #:configure-flags
+ (list
+ "--disable-static"
+ ;; XXX: To be enabled.
+ ;; "--enable-gallium=yes"
+ ;; "--enable-gl=yes"
+ ;; " --enable-glesv2=yes"
+ ;; "--enable-glesv3=yes"
+ ;; "--enable-cogl=yes"
+ ;; "--enable-directfb=yes"
+ ;; "--enable-vg=yes"
+ "--enable-tee=yes"
+ "--enable-xml=yes"
+ (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html"))))
+ (native-inputs
+ `(("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)))
+ (inputs
+ `(("drm" ,libdrm)
+ ("ghostscript" ,ghostscript)
+ ("libspectre" ,libspectre)
+ ("poppler" ,poppler)))
+ (propagated-inputs
+ `(;; ("cogl" ,cogl)
+ ;; ("directfb" ,directfb)
+ ("fontconfig" ,fontconfig)
+ ("freetype" ,freetype)
+ ("glib" ,glib)
+ ;; ("gtk+" ,gtk+)
+ ("libpng" ,libpng)
+ ;; ("librsvg" ,librsvg)
+ ;; ("opengl" ,mesa)
+ ("pixman" ,pixman)
+ ("x11" ,libx11)
+ ("xcb" ,libxcb)
+ ("xext" ,libxext)
+ ("xrender" ,libxrender)))
+ (synopsis "Multi-platform 2D graphics library")
+ (description "Cairo is a 2D graphics library with support for multiple
output
+devices. Currently supported output targets include the X Window System (via
+both Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file
+output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.")
+ (home-page "https://cairographics.org/")
+ (license
+ ;; This project is dual-licensed.
+ (list
+ license:lgpl2.1+
+ license:mpl1.1))))
(define-public cairo-xcb
(package
- 111/402: gnu: Add rust-serial-test@0.1.0., (continued)
- 111/402: gnu: Add rust-serial-test@0.1.0., guix-commits, 2020/08/18
- 112/402: gnu: Add rust-serial-test-derive@0.1.0., guix-commits, 2020/08/18
- 117/402: gnu: Add rust-pin-project-internal@0.4.22., guix-commits, 2020/08/18
- 118/402: gnu: Add rust-pin-project@0.4.22., guix-commits, 2020/08/18
- 120/402: gnu: Add rust-servo-arc@0.1.1., guix-commits, 2020/08/18
- 129/402: gnu: tesseract-ocr: Propagate leptonica., guix-commits, 2020/08/18
- 133/402: gnu: vala: Update package definition., guix-commits, 2020/08/18
- 146/402: gnu: pixman: Update package definition., guix-commits, 2020/08/18
- 150/402: gnu: cairomm: Update package definition., guix-commits, 2020/08/18
- 143/402: gnu: yelp-tools: Update package definition., guix-commits, 2020/08/18
- 147/402: gnu: cairo: Update package definition.,
guix-commits <=
- 159/402: gnu: gtkmm-2: Update package definition., guix-commits, 2020/08/18
- 168/402: gnu: folks: Update package definition., guix-commits, 2020/08/18
- 172/402: gnu: gegl: Update package definition., guix-commits, 2020/08/18
- 86/402: gnu: gtk+: Update package definition., guix-commits, 2020/08/18
- 205/402: gnu: libgweather: Update package definition., guix-commits, 2020/08/18
- 210/402: gnu: libpeas: Update package definition., guix-commits, 2020/08/18
- 218/402: gnu: libappindicator: Propagate gtk+ and libdbusmenu., guix-commits, 2020/08/18
- 236/402: gnu: opencv: Disable structured_light test., guix-commits, 2020/08/18
- 233/402: gnu: tracker: Update package definition., guix-commits, 2020/08/18
- 99/402: gnu: gst-libav: Update package definition., guix-commits, 2020/08/18