wok-6.x rev 21121

azpainter1, ffmpegthumbnailer, htmldoc: update for jpeg 9
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 20 10:46:30 2019 +0100 (2019-03-20)
parents 51b6d5cc79ab
children 54964ce9b442
files azpainter1/receipt ffmpegthumbnailer/receipt htmldoc/receipt
line diff
     1.1 --- a/azpainter1/receipt	Tue Mar 19 21:46:06 2019 +0100
     1.2 +++ b/azpainter1/receipt	Wed Mar 20 10:46:30 2019 +0100
     1.3 @@ -18,6 +18,8 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	sed -i	-e 's|\(write_JFIF_header.*\)TRUE|\1boolean(TRUE)|' \
     1.8 +		-e 's/\(jpeg_.*\)TRUE/\1boolean(TRUE)/' azxclass/src/AXJPEG.cpp
     1.9  	sed -i "s|/usr/local|$DESTDIR/usr|;s|gtk|echo &|;s|\$(MACRO) ||" Makefile
    1.10  	make &&
    1.11  	make DESTDIR=$DESTDIR install
     2.1 --- a/ffmpegthumbnailer/receipt	Tue Mar 19 21:46:06 2019 +0100
     2.2 +++ b/ffmpegthumbnailer/receipt	Wed Mar 20 10:46:30 2019 +0100
     2.3 @@ -16,6 +16,8 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 +	sed -i 's|return true|return boolean(true)|' \
     2.8 +		libffmpegthumbnailer/jpegwriter.cpp
     2.9  	./configure \
    2.10  		--enable-png \
    2.11  		--enable-jpeg \
     3.1 --- a/htmldoc/receipt	Tue Mar 19 21:46:06 2019 +0100
     3.2 +++ b/htmldoc/receipt	Wed Mar 20 10:46:30 2019 +0100
     3.3 @@ -16,7 +16,8 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 -	cd $src
     3.8 +	sed -i	-e 's|\(jpeg_read_header.*\)1|\1boolean(1)|' \
     3.9 +		-e 's|\(quantize.*\)0|\1boolean(0)|' htmldoc/image.cxx
    3.10  
    3.11  	# make sure not to use the libs htmldoc ships with
    3.12  	mkdir foo ; mv jpeg foo/ ; mv png foo/ ; mv zlib foo/