1 |
commit: cebe033037940c160c42dd00fb574b7a1ba9c9a5 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 18 18:15:53 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 18 18:15:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebe0330 |
7 |
|
8 |
app-text/llpp: remove old and vulnerable |
9 |
|
10 |
Was forced to drop ppc stable keyword due to slow stabilization. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/645974 |
13 |
Bug: https://bugs.gentoo.org/658618 |
14 |
Package-Manager: Portage-2.3.47, Repoman-2.3.10 |
15 |
|
16 |
app-text/llpp/Manifest | 1 - |
17 |
app-text/llpp/llpp-26b.ebuild | 87 ------------------------------------------- |
18 |
2 files changed, 88 deletions(-) |
19 |
|
20 |
diff --git a/app-text/llpp/Manifest b/app-text/llpp/Manifest |
21 |
index c1cd1df5611..bfbf28930ce 100644 |
22 |
--- a/app-text/llpp/Manifest |
23 |
+++ b/app-text/llpp/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST llpp-26b.tar.gz 169385 BLAKE2B 9a80c22d013af063e3908bda69108ce6a4e0f72efb1c0b930308591d2b8a0f94f7b71a5f1057543e102b95b01440d567e6648d1ed77f1e85728f5ea31718ea28 SHA512 ce7d743d8ec998a93cf272083dc5926ce6a250aee6ac768814f511ecb309ffe94fb0e2561ca1778e1c7fbd5824545477937618c8e66d32fd273f9b5e5e3fd143 |
26 |
DIST llpp-26b_p20180114.tar.gz 170204 BLAKE2B c7f46491d69350e8e94b444f0be4d7375f5658cccded792ecce2a246c907ae98bcca45d73e3b6c15765bd926d559327491559b5e5eec63bf2645cba84f6ee0d3 SHA512 1bc544f4bae268f573c2c111b69f7129bd3d1c1c8cc635c06f76e12670ad9476b4c2a2776e3959203ab6e53ea8ad1c68be290619298f7ebc1ae8203875f88314 |
27 |
|
28 |
diff --git a/app-text/llpp/llpp-26b.ebuild b/app-text/llpp/llpp-26b.ebuild |
29 |
deleted file mode 100644 |
30 |
index 607103b2b3e..00000000000 |
31 |
--- a/app-text/llpp/llpp-26b.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,87 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-inherit eutils multilib toolchain-funcs vcs-snapshot |
40 |
- |
41 |
-DESCRIPTION="graphical PDF viewer which aims to superficially resemble less(1)" |
42 |
-HOMEPAGE="http://repo.or.cz/w/llpp.git" |
43 |
-SRC_URI="http://repo.or.cz/llpp.git/snapshot/606ca0f5b7d9c1f031e558c17d66591daa04e3a4.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="GPL-3" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 ppc x86" |
48 |
-IUSE="+ocamlopt static" |
49 |
- |
50 |
-LIB_DEPEND=">=app-text/mupdf-1.11:0=[static-libs] |
51 |
- <app-text/mupdf-1.12:0=[static-libs] |
52 |
- media-libs/openjpeg:2[static-libs] |
53 |
- media-libs/fontconfig:1.0[static-libs] |
54 |
- media-libs/freetype:2[static-libs] |
55 |
- media-libs/jbig2dec[static-libs] |
56 |
- sys-libs/zlib[static-libs] |
57 |
- virtual/jpeg:0[static-libs] |
58 |
- x11-libs/libX11[static-libs]" |
59 |
-RDEPEND="x11-misc/xsel |
60 |
- !static? ( ${LIB_DEPEND//\[static-libs]} )" |
61 |
-DEPEND="${RDEPEND} |
62 |
- static? ( ${LIB_DEPEND} |
63 |
- app-arch/bzip2[static-libs] |
64 |
- media-libs/libXcm[static-libs] |
65 |
- x11-libs/libXau[static-libs] |
66 |
- x11-libs/libXdmcp[static-libs] |
67 |
- x11-libs/libXmu[static-libs] ) |
68 |
- >=dev-lang/ocaml-4.02[ocamlopt?] |
69 |
- dev-ml/lablgl[glut,ocamlopt?]" |
70 |
- |
71 |
-RESTRICT="!ocamlopt? ( strip )" |
72 |
- |
73 |
-PATCHES=( "${FILESDIR}"/${PN}-26b-WM_CLASS.patch ) |
74 |
- |
75 |
-src_compile() { |
76 |
- local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt) |
77 |
- local cmo=$(usex ocamlopt cmx cmo) |
78 |
- local cma=$(usex ocamlopt cmxa cma) |
79 |
- local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE -DUSE_FONTCONFIG -std=c99 -Wextra -Wall -pedantic-errors -Wunused-parameter -Wsign-compare -Wshadow" |
80 |
- if use static ; then |
81 |
- local cclib="" |
82 |
- local slib="" |
83 |
- local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 ${egl} | sed 's:-L::g') ) |
84 |
- for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11 ${egl} fontconfig) -ljpeg -ljbig2dec ; do |
85 |
- case ${slib} in |
86 |
- -lm|-ldl|-lpthread) |
87 |
- einfo "${slib}: shared" |
88 |
- cclib+="${slib} " ;; |
89 |
- *) |
90 |
- local ccnew=$(find ${spath} -name "lib${slib/-l}.a") |
91 |
- einfo "${slib}: use ${ccnew}" |
92 |
- cclib+="${ccnew} " ;; |
93 |
- esac |
94 |
- done |
95 |
- else |
96 |
- local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11 ${egl} fontconfig) -lpthread" |
97 |
- fi |
98 |
- |
99 |
- verbose() { echo "$@" >&2 ; "$@" || die ; } |
100 |
- verbose sh mkhelp.sh KEYS ${PV} > help.ml |
101 |
- verbose printf 'let version ="%s";;\n' ${PV} >> help.ml |
102 |
- verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c |
103 |
- verbose ${ocaml} -c -o keys.${cmo} keys.ml |
104 |
- verbose ${ocaml} -c -o help.${cmo} help.ml |
105 |
- verbose ${ocaml} -c -o utils.${cmo} utils.ml |
106 |
- verbose ${ocaml} -c -o wsi/x11/wsi.cmi wsi/x11/wsi.mli |
107 |
- verbose ${ocaml} -c -o wsi/x11/wsi.${cmo} -I wsi/x11 wsi/x11/wsi.ml |
108 |
- verbose ${ocaml} -c -o parser.${cmo} parser.ml |
109 |
- verbose ${ocaml} -c -o config.${cmo} -I +lablGL -I wsi/x11 config.ml |
110 |
- verbose ${ocaml} -c -o main.${cmo} -I +lablGL -I wsi/x11 main.ml |
111 |
- verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL -I wsi/x11 \ |
112 |
- str.${cma} unix.${cma} lablgl.${cma} link.o \ |
113 |
- -cclib "${cclib}" \ |
114 |
- help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} config.${cmo} main.${cmo} |
115 |
-} |
116 |
- |
117 |
-src_install() { |
118 |
- dobin ${PN} misc/${PN}ac |
119 |
- dodoc KEYS README Thanks |
120 |
-} |