FreeBSD Bugzilla – Attachment 165227 Details for
Bug 206006
[NEW PORT] graphics/llpp: PDF pager
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
llpp.shar
llpp.shar (text/plain), 9.84 KB, created by
Tobias Kortkamp
on 2016-01-07 19:10:46 UTC
(
hide
)
Description:
llpp.shar
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2016-01-07 19:10:46 UTC
Size:
9.84 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># llpp ># llpp/distinfo ># llpp/Makefile ># llpp/pkg-descr ># llpp/pkg-message ># llpp/files ># llpp/files/patch-misc_llppac ># llpp/files/patch-link.c ># llpp/files/patch-misc_completions_mkcomp.sh ># llpp/files/patch-build.sh ># llpp/pkg-plist ># >echo c - llpp >mkdir -p llpp > /dev/null 2>&1 >echo x - llpp/distinfo >sed 's/^X//' >llpp/distinfo << '9878e8dba8b8d4437293d34bc3263943' >XSHA256 (561dc5673cea431e930668b0d87b0c4b31a36b39.tar.gz) = 06dff0377bb47c172f5cb498f8bce0f362cca910f90e8663fcd3f1500ce8fa0e >XSIZE (561dc5673cea431e930668b0d87b0c4b31a36b39.tar.gz) = 153700 >9878e8dba8b8d4437293d34bc3263943 >echo x - llpp/Makefile >sed 's/^X//' >llpp/Makefile << '2bf904a5f90d1896d5762321c20b9b23' >X# Created by: Tobias Kortkamp <t@tobik.me> >X# $FreeBSD$ >X >XPORTNAME= llpp >XPORTVERSION= 22 >XCATEGORIES= graphics >XMASTER_SITES= http://repo.or.cz/llpp.git/snapshot/ >XDISTNAME= 561dc5673cea431e930668b0d87b0c4b31a36b39 >X >XMAINTAINER= t@tobik.me >XCOMMENT= PDF pager >X >X# llpp itself is in the public domain, but it bundles lablGL which >X# uses a BSD 3-clause license and statically links to mupdf which is >X# AGPLv3 licensed. >XLICENSE= PUBLIC_DOMAIN BSD3CLAUSE AGPLv3 >XLICENSE_COMB= multi >XLICENSE_NAME_PUBLIC_DOMAIN= Public Domain >XLICENSE_FILE_PUBLIC_DOMAIN= ${WRKSRC}/README >XLICENSE_PERMS_PUBLIC_DOMAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept >X >XBUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed \ >X ocamlc.opt:${PORTSDIR}/lang/ocaml \ >X ${LOCALBASE}/lib/libmupdf.a:${PORTSDIR}/graphics/mupdf >XLIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ >X libfreetype.so:${PORTSDIR}/print/freetype2 \ >X libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \ >X libopenjp2.so:${PORTSDIR}/graphics/openjpeg >XRUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel-conrad >X >XSTRIP= # Stripping renders the executable unusable, so don't do it for now >XUSES= desktop-file-utils gmake >XUSE_GL= gl >XUSE_OPENGL= yes >XUSE_XORG= x11 xext >X >XWRKSRC= ${WRKDIR}/${PORTNAME}-561dc56 >X >Xdo-build: >X (cd ${WRKSRC} && ${SETENV} \ >X LOCALBASE="${LOCALBASE}" \ >X PORTVERSION="${PORTVERSION}" \ >X ${SH} build.sh build/) >X (cd ${WRKSRC}/misc/completions && ${GMAKE}) >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/build/llpp ${STAGEDIR}${PREFIX}/bin/llpp >X ${INSTALL_SCRIPT} ${WRKSRC}/misc/llppac ${STAGEDIR}${PREFIX}/bin/llppac >X ${INSTALL_DATA} ${WRKSRC}/misc/llpp.desktop ${STAGEDIR}${PREFIX}/share/applications/ >X ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d >X ${INSTALL_DATA} ${WRKSRC}/misc/completions/bash/llpp ${STAGEDIR}${PREFIX}/etc/bash_completion.d/_llpp.bash >X ${INSTALL_DATA} ${WRKSRC}/misc/completions/bash/llppac ${STAGEDIR}${PREFIX}/etc/bash_completion.d/_llppac.bash >X ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions >X ${INSTALL_DATA} ${WRKSRC}/misc/completions/zsh/llpp ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_llpp >X ${INSTALL_DATA} ${WRKSRC}/misc/completions/zsh/llppac ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_llppac >X >X.include <bsd.port.mk> >2bf904a5f90d1896d5762321c20b9b23 >echo x - llpp/pkg-descr >sed 's/^X//' >llpp/pkg-descr << '30f702951c2164749cae8beb26352133' >Xllpp is a graphical PDF viewer which aims to superficially resemble >Xless(1). >X >XWWW: http://repo.or.cz/llpp.git/ >30f702951c2164749cae8beb26352133 >echo x - llpp/pkg-message >sed 's/^X//' >llpp/pkg-message << 'a198b14b89b7eb677b9b07424b94feec' >Xllppac can auto-convert file formats for viewing in llpp. The >Xfollowing optional ports are required: >X >XPort Adds support for >X------------------------------------------------------------ >Xtextproc/unoconv Word and Libre/OpenOffice documents >Xgraphics/djvulibre DjVu >Xprint/ghostscript9-base PostScript and dvi files >Xgraphics/librsvg2 SVG >Xx11-toolkits/pango Fonts >Xgraphics/imagemagick Image formats besides PNG and JPEG >Xtextproc/hs-pandoc Text files >X >XIt might be necessary to first create a cache directory with >X >X $ mkdir -p ~/.cache/llpp >a198b14b89b7eb677b9b07424b94feec >echo c - llpp/files >mkdir -p llpp/files > /dev/null 2>&1 >echo x - llpp/files/patch-misc_llppac >sed 's/^X//' >llpp/files/patch-misc_llppac << '332393a1df66c9f943ee102931d9ab82' >X--- misc/llppac.orig 2016-01-07 15:56:38 UTC >X+++ misc/llppac >X@@ -197,7 +197,7 @@ EOF >X *) die "unhandled filter type: '$type'";; >X esac >X >X-hash=$(md5sum "$md5of") || die "$hash" >X+hash=$(md5 -q "$md5of") || die "$hash" >X casp=$cachedir/${hash%% *}$caspsuf >X (test -n "$force" -o ! -e "$casp") && eval "$filt" "$conv" >X >332393a1df66c9f943ee102931d9ab82 >echo x - llpp/files/patch-link.c >sed 's/^X//' >llpp/files/patch-link.c << '3fb428a91bc25839884dca4dc87fbf97' >X--- link.c.orig 2015-10-13 20:12:27 UTC >X+++ link.c >X@@ -34,12 +34,6 @@ >X #include <caml/memory.h> >X #include <caml/unixsupport.h> >X >X-#if __GNUC__ < 5 >X-/* At least gcc (Gentoo 4.9.3 p1.0, pie-0.6.2) 4.9.3 emits erroneous >X- clobbered diagnostics */ >X-#pragma GCC diagnostic ignored "-Wclobbered" >X-#endif >X- >X #pragma GCC diagnostic push >X #pragma GCC diagnostic ignored "-Wunused-parameter" >X #pragma GCC diagnostic ignored "-Wshadow" >X@@ -3913,8 +3907,7 @@ CAMLprim value ml_platform (value unit_v >X platid = pilinux; >X #elif defined __CYGWIN__ >X platid = picygwin; >X-#elif defined __DragonFly__ || defined __FreeBSD__ >X- || defined __OpenBSD__ || defined __NetBSD__ >X+#elif defined __DragonFly__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ >X platid = pibsd; >X #elif defined __sun__ >X platid = pisun; >3fb428a91bc25839884dca4dc87fbf97 >echo x - llpp/files/patch-misc_completions_mkcomp.sh >sed 's/^X//' >llpp/files/patch-misc_completions_mkcomp.sh << '687c18f2592a028eff2462936fa2ee23' >X--- misc/completions/mkcomp.sh.orig 2015-10-13 20:12:27 UTC >X+++ misc/completions/mkcomp.sh >X@@ -7,7 +7,7 @@ parse_infile () { >X # Output list of file extensions from all input files, one per line. >X # Delete lines beginning with `#', empty lines, and strip leading and >X # trailing whitespace. >X- sed -f - <<EOF $@ >X+ gsed -f - <<EOF $@ >X /^#/d >X /^[[:space:]]*$/d >X s/^[[:space:]]+//g >X@@ -43,5 +43,5 @@ if test "$(basename "$f")" = llppac; the >X fi >X re="$(print_regex llpp.in $llppac)" >X >X-sed -e "s/@re@/$re/g" "$f.mk" > "$f" >X+gsed -e "s/@re@/$re/g" "$f.mk" > "$f" >X printf "wrote: %s\n" "$f" >687c18f2592a028eff2462936fa2ee23 >echo x - llpp/files/patch-build.sh >sed 's/^X//' >llpp/files/patch-build.sh << '1d71143c1d7d07fd230065dda93799f0' >X--- build.sh.orig 2015-10-13 20:12:27 UTC >X+++ build.sh >X@@ -7,8 +7,8 @@ else >X builddir="$1" >X fi >X >X-ccopt='-Wno-pointer-sign -O2' >X-mlopt='-warn-error +a -w +a -g -safe-string' >X+ccopt='-Wno-pointer-sign -I${LOCALBASE}/include' >X+mlopt='-warn-error +a -w +a -safe-string' >X if test -z "$native"; then >X comp=ocamlc.opt >X osu=.cmo >X@@ -22,13 +22,13 @@ else >X fi >X mkdir -p "$builddir/lablGL" >X srcdir=$(dirname $0) >X-version=$(cd $srcdir && git describe --tags 2>/dev/null) || version=unknown >X+version="v${PORTVERSION}" >X mloptgl="-I $srcdir/lablGL -I $builddir/lablGL" >X set -x >X $comp -ccopt "$ccopt -o $builddir/lablGL/ml_raw.o" -c $srcdir/lablGL/ml_raw.c >X $comp -ccopt "$ccopt -o $builddir/lablGL/ml_gl.o" -c $srcdir/lablGL/ml_gl.c >X $comp -ccopt "$ccopt -o $builddir/lablGL/ml_glarray.o" -c $srcdir/lablGL/ml_glarray.c >X-$comp -ccopt "-I $srcdir/mupdf/include -I $srcdir/mupdf/thirdparty/freetype/include -Wextra -Wall -Werror -D_GNU_SOURCE -O -g -std=c99 -pedantic-errors -Wunused-parameter -Wsign-compare -Wshadow -o $builddir/link.o" -c $srcdir/link.c >X+$comp -ccopt "-I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include -Wextra -Wall -Werror -D_GNU_SOURCE -std=c99 -pedantic-errors -Wunused-parameter -Wsign-compare -Wshadow -o $builddir/link.o" -c $srcdir/link.c >X /bin/sh $srcdir/mkhelp.sh $srcdir/KEYS "$version" >$builddir/help.ml >X $comp -c $mloptgl -o $builddir/lablGL/gl$osu $srcdir/lablGL/gl.ml >X $comp -c $mloptgl -o $builddir/lablGL/raw$osu $srcdir/lablGL/raw.ml >X@@ -50,4 +50,4 @@ $comp -c $mloptgl -I $builddir -o $build >X sed -f $srcdir/pp.sed $srcdir/main.ml >$builddir/main.ml >X $comp -c $mloptgl -I $builddir -o $builddir/main$osu $builddir/main.ml >X $comp -c $mlopt -I $builddir -o $builddir/wsi$osu $srcdir/wsi.ml >X-$comp -g $lfl -I lablGL -o $builddir/llpp unix$asu str$asu $builddir/help$osu $builddir/lablGL/raw$osu $builddir/utils$osu $builddir/parser$osu $builddir/lablGL/glMisc$osu $builddir/wsi$osu $builddir/lablGL/gl$osu $builddir/lablGL/glMat$osu $builddir/lablGL/glFunc$osu $builddir/lablGL/glClear$osu $builddir/lablGL/glPix$osu $builddir/lablGL/glTex$osu $builddir/lablGL/glDraw$osu $builddir/config$osu $builddir/lablGL/glArray$osu $builddir/main$osu $builddir/link.o -cclib "-lGL -lX11 -lmupdf -lz -lfreetype -ljpeg -ljbig2dec -lopenjpeg -lmujs -lpthread -L$srcdir/mupdf/build/native -lcrypto $builddir/lablGL/ml_gl.o $builddir/lablGL/ml_glarray.o $builddir/lablGL/ml_raw.o" >X+$comp $lfl -I lablGL -o $builddir/llpp unix$asu str$asu $builddir/help$osu $builddir/lablGL/raw$osu $builddir/utils$osu $builddir/parser$osu $builddir/lablGL/glMisc$osu $builddir/wsi$osu $builddir/lablGL/gl$osu $builddir/lablGL/glMat$osu $builddir/lablGL/glFunc$osu $builddir/lablGL/glClear$osu $builddir/lablGL/glPix$osu $builddir/lablGL/glTex$osu $builddir/lablGL/glDraw$osu $builddir/config$osu $builddir/lablGL/glArray$osu $builddir/main$osu $builddir/link.o -cclib "-L${LOCALBASE}/lib -lGL -lX11 -lmupdf -lz -lfreetype -ljpeg -ljbig2dec -lopenjp2 -lpthread -L$srcdir/mupdf/build/native -lcrypto $builddir/lablGL/ml_gl.o $builddir/lablGL/ml_glarray.o $builddir/lablGL/ml_raw.o" >1d71143c1d7d07fd230065dda93799f0 >echo x - llpp/pkg-plist >sed 's/^X//' >llpp/pkg-plist << 'c604f8d6ebc33a9ad759668cd4a19766' >Xbin/llpp >Xbin/llppac >Xetc/bash_completion.d/_llpp.bash >Xetc/bash_completion.d/_llppac.bash >Xshare/applications/llpp.desktop >Xshare/zsh/site-functions/_llpp >Xshare/zsh/site-functions/_llppac >c604f8d6ebc33a9ad759668cd4a19766 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 206006
:
165214
|
165215
|
165216
|
165227
|
165228
|
165456
|
165457
|
166489
|
166490