svn commit: r525035 - in head/print: . xreader

Steve Wills swills at FreeBSD.org
Mon Feb 3 19:41:28 UTC 2020


Hi,

On 2/3/20 8:22 AM, Alexey Dokuchaev wrote:
> Author: danfe
> Date: Mon Feb  3 13:22:28 2020
> New Revision: 525035
> URL: https://svnweb.freebsd.org/changeset/ports/525035
> 
> Log:
>    Xreader is a document viewer capable of displaying multiple and single page
>    document formats like CBR (comics), DjVu, DVI, PDF, PostScript, XPS, etc.
>    
>    WWW: https://github.com/linuxmint/xreader
> 
> Added:
>    head/print/xreader/
>    head/print/xreader/Makefile   (contents, props changed)
>    head/print/xreader/distinfo   (contents, props changed)
>    head/print/xreader/pkg-descr   (contents, props changed)
>    head/print/xreader/pkg-plist   (contents, props changed)
> Modified:
>    head/print/Makefile
> 
> Modified: head/print/Makefile
> ==============================================================================
> --- head/print/Makefile	Mon Feb  3 12:46:16 2020	(r525034)
> +++ head/print/Makefile	Mon Feb  3 13:22:28 2020	(r525035)
> @@ -259,6 +259,7 @@
>       SUBDIR += xmbibtex
>       SUBDIR += xpdfopen
>       SUBDIR += xpp
> +    SUBDIR += xreader
>       SUBDIR += xtexsh
>       SUBDIR += yatex
>   
> 
> Added: head/print/xreader/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/print/xreader/Makefile	Mon Feb  3 13:22:28 2020	(r525035)
> @@ -0,0 +1,55 @@
> +# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME=	xreader
> +PORTVERSION=	2.4.4
> +CATEGORIES=	print
> +
> +MAINTAINER=	danfe at FreeBSD.org
> +COMMENT=	Generic document reader
> +
> +LICENSE=	GPLv2+
> +
> +BUILD_DEPENDS=	intltool-merge:textproc/intltool
> +LIB_DEPENDS=	libxapp.so:x11/xapps
> +
> +USES=		desktop-file-utils gettext-tools gnome meson pkgconfig
> +USE_GITHUB=	yes
> +GH_ACCOUNT=	linuxmint
> +USE_LDCONFIG=	yes
> +USE_GNOME=	cairo gdkpixbuf2 gtk30 libxml2
> +USE_XORG=	ice sm x11
> +GLIB_SCHEMAS=	org.x.reader.gschema.xml
> +INSTALLS_ICONS=	yes
> +
> +MESON_ARGS=	-Depub=false -Dtests=false
> +
> +OPTIONS_DEFINE=	DJVU KEYRING PDF PS TIFF XPS
> +OPTIONS_DEFAULT=	DJVU KEYRING PDF TIFF XPS
> +KEYRING_DESC=	Password-protected document support
> +XPS_DESC=	XPS document support
> +OPTIONS_SUB=	yes
> +
> +DJVU_LIB_DEPENDS=	libdjvulibre.so:graphics/djvulibre
> +DJVU_MESON_ON=		-Ddjvu=true
> +
> +KEYRING_LIB_DEPENDS=	libsecret-1.so:security/libsecret
> +KEYRING_MESON_OFF=	-Dkeyring=false
> +
> +PDF_LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib
> +PDF_MESON_OFF=		-Dpdf=false
> +
> +PS_LIB_DEPENDS=		libspectre.so:print/libspectre
> +PS_MESON_OFF=		-Dps=false
> +
> +TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
> +TIFF_MESON_OFF=		-Dtiff=false
> +
> +XPS_LIB_DEPENDS=	libgxps.so:graphics/libgxps
> +XPS_MESON_OFF=		-Dxps=false
> +
> +post-patch:
> +	@${REINPLACE_CMD} -e '/gdk\/gdkwayland\.h/d' \
> +		${WRKSRC}/libdocument/ev-document-misc.h
> +

This REINPLACE_CMD doesn't seem necessary, it seems to build fine for me 
without this. See attached, which also has some clean up.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xreader_changes_rev0.diff
Type: text/x-patch
Size: 1706 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200203/49a4c856/attachment.bin>


More information about the svn-ports-all mailing list