mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 03:59:38 -05:00
gnu: pango: Update to 1.48.3.
* gnu/packages/gtk.scm (pango) [version]: Update to 1.48.3. [arguments]<#:phases>['disable-cantarell-tests]: Modify. [propagated-inputs]: Add libthai and libxrender. [native-inputs]: Add help2man, perl and python-wrapper. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
parent
feb246fbff
commit
2a6f070e2d
1 changed files with 38 additions and 31 deletions
|
@ -78,6 +78,7 @@ (define-module (gnu packages gtk)
|
||||||
#:use-module (gnu packages image)
|
#:use-module (gnu packages image)
|
||||||
#:use-module (gnu packages libffi)
|
#:use-module (gnu packages libffi)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
|
#:use-module (gnu packages man)
|
||||||
#:use-module (gnu packages pdf)
|
#:use-module (gnu packages pdf)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
@ -312,30 +313,31 @@ (define-public libthai
|
||||||
|
|
||||||
(define-public pango
|
(define-public pango
|
||||||
(package
|
(package
|
||||||
(name "pango")
|
(name "pango")
|
||||||
(version "1.44.7")
|
(version "1.48.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/pango/"
|
(uri (string-append "mirror://gnome/sources/pango/"
|
||||||
(version-major+minor version) "/"
|
(version-major+minor version) "/"
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(patches (search-patches "pango-skip-libthai-test.patch"))
|
(patches (search-patches "pango-skip-libthai-test.patch"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"07qvxa2sk90chp1l12han6vxvy098mc37sdqcznyywyv2g6bd9b6"))))
|
"0ijbkcs6217ygzphlpi0vajxkccifdbsl0jdjpy8wz11h9f19sin"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
'(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-after 'unpack 'disable-cantarell-tests
|
(add-after 'unpack 'disable-cantarell-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/meson.build"
|
(substitute* "tests/meson.build"
|
||||||
;; XXX FIXME: These tests require "font-cantarell", but
|
;; XXX FIXME: These tests require "font-cantarell", but
|
||||||
;; adding it here would introduce a circular dependency.
|
;; adding it here would introduce a circular dependency.
|
||||||
(("\\[ 'test-harfbuzz'.*") "")
|
(("\\[ 'test-layout'.*") "")
|
||||||
(("\\[ 'test-itemize'.*") "")
|
(("\\[ 'test-itemize'.*") "")
|
||||||
(("\\[ 'test-layout'.*") ""))
|
(("\\[ 'test-font'.*") "")
|
||||||
#t)))))
|
(("\\[ 'test-harfbuzz'.*") ""))
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; These are all in Requires or Requires.private of the '.pc' files.
|
;; These are all in Requires or Requires.private of the '.pc' files.
|
||||||
`(("cairo" ,cairo)
|
`(("cairo" ,cairo)
|
||||||
|
@ -344,22 +346,27 @@ (define-public pango
|
||||||
("fribidi" ,fribidi)
|
("fribidi" ,fribidi)
|
||||||
("glib" ,glib)
|
("glib" ,glib)
|
||||||
("harfbuzz" ,harfbuzz)
|
("harfbuzz" ,harfbuzz)
|
||||||
|
("libthai" ,libthai)
|
||||||
;; Some packages, such as Openbox, expect Pango to be built with the
|
;; Some packages, such as Openbox, expect Pango to be built with the
|
||||||
;; optional libxft support.
|
;; optional libxft support.
|
||||||
("libxft" ,libxft)))
|
("libxft" ,libxft)
|
||||||
|
("libxrender" ,libxrender)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib" ,glib "bin") ; glib-mkenums, etc.
|
`(("glib" ,glib "bin") ; glib-mkenums, etc.
|
||||||
("gobject-introspection" ,gobject-introspection) ; g-ir-compiler, etc.
|
("gobject-introspection" ,gobject-introspection) ; g-ir-compiler, etc.
|
||||||
("pkg-config" ,pkg-config)))
|
("help2man" ,help2man)
|
||||||
(synopsis "GNOME text and font handling library")
|
("perl" ,perl)
|
||||||
(description
|
("pkg-config" ,pkg-config)
|
||||||
"Pango is the core text and font handling library used in GNOME
|
("python" ,python-wrapper)))
|
||||||
|
(synopsis "GNOME text and font handling library")
|
||||||
|
(description
|
||||||
|
"Pango is the core text and font handling library used in GNOME
|
||||||
applications. It has extensive support for the different writing systems
|
applications. It has extensive support for the different writing systems
|
||||||
used throughout the world.")
|
used throughout the world.")
|
||||||
(license license:lgpl2.0+)
|
(license license:lgpl2.0+)
|
||||||
(home-page "https://developer.gnome.org/pango/")))
|
(home-page "https://developer.gnome.org/pango/")))
|
||||||
|
|
||||||
(define-public pango-1.42
|
(define-public pango-1.42
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue