commit:     e8f238025541bf4d7a92c96dcf5e876b1972b0f1
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  7 13:28:04 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 14:12:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f23802

x11-libs/pango: bump to 1.40.4 for a few small bug fixes

has a introspection fix and coverity scan issue fixes.
The machine that generated the tarball didn't have help2man, so pango-view.1.in
is wrong - included a manually re-generated one in FILESDIR for this release to
fix it up.
Remove unnecessary multilib.eclass inherit - get_libdir comes from EAPI-6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 x11-libs/pango/Manifest                     |   1 +
 x11-libs/pango/files/1.40.4-pango-view.1.in | 113 ++++++++++++++++++++++++++++
 x11-libs/pango/pango-1.40.4.ebuild          |  64 ++++++++++++++++
 3 files changed, 178 insertions(+)

diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest
index f6dccadf541..f039f1a70e6 100644
--- a/x11-libs/pango/Manifest
+++ b/x11-libs/pango/Manifest
@@ -1 +1,2 @@
 DIST pango-1.40.3.tar.xz 1061044 SHA256 
abba8b5ce728520c3a0f1535eab19eac3c14aeef7faa5aded90017ceac2711d3 SHA512 
ff82395e8487624dffe212975b72b3383dcebb197a8675c8b409665e3e2e30fc23d9a6c25c3129a115adb7182b2a71a49550dbe881eb7ee9bbc572de6ba18d27
 WHIRLPOOL 
ba160e7a9f5ecfbb4d88f780b4a9a5f555f38407d4f50f6ae0b0d276a3d4100dce4af519ceadce8b95c3432976af4409e119cfd18bd7c636d70e6c33ed7c5b4c
+DIST pango-1.40.4.tar.xz 1062600 SHA256 
f8fdc5fc66356dc4edf915048cceeee065a0e0cb70b3b2598f62bda320129a3e SHA512 
8c7413f6712eaf9fd4bd92a9260a85e7e4bd5e1a03c4c89db139e1704e8681e9834f8b98394b9f4b87babd45155a15b6cffd583ad8f89a48a4849305d43aa613
 WHIRLPOOL 
c061c32c46171dfbf988f0c9498c19cef725d7f56e5dd57d042ebef2c408ba8299ff34eac03f590080d4657cd24f0d53737c224573c96584eb99b3f0fb1f4fdc

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
new file mode 100644
index 00000000000..78ba55d3e67
--- /dev/null
+++ b/x11-libs/pango/files/1.40.4-pango-view.1.in
@@ -0,0 +1,113 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.4.
+.TH PANGO-VIEW "1" "February 2017" "pango-view (pango) 1.40.4" "User Commands"
+.SH NAME
+pango-view \- Pango text viewer
+.SH DESCRIPTION
+.SS "Usage:"
+.IP
+pango\-view [OPTION...] \- FILE
+.SS "Help Options:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show help options
+.TP
+\fB\-\-help\-all\fR
+Show all help options
+.TP
+\fB\-\-help\-cairo\fR
+Options understood by the cairo backend
+.SS "Cairo backend options:"
+.TP
+\fB\-\-annotate\fR=\fI\,1\/\fR or 2
+Annotate the output
+.SS "Application Options:"
+.TP
+\fB\-\-no\-auto\-dir\fR
+No layout direction according to contents
+.TP
+\fB\-\-backend\fR=\fI\,cairo\/\fR/ft2
+Pango backend to use for rendering (default: cairo)
+.TP
+\fB\-\-background\fR=\fI\,red\/\fR/#rrggbb/#rrggbbaa/transparent
+Set the background color
+.TP
+\fB\-q\fR, \fB\-\-no\-display\fR
+Do not display (just write to file or whatever)
+.TP
+\fB\-\-dpi\fR=\fI\,number\/\fR
+Set the resolution
+.TP
+\fB\-\-align\fR=\fI\,left\/\fR/center/right
+Text alignment
+.TP
+\fB\-\-ellipsize\fR=\fI\,start\/\fR/middle/end
+Ellipsization mode
+.TP
+\fB\-\-font\fR=\fI\,description\/\fR
+Set the font description
+.TP
+\fB\-\-foreground\fR=\fI\,red\/\fR/#rrggbb/#rrggbbaa
+Set the text color
+.TP
+\fB\-\-gravity\fR=\fI\,south\/\fR/east/north/west/auto
+Base gravity: glyph rotation
+.TP
+\fB\-\-gravity\-hint\fR=\fI\,natural\/\fR/strong/line
+Gravity hint
+.TP
+\fB\-\-header\fR
+Display the options in the output
+.TP
+\fB\-\-height=\fR+points/\-numlines
+Height in points (positive) or number of lines (negative) for ellipsizing
+.TP
+\fB\-\-hinting\fR=\fI\,none\/\fR/auto/full
+Hinting style
+.TP
+\fB\-\-indent\fR=\fI\,points\/\fR
+Width in points to indent paragraphs
+.TP
+\fB\-\-justify\fR
+Align paragraph lines to be justified
+.TP
+\fB\-\-language\fR=\fI\,en_US\/\fR/etc
+Language to use for font selection
+.TP
+\fB\-\-margin\fR=\fI\,CSS\-style\/\fR numbers in pixels
+Set the margin on the output in pixels
+.TP
+\fB\-\-markup\fR
+Interpret text as Pango markup
+.TP
+\fB\-o\fR, \fB\-\-output\fR=\fI\,file\/\fR
+Save rendered image to output file
+.TP
+\fB\-\-pixels\fR
+Use pixel units instead of points (sets dpi to 72)
+.TP
+\fB\-\-rtl\fR
+Set base direction to right\-to\-left
+.TP
+\fB\-\-rotate\fR=\fI\,degrees\/\fR
+Angle at which to rotate results
+.TP
+\fB\-n\fR, \fB\-\-runs\fR=\fI\,integer\/\fR
+Run Pango layout engine this many times
+.TP
+\fB\-\-single\-par\fR
+Enable single\-paragraph mode
+.TP
+\fB\-t\fR, \fB\-\-text\fR=\fI\,string\/\fR
+Text to display (instead of a file)
+.TP
+\fB\-\-version\fR
+Show version numbers
+.TP
+\fB\-\-waterfall\fR
+Create a waterfall display
+.TP
+\fB\-w\fR, \fB\-\-width\fR=\fI\,points\/\fR
+Width in points to which to wrap lines or ellipsize
+.TP
+\fB\-\-wrap\fR=\fI\,word\/\fR/char/word\-char
+Text wrapping mode (needs a width to be set)

diff --git a/x11-libs/pango/pango-1.40.4.ebuild 
b/x11-libs/pango/pango-1.40.4.ebuild
new file mode 100644
index 00000000000..359ba6f6b0c
--- /dev/null
+++ b/x11-libs/pango/pango-1.40.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 multilib-minimal toolchain-funcs
+
+DESCRIPTION="Internationalized text layout and rendering library"
+HOMEPAGE="http://www.pango.org/";
+
+LICENSE="LGPL-2+ FTL"
+SLOT="0"
+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"
+
+IUSE="X +introspection test"
+
+RDEPEND="
+       >=media-libs/harfbuzz-0.9.30:=[glib(+),truetype(+),${MULTILIB_USEDEP}]
+       >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
+       >=media-libs/fontconfig-2.10.92:1.0=[${MULTILIB_USEDEP}]
+       >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}]
+       >=x11-libs/cairo-1.12.14-r4:=[X?,${MULTILIB_USEDEP}]
+       introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
+       X? (
+               >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
+               >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+               >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}]
+       )
+"
+DEPEND="${RDEPEND}
+       >=dev-util/gtk-doc-am-1.20
+       virtual/pkgconfig[${MULTILIB_USEDEP}]
+       test? ( media-fonts/cantarell )
+       X? ( >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] )
+       !<=sys-devel/autoconf-2.63:2.5
+"
+
+src_prepare() {
+       default
+       # This should be updated if next release fails to pre-generate the 
manpage as well, or src_prepare removed if is properly generated
+       # https://bugzilla.gnome.org/show_bug.cgi?id=779704
+       cp -v "${FILESDIR}"/${PV}-pango-view.1.in 
"${S}/pango-view/pango-view.1.in"
+}
+
+multilib_src_configure() {
+       tc-export CXX
+
+       ECONF_SOURCE=${S} \
+       gnome2_src_configure \
+               --with-cairo \
+               $(multilib_native_use_enable introspection) \
+               $(use_with X xft) \
+               "$(usex X --x-includes="${EPREFIX}/usr/include" "")" \
+               "$(usex X --x-libraries="${EPREFIX}/usr/$(get_libdir)" "")"
+
+       if multilib_is_native_abi; then
+               ln -s "${S}"/docs/html docs/html || die
+       fi
+}
+
+multilib_src_install() {
+       gnome2_src_install
+}

Reply via email to