@@ -9,24 +9,15 @@ with stdenv.lib;
9
9
10
10
let
11
11
pname = "pango" ;
12
- version = "1.44.6 " ;
12
+ version = "1.43.0 " ;
13
13
in stdenv . mkDerivation rec {
14
14
name = "${ pname } -${ version } " ;
15
15
16
16
src = fetchurl {
17
17
url = "mirror://gnome/sources/${ pname } /${ stdenv . lib . versions . majorMinor version } /${ name } .tar.xz" ;
18
- sha256 = "0v7qq3fv1c0dl80d4qxsvd6cmhh4ngih3w0zc40f4dw7hfx427iy " ;
18
+ sha256 = "1lnxldmv1a12dq5h0dlq5jyzl4w75k76dp8cn360x2ijlm9w5h6j " ;
19
19
} ;
20
20
21
- # 1.44.6-2 is not available from the usual mirrors yet,
22
- # so applying from gitlab
23
- patches = [
24
- ( fetchpatch {
25
- url = "https://gitlab.gnome.org/GNOME/pango/commit/8a408d4f25ddb0e3d6020cdde0cd8f8a19ee8db2.patch" ;
26
- sha256 = "0l0hxwbijqrfvka302ijgih9jafc2ffs3d6d4v7bwynpn54lmza7" ;
27
- } )
28
- ] ;
29
-
30
21
# FIXME: docs fail on darwin
31
22
outputs = [ "bin" "dev" "out" ] ++ optional ( ! stdenv . isDarwin ) "devdoc" ;
32
23
@@ -35,18 +26,26 @@ in stdenv.mkDerivation rec {
35
26
pkgconfig gobject-introspection gtk-doc docbook_xsl docbook_xml_dtd_43
36
27
] ;
37
28
buildInputs = [
38
- fribidi
29
+ harfbuzz fribidi
39
30
] ++ optionals stdenv . isDarwin ( with darwin . apple_sdk . frameworks ; [
40
31
ApplicationServices
41
32
Carbon
42
33
CoreGraphics
43
34
CoreText
44
35
] ) ;
45
- propagatedBuildInputs = [ cairo glib libintl harfbuzz ] ++
36
+ propagatedBuildInputs = [ cairo glib libintl ] ++
46
37
optional x11Support libXft ;
47
38
39
+ patches = [
40
+ ( fetchpatch {
41
+ # Add gobject-2 to .pc file
42
+ url = "https://gitlab.gnome.org/GNOME/pango/commit/546f4c242d6f4fe312de3b7c918a848e5172e18d.patch" ;
43
+ sha256 = "1cqhy4xbwx3ad7z5d1ks7smf038b9as8c6qy84rml44h0fgiq4m2" ;
44
+ } )
45
+ ] ;
46
+
48
47
mesonFlags = [
49
- "-Dgtk_doc =${ if stdenv . isDarwin then "false" else "true" } "
48
+ "-Denable_docs =${ if stdenv . isDarwin then "false" else "true" } "
50
49
] ;
51
50
52
51
enableParallelBuilding = true ;
0 commit comments