From patchwork Mon Aug 1 00:46:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 1024902 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p710kx4l015824 for ; Mon, 1 Aug 2011 00:46:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753003Ab1HAAq5 (ORCPT ); Sun, 31 Jul 2011 20:46:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64972 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751897Ab1HAAq4 (ORCPT ); Sun, 31 Jul 2011 20:46:56 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p710kqCQ000974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 31 Jul 2011 20:46:52 -0400 Received: from [10.36.7.133] (vpn1-7-133.ams2.redhat.com [10.36.7.133]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p710knOG021560; Sun, 31 Jul 2011 20:46:50 -0400 Message-ID: <4E35F779.4090100@redhat.com> Date: Sun, 31 Jul 2011 21:46:49 -0300 From: Mauro Carvalho Chehab User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Henning Hollermann CC: linux-media@vger.kernel.org Subject: Re: Missing package "Proc::ProcessTable" is in debian: libproc-processtable-perl References: <4E35DECA.2090700@stud.uni-goettingen.de> In-Reply-To: <4E35DECA.2090700@stud.uni-goettingen.de> X-Enigmail-Version: 1.2 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 01 Aug 2011 00:46:59 +0000 (UTC) Hi Henning, Em 31-07-2011 20:01, Henning Hollermann escreveu: > I just tried to install the latest media-build-package via git. I got an > error because of a missing package, but the script could not provide a > hint about the name of the missing package. One quick search made clear, > that it was perl's ProcessTable package, which was missing. This is > named "libproc-processtable-perl" in debian, so you could add this as hint. There are some functions there that tries to detect the distribution used. Currently, it parses Fedora, RHEL and Ubuntu. From the above, it seems that the requirements for Debian are the same as the ones for Ubuntu. This is the requirements for Ubuntu: "lsdiff" => "patchutils", "Digest::SHA1" => "libdigest-sha1-perl", "Proc::ProcessTable" => "libproc-processtable-perl", Could you please double check if all of them also applies for Debian? If so, then probably the enclosed patch will do the job. Could you please test it as well? Thanks, Mauro - check_needs.pl: Add detection for Debian Reported-by: Henning Hollermann Signed-off-by: Mauro Carvalho Chehab --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/check_needs.pl b/check_needs.pl index 8060361..1467ee1 100755 --- a/check_needs.pl +++ b/check_needs.pl @@ -73,6 +73,10 @@ sub give_hints give_ubuntu_hints; return; } + if ($system_release =~ /Debian/) { + give_ubuntu_hints; + return; + } # Fall-back to generic hint code foreach my $prog (@missing) {