Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/djvu/
Date: Sun, 28 Jun 2020 20:54:35
Message-Id: 1593377654.3a13ebb61d94c615ab2c68de08ab95746c1996c5.bman@gentoo
1 commit: 3a13ebb61d94c615ab2c68de08ab95746c1996c5
2 Author: John Helmert III <jchelmert3 <AT> posteo <DOT> net>
3 AuthorDate: Thu Jun 25 22:53:18 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 20:54:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a13ebb6
7
8 app-text/djvu: Security cleanup
9
10 Bug: https://bugs.gentoo.org/536720
11 Bug: https://bugs.gentoo.org/718552
12 Package-Manager: Portage-2.3.103, Repoman-2.3.23
13 Signed-off-by: John Helmert III <jchelmert3 <AT> posteo.net>
14 Closes: https://github.com/gentoo/gentoo/pull/16423
15 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
16
17 app-text/djvu/Manifest | 1 -
18 app-text/djvu/djvu-3.5.27-r1.ebuild | 68 -------------------------------------
19 2 files changed, 69 deletions(-)
20
21 diff --git a/app-text/djvu/Manifest b/app-text/djvu/Manifest
22 index 3d21b0b09da..b0a911340b1 100644
23 --- a/app-text/djvu/Manifest
24 +++ b/app-text/djvu/Manifest
25 @@ -1,2 +1 @@
26 DIST djvu-3.5.27.zip 3567522 BLAKE2B c074468a2fedf097b9b8fea4c449f26b61bffb31d10114081554e59256a23315ecffc203b5223468ca0c3338118b53aba65eee4cb5e7ad5c8d55470e90f43843 SHA512 dc1cd1bce2fb6245946f9409b3a3826ef2dc77a20be079c929b17508c3d967a0b5d8acd61bad00357e46a845f7f97717a043db9ffd1fe23e9a09441b7d21cbd6
27 -DIST djvulibre-3.5.27.tar.gz 3648522 BLAKE2B e1907b4b64c48304ceb24360cfd451e4690d38803f22231d4e136dbe754715527fa0300c623bb709fa05bba206348257137b2a755651bb51ca26259680e142d0 SHA512 62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee
28
29 diff --git a/app-text/djvu/djvu-3.5.27-r1.ebuild b/app-text/djvu/djvu-3.5.27-r1.ebuild
30 deleted file mode 100644
31 index 607b51c1895..00000000000
32 --- a/app-text/djvu/djvu-3.5.27-r1.ebuild
33 +++ /dev/null
34 @@ -1,68 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -inherit desktop eutils flag-o-matic xdg-utils
41 -
42 -MY_P="${PN}libre-${PV#*_p}"
43 -
44 -DESCRIPTION="DjVu viewers, encoders and utilities"
45 -HOMEPAGE="http://djvu.sourceforge.net/"
46 -SRC_URI="http://downloads.sourceforge.net/djvu/${MY_P}.tar.gz"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
51 -IUSE="debug doc jpeg tiff xml"
52 -
53 -PATCHES=( "${FILESDIR}"/fix-CVE-2019-18804.patch )
54 -
55 -RDEPEND="jpeg? ( virtual/jpeg:0 )
56 - tiff? ( media-libs/tiff:0= )"
57 -DEPEND="${RDEPEND}
58 - || ( gnome-base/librsvg media-gfx/inkscape )"
59 -
60 -S=${WORKDIR}/${MY_P%%.3}
61 -
62 -src_configure() {
63 - use debug && append-cppflags "-DRUNTIME_DEBUG_ONLY"
64 -
65 - # We install all desktop files by hand.
66 - econf \
67 - $(use_enable xml xmltools) \
68 - $(use_with jpeg) \
69 - $(use_with tiff) \
70 - --disable-desktopfiles
71 -}
72 -
73 -DOCS=( NEWS README )
74 -
75 -src_install() {
76 - default
77 -
78 - find "${ED}" -name '*.la' -delete || die
79 -
80 - use doc && dodoc -r doc
81 -
82 - # Install desktop files.
83 - cd desktopfiles
84 - for i in {22,32,48,64}; do
85 - insinto /usr/share/icons/hicolor/${i}x${i}/mimetypes
86 - newins prebuilt-hi${i}-djvu.png image-vnd.djvu.png
87 - done
88 - insinto /usr/share/mime/packages
89 - doins djvulibre-mime.xml
90 -}
91 -
92 -pkg_postinst() {
93 - xdg_icon_cache_update
94 - xdg_mimeinfo_database_update
95 - has_version app-text/djview || \
96 - optfeature "For djviewer or browser plugin" app-text/djview
97 -}
98 -
99 -pkg_postrm() {
100 - xdg_icon_cache_update
101 - xdg_mimeinfo_database_update
102 -}