From owner-freebsd-ports@freebsd.org Sat Feb 20 06:20:55 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 0B492AAEC71 for ; Sat, 20 Feb 2016 06:20:55 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4F371BE1 for ; Sat, 20 Feb 2016 06:20:54 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: by mail-ig0-x22a.google.com with SMTP id 5so50947736igt.0 for ; Fri, 19 Feb 2016 22:20:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=helfman-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=6EfIxPT9tPJ9eXmuKGK1Mx3/G5x0Pljlt6+D4YWMKtg=; b=Ezz6tPIJ27ECqaLVVwpbmCRlxefZ4n3LLhOMFcu0uTtn6kVbMET9X230EIAGh7R1L9 zuKZjUqSTkzQdWzhkvH2P+FEViXdwbLrNIz526G2wSNtu1C6r0y7TV/bmtS2RImZm9Nj eZKfjezvFJeGnGNBfsjKFDdtqyrtckVLR5sTJS2JCHMpae/bQv3/80xJs5jUmSft7Ptw 7h7WdRs+DBEQmYn9oLWBn81RLFsNwp7ylMWFYdH/OWC+86Jc1vPTltqxlPuV3bIVAOvM knwYEEdgVPTiDbKE6Zruc3GE3wLWZt5rbp6cSOKFuzwmudF8LVIcwJ0bld/iXhsCtcr4 dLLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=6EfIxPT9tPJ9eXmuKGK1Mx3/G5x0Pljlt6+D4YWMKtg=; b=WnGpXKAnFaotMREDuo4fgzFLZrXj/ZTv1JURpxXPgeDVHPwGDBHYbtQ1p2hJq2qzoe htacQgcA1Lumyv4AZH3VRauYSuF0Hzg4DQwiLvBcr9O7KA0qPSCohyzwY58h3hTICd43 JhZZ32E6ONRq9YFOW2hz5BQScIMlpm45RA1MClNViyTXZVf9t0el8vgnIryUOXTaS2Ip LZn2XBo6AeM9UqVIhUGqOLDpOvAneUrlAO2PtAgn8Oxxgkxtxhe8yRgMFZQojlXXY9nh 63eLlDVcYFrx3jWE4SKkCYs/BYZyZRoL5SQUw6KME3dLvcIy6E+IVZmFVlFiqNEBLsST JwtQ== X-Gm-Message-State: AG10YOShvz1UmkEf7kaj4BLEzWOqVboP+P7cE98VjWk+OpaOqOcNSErmjPoXsCfOWNnKH0RlcrbWqrgUW3CQDg== MIME-Version: 1.0 X-Received: by 10.50.79.165 with SMTP id k5mr802937igx.79.1455949253861; Fri, 19 Feb 2016 22:20:53 -0800 (PST) Sender: bsd-src@helfman.org Received: by 10.107.142.4 with HTTP; Fri, 19 Feb 2016 22:20:53 -0800 (PST) In-Reply-To: <56C5942A.5090001@quip.cz> References: <54E0EEC9.80707@quip.cz> <20150222225800.GA97535@misty.eyesbeyond.com> <56C5942A.5090001@quip.cz> Date: Fri, 19 Feb 2016 22:20:53 -0800 X-Google-Sender-Auth: dTB-LMQ9xe4a1_QAUnEdT4eA9t0 Message-ID: Subject: Re: resurrect deprecated port print/pnm2ppa From: Jason Helfman To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Greg Lewis , "freebsd-ports@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 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: Sat, 20 Feb 2016 06:20:55 -0000 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. Thanks! -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve