svn commit: r452960 - head/print/photoprint
Boris Samorodov
bsam at FreeBSD.org
Thu Oct 26 22:56:55 UTC 2017
Author: bsam
Date: Thu Oct 26 22:56:54 2017
New Revision: 452960
URL: https://svnweb.freebsd.org/changeset/ports/452960
Log:
print/photoprint: Fix crashes with recent cups.
1. Finally I've found some spare time to diagnose and fix crashes:
include cups/ppd.h, not cups/cups.h at
stp_support/printerqueues_unix.c file.
2. While here: pet portlint, add some dependencies.
Happy photoprinting!
Modified:
head/print/photoprint/Makefile
Modified: head/print/photoprint/Makefile
==============================================================================
--- head/print/photoprint/Makefile Thu Oct 26 22:46:35 2017 (r452959)
+++ head/print/photoprint/Makefile Thu Oct 26 22:56:54 2017 (r452960)
@@ -2,7 +2,7 @@
PORTNAME= photoprint
DISTVERSION= 0.4.2-pre2
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= print graphics
MASTER_SITES= http://www.blackfiveimaging.co.uk/photoprint/
@@ -12,6 +12,8 @@ COMMENT= Utility to print multiple images per sheet
LICENSE= GPLv2
LIB_DEPENDS= libcups.so:print/cups \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
libgutenprint.so:print/gutenprint \
liblcms.so:graphics/lcms \
libnetpbm.so:graphics/netpbm \
@@ -20,7 +22,7 @@ LIB_DEPENDS= libcups.so:print/cups \
GNU_CONFIGURE= yes
USES= desktop-file-utils gettext jpeg libtool pkgconfig
-USE_GNOME= gdkpixbuf2 gtk20
+USE_GNOME= cairo gdkpixbuf2 gtk20
USE_XORG= x11
INSTALLS_ICONS= yes
@@ -30,5 +32,7 @@ LIBS+= -L${LOCALBASE}/lib -lX11
post-patch:
@${REINPLACE_CMD} -e 's|glib/gstrfuncs.h|glib.h|g' \
${WRKSRC}/gp_cppsupport/gprinter.cpp
+ @${REINPLACE_CMD} -e 's|cups/cups.h|cups/ppd.h|g' \
+ ${WRKSRC}/stp_support/printerqueues_unix.c
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list