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