Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods In directory vz-cvs-3.sog:/tmp/cvs-serv28063
Added Files: yape-regex-explain-pm.info yape-regex-pm.info x11-protocol-pm.info x11-protocol-pm.patch Log Message: to 10.7 --- NEW FILE: yape-regex-pm.info --- Package: yape-regex-pm Version: 4.00 Revision: 1 Source: mirror:cpan:authors/id/G/GS/GSULLIVAN/YAPE-Regex-%v.tar.gz Source-MD5: df98f5d4b0cdf34736ecf5813b3d0dfc Type: perl Depends: text-balanced-pm UpdatePOD: true DocFiles: Changes README Description: Yet Another Parser/Extractor for reg exps DescDetail: << The YAPE hierarchy of modules is an attempt at a unified means of parsing and extracting content. It attempts to maintain a generic interface, to promote simplicity and reusability. The API is powerful, yet simple. The modules do tokenization (which can be intercepted) and build trees, so that extraction of specific nodes is doable. This module is yet another (?) parser and tree-builder for Perl regular expressions. It builds a tree out of a regex, but at the moment, the extent of the extraction tool for the tree is quite limited (see the section on "Extracting Sections"). However, the tree can be useful to extension modules. << License: Artistic Maintainer: Daniel Macks <dma...@netspace.org> Homepage: http://www.pobox.com/~japhy/YAPE/ --- NEW FILE: x11-protocol-pm.patch --- diff -Nur X11-Protocol-0.56.orig/Protocol/Connection/UNIXSocket.pm X11-Protocol-0.56/Protocol/Connection/UNIXSocket.pm --- X11-Protocol-0.56.orig/Protocol/Connection/UNIXSocket.pm 2003-02-15 11:44:43.000000000 -0600 +++ X11-Protocol-0.56/Protocol/Connection/UNIXSocket.pm 2008-08-14 10:39:54.000000000 -0500 @@ -20,8 +20,14 @@ sub open { my($pkg) = shift; my($host, $dispnum) = @_; - my($sock) = IO::Socket::UNIX->new('Type' => SOCK_STREAM(), - 'Peer' => "/tmp/.X11-unix/X$dispnum"); + my $sock; + if ($host eq 'unix') { + ($sock) = IO::Socket::UNIX->new('Type' => SOCK_STREAM(), + 'Peer' => "/tmp/.X11-unix/X$dispnum"); + } else { + ($sock) = IO::Socket::UNIX->new('Type' => SOCK_STREAM(), + 'Peer' => $host); + } croak "Can't connect to display `unix:$dispnum': $!" unless $sock; $sock->autoflush(0); return bless \$sock, $pkg; diff -Nur X11-Protocol-0.56.orig/Protocol.pm X11-Protocol-0.56/Protocol.pm --- X11-Protocol-0.56.orig/Protocol.pm 2006-10-08 15:16:30.000000000 -0500 +++ X11-Protocol-0.56/Protocol.pm 2008-08-14 10:38:49.000000000 -0500 @@ -2265,6 +2265,12 @@ ->open($host, $dispnum); $host = 'localhost'; $family = 'Local'; + } elsif (-S $display) { + require 'X11/Protocol/Connection/UNIXSocket.pm'; + $conn = X11::Protocol::Connection::UNIXSocket + ->open($display, $dispnum); + $host = 'localhost'; + $family = 'Local'; } else { require 'X11/Protocol/Connection/INETSocket.pm'; $conn = X11::Protocol::Connection::INETSocket --- NEW FILE: x11-protocol-pm.info --- Info2: << Package: x11-protocol-pm Version: 0.56 Revision: 2 ### BuildDepends: fink (>= 0.24.12-1) Depends: x11 ### Source: mirror:cpan:authors/id/S/SM/SMCCAM/X11-Protocol-%v.tar.gz Source-MD5: 2260bad68d373b201b17c60d761e0f0a PatchFile: %n.patch PatchFile-MD5: 5e02c27327d12a11bea98d2ec60d4ffd ### Type: perl UpdatePOD: true NoPerlTests: true ### DocFiles: Changes MANIFEST README Todo ### Description: X Window System Protocol, version 11 DescDetail: << X11::Protocol is a client-side interface to the X11 Protocol (see X(1) for information about X11), allowing perl programs to display windows and graphics on X11 servers. << DescPort: << 'make test' requires X11 to be running and user input, so tests are disabled. << ### License: OSI-Approved Maintainer: degraw <deg...@users.sourceforge.net> Homepage: http://search.cpan.org/dist/X11-Protocol << --- NEW FILE: yape-regex-explain-pm.info --- Package: yape-regex-explain-pm Version: 4.01 Revision: 1 Source: mirror:cpan:authors/id/G/GS/GSULLIVAN/YAPE-Regex-Explain-%v.tar.gz Source-MD5: 8da1f721e79ef85f7e8bbc931309f493 Type: perl BuildDepends: fink (>= 0.24.12-1) Depends: yape-regex-pm InstallScript: << %{default_script} mkdir -p %i/bin install -m755 examples/explain %i/bin/explain-regex << UpdatePOD: true DocFiles: Changes README Description: Explanation of a regular expression DescDetail: << The YAPE hierarchy of modules is an attempt at a unified means of parsing and extracting content. It attempts to maintain a generic interface, to promote simplicity and reusability. The API is powerful, yet simple. The modules do tokenization (which can be intercepted) and build trees, so that extraction of specific nodes is doable. This module merely sub-classes YAPE::Regex, and produces a rather verbose explanation of a regex, suitable for demonstration and tutorial purposes. Perl 5.6 regex structures like \p{...} and \P{...} and [:...:] are now supported. << DescUsage: << Docs for the explain-regex script and YAPE::Regex::Explain are in pod format in the usual places. << DescPort: << Install the sample "explain" script (and call it "explain-regex") << License: Artistic/GPL Maintainer: Daniel Macks <dma...@netspace.org> Homepage: http://www.pobox.com/~japhy/YAPE/ ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs