From owner-freebsd-ports@freebsd.org Wed Feb 24 23:00:28 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 B1108AB21CE for ; Wed, 24 Feb 2016 23:00:28 +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 5851A1760; Wed, 24 Feb 2016 23:00:28 +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 C795428434; Thu, 25 Feb 2016 00:00:24 +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 B20DF2842B; Thu, 25 Feb 2016 00:00:21 +0100 (CET) Message-ID: <56CE3605.2080604@quip.cz> Date: Thu, 25 Feb 2016 00:00:21 +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: Jason Helfman CC: Greg Lewis , "freebsd-ports@FreeBSD.org" Subject: Re: resurrect deprecated port print/pnm2ppa References: <54E0EEC9.80707@quip.cz> <20150222225800.GA97535@misty.eyesbeyond.com> <56C5942A.5090001@quip.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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: Wed, 24 Feb 2016 23:00:28 -0000 Jason Helfman wrote on 02/20/2016 07:20: > On Thu, Feb 18, 2016 at 1:51 AM, Miroslav Lachman <000.fbsd@quip.cz> wrote: >> 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 > > Yes, a diff against the port prior to it's deletion. This way it can > be resurrected and patched. I submitted PR with patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207468 Thank you! Miroslav Lachman