Bump to 2.1.4 07/285107/3 accepted/tizen_base_dev accepted/tizen/base/20221212.020510 accepted/tizen/base/dev/20230602.080901
authorjiyong.min <jiyong.min@samsung.com>
Tue, 6 Dec 2022 08:13:46 +0000 (17:13 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Thu, 8 Dec 2022 03:06:56 +0000 (12:06 +0900)
Change-Id: I5e4275e9127b3eaaa8b08ccaac9ace3c9dd3499d

1  2 
CMakeLists.txt
jconfig.h.in
jdcoefct.c
md5/md5hl.c
packaging/libjpeg-turbo.spec
simd/arm/aarch32/jsimd.c
tjbench.c
tjunittest.c
win/jconfig.h.in

diff --cc CMakeLists.txt
Simple merge
diff --cc jconfig.h.in
Simple merge
diff --cc jdcoefct.c
Simple merge
diff --cc md5/md5hl.c
Simple merge
index 16b8a99,0000000..ca8307f
mode 100644,000000..100644
--- /dev/null
@@@ -1,109 -1,0 +1,109 @@@
- Version:        2.1.2
- Release:        1
 +%define libver  8.2.2
 +
 +Name:           libjpeg-turbo
++Version:        2.1.4
++Release:        0
 +Summary:        A MMX/SSE2 accelerated library for manipulating JPEG image files
 +License:        BSD License (BSD 3-clause, Historic Permission Notice and Disclaimer, libjpeg License)
 +Group:          Graphics & UI Framework/Libraries
 +Url:            http://sourceforge.net/projects/libjpeg-turbo
 +Source0:        %{name}-%{version}.tar.gz
 +Source1001:   libjpeg-turbo.manifest
 +BuildRequires:  cmake
 +BuildRequires:  gcc-c++
 +BuildRequires:  libtool
 +BuildRequires:  yasm
 +
 +%description
 +The libjpeg-turbo package contains a library of functions for manipulating
 +JPEG images.
 +
 +%package -n libjpeg
 +
 +Version:        %{libver}
 +Release:        0
 +Summary:        The MMX/SSE accelerated JPEG compression/decompression library
 +Group:          Graphics & UI Framework/Libraries
 +
 +Provides:       libjpeg = %{version}
 +Provides:       libjpeg8
 +Obsoletes:      libjpeg < %{version}
 +
 +%description -n libjpeg
 +This library contains MMX/SSE accelerated functions for manipulating
 +JPEG images.
 +
 +%package -n libjpeg-devel
 +Version:        %{libver}
 +Release:        0
 +Summary:        Development Tools for applications which will use the Libjpeg Library
 +Group:          Graphics & UI Framework/Development
 +
 +Provides:       libjpeg-turbo-devel
 +Requires:       libjpeg = %{version}
 +Provides:       libjpeg-devel = %{version}
 +Obsoletes:      libjpeg-devel < %{version}
 +
 +%description -n libjpeg-devel
 +The libjpeg-devel package includes the header files and libraries
 +necessary for compiling and linking programs which will manipulate JPEG
 +files using the libjpeg library.
 +
 +%prep
 +%setup -q
 +cp %{SOURCE1001} .
 +
 +%build
 +%if "%{tizen_profile_name}" == "tv"
 +echo "tizen_product_tv"
 +export CFLAGS="$CFLAGS -D_TIZEN_PRODUCT_TV -D_USE_PRODUCT_TV"
 +%endif
 +%cmake . -DCMAKE_BUILD_TYPE=Release -DENABLE_SHARED=TRUE -DENABLE_STATIC=FALSE \
 +%if "%{tizen_profile_name}" == "tv"
 +       -DENABLE_COLOR_PICKER=TRUE \
 +%endif
 +      -DWITH_JPEG8=TRUE
 +%__make %{?jobs:-j%jobs}
 +
 +%install
 +rm -rf %{buildroot}
 +
 +%make_install
 +
 +# Remove unwanted files
 +rm %{buildroot}%{_bindir}/*
 +
 +# Remove docs, we'll select docs manually
 +rm -rf %{buildroot}%{_datadir}/doc/
 +
 +%post -n libjpeg -p /sbin/ldconfig
 +
 +%postun -n libjpeg -p /sbin/ldconfig
 +
 +%docs_package
 +
 +%files
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%license README.ijg
 +%license COPYING
 +
 +%files -n libjpeg
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_libdir}/libturbojpeg.so.*
 +%{_libdir}/libjpeg.so.*
 +%license README.ijg
 +%license COPYING
 +
 +%files -n libjpeg-devel
 +%defattr(-,root,root)
 +%{_includedir}/*.h
 +%{_libdir}/pkgconfig/libturbojpeg.pc
 +%{_libdir}/pkgconfig/libjpeg.pc
 +%{_libdir}/libturbojpeg.so
 +%{_libdir}/libjpeg.so
 +%{_libdir}/cmake/%{name}/*.cmake
 +%doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.txt
 +
 +%changelog
  #include "../../../jsimddct.h"
  #include "../../jsimd.h"
  
- #include <stdio.h>
- #include <string.h>
  #include <ctype.h>
  
 +#if _USE_PRODUCT_TV
 +//Changes for JPEG GAMMA enhancement in thumbnail
 +#include <unistd.h>
 +#endif
 +
  static unsigned int simd_support = ~0;
  static unsigned int simd_huffman = 1;
  
diff --cc tjbench.c
Simple merge
diff --cc tjunittest.c
Simple merge
Simple merge