From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-191425-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B2651382C5 for <garchives@archives.gentoo.org>; Thu, 21 May 2020 14:49:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23AD0E08FC; Thu, 21 May 2020 14:49:32 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [159.69.161.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6D52E08AE for <gentoo-user@lists.gentoo.org>; Thu, 21 May 2020 14:49:31 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from <lnx-gentoo-user@m.gmane-mx.org>) id 1jbmVm-000Qhc-97 for gentoo-user@lists.gentoo.org; Thu, 21 May 2020 16:49:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards <grant.b.edwards@gmail.com> Subject: [gentoo-user] Re: Command line tool to crop PDF documents? Date: Thu, 21 May 2020 14:49:25 -0000 (UTC) Message-ID: <ra64dl$2kol$1@ciao.gmane.io> References: <ra62p6$2dv5$1@ciao.gmane.io> <20200521142637.ahln3uqgfluopkjf@ad-gentoo-main.Home> User-Agent: slrn/1.0.3 (Linux) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: efd14bf2-ba81-4fbe-a311-b7c3b418a940 X-Archives-Hash: d653b5ccf2364ada12f00cc49b7a6104 On 2020-05-21, Ashley Dixon <ash@suugaku.co.uk> wrote: > On Thu, May 21, 2020 at 02:21:26PM -0000, Grant Edwards wrote: >> Google has found various references to 'croppdf' which is included >> in a package of texlive extra utilities on Ubuntu. Gentoo seems >> have 38 different 'texlive' ebuilds. Is there any way to tell >> which (if any) contains croppdf? > > You can use the e-file command from app-portage/pfl to check which > package in Portage provides a specific file---including binaries. > Emerge pfl and run `e-file pdfcrop`. Yep. It looks like pdfcrop from texlive-core will do what I want. It would have helped if I hadn't trasmuted "pdfcrop" to "croppdf" when I was searching for info! I initially just trield downloading pdfcrop.pl and running it without texlive installed, but it relies on texpdf. -- Grant