1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
diff -Nu ./package/libpng-old/0001-disable-tools.patch ./package/libpng/0001-disable-tools.patch
--- ./package/libpng-old/0001-disable-tools.patch 2016-05-31 14:52:36.000000000 -0700
+++ ./package/libpng/0001-disable-tools.patch 1969-12-31 16:00:00.000000000 -0800
@@ -1,30 +0,0 @@
-Disable the new pngfix and png-fix-itxt tools: they take up space, fail to
-build on some oddball toolchain configurations and aren't expected/needed
-in a non-interactive embedded system.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura libpng-1.6.10.orig/Makefile.am libpng-1.6.10/Makefile.am
---- libpng-1.6.10.orig/Makefile.am 2014-03-17 08:51:25.812005079 -0300
-+++ libpng-1.6.10/Makefile.am 2014-03-17 09:14:28.807586433 -0300
-@@ -10,7 +10,7 @@
- check_PROGRAMS= pngtest pngunknown pngstest pngvalid pngimage
-
- # Utilities - installed
--bin_PROGRAMS= pngfix png-fix-itxt
-+bin_PROGRAMS=
-
- # This ensures that pnglibconf.h gets built at the start of 'make all' or
- # 'make check', but it does not add dependencies to the individual programs,
-diff -Nura libpng-1.6.10.orig/Makefile.in libpng-1.6.10/Makefile.in
---- libpng-1.6.10.orig/Makefile.in 2014-03-17 08:51:25.807005070 -0300
-+++ libpng-1.6.10/Makefile.in 2014-03-17 09:14:44.846617623 -0300
-@@ -87,7 +87,7 @@
- host_triplet = @host@
- check_PROGRAMS = pngtest$(EXEEXT) pngunknown$(EXEEXT) \
- pngstest$(EXEEXT) pngvalid$(EXEEXT) pngimage$(EXEEXT)
--bin_PROGRAMS = pngfix$(EXEEXT) png-fix-itxt$(EXEEXT)
-+bin_PROGRAMS =
- @PNG_ARM_NEON_TRUE@am__append_1 = arm/arm_init.c\
- @PNG_ARM_NEON_TRUE@ arm/filter_neon.S arm/filter_neon_intrinsics.c
-
diff -Nu ./package/libpng-old/0002-ignore-symbol-prefix.patch ./package/libpng/0002-ignore-symbol-prefix.patch
--- ./package/libpng-old/0002-ignore-symbol-prefix.patch 2016-05-31 14:52:36.000000000 -0700
+++ ./package/libpng/0002-ignore-symbol-prefix.patch 1969-12-31 16:00:00.000000000 -0800
@@ -1,48 +0,0 @@
-From dbfea83a7436cbac34cc883ab2b7befacaf02c40 Mon Sep 17 00:00:00 2001
-From: Danomi Manchego <danomimanchego123@gmail.com>
-Date: Tue, 23 Jun 2015 13:54:42 -0400
-Subject: libpng: don't append prefix to symbol names in version script
-
-Even if Blackfin GNU toolchain add prefix '_' to all symbols,
-symbol prefix is not accepted in the link flag --version-script.
-Don't append prefix in the symbols in the version script file.
-
-Original patch by: Sonic Zhang <sonic.zhang@analog.com>
-
-Rebase to apply cleanly.
-
-Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
----
- Makefile.am | 2 +-
- Makefile.in | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index dcc5439..e543c81 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -231,7 +231,7 @@ contrib/tools/pngfix.o: pnglibconf.h
- # interfering with the symbol file format.
- SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0'\
- -DPNGLIB_VERSION='@PNGLIB_VERSION@'\
-- -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)'\
-+ -DSYMBOL_PREFIX=''\
- -DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE
-
- if DO_PNG_PREFIX
-diff --git a/Makefile.in b/Makefile.in
-index 975f931..a3e0552 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -747,7 +747,7 @@ SUFFIXES = .chk .out
- # interfering with the symbol file format.
- SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
- -DPNGLIB_VERSION='@PNGLIB_VERSION@' \
-- -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
-+ -DSYMBOL_PREFIX='' -DPNG_NO_USE_READ_MACROS \
- -DPNG_BUILDING_SYMBOL_TABLE $(am__append_5)
-
- # EXT_LIST is a list of the possibly library directory extensions, this exists
---
-1.7.9.5
-
diff -Nu ./package/libpng-old/libpng.hash ./package/libpng/libpng.hash
--- ./package/libpng-old/libpng.hash 2016-05-31 14:52:36.000000000 -0700
+++ ./package/libpng/libpng.hash 2021-03-03 00:00:17.556346157 -0800
@@ -1,3 +1,3 @@
-# From http://sourceforge.net/projects/libpng/files/libpng16/1.6.21/
-md5 3bacb4728f6694a64ad9052769d6a4ce libpng-1.6.21.tar.xz
-sha1 978b2f4e007eda56032001493ddb97d20f0ab291 libpng-1.6.21.tar.xz
+# From http://sourceforge.net/projects/libpng/files/libpng12/older-releases/1.2.56/
+md5 868562bd1c58b76ed8703f135a2e439a libpng-1.2.56.tar.xz
+sha1 29027aeca860048936ebbaec6cdae1148fe05698 libpng-1.2.56.tar.xz
diff -Nu ./package/libpng-old/libpng.mk ./package/libpng/libpng.mk
--- ./package/libpng-old/libpng.mk 2021-03-02 23:25:16.434196378 -0800
+++ ./package/libpng/libpng.mk 2021-03-02 23:23:50.473816232 -0800
@@ -4,10 +4,10 @@
#
################################################################################
-LIBPNG_VERSION = 1.6.21
-LIBPNG_SERIES = 16
+LIBPNG_VERSION = 1.2.56
+LIBPNG_SERIES = 12
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
-LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION)
+LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/older-releases/$(LIBPNG_VERSION)
LIBPNG_LICENSE = libpng license
LIBPNG_LICENSE_FILES = LICENSE
LIBPNG_INSTALL_STAGING = YES
|