[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
150/334: gnu: cairomm: Update package definition.
From: |
guix-commits |
Subject: |
150/334: gnu: cairomm: Update package definition. |
Date: |
Sat, 15 Aug 2020 16:26:50 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 2dd2b5414bb99422e5ad761c4251e52856dfc128
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sat Jul 18 03:49:41 2020 -0400
gnu: cairomm: Update package definition.
* gnu/packages/gtk.scm (cairomm) [version]: Update to 1.15.5.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "doc".
[arguments]<#:configure-flags>[CXXFLAGS]: New flag.
<#:phases>['move-doc]: New phase.
[native-inputs]: Add graphviz, doxygen, perl and libxslt.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gtk.scm | 59 ++++++++++++++++++++++++++++++++++------------------
1 file changed, 39 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index ddd474d..3b959cb 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -57,6 +57,7 @@
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -72,6 +73,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages graphics)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages groovy)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
@@ -1366,29 +1368,46 @@ guile-gnome-platform (GNOME developer libraries), and
guile-gtksourceview.")
(define-public cairomm
(package
(name "cairomm")
- (version "1.12.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://www.cairographics.org/releases/"
- name "-" version ".tar.gz"))
- (sha256
- (base32
- "16fmigxsaz85c3lgcls7biwyz8zy8c8h3jndfm54cxxas3a7zi25"))))
+ (version "1.15.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://www.cairographics.org/releases/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lg3q5ixs6igd2b4674mq5i4w0il0d92bxri94mwdjkq8gs2kdld"))))
(build-system gnu-build-system)
+ (outputs '("out" "doc"))
(arguments
- ;; The examples lack -lcairo.
- '(#:make-flags '("LDFLAGS=-lcairo")))
- (native-inputs `(("pkg-config" ,pkg-config)))
+ `(#:configure-flags
+ (list
+ "CXXFLAGS=-std=c++17")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/doc")
+ (string-append doc "/share/doc"))
+ #t))))))
+ (native-inputs
+ `(("dot" ,graphviz)
+ ("doxygen" ,doxygen)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("xsltproc" ,libxslt)))
(propagated-inputs
- `(("libsigc++" ,libsigc++)
- ("freetype" ,freetype)
- ("fontconfig" ,fontconfig)
- ("cairo" ,cairo)))
- (home-page "https://cairographics.org/")
- (synopsis "C++ bindings to the Cairo 2D graphics library")
- (description
- "Cairomm provides a C++ programming interface to the Cairo 2D graphics
-library.")
+ `(("cairo" ,cairo)
+ ("sigc++" ,libsigc++)))
+ (synopsis "C++ API for Cairo")
+ (description "Cairomm is a C++ wrapper for the cairo graphics library. It
+offers all the power of cairo with an interface familiar to C++ developers,
+including use of the Standard Template Library where it makes sense.")
+ (home-page "https://cairographics.org/cairomm/")
(license license:lgpl2.0+)))
(define-public pangomm
- 114/334: gnu: Add rust-string-cache-codegen@0.5.1., (continued)
- 114/334: gnu: Add rust-string-cache-codegen@0.5.1., guix-commits, 2020/08/15
- 221/334: gnu: appstream-glib: Fix tests., guix-commits, 2020/08/15
- 285/334: gnu: sysprof: Remove duplicate definition., guix-commits, 2020/08/15
- 298/334: gnu: gnome-terminal: Update package definition., guix-commits, 2020/08/15
- 115/334: gnu: Add rust-peg@0.5.7., guix-commits, 2020/08/15
- 116/334: gnu: Add rust-derive-more@0.99.9., guix-commits, 2020/08/15
- 135/334: gnu: wpebackend-fdo: Update package definition., guix-commits, 2020/08/15
- 133/334: gnu: vala: Update package definition., guix-commits, 2020/08/15
- 148/334: gnu: libsigc++: Update package definition., guix-commits, 2020/08/15
- 149/334: gnu: Add libsigc++-2., guix-commits, 2020/08/15
- 150/334: gnu: cairomm: Update package definition.,
guix-commits <=
- 154/334: gnu: atkmm: Update package definition., guix-commits, 2020/08/15
- 155/334: gnu: pangomm: Update package definition., guix-commits, 2020/08/15
- 157/334: gnu: java-jakarta-oro: Update hash., guix-commits, 2020/08/15
- 161/334: gnu: gobject-introspection: Propagate glib., guix-commits, 2020/08/15
- 162/334: gnu: amtk: Update package definition., guix-commits, 2020/08/15
- 163/334: gnu: babl: Update package definition., guix-commits, 2020/08/15
- 166/334: gnu: Add dee., guix-commits, 2020/08/15
- 168/334: gnu: folks: Update package definition., guix-commits, 2020/08/15
- 169/334: gnu: Add poly2tri-c., guix-commits, 2020/08/15
- 173/334: gnu: geocode-glib: Update package definition., guix-commits, 2020/08/15