diff options
author | Michael Weber <xmw@gentoo.org> | 2017-05-14 00:43:18 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-05-14 00:46:08 +0200 |
commit | b6423e5e4a66ad8e28b4bd1c48766898af139c7f (patch) | |
tree | 76ddee43519ac58032f6a38e2834c1a5c641147a /app-text/llpp | |
parent | app-text/llpp: ppc stable (bug 614044). (diff) | |
download | gentoo-b6423e5e4a66ad8e28b4bd1c48766898af139c7f.tar.gz gentoo-b6423e5e4a66ad8e28b4bd1c48766898af139c7f.tar.bz2 gentoo-b6423e5e4a66ad8e28b4bd1c48766898af139c7f.zip |
app-text/llpp: Remove old version (bug 614044).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-text/llpp')
-rw-r--r-- | app-text/llpp/Manifest | 1 | ||||
-rw-r--r-- | app-text/llpp/files/llpp-20-WM_CLASS.patch | 42 | ||||
-rw-r--r-- | app-text/llpp/llpp-23.ebuild | 86 |
3 files changed, 0 insertions, 129 deletions
diff --git a/app-text/llpp/Manifest b/app-text/llpp/Manifest index cbc881550cc5..3771dd642178 100644 --- a/app-text/llpp/Manifest +++ b/app-text/llpp/Manifest @@ -1,2 +1 @@ -DIST llpp-23.tar.gz 159922 SHA256 83bf72ad88f0532a0163a6dc9bd285ad5ce8604116ec64764738cdb066748927 SHA512 ef89bead66c22ed218a4f7eb06f6f7d9b1d48f6ab6ef4785a5dc73ad486cdf4a5b1131a8a8cec9020e9caa14468528d9f27c88a29ab221e13c9c55616d20c296 WHIRLPOOL e2c5468b744e71036745de63e9172b32cfa7cb2aae3c61c2a71d0ffe8b3a8b0e2502ff300d1a23446619353c6e43b7b6e051a6126ddc45b1997213c67cfd2764 DIST llpp-26b.tar.gz 169385 SHA256 1c14c794cefddc38c2acb72233ded21380184333571c9b2b01cfc108c9068798 SHA512 ce7d743d8ec998a93cf272083dc5926ce6a250aee6ac768814f511ecb309ffe94fb0e2561ca1778e1c7fbd5824545477937618c8e66d32fd273f9b5e5e3fd143 WHIRLPOOL 2f5c85d56cf1ba3c33012fe7c9b783fb343b752a28ffef56bef2e82d560489e55f0fe090261f6582fc1a28fad0b5260e1dc7abe3e106ed24b74ff355def6cb0b diff --git a/app-text/llpp/files/llpp-20-WM_CLASS.patch b/app-text/llpp/files/llpp-20-WM_CLASS.patch deleted file mode 100644 index 7c12ff5ae9b3..000000000000 --- a/app-text/llpp/files/llpp-20-WM_CLASS.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- llpp-20/link.c -+++ llpp-20/link.c -@@ -4305,6 +4305,32 @@ - } - #endif - -+#if !defined (_WIN32) && !defined (__APPLE__) -+#undef pixel -+#include <X11/X.h> -+#include <X11/Xlib.h> -+#include <X11/Xutil.h> -+#include <GL/glx.h> -+ -+static void set_wm_class (void) -+{ -+ Display *dpy; -+ Window win; -+ int screen; -+ XClassHint hint; -+ -+ dpy = XOpenDisplay (getenv ("DISPLAY")); -+ screen = DefaultScreen (dpy); -+ hint.res_name = "llpp"; -+ hint.res_class = "llpp"; -+ win = glXGetCurrentDrawable (); -+ XSetClassHint (dpy, win, &hint); -+ XCloseDisplay (dpy); -+} -+#else -+#define set_wm_class() -+#endif -+ - CAMLprim value ml_init (value csock_v, value params_v) - { - CAMLparam2 (csock_v, params_v); -@@ -4425,5 +4451,6 @@ - errx (1, "pthread_create: %s", strerror (ret)); - } - -+ set_wm_class (); - CAMLreturn (Val_unit); - } diff --git a/app-text/llpp/llpp-23.ebuild b/app-text/llpp/llpp-23.ebuild deleted file mode 100644 index 18de8073587a..000000000000 --- a/app-text/llpp/llpp-23.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils multilib toolchain-funcs vcs-snapshot - -DESCRIPTION="graphical PDF viewer which aims to superficially resemble less(1)" -HOMEPAGE="http://repo.or.cz/w/llpp.git" -SRC_URI="http://repo.or.cz/llpp.git/snapshot/b51644926dda712aebdc3f075bdc0771f35d6f7b.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="+ocamlopt static" - -LIB_DEPEND=">=app-text/mupdf-1.10a:0=[static-libs] - <app-text/mupdf-1.11:0=[static-libs] - media-libs/openjpeg:2[static-libs] - media-libs/fontconfig:1.0[static-libs] - media-libs/freetype:2[static-libs] - media-libs/jbig2dec[static-libs] - sys-libs/zlib[static-libs] - virtual/jpeg:0[static-libs] - x11-libs/libX11[static-libs]" -RDEPEND="x11-misc/xsel - !static? ( ${LIB_DEPEND//\[static-libs]} )" -DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} - app-arch/bzip2[static-libs] - media-libs/libXcm[static-libs] - x11-libs/libXau[static-libs] - x11-libs/libXdmcp[static-libs] - x11-libs/libXmu[static-libs] ) - >=dev-lang/ocaml-4.02[ocamlopt?] - dev-ml/lablgl[glut,ocamlopt?]" - -RESTRICT="!ocamlopt? ( strip )" - -PATCHES=( "${FILESDIR}"/${PN}-20-WM_CLASS.patch ) - -src_compile() { - local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt) - local cmo=$(usex ocamlopt cmx cmo) - local cma=$(usex ocamlopt cmxa cma) - 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" - if use static ; then - local cclib="" - local slib="" - local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 ${egl} | sed 's:-L::g') ) - for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11 ${egl} fontconfig) -ljpeg -ljbig2dec ; do - case ${slib} in - -lm|-ldl|-lpthread) - einfo "${slib}: shared" - cclib+="${slib} " ;; - *) - local ccnew=$(find ${spath} -name "lib${slib/-l}.a") - einfo "${slib}: use ${ccnew}" - cclib+="${ccnew} " ;; - esac - done - else - local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11 ${egl} fontconfig) -lpthread" - fi - - verbose() { echo "$@" >&2 ; "$@" || die ; } - verbose sh mkhelp.sh KEYS ${PV} > help.ml - verbose printf 'let version ="%s";;\n' ${PV} >> help.ml - verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c - verbose ${ocaml} -c -o help.${cmo} help.ml - verbose ${ocaml} -c -o utils.${cmo} utils.ml - verbose ${ocaml} -c -o wsi.cmi wsi.mli - verbose ${ocaml} -c -o wsi.${cmo} wsi.ml - verbose ${ocaml} -c -o parser.${cmo} parser.ml - verbose ${ocaml} -c -o config.${cmo} -I +lablGL config.ml - verbose ${ocaml} -c -pp "sed -f pp.sed" -o main.${cmo} -I +lablGL main.ml - verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\ - str.${cma} unix.${cma} lablgl.${cma} link.o \ - -cclib "${cclib}" \ - help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} config.${cmo} main.${cmo} -} - -src_install() { - dobin ${PN} misc/${PN}ac - dodoc KEYS README Thanks -} |