Update of /cvsroot/fink/fink-maintainertools In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23363
Added Files: fink-guess-bdeps.plx otool-deps Log Message: jfmertens' otool-deps my script that takes this as input to do BuildDepends --- NEW FILE: otool-deps --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fink-guess-bdeps.plx --- #!/usr/bin/perl -w #Author: AKH #Date: 2009-03-19 use strict; if (@ARGV == 0) { print "Usage: \nfink-guess-bdeps.plx package1[,] [package2][,] ...\n"; print "This script will traverse a space- separated list of packages\n"; print "(with optional trailing commas)\n"; print "and find the BuildDependsOnly package for each family.\n"; print "Does nothing if there are no appropriate packages.\n"; exit 0; } my @BDO_pkg; foreach (@ARGV) { # remove trailing comma if it exists $_ =~ s/,/ /; chomp(my $family=`fink dumpinfo -ffamily $_ | cut -d: -f2`); if ($family !~ /no matching version found/) { #skip nonexistent packages my @family=split(/,/,$family); foreach (@family) { chomp(my $BDO_stat=`fink dumpinfo -fbuilddependsonly $_`); if ($BDO_stat =~ /true/) { #clean up spaces once we're going to push onto the output s/\s+//g; push @BDO_pkg, $_; last; } } } } if (@BDO_pkg) { #print comma-separated list print join(', ',@BDO_pkg) ; } print "\n"; 1 ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs