Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2019 00:04:04 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r516041 - in branches/2019Q4/converters/pdf2djvu: . files
Message-ID:  <201910300004.x9U044Vn048222@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Wed Oct 30 00:04:04 2019
New Revision: 516041
URL: https://svnweb.freebsd.org/changeset/ports/516041

Log:
  MFH: r514602 r515847
  
  converters/pdf2djvu: fix build on GCC architectures
  
  When compiling with GCC, as used on GCC architectures, it errors with:
  sys-uuid.cc:96:12: error: 'strlen' was not declared in this scope
  
  assert(strlen(s) == 36U);
         ^~~~~~
  
  sys-uuid.cc:96:12: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  
  converters/pdf2djvu: Update to 0.9.13
  
  Remove now obsolete patches that were merged by upstream:
  
  * Build fixes for graphics/poppler >= 0.76.0
  * Improvement of build-time logging
  
  While I'm here:
  * Add path to LICENSE_FILE
  * Fix no-op occurence of DOCS_DESC
  
  Changelog:
  
  https://github.com/jwilk/pdf2djvu/blob/0.9.13/doc/changelog
  
  PR:		239366
  Submitted by:	Samy Mahmoudi <samy.mahmoudi@gmail.com> (maintainer)
  
  Approved by:	ports-secteam (miwi)

Added:
  branches/2019Q4/converters/pdf2djvu/files/patch-sys-uuid.cc
     - copied unchanged from r514602, head/converters/pdf2djvu/files/patch-sys-uuid.cc
Deleted:
  branches/2019Q4/converters/pdf2djvu/files/patch-gentoo_pdf2djvu-0.9.12-poppler-0.76-1.patch
  branches/2019Q4/converters/pdf2djvu/files/patch-gentoo_pdf2djvu-0.9.12-poppler-0.76-2.patch
  branches/2019Q4/converters/pdf2djvu/files/patch-gentoo_pdf2djvu-0.9.12-poppler-0.76-3.patch
  branches/2019Q4/converters/pdf2djvu/files/patch-tools_install-manpages
Modified:
  branches/2019Q4/converters/pdf2djvu/Makefile
  branches/2019Q4/converters/pdf2djvu/distinfo
Directory Properties:
  branches/2019Q4/   (props changed)

Modified: branches/2019Q4/converters/pdf2djvu/Makefile
==============================================================================
--- branches/2019Q4/converters/pdf2djvu/Makefile	Tue Oct 29 23:49:09 2019	(r516040)
+++ branches/2019Q4/converters/pdf2djvu/Makefile	Wed Oct 30 00:04:04 2019	(r516041)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	pdf2djvu
-PORTVERSION=	0.9.12
-PORTREVISION=	12
+PORTVERSION=	0.9.13
 CATEGORIES=	converters
 MASTER_SITES=	https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/
 
@@ -10,6 +9,7 @@ MAINTAINER=	samy.mahmoudi@gmail.com
 COMMENT=	Creates DjVu files from PDF files
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/doc/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/include/pstreams/pstream.h:devel/pstreams
 LIB_DEPENDS=	libdjvulibre.so:graphics/djvulibre \
@@ -26,7 +26,7 @@ OPTIONS_DEFAULT=COLOR_QUANTIZATION          MULTITHREA
 OPTIONS_SUB=	yes
 
 COLOR_QUANTIZATION_DESC=Color quantization via GraphicsMagick++
-DOCS=			Generate the man page
+DOCS_DESC=		Generate the man page
 NLS_DESC=		Native Language Support via gettext utilities
 MULTITHREADING_DESC=	Multithreading support via OpenMP
 XMP_DESC=		XMP metadata support via Exiv2

Modified: branches/2019Q4/converters/pdf2djvu/distinfo
==============================================================================
--- branches/2019Q4/converters/pdf2djvu/distinfo	Tue Oct 29 23:49:09 2019	(r516040)
+++ branches/2019Q4/converters/pdf2djvu/distinfo	Wed Oct 30 00:04:04 2019	(r516041)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552404105
-SHA256 (pdf2djvu-0.9.12.tar.xz) = 03fa9d9aa1b8086b562e2461ed74e5f9f008f16bfc1459ba62fa3738b37d8e83
-SIZE (pdf2djvu-0.9.12.tar.xz) = 295088
+TIMESTAMP = 1571734947
+SHA256 (pdf2djvu-0.9.13.tar.xz) = e0ab16d83129625c86df7c121eddf286458f63cb81ae791e5a76df10a3ab4c63
+SIZE (pdf2djvu-0.9.13.tar.xz) = 296420

Copied: branches/2019Q4/converters/pdf2djvu/files/patch-sys-uuid.cc (from r514602, head/converters/pdf2djvu/files/patch-sys-uuid.cc)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q4/converters/pdf2djvu/files/patch-sys-uuid.cc	Wed Oct 30 00:04:04 2019	(r516041, copy of r514602, head/converters/pdf2djvu/files/patch-sys-uuid.cc)
@@ -0,0 +1,11 @@
+--- sys-uuid.cc.orig	2019-06-23 11:41:41 UTC
++++ sys-uuid.cc
+@@ -17,6 +17,8 @@
+ #include "autoconf.hh"
+ #include "system.hh"
+ 
++#include <cstring>
++
+ #if WIN32
+ 
+ #include <cassert>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910300004.x9U044Vn048222>