diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch')
-rw-r--r-- | media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch b/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch new file mode 100644 index 00000000000..361059e0e0a --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch @@ -0,0 +1,76 @@ +diff -u -r a/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp b/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp +--- a/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp 2014-12-16 09:54:40.000000000 +0200 ++++ b/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp 2014-12-24 20:46:51.471208340 +0200 +@@ -181,8 +181,8 @@ + cinfo.comp_info[2].v_samp_factor = 1; + + // bug #154273: use 99 compression level instead 100 to reduce output JPEG file size. +- jpeg_set_quality(&cinfo, 99, true); +- jpeg_start_compress(&cinfo, true); ++ jpeg_set_quality(&cinfo, 99, boolean (true)); ++ jpeg_start_compress(&cinfo, boolean(true)); + + // Write ICC color profile. + if (!d->iccProfile.isEmpty()) +diff -u -r a/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp b/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp +--- a/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp 2014-12-16 09:54:40.000000000 +0200 ++++ b/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp 2014-12-24 20:53:06.757881558 +0200 +@@ -197,10 +197,10 @@ + JCOPY_OPTION copyoption = JCOPYOPT_ALL; + jpeg_transform_info transformoption; + +- transformoption.perfect = false; +- transformoption.force_grayscale = false; +- transformoption.trim = false; +- transformoption.crop = false; ++ transformoption.perfect = boolean(false); ++ transformoption.force_grayscale = boolean(false); ++ transformoption.trim = boolean(false); ++ transformoption.crop = boolean(false); + + struct jpeg_decompress_struct srcinfo; + struct jpeg_compress_struct dstinfo; +@@ -277,7 +277,7 @@ + kp_jpeg_qiodevice_src(&srcinfo, &input_file); + jcopy_markers_setup(&srcinfo, copyoption); + +- (void) jpeg_read_header(&srcinfo, true); ++ (void) jpeg_read_header(&srcinfo, boolean(true)); + + // First rotate - execute even if rotate is JXFORM_NONE to apply new EXIF settings + transformoption.transform = rotate; +@@ -296,10 +296,10 @@ + kp_jpeg_qiodevice_dest(&dstinfo, &output_file); + + // Do not write a JFIF header if previously the image did not contain it +- dstinfo.write_JFIF_header = false; ++ dstinfo.write_JFIF_header = boolean(false); + + // Start compressor (note no image data is actually written here) +- dstinfo.optimize_coding = true; ++ dstinfo.optimize_coding = boolean(true); + jpeg_write_coefficients(&dstinfo, dst_coef_arrays); + + // Copy to the output file any extra markers that we want to preserve +@@ -349,7 +349,7 @@ + kp_jpeg_qiodevice_src(&srcinfo, &input_file); + jcopy_markers_setup(&srcinfo, copyoption); + +- (void) jpeg_read_header(&srcinfo, true); ++ (void) jpeg_read_header(&srcinfo, boolean(true)); + + transformoption.transform=flip; + jtransform_request_workspace(&srcinfo, &transformoption); +@@ -366,10 +366,10 @@ + kp_jpeg_qiodevice_dest(&dstinfo, &output_file); + + // Do not write a JFIF header if previously the image did not contain it +- dstinfo.write_JFIF_header = false; ++ dstinfo.write_JFIF_header = boolean(false); + + // Start compressor (note no image data is actually written here) +- dstinfo.optimize_coding = true; ++ dstinfo.optimize_coding = boolean(true); + jpeg_write_coefficients(&dstinfo, dst_coef_arrays); + + // Copy to the output file any extra markers that we want to preserve |