From owner-freebsd-ports@freebsd.org Thu Feb 18 09:51:45 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF992AAC4BF for ; Thu, 18 Feb 2016 09:51:45 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 52D2614F2 for ; Thu, 18 Feb 2016 09:51:44 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 3556F28453; Thu, 18 Feb 2016 10:51:41 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7D3A628451; Thu, 18 Feb 2016 10:51:38 +0100 (CET) Message-ID: <56C5942A.5090001@quip.cz> Date: Thu, 18 Feb 2016 10:51:38 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Greg Lewis CC: "freebsd-ports@FreeBSD.org" Subject: Re: resurrect deprecated port print/pnm2ppa References: <54E0EEC9.80707@quip.cz> <20150222225800.GA97535@misty.eyesbeyond.com> In-Reply-To: <20150222225800.GA97535@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 09:51:45 -0000 Greg Lewis wrote on 02/22/2015 23:58: > On Sun, Feb 15, 2015 at 08:08:57PM +0100, Miroslav Lachman wrote: >> Can somebody resurrect deprecated port print/pnm2ppa? >> >> It was deleted from the tree as "Unmaintained since 2001" but it is >> (was) still working fine and I am still using my good old printer HP >> DeskJet 710C through USB to LPT convertor (usb:/dev/ulpt0) with CUPS. > > Why don't you submit a PR with the resurrected port in it and yourself as > the maintainer? I'll take a look at it if you do. It seems like all it > really needs is someone to commit to maintaining it. Hi Greg, after more than a year I resurerected pnm2ppa port for my home use yesterday. It was lot of work for me - I did some port many years ago and converting this old port to staging was not easy for me. I tried to build it with "poudrier testport" and it succeeded. ====> Compressing man pages (compress-man) =========================================================================== ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Status for build print/pnm2ppa: package ====>> Checking for staging violations... done =================================================== ===> Building package for pnm2ppa-1.13_2 =========================================================================== ====>> Status for build print/pnm2ppa: install-mtree =================================================== =========================================================================== ====>> Status for build print/pnm2ppa: install ====>> Recording filesystem state for preinst... done =================================================== ===> Installing for pnm2ppa-1.13_2 ===> pnm2ppa-1.13_2 depends on executable: enscript - found ===> Checking if pnm2ppa already installed ===> Registering installation for pnm2ppa-1.13_2 [10_2_amd64-default] Installing pnm2ppa-1.13_2... To configure your printcap to print either ascii" or Postscript files, add the following lines to your" /etc/printcap file" lp|ascii|unix:\\" :lp=/dev/lpt0:\\" :sd=/var/spool/lpd:\\" :if=/usr/local/bin/asciippafilter:\\" :mx#0:\\" :sh:" ps:\\" :lp=/dev/lpt0:\\" :sd=/var/spool/ps:\\" :if=/usr/local/bin/ppafilter:\\" :mx#0:\\" :sh:" =========================================================================== ====>> Status for build print/pnm2ppa: deinstall ====>> Checking shared library dependencies 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] 0x0000000000000001 (NEEDED) Shared library: [libm.so.5] =================================================== ===> Deinstalling for pnm2ppa ===> Deinstalling pnm2ppa-1.13_2 Updating database digests format: ...... done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: pnm2ppa-1.13_2 The operation will free 653 KiB. [10_2_amd64-default] [1/1] Deinstalling pnm2ppa-1.13_2... [10_2_amd64-default] [1/1] Deleting files for pnm2ppa-1.13_2: ...... done =========================================================================== ====>> Checking for extra files and directories [00:00:09] ====>> Installing from package [10_2_amd64-default] Installing pnm2ppa-1.13_2... [10_2_amd64-default] Extracting pnm2ppa-1.13_2: ...... done Message from pnm2ppa-1.13_2: To configure your printcap to print either ascii" or Postscript files, add the following lines to your" /etc/printcap file" lp|ascii|unix:\\" :lp=/dev/lpt0:\\" :sd=/var/spool/lpd:\\" :if=/usr/local/bin/asciippafilter:\\" :mx#0:\\" :sh:" ps:\\" :lp=/dev/lpt0:\\" :sd=/var/spool/ps:\\" :if=/usr/local/bin/ppafilter:\\" :mx#0:\\" :sh:" [00:00:09] ====>> Cleaning up ===> Cleaning for pnm2ppa-1.13_2 [00:00:09] ====>> Deinstalling package Updating database digests format: . done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: pnm2ppa-1.13_2 The operation will free 653 KiB. [10_2_amd64-default] [1/1] Deinstalling pnm2ppa-1.13_2... [10_2_amd64-default] [1/1] Deleting files for pnm2ppa-1.13_2: ...... done build of print/pnm2ppa ended at Wed Feb 17 23:44:50 CET 2016 build time: 00:00:08 [00:00:09] ====>> Cleaning up 10_2_amd64-default: removed 10_2_amd64-default-n: removed [00:00:09] ====>> Umounting file systems Usr: 7.140s Krnl: 3.021s Totl: 0:10.91s CPU: 93.1% swppd: 0 I/O: 71+9636 So what to do next to submit PR in right format? Should I send diff against old port version, or full archive of new version? Miroslav Lachman