1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/print/pdf-tools/Makefile
Tobias C. Berner 90a4ed701a graphics/poppler: update to 0.84.0
Release 0.84.0:
        core:
         * Fix crash when converting from Unicode to ASCII-7
         * Splash::scaleImageYdXu: Protect against crash if srcWidth is too big
         * JBIG2Stream: fix potential crash in malformed documents
         * JBIG2Stream: fix leak in reset() if called several times
         * Internal code improvements

        utils:
         * pdfimages: Add error message if first page is larger then number of pages.
         * pdfinfo: Improved paper size recognition
         * pdfsig: Fix exit code when dumping signatures
         * pdftocairo: Error out when even/odd selects 0 pages
         * pdftohtml: Fix memory leak
         * pdftoppm: Add an option to scale before rotate
         * pdftoppm: Add -hide-annotations option
         * pdftoppm: Error out when even/odd selects 0 pages
         * pdftops: Improve -optimizecolorspace

        qt5:
         * Code cleanups

        glib:
         * Fix compiler warnings

Release 0.83.0
        core:
         * Improve when a file is recognized as Linearized
         * Improve const-ness of the code
         * Make code a bit more readable/maintanable
         * Fix uninitialized memory uses in broken files

        utils:
         * pdffonts: Make code a bit more readable/maintanable
         * pdftohtml: Make code a bit more readable/maintanable

        qt5:
         * Remove a bunch of unused internal functions
         * trUtf8 -> tr (less warnings)

        build system:
         * make-glib-api-docs: switch to python3

PR:		243433
Exp-run by:	antoine
2020-01-22 17:59:22 +00:00

51 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= pdf-tools
DISTVERSIONPREFIX= v
DISTVERSION= 0.90-34
DISTVERSIONSUFFIX= -g29d9f4f
PORTREVISION= 3
CATEGORIES= print elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= jrm@FreeBSD.org
COMMENT= Emacs support library for PDF files
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to configure: cannot find necessary poppler-private header (see README.org)
BUILD_DEPENDS= cask${EMACS_PKGNAMESUFFIX}>0:devel/cask@${EMACS_FLAVOR} \
tablist${EMACS_PKGNAMESUFFIX}>=0.70.4:devel/tablist@${EMACS_FLAVOR}
LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick6 \
libpng.so:graphics/png \
libpoppler-glib.so:graphics/poppler-glib \
libpoppler.so:graphics/poppler
RUN_DEPENDS= tablist${EMACS_PKGNAMESUFFIX}>=0.70:devel/tablist@${EMACS_FLAVOR}
USES= autoreconf:build emacs gettext-runtime gmake gnome
USE_GITHUB= yes
GH_ACCOUNT= politza
USE_GNOME= cairo glib20
EMACS_FLAVORS_EXCLUDE= devel_nox nox
do-build:
cd ${WRKSRC}/server && ./autogen.sh && ./configure -q && make
${EMACS_CMD} -q --batch -L ${WRKSRC}/lisp -f batch-byte-compile \
${WRKSRC}/lisp/*.el
${EMACS_CMD} -q --batch \
--eval "(setq generated-autoload-file \
\"${WRKSRC}/lisp/${PORTNAME}-loaddefs.el\" \
backup-inhibited t)" \
-f batch-update-autoloads ${WRKSRC}/lisp
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/server/epdfinfo ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lisp/* ${FILESDIR}/${PORTNAME}-init.el \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
.include <bsd.port.mk>