Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/pango/files/, x11-libs/pango/
Date: Mon, 20 Aug 2018 16:53:21
Message-Id: 1534783962.d1edcc424c04a62d7412f9acf027f90b6728a7b5.leio@gentoo
1 commit: d1edcc424c04a62d7412f9acf027f90b6728a7b5
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 20 16:51:57 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 20 16:52:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1edcc42
7
8 x11-libs/pango: bump to 1.42.4
9
10 Bug: https://bugs.gentoo.org/664108
11 Package-Manager: Portage-2.3.47, Repoman-2.3.10
12
13 x11-libs/pango/Manifest | 1 +
14 x11-libs/pango/files/1.42.4-pango-view.1.in | 113 ++++++++++++++++++++++++++++
15 x11-libs/pango/pango-1.42.4.ebuild | 65 ++++++++++++++++
16 3 files changed, 179 insertions(+)
17
18 diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest
19 index 6d0e507a007..031af06a9ed 100644
20 --- a/x11-libs/pango/Manifest
21 +++ b/x11-libs/pango/Manifest
22 @@ -1,3 +1,4 @@
23 DIST pango-1.40.14.tar.xz 858388 BLAKE2B 1afcff08c38aa59ec57cdf43aa503e70a8c03b7d59c730060c9e3537f78ffe9a63e3aa1cb74ce9ce8d72541b5a5be8becb951f665f4663b108114686c41452c8 SHA512 35ba7bc8be3992f206ccc2cc5aca0b94e2a3832f887fc9c45b0e29fddcb9051ce05a74377de0ca4ff95a87983b15688fa5d379d592faf87aa8eaca25ac18b7ea
24 DIST pango-1.42.0.tar.xz 824984 BLAKE2B 2ea7b5d0d95c91b61ad8f841e75d7431f405ba1c1a01acef52364d3143c4e99f6ba66d03b52e7e94d4074edc7a116e4c9ffa16b7538851a82ec0b638c8f83f05 SHA512 32f621f7af65102ddf7f5ad949c1a9da9a559259255de42a6c0e7992b8692088f6701a4e11558c4243edc881cb8907defd6712f4c2bfca4bcadfe1cb5009b59f
25 DIST pango-1.42.3.tar.xz 833264 BLAKE2B 8a830ececa1709003222a407c2043474bbcc3599cc6e475f6531f25857b08998650b1c4148846e5f4830961fbe6a50872c5c50b3b9d6c980fad3b78a21ef7a78 SHA512 339069d299f5fb2dd9652da0c7126e498aeba58351906038ac0e9d225082feddfd5e477d3f205d89106b2ce696ec480c727faca0e49ca7a5d1c38e7dcb4f0e91
26 +DIST pango-1.42.4.tar.xz 833876 BLAKE2B 7de1094a29750b9e59ea1e5c92644fa5d6b835828d027963a53cce3f204ee1ea0042ec492e209de9136f05ca131ccda959bc477d4f6e9c72e5f620ddf4235f26 SHA512 993e97f647eba0c5ed90bcfcb8228bf67fa3f20b1f4331e4e40a30788d7c3ac55eee1209471bf21df125cb8fc6121acc8062a9da2f8a7d6cbe8e9ad13a9320dc
27
28 diff --git a/x11-libs/pango/files/1.42.4-pango-view.1.in b/x11-libs/pango/files/1.42.4-pango-view.1.in
29 new file mode 100644
30 index 00000000000..0b6f07a90d3
31 --- /dev/null
32 +++ b/x11-libs/pango/files/1.42.4-pango-view.1.in
33 @@ -0,0 +1,113 @@
34 +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
35 +.TH PANGO-VIEW "1" "August 2018" "pango-view (pango) 1.42.4" "User Commands"
36 +.SH NAME
37 +pango-view \- Pango text viewer
38 +.SH DESCRIPTION
39 +.SS "Usage:"
40 +.IP
41 +pango\-view [OPTION?] \- FILE
42 +.SS "Help Options:"
43 +.TP
44 +\fB\-h\fR, \fB\-\-help\fR
45 +Show help options
46 +.TP
47 +\fB\-\-help\-all\fR
48 +Show all help options
49 +.TP
50 +\fB\-\-help\-cairo\fR
51 +Options understood by the cairo backend
52 +.SS "Cairo backend options:"
53 +.TP
54 +\fB\-\-annotate\fR=\fI\,1\/\fR or 2
55 +Annotate the output
56 +.SS "Application Options:"
57 +.TP
58 +\fB\-\-no\-auto\-dir\fR
59 +No layout direction according to contents
60 +.TP
61 +\fB\-\-backend\fR=\fI\,cairo\/\fR/xft/ft2
62 +Pango backend to use for rendering (default: cairo)
63 +.TP
64 +\fB\-\-background\fR=\fI\,red\/\fR/#rrggbb/#rrggbbaa/transparent
65 +Set the background color
66 +.TP
67 +\fB\-q\fR, \fB\-\-no\-display\fR
68 +Do not display (just write to file or whatever)
69 +.TP
70 +\fB\-\-dpi\fR=\fI\,number\/\fR
71 +Set the resolution
72 +.TP
73 +\fB\-\-align\fR=\fI\,left\/\fR/center/right
74 +Text alignment
75 +.TP
76 +\fB\-\-ellipsize\fR=\fI\,start\/\fR/middle/end
77 +Ellipsization mode
78 +.TP
79 +\fB\-\-font\fR=\fI\,description\/\fR
80 +Set the font description
81 +.TP
82 +\fB\-\-foreground\fR=\fI\,red\/\fR/#rrggbb/#rrggbbaa
83 +Set the text color
84 +.TP
85 +\fB\-\-gravity\fR=\fI\,south\/\fR/east/north/west/auto
86 +Base gravity: glyph rotation
87 +.TP
88 +\fB\-\-gravity\-hint\fR=\fI\,natural\/\fR/strong/line
89 +Gravity hint
90 +.TP
91 +\fB\-\-header\fR
92 +Display the options in the output
93 +.TP
94 +\fB\-\-height=\fR+points/\-numlines
95 +Height in points (positive) or number of lines (negative) for ellipsizing
96 +.TP
97 +\fB\-\-hinting\fR=\fI\,none\/\fR/auto/full
98 +Hinting style
99 +.TP
100 +\fB\-\-indent\fR=\fI\,points\/\fR
101 +Width in points to indent paragraphs
102 +.TP
103 +\fB\-\-justify\fR
104 +Align paragraph lines to be justified
105 +.TP
106 +\fB\-\-language\fR=\fI\,en_US\/\fR/etc
107 +Language to use for font selection
108 +.TP
109 +\fB\-\-margin\fR=\fI\,CSS\-style\/\fR numbers in pixels
110 +Set the margin on the output in pixels
111 +.TP
112 +\fB\-\-markup\fR
113 +Interpret text as Pango markup
114 +.TP
115 +\fB\-o\fR, \fB\-\-output\fR=\fI\,file\/\fR
116 +Save rendered image to output file
117 +.TP
118 +\fB\-\-pixels\fR
119 +Use pixel units instead of points (sets dpi to 72)
120 +.TP
121 +\fB\-\-rtl\fR
122 +Set base direction to right\-to\-left
123 +.TP
124 +\fB\-\-rotate\fR=\fI\,degrees\/\fR
125 +Angle at which to rotate results
126 +.TP
127 +\fB\-n\fR, \fB\-\-runs\fR=\fI\,integer\/\fR
128 +Run Pango layout engine this many times
129 +.TP
130 +\fB\-\-single\-par\fR
131 +Enable single\-paragraph mode
132 +.TP
133 +\fB\-t\fR, \fB\-\-text\fR=\fI\,string\/\fR
134 +Text to display (instead of a file)
135 +.TP
136 +\fB\-\-version\fR
137 +Show version numbers
138 +.TP
139 +\fB\-\-waterfall\fR
140 +Create a waterfall display
141 +.TP
142 +\fB\-w\fR, \fB\-\-width\fR=\fI\,points\/\fR
143 +Width in points to which to wrap lines or ellipsize
144 +.TP
145 +\fB\-\-wrap\fR=\fI\,word\/\fR/char/word\-char
146 +Text wrapping mode (needs a width to be set)
147
148 diff --git a/x11-libs/pango/pango-1.42.4.ebuild b/x11-libs/pango/pango-1.42.4.ebuild
149 new file mode 100644
150 index 00000000000..83fda4ac8c3
151 --- /dev/null
152 +++ b/x11-libs/pango/pango-1.42.4.ebuild
153 @@ -0,0 +1,65 @@
154 +# Copyright 1999-2018 Gentoo Foundation
155 +# Distributed under the terms of the GNU General Public License v2
156 +
157 +EAPI=6
158 +GNOME2_LA_PUNT="yes"
159 +
160 +inherit gnome2 multilib-minimal toolchain-funcs
161 +
162 +DESCRIPTION="Internationalized text layout and rendering library"
163 +HOMEPAGE="http://www.pango.org/"
164 +
165 +LICENSE="LGPL-2+ FTL"
166 +SLOT="0"
167 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
168 +
169 +IUSE="X +introspection test"
170 +
171 +RDEPEND="
172 + >=media-libs/harfbuzz-1.4.2:=[glib(+),truetype(+),${MULTILIB_USEDEP}]
173 + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
174 + >=media-libs/fontconfig-2.12.92:1.0=[${MULTILIB_USEDEP}]
175 + >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}]
176 + >=x11-libs/cairo-1.12.14-r4:=[X?,${MULTILIB_USEDEP}]
177 + >=dev-libs/fribidi-0.19.7[${MULTILIB_USEDEP}]
178 + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
179 + X? (
180 + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
181 + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
182 + >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}]
183 + )
184 +"
185 +DEPEND="${RDEPEND}
186 + >=dev-util/gtk-doc-am-1.20
187 + virtual/pkgconfig[${MULTILIB_USEDEP}]
188 + test? ( media-fonts/cantarell )
189 + X? ( x11-base/xorg-proto )
190 + !<=sys-devel/autoconf-2.63:2.5
191 +"
192 +
193 +src_prepare() {
194 + default
195 + # This should be updated if next release fails to pre-generate the manpage as well, or src_prepare removed if is properly generated
196 + # https://gitlab.gnome.org/GNOME/pango/issues/270
197 + cp -v "${FILESDIR}"/${PV}-pango-view.1.in "${S}/utils/pango-view.1.in" || die
198 +}
199 +
200 +multilib_src_configure() {
201 + tc-export CXX
202 +
203 + ECONF_SOURCE=${S} \
204 + gnome2_src_configure \
205 + --with-cairo \
206 + $(multilib_native_use_enable introspection) \
207 + $(use_with X xft) \
208 + "$(usex X --x-includes="${EPREFIX}/usr/include" "")" \
209 + "$(usex X --x-libraries="${EPREFIX}/usr/$(get_libdir)" "")"
210 +
211 + if multilib_is_native_abi; then
212 + ln -s "${S}"/docs/html docs/html || die
213 + fi
214 +}
215 +
216 +multilib_src_install() {
217 + gnome2_src_install
218 +}