[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
150/402: gnu: cairomm: Update package definition.
From: |
guix-commits |
Subject: |
150/402: gnu: cairomm: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:23 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 98021990eb0e280720d2284359564a8c0b7de501
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 701f0b7..f70dacd 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
- 107/402: gnu: Add rust-cssparser@0.27.2., (continued)
- 107/402: gnu: Add rust-cssparser@0.27.2., guix-commits, 2020/08/18
- 109/402: gnu: Add rust-serial-test-derive@0.4.0., guix-commits, 2020/08/18
- 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 <=
- 143/402: gnu: yelp-tools: Update package definition., guix-commits, 2020/08/18
- 147/402: gnu: cairo: Update package definition., guix-commits, 2020/08/18
- 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