Skip to content

Commit 4268244

Browse files
author
apps.0install.net
committed
Fixed libpng16-0
1 parent 6989b43 commit 4268244

2 files changed

Lines changed: 27 additions & 36 deletions

File tree

lib/png16-0.xml

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" ?>
2-
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
3-
<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">
2+
<?xml-stylesheet type='text/xsl' href='feed.xsl'?>
3+
<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/">
44
<name>libpng16-0</name>
55
<summary>A collection of routines used to create PNG format graphics</summary>
66
<description>libpng is a library implementing an interface for reading and writing
@@ -11,12 +11,14 @@ using libpng.</description>
1111
<category>Graphics</category>
1212
<homepage>http://www.libpng.org/pub/png/libpng.html</homepage>
1313
<needs-terminal/>
14-
<package-implementation package="libpng" />
14+
15+
<package-implementation package="libpng"/>
1516
<package-implementation package="libpng16-0"/>
1617
<package-implementation package="libpng16"/>
17-
<package-implementation package="media-libs/libpng" distributions="Gentoo" />
18-
<package-implementation package="libpng1.6" distributions="Debian" />
19-
<package-implementation package="graphics/png" distributions="Ports" />
18+
<package-implementation package="media-libs/libpng" distributions="Gentoo"/>
19+
<package-implementation package="libpng1.6" distributions="Debian"/>
20+
<package-implementation package="graphics/png" distributions="Ports"/>
21+
2022
<group license="zlib/libpng License">
2123
<requires interface="https://apps.0install.net/lib/gcc-libs.xml">
2224
<environment insert="bin" name="PATH"/>
@@ -25,13 +27,10 @@ using libpng.</description>
2527
<environment insert="bin" name="PATH"/>
2628
</requires>
2729
<command name="run" path="bin/pngfix.exe"/>
28-
2930
<command name="png-fix-itxt" path="bin/png-fix-itxt.exe"/>
30-
3131
<command name="libpng16-config" path="bin/libpng16-config"/>
32-
3332
<command name="libpng-config" path="bin/libpng-config"/>
34-
33+
3534
<group released="2018-12-03" version="1.6.36-1">
3635
<implementation arch="Windows-x86_64" id="sha1new=e3c20cee2dff3e6330542739374811f680da0c96">
3736
<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"/>
@@ -44,28 +43,26 @@ using libpng.</description>
4443
<dc:creator>Alexey Pavlov &lt;alexpux@gmail.com&gt;</dc:creator>
4544
<implementation arch="Windows-x86_64" id="sha1new=0d1541417b6859b9e1b2543e03875c678b9d2271" released="2020-05-06">
4645
<dc:available>2019-04-23</dc:available>
47-
<manifest-digest sha256new="3XMBWJUUBNLOTACQ3VXF6XRDTCVTZW6QHRCKPZN4LRHYYVBLNZ4A"/>
48-
<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"/>
46+
<manifest-digest sha256new="3XMBWJUUBNLOTACQ3VXF6XRDTCVTZW6QHRCKPZN4LRHYYVBLNZ4A"/>
47+
<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"/>
4948
</implementation>
5049
<implementation arch="Windows-i686" id="sha1new=613bb705b38ebd634991de362b94ef00db50dc8d" released="2020-05-06">
5150
<dc:available>2019-04-23</dc:available>
52-
<manifest-digest sha256new="BKBOVWAUP5DDGSFQYCYEJRNZM4J5T4Z6W352UCSPF56X7HTGNZLQ"/>
51+
<manifest-digest sha256new="BKBOVWAUP5DDGSFQYCYEJRNZM4J5T4Z6W352UCSPF56X7HTGNZLQ"/>
5352
<archive extract="mingw32" href="http://repo.msys2.org/mingw/i686/mingw-w64-i686-libpng-1.6.37-3-any.pkg.tar.xz" size="355156"/>
5453
</implementation>
5554
</group>
5655
</group>
5756

58-
<entry-point binary-name="pngfix" command="run">
59-
<needs-terminal/>
57+
<entry-point binary-name="pngfix" command="run">
58+
<needs-terminal/>
6059
<name>pngfix</name>
61-
<summary xml:lang="en">Tests, optimizes and optionally fixes the zlib header in PNG files.</summary>
62-
</entry-point>
63-
64-
<entry-point binary-name="png-fix-itxt" command="png-fix-itxt">
65-
<needs-terminal/>
66-
<name>png-fix-itxt</name>
67-
<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>
68-
</entry-point>
60+
<summary>Tests, optimizes and optionally fixes the zlib header in PNG files.</summary>
61+
</entry-point>
62+
<entry-point binary-name="png-fix-itxt" command="png-fix-itxt">
63+
<needs-terminal/>
64+
<name>png-fix-itxt</name>
65+
<summary>Fixes a PNG file written with libpng-1.6.0 or 1.6.1 that has one or more uncompressed iTXt chunks.</summary>
66+
</entry-point>
6967

7068
</interface>
71-

lib/png16-0.xml.template

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<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">
2+
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:dc="http://purl.org/dc/elements/1.1/">
33
<name>{name}</name>
44
<summary>{desc}</summary>
55
<description>libpng is a library implementing an interface for reading and writing
@@ -11,6 +11,8 @@ using libpng.</description>
1111
<homepage>{url}</homepage>
1212
<needs-terminal/>
1313

14+
<feed-for interface="https://apps.0install.net/lib/png16-0.xml"/>
15+
1416
<group license="{license}">
1517
<requires interface="https://apps.0install.net/lib/gcc-libs.xml">
1618
<environment insert="bin" name="PATH"/>
@@ -19,30 +21,22 @@ using libpng.</description>
1921
<environment insert="bin" name="PATH"/>
2022
</requires>
2123
<command name="run" path="bin/pngfix.exe"/>
22-
2324
<command name="png-fix-itxt" path="bin/png-fix-itxt.exe"/>
24-
2525
<command name="libpng16-config" path="bin/libpng16-config"/>
26-
2726
<command name="libpng-config" path="bin/libpng-config"/>
2827

2928
<group version="{version}">
3029
<dc:creator>{packager}</dc:creator>
3130
<implementation arch="Windows-x86_64">
3231
<dc:available>{released}</dc:available>
33-
<manifest-digest/>
34-
<archive extract="mingw64" href="{pkg_url}"/>
32+
<manifest-digest/>
33+
<archive extract="mingw64" href="{pkg_url}"/>
3534
</implementation>
3635
<implementation arch="Windows-i686">
3736
<dc:available>{released32}</dc:available>
38-
<manifest-digest/>
37+
<manifest-digest/>
3938
<archive extract="mingw32" href="{pkg_url32}"/>
4039
</implementation>
4140
</group>
4241
</group>
43-
44-
45-
46-
<feed-for interface="https://apps.0install.net/lib/png16-0.xml"/>
4742
</interface>
48-

0 commit comments

Comments
 (0)