Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion devel/cloc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@
<entry-point binary-name="cloc" command="run"/>

<group arch="POSIX-*" license="GPL v2 (GNU General Public License)">
<requires importance="recommended" interface="https://apps.0install.net/perl/parallel-forkmanager.xml">
<environment insert="lib" name="PERL5LIB"/>
</requires>
<requires importance="recommended" interface="https://apps.0install.net/perl/regex-common.xml">
<environment insert="lib" name="PERL5LIB"/>
</requires>
<requires importance="recommended" interface="https://apps.0install.net/perl/algorithm-diff.xml">
<environment insert="lib" name="PERL5LIB"/>
</requires>
<command name="run" path="cloc">
<runner interface="https://apps.0install.net/perl/perl.xml"/>
<runner interface="https://apps.0install.net/perl/perl.xml" version="5.8..!6"/>
</command>
<implementation id="sha1new=36137a4ade438b527c7659f14b43e6132d38b177" released="2015-09-07" stability="stable" version="1.64">
<manifest-digest sha256new="PDUN5IBGZYIONG5LIFPV2XTUFXYQX62C7VYZUD3DJ6FNACGJCKHA"/>
Expand Down Expand Up @@ -61,6 +70,22 @@
<file dest="cloc" href="https://github.com/AlDanial/cloc/releases/download/1.86/cloc-1.86.pl" size="615278"/>
</implementation>
</group>
<implementation id="sha1new=89bd89610030fcec17c6eaa3790433618a10955e" version="1.76" arch="POSIX-*" license="GPL v2 (GNU General Public License)">
<requires importance="recommended" interface="https://apps.0install.net/perl/parallel-forkmanager.xml">
<environment insert="lib" name="PERL5LIB"/>
</requires>
<requires importance="recommended" interface="https://apps.0install.net/perl/regex-common.xml">
<environment insert="lib" name="PERL5LIB"/>
</requires>
<requires importance="recommended" interface="https://apps.0install.net/perl/algorithm-diff.xml">
<environment insert="lib" name="PERL5LIB"/>
</requires>
<command name="run" path="bin/cloc">
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5.8..!6"/>
</command>
<manifest-digest sha256new="X47AJJ623IH3B4PKNQR435IKZCUVVI2GXM7GAGT4FXRIACQ6CO4A"/>
<archive extract="App-cloc-1.76" href="https://cpan.metacpan.org/authors/id/F/FI/FIBO/App-cloc-1.76.tar.gz" size="100375" type="application/x-compressed-tar"/>
</implementation>

<group arch="Windows-*" license="GPL v2 (GNU General Public License)">
<command name="run" path="cloc.exe"/>
Expand Down Expand Up @@ -101,4 +126,7 @@
<file dest="cloc.exe" href="https://github.com/AlDanial/cloc/releases/download/1.86/cloc-1.86.exe" size="9414945"/>
</implementation>
</group>
<package-implementation distributions="Gentoo" package="dev-util/cloc" main="/usr/bin/cloc"/>
<package-implementation distributions="Ports" package="misc/cloc" main="/usr/bin/cloc"/>
<package-implementation package="cloc" main="/usr/bin/cloc"/>
</interface>
74 changes: 74 additions & 0 deletions perl/algorithm-diff.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" ?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface uri="https://apps.0install.net/perl/algorithm-diff.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interface http://0install.de/schema/injector/interface/interface.xsd http://0install.de/schema/desktop-integration/capabilities http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd">
<name>Algorithm-Diff</name>
<summary xml:lang="en">Compute differences between two files / lists</summary>
<description xml:lang="en">This is a module for computing the difference between two files, two
strings, or any other two lists of things. It uses an intelligent
algorithm similar to (or identical to) the one used by the Unix &quot;diff&quot;
program. It is guaranteed to find the *smallest possible* set of
differences.</description>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.ico" type="image/vnd.microsoft.icon"/>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.png" type="image/png"/>
<category>Development</category>
<homepage>http://search.cpan.org/dist/Algorithm-Diff/</homepage>
<needs-terminal/>
<implementation id="sha1new=e1bfc1e46b7290f27665b4fc51707242d32a64f9" license="Perl License" released="2014-11-25" version="1.19-3">
<command name="run" path="diff.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5..!6"/>
</command>
<command name="cdiff" path="cdiff.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5..!6"/>
</command>
<command name="diffnew" path="diffnew.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5..!6"/>
</command>
<command name="htmldiff" path="htmldiff.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5..!6"/>
</command>
<command name="Makefile" path="Makefile.PL">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5..!6"/>
</command>
<manifest-digest sha256new="TE3NOESGKGEKDA52I2DV5PO5LDSKFOCO3JDQH2CWKAOPZXCJI3QQ"/>
<archive extract="Algorithm-Diff-1.1903" href="https://cpan.metacpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-1.1903.tar.gz" size="34174" type="application/x-compressed-tar"/>
</implementation>
<package-implementation distributions="Gentoo" package="dev-perl/Algorithm-Diff"/>
<package-implementation distributions="Arch" package="perl-algorithm-diff"/>
<package-implementation distributions="Cygwin" package="perl-Algorithm-Diff"/>
<package-implementation package="libalgorithm-diff-perl"/>
<package-implementation distributions="MacPorts" package="p5.30-algorithm-diff"/>
<package-implementation distributions="Ports" package="devel/p5-Algorithm-Diff"/>
<package-implementation distributions="RPM" package="perl-Algorithm-Diff"/>
<package-implementation distributions="Slack" package="perl-Algorithm-Diff"/>
<entry-point binary-name="diff" command="run">
<needs-terminal/>
<name xml:lang="en">diff</name>
<summary xml:lang="en">implements a &quot;diff&quot; in Perl that is as simple as possible so that you can see how it works.</summary>
<description xml:lang="en">diff.pl implements a &quot;diff&quot; in Perl that is as simple as (was
previously) possible so that you can see how it works. The output
format is not compatible with regular &quot;diff&quot;. It needs to be
reimplemented using the OO interface to greatly simplify the code.</description>
</entry-point>
<entry-point binary-name="cdiff" command="cdiff">
<needs-terminal/>
<name xml:lang="en">cdiff</name>
<summary xml:lang="en">implements &quot;diff&quot; that generates real context diffs</summary>
<description xml:lang="en">cdiff.pl implements &quot;diff&quot; that generates real context diffs in either
traditional format or GNU unified format. Original contextless
&quot;context&quot; diff supplied by Christian Murphy. Modifications to make it
into a real full-featured diff with -c and -u options supplied by Amir
D. Karger.</description>
</entry-point>
<entry-point binary-name="diffnew" command="diffnew">
<needs-terminal/>
<name xml:lang="en">diffnew</name>
<summary xml:lang="en">implements a &quot;diff&quot; in Perl with full bells and whistles.</summary>
<description xml:lang="en">diffnew.pl implements a &quot;diff&quot; in Perl with full bells and whistles. By
Mark-Jason, with code from cdiff.pl included.</description>
</entry-point>
</interface>
13 changes: 13 additions & 0 deletions perl/parallel-forkmanager.watch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from urllib import request
import json

excluded_versions = []
data = request.urlopen('https://fastapi.metacpan.org/v1/release/Parallel-ForkManager').read().decode('utf-8')
release = json.loads(data)
releases = [{ 'version': release['version'],
'released': release['date'].split('T')[0],
'name': release['distribution'],
'summary': release['abstract'],
'url': release['download_url'],
'creator': release['author']
}]
55 changes: 55 additions & 0 deletions perl/parallel-forkmanager.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface uri="https://apps.0install.net/perl/parallel-forkmanager.xml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interface http://0install.de/schema/injector/interface/interface.xsd http://0install.de/schema/desktop-integration/capabilities http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd">
<name>Parallel-ForkManager</name>
<summary xml:lang="en">A simple parallel processing fork manager</summary>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.ico" type="image/vnd.microsoft.icon"/>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.png" type="image/png"/>
<description xml:lang="en">This module is intended for use in operations that can be done in parallel where the number of processes to be forked off should be limited. Typical use is a downloader which will be retrieving hundreds/thousands of files.</description>
<category>Development</category>
<homepage>https://metacpan.org/pod/Parallel::ForkManager</homepage>
<needs-terminal/>
<group license="Perl License">
<command name="run" path="examples/parallel_get.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5.6..!6"/>
</command>
<command name="Makefile" path="Makefile.PL">
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5.6..!6"/>
</command>
<command name="callback" path="examples/callback.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5.6..!6"/>
</command>
<command name="callback_data" path="examples/callback_data.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" use="5.6..!6"/>
</command>
<implementation id="sha1new=bd5a98facadf236f8e9dc90b51a5f47efa531155" released="2018-10-08" version="2.02">
<dc:creator>YANICK</dc:creator>
<archive extract="Parallel-ForkManager-2.02" href="https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Parallel-ForkManager-2.02.tar.gz" size="33457" type="application/x-compressed-tar"/>
</implementation>
</group>
<package-implementation distributions="Gentoo" package="dev-perl/Parallel-ForkManager"/>
<package-implementation distributions="Arch" package="perl-parallel-forkmanager"/>
<package-implementation package="libparallel-forkmanager-perl"/>
<package-implementation distributions="MacPorts" package="p5.30-parallel-forkmanager"/>
<package-implementation distributions="Ports" package="devel/p5-Parallel-ForkManager"/>
<package-implementation distributions="Slack" package="perl-parallel-forkmanager"/>
<package-implementation distributions="RPM" package="perl-Parallel-ForkManager"/>
<entry-point binary-name="parallel_get" command="run">
<needs-terminal/>
<name xml:lang="en">parallel_get</name>
<summary xml:lang="en">This small example can be used to get URLs in parallel.</summary>
</entry-point>
<entry-point binary-name="callback" command="callback">
<needs-terminal/>
<name xml:lang="en">callback</name>
<summary xml:lang="en">Example of a program using callbacks to get child exit codes</summary>
</entry-point>
<entry-point binary-name="callback_data" command="callback_data">
<needs-terminal/>
<name xml:lang="en">callback_data</name>
<summary xml:lang="en">Setup a callback for when a child finishes up so we can get it's exit code and any data it collected</summary>
</entry-point>
</interface>
34 changes: 34 additions & 0 deletions perl/parallel-forkmanager.xml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0"?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interface http://0install.de/schema/injector/interface/interface.xsd http://0install.de/schema/desktop-integration/capabilities http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd">
<name>{name}</name>
<summary xml:lang="en">{summary}</summary>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.ico" type="image/vnd.microsoft.icon"/>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.png" type="image/png"/>
<description xml:lang="en">This module is intended for use in operations that can be done in parallel where the number of processes to be forked off should be limited. Typical use is a downloader which will be retrieving hundreds/thousands of files.</description>
<category>Development</category>
<homepage>https://metacpan.org/release/Parallel-ForkManager</homepage>
<needs-terminal/>
<group license="Perl License">
<command name="run" path="examples/parallel_get.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5.6..!6"/>
</command>
<command name="Makefile" path="Makefile.PL">
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5.6..!6"/>
</command>
<command name="callback" path="examples/callback.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" version="5.6..!6"/>
</command>
<command name="callback_data" path="examples/callback_data.pl">
<environment insert="lib" name="PERL5LIB"/>
<runner command="perl" interface="https://apps.0install.net/perl/perl.xml" use="5.6..!6"/>
</command>

<implementation released="{released}" version="{version}">
<dc:creator>{creator}</dc:creator>
<archive extract="Parallel-ForkManager-{version}" href="{url}" type="application/x-compressed-tar"/>
</implementation>
</group>
<feed-for interface="https://apps.0install.net/perl/parallel-forkmanager.xml"/>
</interface>
23 changes: 23 additions & 0 deletions perl/regex-common.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" ?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface uri="https://apps.0install.net/perl/regex-common.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://zero-install.sourceforge.net/2004/injector/interface http://0install.de/schema/injector/interface/interface.xsd http://0install.de/schema/desktop-integration/capabilities http://0install.de/schema/desktop-integration/capabilities/capabilities.xsd">
<name>Regexp::Common</name>
<summary xml:lang="en">Provide commonly requested regular expressions</summary>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.ico" type="image/vnd.microsoft.icon"/>
<icon href="https://raw.githubusercontent.com/0install/apps/master/perl/perl.png" type="image/png"/>
<category>Development</category>
<homepage>http://search.cpan.org/dist/Regexp-Common/</homepage>
<needs-terminal/>
<implementation id="sha1new=b7e057bfd9c54a2cfee46655e1ef83422d928077" license="Perl License, or Artistic License, or BSD License (revised), or MIT/X Consortium License" released="2017-06-02" version="2017060201">
<manifest-digest sha256new="2QADOFD6E3OE5FPSZKNPN7ZAJHEWRT7EBH6SLOVJV6WDEBMRLRRQ"/>
<archive extract="Regexp-Common-2017060201" href="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-2017060201.tar.gz" size="237881" type="application/x-compressed-tar"/>
</implementation>
<package-implementation distributions="Gentoo" package="dev-perl/Regexp-Common"/>
<package-implementation distributions="RPM" package="perl-Regexp-Common"/>
<package-implementation distributions="Arch" package="perl-regexp-common"/>
<package-implementation package="libregexp-common-perl"/>
<package-implementation distributions="Cygwin" package="perl-Regexp-Common"/>
<package-implementation distributions="MacPorts" package="p5.30-regexp-common"/>
<package-implementation distributions="Ports" package="textproc/p5-Regexp-Common"/>
<package-implementation distributions="Slack" package="perl-Regexp-Common"/>
</interface>