gutenprint: fixes around genppd

* in papers.xml, rename "Greeting Card" paper format names to not contain
   decimal points ("."), as gutenprint's internal list handling rejects
   points in element names. I guess these paper formats never really
   worked, but I can't really test this for lack of a supported printer.
 * create symlink cups-genppd to cups.genppd.5.2 to match documentation.

PR:		226863 226865
Reported by:	freebsd dreamchaser org
This commit is contained in:
Christoph Moench-Tegeder 2018-03-24 15:31:40 +00:00
parent f9cdcb3c2a
commit df90b071b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465457
3 changed files with 9 additions and 5 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= gutenprint
PORTVERSION= 5.2.13
PORTREVISION?= 1 # also print/gimp-gutenprint
PORTREVISION?= 2 # also print/gimp-gutenprint
CATEGORIES= print
MASTER_SITES= SF/gimp-print/gutenprint-5.2/${PORTVERSION}
@ -53,5 +53,8 @@ post-install:
@(cd ${WRKSRC}/src/gutenprintui2 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.endif
.if !defined(GUT_SLAVE)
@${LN} -s cups-genppd.5.2 ${STAGEDIR}${LOCALBASE}/sbin/cups-genppd
.endif
.include <bsd.port.mk>

View File

@ -19,14 +19,14 @@
+ <height value="576"/>
+ <unit value="english-extended"/>
+ </paper>
+ <paper name="6.25x9TopFoldCard">
+ <paper name="6_25x9TopFoldCard">
+ <description translate="value" value="4.5x6.25 Top Fold Card (6.25x9)"/>
+ <comment value="4.5in x 6.25in Top Fold Card (6.25x9 paper)"/>
+ <width value="450"/>
+ <height value="648"/>
+ <unit value="english-extended"/>
+ </paper>
+ <paper name="5.5x8.5TopFoldCard">
+ <paper name="5_5x8_5TopFoldCard">
+ <description translate="value" value="4.25x5.5 Top Fold Card (5.5x8.5)"/>
+ <comment value="4.25in x 5.5in Top Fold Card (5.5x8.5 paper)"/>
+ <width value="396"/>
@ -40,14 +40,14 @@
+ <height value="576"/>
+ <unit value="english-extended"/>
+ </paper>
+ <paper name="8.5x11TopFoldCard">
+ <paper name="8_5x11TopFoldCard">
+ <description translate="value" value="5.5x8.5 Top Fold Card (8.5x11)"/>
+ <comment value="5.5in x 8.5in Top Fold Card (8.5x11 paper)"/>
+ <width value="612"/>
+ <height value="792"/>
+ <unit value="english-extended"/>
+ </paper>
+ <paper name="5.25x10.5TopFoldCard">
+ <paper name="5_25x10_5TopFoldCard">
+ <description translate="value" value="5.25x5.25 Top Fold Card (5.25x10.5)"/>
+ <comment value="5.25in x 5.25in Top Fold Card (5.25x10.5 paper)"/>
+ <width value="378"/>

View File

@ -47,6 +47,7 @@ man/man1/escputil.1.gz
man/man8/cups-calibrate.8.gz
man/man8/cups-genppd.8.gz
man/man8/cups-genppdupdate.8.gz
sbin/cups-genppd
sbin/cups-genppd.5.2
sbin/cups-genppdupdate
share/cups/calibrate.ppm