aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcmt <cmt@FreeBSD.org>2017-06-05 05:12:42 +0800
committercmt <cmt@FreeBSD.org>2017-06-05 05:12:42 +0800
commitbd486de3cc3e1d8d278d1c950a9699817094daa7 (patch)
treef2a8339f7b1028a6fdfaa5553af7939bd3202b6b
parentb5c2c88b7ead4565ba1d900ac2518fc7cb28270d (diff)
downloadfreebsd-ports-gnome-bd486de3cc3e1d8d278d1c950a9699817094daa7.tar.gz
freebsd-ports-gnome-bd486de3cc3e1d8d278d1c950a9699817094daa7.tar.zst
freebsd-ports-gnome-bd486de3cc3e1d8d278d1c950a9699817094daa7.zip
print/gutenprint: add common greeting cars sizes
PR: 214304 Submitted by: freebsd dreamchaser org
-rw-r--r--print/gutenprint/Makefile2
-rw-r--r--print/gutenprint/files/patch-src_xml_papers.xml68
2 files changed, 69 insertions, 1 deletions
diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile
index f2fa36f087ee..93dfea7c021e 100644
--- a/print/gutenprint/Makefile
+++ b/print/gutenprint/Makefile
@@ -4,7 +4,7 @@
PORTNAME= gutenprint
PORTVERSION= 5.2.12
-PORTREVISION?= 0 # also print/gimp-gutenprint
+PORTREVISION?= 1 # also print/gimp-gutenprint
CATEGORIES= print
MASTER_SITES= SF/gimp-print/gutenprint-5.2/${PORTVERSION}
diff --git a/print/gutenprint/files/patch-src_xml_papers.xml b/print/gutenprint/files/patch-src_xml_papers.xml
new file mode 100644
index 000000000000..c86f5b66d20f
--- /dev/null
+++ b/print/gutenprint/files/patch-src_xml_papers.xml
@@ -0,0 +1,68 @@
+--- src/xml/papers.xml.orig 2017-06-04 21:07:10 UTC
++++ src/xml/papers.xml
+@@ -1712,6 +1712,65 @@
+ <unit value="metric"/>
+ </paper>
+
++ <!-- Group: Greeting Card Sizes -->
++ <paper name="7x10TopFoldCard">
++ <description translate="value" value="5x7 Top Fold Card (7x10)"/>
++ <comment value="5in x 7in Top Fold Card (7x10 paper)"/>
++ <width value="504"/>
++ <height value="720"/>
++ <unit value="english-extended"/>
++ </paper>
++ <paper name="6x8TopFoldCard">
++ <description translate="value" value="4x6 Top Fold Card (6x8)"/>
++ <comment value="5in x 7in Top Fold Card (6x8 paper)"/>
++ <width value="432"/>
++ <height value="576"/>
++ <unit value="english-extended"/>
++ </paper>
++ <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">
++ <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"/>
++ <height value="612"/>
++ <unit value="english-extended"/>
++ </paper>
++ <paper name="9x8TopFoldCard">
++ <description translate="value" value="4x9 Top Fold Card (9x8)"/>
++ <comment value="4in x 9in Top Fold Card (9x8 paper)"/>
++ <width value="648"/>
++ <height value="576"/>
++ <unit value="english-extended"/>
++ </paper>
++ <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">
++ <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"/>
++ <height value="756"/>
++ <unit value="english-extended"/>
++ </paper>
++ <paper name="14x5SideFoldCard">
++ <description translate="value" value="5x7 Side Fold Card (14x5)"/>
++ <comment value="5in x 7in Side Fold Card (14x5 paper)"/>
++ <width value="1008"/>
++ <height value="360"/>
++ <unit value="english-extended"/>
++ </paper>
++ <!-- End of Greeting Card Sizes -->
++
+ <!--
+ Special dyesub-specific sizes
+