summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-02-20 22:37:44 +0100
committerPacho Ramos <pacho@gentoo.org>2019-02-20 22:37:44 +0100
commit4f6b6d92438be51bda1b9dcb065a001f9c674ab5 (patch)
treedc7b6a189df719cb913b8281f097f67a3105a8cc /app-text/llpp
parentapp-misc/digitemp: Drop old (diff)
downloadgentoo-4f6b6d92438be51bda1b9dcb065a001f9c674ab5.tar.gz
gentoo-4f6b6d92438be51bda1b9dcb065a001f9c674ab5.tar.bz2
gentoo-4f6b6d92438be51bda1b9dcb065a001f9c674ab5.zip
app-text/llpp: Drop old
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-text/llpp')
-rw-r--r--app-text/llpp/Manifest1
-rw-r--r--app-text/llpp/files/llpp-26b-WM_CLASS.patch41
-rw-r--r--app-text/llpp/llpp-26b_p20180114.ebuild86
3 files changed, 0 insertions, 128 deletions
diff --git a/app-text/llpp/Manifest b/app-text/llpp/Manifest
index b3c280baf7e7..6dba89603d97 100644
--- a/app-text/llpp/Manifest
+++ b/app-text/llpp/Manifest
@@ -1,2 +1 @@
-DIST llpp-26b_p20180114.tar.gz 170204 BLAKE2B c7f46491d69350e8e94b444f0be4d7375f5658cccded792ecce2a246c907ae98bcca45d73e3b6c15765bd926d559327491559b5e5eec63bf2645cba84f6ee0d3 SHA512 1bc544f4bae268f573c2c111b69f7129bd3d1c1c8cc635c06f76e12670ad9476b4c2a2776e3959203ab6e53ea8ad1c68be290619298f7ebc1ae8203875f88314
DIST llpp-30.tar.gz 165821 BLAKE2B 755648f9f7e0e0740dd9647559c085ab1626edfceb91d8df4aa783610f32499d744f24a2e0ac0d6f13e747695e8829112e59bcf0fc78c7ef5f4b2427c759353d SHA512 1dfcf273bdabfb3c7b38366bac60659555b943f459cb3fd6e656df1a33c0f84e6745d62522c5498df0bd6182bda13973144724054588c07145018bb3e758d893
diff --git a/app-text/llpp/files/llpp-26b-WM_CLASS.patch b/app-text/llpp/files/llpp-26b-WM_CLASS.patch
deleted file mode 100644
index e99d9a4e4e5a..000000000000
--- a/app-text/llpp/files/llpp-26b-WM_CLASS.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- llpp-26b/link.c
-+++ llpp-26b/link.c
-@@ -4392,6 +4392,31 @@
- return caml_copy_string (FZ_VERSION);
- }
-
-+#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;
-+ XClassHint hint;
-+
-+ dpy = XOpenDisplay (getenv ("DISPLAY"));
-+ 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 void ml_init (value csock_v, value params_v)
- {
- CAMLparam2 (csock_v, params_v);
-@@ -4460,5 +4485,6 @@
- errx (1, "pthread_create: %s", strerror (ret));
- }
-
-+ set_wm_class ();
- CAMLreturn0;
- }
diff --git a/app-text/llpp/llpp-26b_p20180114.ebuild b/app-text/llpp/llpp-26b_p20180114.ebuild
deleted file mode 100644
index 4c83f9fd324e..000000000000
--- a/app-text/llpp/llpp-26b_p20180114.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2018 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="https://distfiles.gentoo.org/distfiles/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="+ocamlopt static"
-
-LIB_DEPEND=">=app-text/mupdf-1.12.0: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}-26b-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 keys.${cmo} keys.ml
- verbose ${ocaml} -c -o help.${cmo} help.ml
- verbose ${ocaml} -c -o utils.${cmo} utils.ml
- verbose ${ocaml} -c -o wsi/x11/wsi.cmi wsi/x11/wsi.mli
- verbose ${ocaml} -c -o wsi/x11/wsi.${cmo} -I wsi/x11 wsi/x11/wsi.ml
- verbose ${ocaml} -c -o parser.${cmo} parser.ml
- verbose ${ocaml} -c -o config.${cmo} -I +lablGL -I wsi/x11 config.ml
- verbose ${ocaml} -c -o main.${cmo} -I +lablGL -I wsi/x11 main.ml
- verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL -I wsi/x11 \
- 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
-}