Date: Mon, 25 Feb 2002 22:08:46 -0800 (PST) From: Steve Khoo <steve@gordian.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/35334: Please add md2k driver to print/ghostscripts-gnu Message-ID: <200202260608.g1Q68k870977@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35334 >Category: ports >Synopsis: Please add md2k driver to print/ghostscripts-gnu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 25 22:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Steve Khoo >Release: 4.5-STABLE >Organization: >Environment: >Description: ghostscript-gnu port doesn't include ALPS MD Series printer driver. This driver is available at http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/gdevmd2k-0.2a.tar.gz. I've included a patch here that will download and install the md2k driver. Please excuse me if this is not the proper procedure for such a request. This is my first time. Thank you. >How-To-Repeat: >Fix: The following patch work correctly to include md2k driver. --- ghostscript-gnu.Orig/Makefile Mon Feb 4 01:24:30 2002 +++ ghostscript-gnu/Makefile Sun Feb 24 11:58:45 2002 @@ -15,13 +15,14 @@ http://www.gelhaus.net/hp880c/1.4beta/ \ http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/ \ http://www.harsch.net/Download/ \ + http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/ \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs652/ \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/ MASTER_SITE_SUBDIR= ${PORTNAME} gimp-print hpinkjet PKGNAMESUFFIX= -gnu DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \ ${DECRYPT_PDF} ${HP8XX_DRV} ${HPDJ_SRC} ${PCL3_SRC} \ - ${HP970_DRV} ${GPRINT_SRC} ${HPIJS_SRC} + ${HP970_DRV} ${GPRINT_SRC} ${HPIJS_SRC} ${MD2K_SRC} DIST_SUBDIR= ghostscript EXTRACT_ONLY= ${GS_SOURCES} @@ -112,6 +113,13 @@ HPIJS_NAME= ${HPIJS}-${HPIJS_VERS} HPIJS_SRC= ${HPIJS_NAME}.tar.gz +# ALPS MD Series Printer Driver +# http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/ +MD2K= gdevmd2k +MD2K_VERS= 0.2a +MD2K_NAME= ${MD2K}-${MD2K_VERS} +MD2K_SRC= gdevmd2k-0.2a.tar.gz + # contributed uniprint profiles CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp @@ -160,6 +168,9 @@ # for HPinkjet driver ${ECHO_MSG} ">>> extracting ${HPIJS_SRC} ..." ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPIJS_SRC} +# for MD2K driver + ${ECHO_MSG} ">>> extracting ${MD2K_SRC} ..." + ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MD2K_SRC} post-patch: ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ @@ -191,6 +202,10 @@ ${ECHO_MSG} ">>> adding ${HPIJS} driver to contrib.mak ..." ${CAT} ${FILESDIR}/hpijs.contrib.mak \ >> ${WRKSRC}/src/contrib.mak +# for MD2K driver + ${ECHO_MSG} ">>> adding ${MD2K} driver to contrib.mak ..." + ${CAT} ${WRKSRC}/${MD2K_NAME}/gdevmd2k.mak-5.8x \ + >> ${WRKSRC}/src/contrib.mak do-configure: ${ECHO_MSG} ">>> in do-configure ..." @@ -243,6 +258,10 @@ ${LN} -sf ${WRKSRC}/${HPIJS_NAME}/${file} \ ${WRKSRC}/src .endfor +# for MD2K driver + ${ECHO_MSG} ">>> creating symlinks for ${MD2K} ..." + ${LN} -sf ${WRKSRC}/${MD2K_NAME}/gdevmd2k.c \ + ${WRKSRC}/src pre-install: ${ECHO_MSG} ">>> in pre-install ..." Only in ghostscript-gnu.Orig/: configure diff -ru ghostscript-gnu.Orig/distinfo ghostscript-gnu/distinfo --- ghostscript-gnu.Orig/distinfo Thu Jan 24 21:10:04 2002 +++ ghostscript-gnu/distinfo Sun Feb 24 11:40:03 2002 @@ -9,3 +9,4 @@ MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27 MD5 (ghostscript/gimp-print-4.2.0.tar.gz) = 4350e2ac1f27eccad0d7ce2aab90cdf6 MD5 (ghostscript/hpijs-1.0.2.tar.gz) = 750923f29a5b70551ddea1d91b819cfa +MD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24 diff -ru ghostscript-gnu.Orig/scripts/configure ghostscript-gnu/scripts/configure --- ghostscript-gnu.Orig/scripts/configure Thu Dec 27 21:55:36 2001 +++ ghostscript-gnu/scripts/configure Sat Feb 23 20:02:41 2002 @@ -9,6 +9,7 @@ file format drivers. The gs5 default drivers are preselected. \n\ Have fun with this new configuration style ! -andreas \n\n\ Please choose options by pressing SPACE to TOGGLE an option ON/OFF ?" -1 -1 9\ + "md2k" "ALPS MD series printer" ON \ "appledmp" "Apple Dot Matrix Printer / Imagewriter" OFF \ "iwhi" "Apple Imagewriter, high-resolution mode" OFF \ "iwlo" "Apple Imagewriter, low-resolution mode" OFF \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202260608.g1Q68k870977>