Bump to 1.6.39 16/285216/2 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.095108 accepted/tizen/unified/20221216.024038 tizen_8.0_m2_release
authorjiyong.min <jiyong.min@samsung.com>
Wed, 7 Dec 2022 22:41:13 +0000 (07:41 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Thu, 8 Dec 2022 04:04:11 +0000 (13:04 +0900)
Change-Id: I97907bc7bf2cde599b03b28eefa7fe5ca28030d0

14 files changed:
1  2 
arm/filter_neon.S
packaging/libpng.spec
png.c
png.h
pngget.c
pngpriv.h
pngread.c
pngrutil.c
pngset.c
pngstruct.h
pngtest.c
pngwrite.c
pngwutil.c
scripts/pnglibconf.dfa

@@@ -14,6 -14,6 +14,7 @@@
   * definitions (or not) of PNG_ARM_NEON_OPT and PNG_ARM_NEON_IMPLEMENTATION.
   */
  #define PNG_VERSION_INFO_ONLY
++#define PNG_ARM_NEON_IMPLEMENTATION 1 // apply patch for tizen
  #include "../pngpriv.h"
  
  #if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
index 10b6ca9,0000000..df06560
mode 100644,000000..100644
--- /dev/null
@@@ -1,73 -1,0 +1,73 @@@
- Version:        1.6.37
- Release:        3
 +Name:           libpng
-          -DPNG_ARM_NEON=check \
++Version:        1.6.39
++Release:        0
 +License:        Libpng
 +Summary:        A library of functions for manipulating PNG image format files
 +Url:            http://www.libpng.org/pub/png/libpng.html
 +Group:          System/Libraries
 +Source:         %{name}-%{version}.tar.bz2
 +Source1001:     libpng.manifest
 +
 +BuildRequires:  cmake
 +BuildRequires:  zlib-devel
 +
 +%description
 +The libpng package contains a library of functions for creating and
 +manipulating PNG (Portable Network Graphics) image format files.  PNG
 +is a bit-mapped graphics format similar to the GIF format.  PNG was
 +created to replace the GIF format, since GIF uses a patented data
 +compression algorithm.
 +
 +Libpng should be installed if you need to manipulate PNG format image
 +files.
 +
 +%package devel
 +Summary:        Development tools for programs to manipulate PNG image format files
 +Group:          Development/Libraries
 +Requires:       %{name} = %{version}-%{release}
 +Requires:       zlib-devel
 +
 +%description devel
 +The libpng-devel package contains header files and documentation necessary
 +for developing programs using the PNG (Portable Network Graphics) library.
 +
 +%prep
 +%setup -q
 +cp %{SOURCE1001} .
 +
 +%build
 +%ifarch %{arm}
 +CFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
 +%endif
 +
 +%cmake . -DPNG_STATIC=OFF \
 +         -DSKIP_INSTALL_PROGRAMS=ON \
 +         -DSKIP_INSTALL_EXPORT=ON \
 +%ifarch %{arm}
++         -DPNG_ARM_NEON=on \
 +%else
 +         -DPNG_ARM_NEON=off \
 +%endif
 +         %{?ubsan: -DPNG_ARM_NEON=off}
 +
 +make %{?jobs:-j%jobs}
 +
 +%install
 +%make_install
 +rm -rf %{buildroot}/usr/share/man
 +
 +%post -p /sbin/ldconfig
 +%postun -p /sbin/ldconfig
 +
 +%files
 +%manifest %{name}.manifest
 +%license LICENSE
 +%{_libdir}/libpng*.so.*
 +
 +%files devel
 +%manifest %{name}.manifest
 +%{_bindir}/*
 +%{_includedir}/*
 +%{_libdir}/libpng*.so
 +%{_libdir}/pkgconfig/*
 +
diff --cc png.c
index 757c755,4f3e8bb..4f3e8bb
mode 100755,100644..100755
--- 1/png.c
--- 2/png.c
+++ b/png.c
diff --cc png.h
Simple merge
diff --cc pngget.c
Simple merge
diff --cc pngpriv.h
Simple merge
diff --cc pngread.c
Simple merge
diff --cc pngrutil.c
Simple merge
diff --cc pngset.c
Simple merge
diff --cc pngstruct.h
Simple merge
diff --cc pngtest.c
Simple merge
diff --cc pngwrite.c
Simple merge
diff --cc pngwutil.c
Simple merge
Simple merge