mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
Merge branch 'gtk-rebuild'
This commit is contained in:
commit
6344feb318
2 changed files with 43 additions and 13 deletions
|
@ -506,6 +506,20 @@ (define-public gnome-icon-theme
|
||||||
"Icons for the GNOME desktop.")
|
"Icons for the GNOME desktop.")
|
||||||
(license license:lgpl3))) ; or Creative Commons BY-SA 3.0
|
(license license:lgpl3))) ; or Creative Commons BY-SA 3.0
|
||||||
|
|
||||||
|
;; gnome-icon-theme was renamed to adwaita-icon-theme after version 3.12.0.
|
||||||
|
(define-public adwaita-icon-theme
|
||||||
|
(package (inherit gnome-icon-theme)
|
||||||
|
(name "adwaita-icon-theme")
|
||||||
|
(version "3.16.2")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
|
(version-major+minor version) "/"
|
||||||
|
name "-" version ".tar.xz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1hmlw7kvhr7c2asc5y77adpymi9ka17gaf76zz835nwwffnn4rlw"))))))
|
||||||
|
|
||||||
(define-public shared-mime-info
|
(define-public shared-mime-info
|
||||||
(package
|
(package
|
||||||
(name "shared-mime-info")
|
(name "shared-mime-info")
|
||||||
|
@ -746,7 +760,7 @@ (define-public libgsf
|
||||||
(define-public librsvg
|
(define-public librsvg
|
||||||
(package
|
(package
|
||||||
(name "librsvg")
|
(name "librsvg")
|
||||||
(version "2.40.6")
|
(version "2.40.9")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
|
@ -754,7 +768,7 @@ (define-public librsvg
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01jgb11779080b80k2ncrhdphgillqrrnszal6vh8yv787r4kwwa"))))
|
"0fplymmqqr28y24vcnb01szn62pfbqhk8p1ngns54x9m6mflr5hk"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
|
|
@ -138,24 +138,28 @@ (define-public cairo
|
||||||
(define-public harfbuzz
|
(define-public harfbuzz
|
||||||
(package
|
(package
|
||||||
(name "harfbuzz")
|
(name "harfbuzz")
|
||||||
(version "0.9.22")
|
(version "0.9.40")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-"
|
(uri (string-append "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-"
|
||||||
version ".tar.bz2"))
|
version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nkimwadri6v2kzrmz8y0crmy59gw0kg4i4f6cc786bngs0815lq"))))
|
"07rjp05axas96fp23lpf8l2yyfdj9yib4m0qjv592vdyhcsxaw8p"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("cairo" ,cairo)
|
`(("cairo" ,cairo)
|
||||||
("graphite2" ,graphite2)
|
("graphite2" ,graphite2)
|
||||||
("icu4c" ,icu4c)))
|
("icu4c" ,icu4c)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("glib" ,glib))) ; required by harfbuzz-gobject.pc
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("gobject-introspection" ,gobject-introspection)
|
||||||
("python" ,python-wrapper)))
|
("pkg-config" ,pkg-config)
|
||||||
|
("python" ,python-2))) ; incompatible with Python 3 (print syntax)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags `("--with-graphite2=yes")))
|
`(#:configure-flags `("--with-graphite2"
|
||||||
|
"--with-gobject")))
|
||||||
(synopsis "OpenType text shaping engine")
|
(synopsis "OpenType text shaping engine")
|
||||||
(description
|
(description
|
||||||
"HarfBuzz is an OpenType text shaping engine.")
|
"HarfBuzz is an OpenType text shaping engine.")
|
||||||
|
@ -426,7 +430,7 @@ (define-public at-spi2-atk
|
||||||
(define-public gtk+-2
|
(define-public gtk+-2
|
||||||
(package
|
(package
|
||||||
(name "gtk+")
|
(name "gtk+")
|
||||||
(version "2.24.27")
|
(version "2.24.28")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
|
@ -434,7 +438,7 @@ (define-public gtk+-2
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1x14rnjvqslpa1q19fp1qalz5sxds72amsgjk8m7769rwk511jr0"))))
|
"0mj6xn40py9r9lvzg633fal81xfwfm89d9mvz7jk4lmwk0g49imj"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
@ -482,7 +486,7 @@ (define-public gtk+-2
|
||||||
(define-public gtk+
|
(define-public gtk+
|
||||||
(package (inherit gtk+-2)
|
(package (inherit gtk+-2)
|
||||||
(name "gtk+")
|
(name "gtk+")
|
||||||
(version "3.16.2")
|
(version "3.16.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
|
@ -490,7 +494,7 @@ (define-public gtk+
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1yhwg2l72l3khfkprydcjlpxjrg11ccqfc80sjl56llz3jk66fd0"))))
|
"195ykv53sl2gsc847wcnd79zilm1yzcc2cfjxnrakhh2dd5gshr9"))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("at-spi2-atk" ,at-spi2-atk)
|
`(("at-spi2-atk" ,at-spi2-atk)
|
||||||
("atk" ,atk)
|
("atk" ,atk)
|
||||||
|
@ -501,7 +505,8 @@ (define-public gtk+
|
||||||
("libxdamage" ,libxdamage)
|
("libxdamage" ,libxdamage)
|
||||||
("pango" ,pango)))
|
("pango" ,pango)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libxml2" ,libxml2)
|
`(("librsvg" ,librsvg) ;for gtk-encode-symbolic-svg
|
||||||
|
("libxml2" ,libxml2)
|
||||||
("cups" ,cups))) ;for printing support
|
("cups" ,cups))) ;for printing support
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
`(("perl" ,perl)
|
||||||
|
@ -533,7 +538,18 @@ (define-public gtk+
|
||||||
"demos/gtk-demo/Makefile.in")
|
"demos/gtk-demo/Makefile.in")
|
||||||
(("gtk-update-icon-cache") "$(bindir)/gtk-update-icon-cache"))
|
(("gtk-update-icon-cache") "$(bindir)/gtk-update-icon-cache"))
|
||||||
#t)
|
#t)
|
||||||
%standard-phases)))))
|
(alist-cons-after
|
||||||
|
'install 'wrap-gtk-encode-symbolic-svg
|
||||||
|
;; By using GdkPixbuf, gtk-encode-symbolic-svg needs to know
|
||||||
|
;; librsvg's loaders.cache to handle SVG files.
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(prog (string-append out "/bin/gtk-encode-symbolic-svg"))
|
||||||
|
(librsvg (assoc-ref inputs "librsvg"))
|
||||||
|
(loaders.cache (find-files librsvg "^loaders\\.cache$")))
|
||||||
|
(wrap-program prog
|
||||||
|
`("GDK_PIXBUF_MODULE_FILE" = ,loaders.cache))))
|
||||||
|
%standard-phases))))))
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Guile bindings.
|
;;; Guile bindings.
|
||||||
|
|
Loading…
Reference in a new issue