From c50db6e3a5f9f1d66f01740dbe72b83182ec51a0 Mon Sep 17 00:00:00 2001 From: Christoph Moench-Tegeder Date: Sun, 1 Oct 2017 20:44:29 +0000 Subject: [PATCH] print/gutenprint: update PPDs after updates cups will refuse to print if we run with PPDs with the wrong version info - call cups-genppdupdate to update the PPDs automatically Reported by: Paul Beard, tijl@ --- print/gutenprint/Makefile | 2 +- print/gutenprint/pkg-plist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile index 2fce0ab5f432..a208fec39e83 100644 --- a/print/gutenprint/Makefile +++ b/print/gutenprint/Makefile @@ -4,7 +4,7 @@ PORTNAME= gutenprint PORTVERSION= 5.2.13 -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/pkg-plist b/print/gutenprint/pkg-plist index 8d9ac13f93d4..4be1db6ac04f 100644 --- a/print/gutenprint/pkg-plist +++ b/print/gutenprint/pkg-plist @@ -393,3 +393,4 @@ share/locale/zh_CN/LC_MESSAGES/gutenprint.mo share/locale/zh_CN/gutenprint_zh_CN.po share/locale/zh_TW/LC_MESSAGES/gutenprint.mo share/locale/zh_TW/gutenprint_zh_TW.po +@postexec %D/sbin/cups-genppdupdate > /dev/null