From eb96cccd0456db31d6c97d3599d9909b0b8a3986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 20 Jan 2020 21:41:31 +0100 Subject: x11-libs/pango: update to version 1.44.7 --- x11-libs/pango/Manifest | 1 + x11-libs/pango/files/1.44.7-pango-view.1.in | 113 ++++++++++++++++++++++++++++ x11-libs/pango/pango-1.44.7-r2.ebuild | 66 ++++++++++++++++ 3 files changed, 180 insertions(+) create mode 100644 x11-libs/pango/Manifest create mode 100644 x11-libs/pango/files/1.44.7-pango-view.1.in create mode 100644 x11-libs/pango/pango-1.44.7-r2.ebuild diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest new file mode 100644 index 0000000..5042784 --- /dev/null +++ b/x11-libs/pango/Manifest @@ -0,0 +1 @@ +DIST pango-1.44.7.tar.xz 521384 BLAKE2B 9917efc1bcc9115331149d77eb9b15373d4331ed6a8e5542a97fbbbb480eb0557736d4f1817c0fd56262f442e4b3c2c68607baacdd38b1684def1af58a583bfb SHA512 6e0a3d5cd32c209fd71a2ce5f705a60db318c2133bcca07360a047a73892f642a1661c1f0fb90353fc43e75336dfc22909bf4969f1bd03324c9689344af08350 diff --git a/x11-libs/pango/files/1.44.7-pango-view.1.in b/x11-libs/pango/files/1.44.7-pango-view.1.in new file mode 100644 index 0000000..0b6f07a --- /dev/null +++ b/x11-libs/pango/files/1.44.7-pango-view.1.in @@ -0,0 +1,113 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. +.TH PANGO-VIEW "1" "August 2018" "pango-view (pango) 1.42.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/xft/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.44.7-r2.ebuild b/x11-libs/pango/pango-1.44.7-r2.ebuild new file mode 100644 index 0000000..43b3643 --- /dev/null +++ b/x11-libs/pango/pango-1.44.7-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# 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="https://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 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="X +introspection test" + +RDEPEND=" + >=media-libs/harfbuzz-1.4.2:=[glib(+),truetype(+),${MULTILIB_USEDEP}] + >=dev-libs/glib-2.50.2:2[${MULTILIB_USEDEP}] + >=media-libs/fontconfig-2.12.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}] + >=dev-libs/fribidi-0.19.7[${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/glib-utils + >=dev-util/gtk-doc-am-1.20 + virtual/pkgconfig[${MULTILIB_USEDEP}] + test? ( media-fonts/cantarell ) + X? ( x11-base/xorg-proto ) + !<=sys-devel/autoconf-2.63:2.5 +" + +src_prepare() { + gnome2_src_prepare + # This should be updated if next release fails to pre-generate the manpage as well, or src_prepare removed if is properly generated + # https://gitlab.gnome.org/GNOME/pango/issues/270 + cp -v "${FILESDIR}"/${PV}-pango-view.1.in "${S}/utils/pango-view.1.in" || die +} + +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 +} -- cgit v1.2.3