From: Andreas Sturmlechner Date: Thu, 22 Nov 2018 01:08:15 +0000 (+0100) Subject: app-office/libreoffice: QA: Don't install compressed manpages X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3b2f93ad16204f009ef5b2688fac86bd762cf425;p=gentoo.git app-office/libreoffice: QA: Don't install compressed manpages Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- diff --git a/app-office/libreoffice/files/libreoffice-6.1-nomancompress.patch b/app-office/libreoffice/files/libreoffice-6.1-nomancompress.patch new file mode 100644 index 000000000000..ea6eb8b816ff --- /dev/null +++ b/app-office/libreoffice/files/libreoffice-6.1-nomancompress.patch @@ -0,0 +1,29 @@ +--- a/bin/distro-install-desktop-integration 2018-10-29 20:55:29.000000000 +0100 ++++ b/bin/distro-install-desktop-integration 2018-11-22 02:03:36.464866894 +0100 +@@ -39,22 +39,20 @@ + + create_man_link() + { +- echo "Install $MANDIR/man1/$1.1.gz" ++ echo "Install $MANDIR/man1/$1.1" + + mkdir -p $DESTDIR$MANDIR/man1 + echo ".so man1/$2.1" >| $DESTDIR$MANDIR/man1/$1.1 +- gzip -f $DESTDIR$MANDIR/man1/$1.1 +- test -f "$DESTDIR/$3" && echo "$MANDIR/man1/$1.1.gz" >>"$DESTDIR/$3" ++ test -f "$DESTDIR/$3" && echo "$MANDIR/man1/$1.1" >>"$DESTDIR/$3" + } + + install_man() + { +- echo "Install $MANDIR/man1/$1.1.gz" ++ echo "Install $MANDIR/man1/$1.1" + + mkdir -p $DESTDIR$MANDIR/man1 + cp "${SRCDIR?}"/sysui/desktop/man/$1.1 $DESTDIR$MANDIR/man1 || exit 1; +- gzip -f $DESTDIR$MANDIR/man1/$1.1 +- test -f "$DESTDIR/$2" && echo "$MANDIR/man1/$1.1.gz" >>"$DESTDIR/$2" ++ test -f "$DESTDIR/$2" && echo "$MANDIR/man1/$1.1" >>"$DESTDIR/$2" + } + + diff --git a/app-office/libreoffice/libreoffice-6.1.9999.ebuild b/app-office/libreoffice/libreoffice-6.1.9999.ebuild index 437ac1b2f000..3c7a646b955c 100644 --- a/app-office/libreoffice/libreoffice-6.1.9999.ebuild +++ b/app-office/libreoffice/libreoffice-6.1.9999.ebuild @@ -247,6 +247,7 @@ PATCHES=( # not upstreamable stuff "${FILESDIR}/${PN}-5.4-system-pyuno.patch" "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch" + "${FILESDIR}/${PN}-6.1-nomancompress.patch" ) S="${WORKDIR}/${PN}-${MY_PV}" diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild index d2235c0033d0..c7399b1a5ac0 100644 --- a/app-office/libreoffice/libreoffice-9999.ebuild +++ b/app-office/libreoffice/libreoffice-9999.ebuild @@ -250,6 +250,7 @@ PATCHES=( # not upstreamable stuff "${FILESDIR}/${PN}-5.4-system-pyuno.patch" "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch" + "${FILESDIR}/${PN}-6.1-nomancompress.patch" ) S="${WORKDIR}/${PN}-${MY_PV}"