Skip to content

Commit

Permalink
Fixed libpng16-0
Browse files Browse the repository at this point in the history
  • Loading branch information
apps.0install.net committed Mar 5, 2022
1 parent 6989b43 commit 4268244
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 36 deletions.
45 changes: 21 additions & 24 deletions lib/png16-0.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface uri="https://apps.0install.net/lib/png16-0.xml" 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/" xmlns: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">
<?xml-stylesheet type='text/xsl' href='feed.xsl'?>
<interface uri="https://apps.0install.net/lib/png16-0.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:dc="http://purl.org/dc/elements/1.1/">
<name>libpng16-0</name>
<summary>A collection of routines used to create PNG format graphics</summary>
<description>libpng is a library implementing an interface for reading and writing
Expand All @@ -11,12 +11,14 @@ using libpng.</description>
<category>Graphics</category>
<homepage>http://www.libpng.org/pub/png/libpng.html</homepage>
<needs-terminal/>
<package-implementation package="libpng" />

<package-implementation package="libpng"/>
<package-implementation package="libpng16-0"/>
<package-implementation package="libpng16"/>
<package-implementation package="media-libs/libpng" distributions="Gentoo" />
<package-implementation package="libpng1.6" distributions="Debian" />
<package-implementation package="graphics/png" distributions="Ports" />
<package-implementation package="media-libs/libpng" distributions="Gentoo"/>
<package-implementation package="libpng1.6" distributions="Debian"/>
<package-implementation package="graphics/png" distributions="Ports"/>

<group license="zlib/libpng License">
<requires interface="https://apps.0install.net/lib/gcc-libs.xml">
<environment insert="bin" name="PATH"/>
Expand All @@ -25,13 +27,10 @@ using libpng.</description>
<environment insert="bin" name="PATH"/>
</requires>
<command name="run" path="bin/pngfix.exe"/>

<command name="png-fix-itxt" path="bin/png-fix-itxt.exe"/>

<command name="libpng16-config" path="bin/libpng16-config"/>

<command name="libpng-config" path="bin/libpng-config"/>

<group released="2018-12-03" version="1.6.36-1">
<implementation arch="Windows-x86_64" id="sha1new=e3c20cee2dff3e6330542739374811f680da0c96">
<archive extract="mingw64" href="http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-libpng-1.6.36-1-any.pkg.tar.xz" size="298024"/>
Expand All @@ -44,28 +43,26 @@ using libpng.</description>
<dc:creator>Alexey Pavlov &lt;[email protected]&gt;</dc:creator>
<implementation arch="Windows-x86_64" id="sha1new=0d1541417b6859b9e1b2543e03875c678b9d2271" released="2020-05-06">
<dc:available>2019-04-23</dc:available>
<manifest-digest sha256new="3XMBWJUUBNLOTACQ3VXF6XRDTCVTZW6QHRCKPZN4LRHYYVBLNZ4A"/>
<archive extract="mingw64" href="http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-libpng-1.6.37-3-any.pkg.tar.xz" size="355436"/>
<manifest-digest sha256new="3XMBWJUUBNLOTACQ3VXF6XRDTCVTZW6QHRCKPZN4LRHYYVBLNZ4A"/>
<archive extract="mingw64" href="http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-libpng-1.6.37-3-any.pkg.tar.xz" size="355436"/>
</implementation>
<implementation arch="Windows-i686" id="sha1new=613bb705b38ebd634991de362b94ef00db50dc8d" released="2020-05-06">
<dc:available>2019-04-23</dc:available>
<manifest-digest sha256new="BKBOVWAUP5DDGSFQYCYEJRNZM4J5T4Z6W352UCSPF56X7HTGNZLQ"/>
<manifest-digest sha256new="BKBOVWAUP5DDGSFQYCYEJRNZM4J5T4Z6W352UCSPF56X7HTGNZLQ"/>
<archive extract="mingw32" href="http://repo.msys2.org/mingw/i686/mingw-w64-i686-libpng-1.6.37-3-any.pkg.tar.xz" size="355156"/>
</implementation>
</group>
</group>

<entry-point binary-name="pngfix" command="run">
<needs-terminal/>
<entry-point binary-name="pngfix" command="run">
<needs-terminal/>
<name>pngfix</name>
<summary xml:lang="en">Tests, optimizes and optionally fixes the zlib header in PNG files.</summary>
</entry-point>

<entry-point binary-name="png-fix-itxt" command="png-fix-itxt">
<needs-terminal/>
<name>png-fix-itxt</name>
<summary xml:lang="en">Fixes a PNG file written with libpng-1.6.0 or 1.6.1 that has one or more uncompressed iTXt chunks.</summary>
</entry-point>
<summary>Tests, optimizes and optionally fixes the zlib header in PNG files.</summary>
</entry-point>
<entry-point binary-name="png-fix-itxt" command="png-fix-itxt">
<needs-terminal/>
<name>png-fix-itxt</name>
<summary>Fixes a PNG file written with libpng-1.6.0 or 1.6.1 that has one or more uncompressed iTXt chunks.</summary>
</entry-point>

</interface>

18 changes: 6 additions & 12 deletions lib/png16-0.xml.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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/" xmlns: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">
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:dc="http://purl.org/dc/elements/1.1/">
<name>{name}</name>
<summary>{desc}</summary>
<description>libpng is a library implementing an interface for reading and writing
Expand All @@ -11,6 +11,8 @@ using libpng.</description>
<homepage>{url}</homepage>
<needs-terminal/>

<feed-for interface="https://apps.0install.net/lib/png16-0.xml"/>

<group license="{license}">
<requires interface="https://apps.0install.net/lib/gcc-libs.xml">
<environment insert="bin" name="PATH"/>
Expand All @@ -19,30 +21,22 @@ using libpng.</description>
<environment insert="bin" name="PATH"/>
</requires>
<command name="run" path="bin/pngfix.exe"/>

<command name="png-fix-itxt" path="bin/png-fix-itxt.exe"/>

<command name="libpng16-config" path="bin/libpng16-config"/>

<command name="libpng-config" path="bin/libpng-config"/>

<group version="{version}">
<dc:creator>{packager}</dc:creator>
<implementation arch="Windows-x86_64">
<dc:available>{released}</dc:available>
<manifest-digest/>
<archive extract="mingw64" href="{pkg_url}"/>
<manifest-digest/>
<archive extract="mingw64" href="{pkg_url}"/>
</implementation>
<implementation arch="Windows-i686">
<dc:available>{released32}</dc:available>
<manifest-digest/>
<manifest-digest/>
<archive extract="mingw32" href="{pkg_url32}"/>
</implementation>
</group>
</group>



<feed-for interface="https://apps.0install.net/lib/png16-0.xml"/>
</interface>

0 comments on commit 4268244

Please sign in to comment.