commit:     3b2f93ad16204f009ef5b2688fac86bd762cf425
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 22 01:08:15 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 22 21:48:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2f93ad

app-office/libreoffice: QA: Don't install compressed manpages

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/libreoffice-6.1-nomancompress.patch      | 29 ++++++++++++++++++++++
 app-office/libreoffice/libreoffice-6.1.9999.ebuild |  1 +
 app-office/libreoffice/libreoffice-9999.ebuild     |  1 +
 3 files changed, 31 insertions(+)

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 00000000000..ea6eb8b816f
--- /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 437ac1b2f00..3c7a646b955 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 d2235c0033d..c7399b1a5ac 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}"

Reply via email to