Create a link from foomatic-rip to foomatic-rip-hplip; some old filters

still look for it.

reported by dcoppa@
This commit is contained in:
ajacoutot 2016-11-14 12:58:23 +00:00
parent db75a6f872
commit 9804b78551
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.147 2016/10/27 08:35:26 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.148 2016/11/14 12:58:23 ajacoutot Exp $
PORTROACH= skipv:${V}_py2.5 PORTROACH= skipv:${V}_py2.5
@ -20,6 +20,8 @@ PKGNAME-hpcups= hpcups-${V}
PKGNAME-hpijs= hpijs-${V} PKGNAME-hpijs= hpijs-${V}
PKGNAME-gui= hplip-gui-${V} PKGNAME-gui= hplip-gui-${V}
REVISION-hpijs= 0
SHARED_LIBS += hpdiscovery 0.0 # 0.1 SHARED_LIBS += hpdiscovery 0.0 # 0.1
SHARED_LIBS += hpmud 2.0 # 0.6 SHARED_LIBS += hpmud 2.0 # 0.6
SHARED_LIBS += hpipp 0.0 # 0.1 SHARED_LIBS += hpipp 0.0 # 0.1
@ -194,4 +196,8 @@ post-install:
rm ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/*.{a,la} rm ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/*.{a,la}
rm ${PREFIX}/lib/sane/*.{a,la} rm ${PREFIX}/lib/sane/*.{a,la}
# handle old filters looking for foomatic-rip-hplip
cd ${PREFIX}/libexec/cups/filter/ && \
ln -s foomatic-rip foomatic-rip-hplip
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,8 +1,9 @@
@comment $OpenBSD: PLIST-hpijs,v 1.51 2016/10/27 08:35:26 ajacoutot Exp $ @comment $OpenBSD: PLIST-hpijs,v 1.52 2016/11/14 12:58:23 ajacoutot Exp $
@conflict hplip-libs-<=3.9.8 @conflict hplip-libs-<=3.9.8
@conflict hpcups-<=3.2.11 @conflict hpcups-<=3.2.11
@pkgpath print/hpijs @pkgpath print/hpijs
@bin bin/hpijs @bin bin/hpijs
libexec/cups/filter/foomatic-rip-hplip
share/cups/drv/hp/hpijs.drv share/cups/drv/hp/hpijs.drv
share/foomatic/db/source/PPD/HP/HP-Fax-hpijs.ppd.gz share/foomatic/db/source/PPD/HP/HP-Fax-hpijs.ppd.gz
share/foomatic/db/source/PPD/HP/HP-Fax2-hpijs.ppd.gz share/foomatic/db/source/PPD/HP/HP-Fax2-hpijs.ppd.gz