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