Hello community, here is the log from the commit of package ghc-JuicyPixels for openSUSE:Factory checked in at 2016-07-05 09:52:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-JuicyPixels (Old) and /work/SRC/openSUSE:Factory/.ghc-JuicyPixels.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-JuicyPixels" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-JuicyPixels/ghc-JuicyPixels.changes 2016-06-07 23:48:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-JuicyPixels.new/ghc-JuicyPixels.changes 2016-07-05 09:52:52.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 30 12:02:57 UTC 2016 - mimi.vx@gmail.com + +- update to 3.2.7.2 +* Fix: no more libjpeg warning when decoding Juicy.Pixels encoded images. + +------------------------------------------------------------------- Old: ---- JuicyPixels-3.2.7.1.tar.gz New: ---- JuicyPixels-3.2.7.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-JuicyPixels.spec ++++++ --- /var/tmp/diff_new_pack.z5tVsj/_old 2016-07-05 09:52:53.000000000 +0200 +++ /var/tmp/diff_new_pack.z5tVsj/_new 2016-07-05 09:52:53.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name JuicyPixels # no useful debuginfo for Haskell packages without C sources Name: ghc-JuicyPixels -Version: 3.2.7.1 +Version: 3.2.7.2 Release: 0 Summary: Picture loading/serialization License: BSD-3-Clause ++++++ JuicyPixels-3.2.7.1.tar.gz -> JuicyPixels-3.2.7.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuicyPixels-3.2.7.1/JuicyPixels.cabal new/JuicyPixels-3.2.7.2/JuicyPixels.cabal --- old/JuicyPixels-3.2.7.1/JuicyPixels.cabal 2016-05-30 12:34:56.000000000 +0200 +++ new/JuicyPixels-3.2.7.2/JuicyPixels.cabal 2016-06-29 22:23:57.000000000 +0200 @@ -1,5 +1,5 @@ Name: JuicyPixels -Version: 3.2.7.1 +Version: 3.2.7.2 Synopsis: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance) Description: <data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADABAMAAACg8nE0AAAAElBMVE...> @@ -28,7 +28,7 @@ Source-Repository this Type: git Location: git://github.com/Twinside/Juicy.Pixels.git - Tag: v3.2.7.1 + Tag: v3.2.7.2 Flag Mmap Description: Enable the file loading via mmap (memory map) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuicyPixels-3.2.7.1/changelog new/JuicyPixels-3.2.7.2/changelog --- old/JuicyPixels-3.2.7.1/changelog 2016-05-30 12:34:56.000000000 +0200 +++ new/JuicyPixels-3.2.7.2/changelog 2016-06-29 22:23:57.000000000 +0200 @@ -1,6 +1,10 @@ Change log ========== +v3.2.7.2 June 2016 +------------------ + * Fix: no more libjpeg warning when decoding Juicy.Pixels encoded images. + v3.2.7.1 May 2016 ----------------- * Fix: some wrongly infinitely looping JPEG decoding diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuicyPixels-3.2.7.1/src/Codec/Picture/Jpg/Types.hs new/JuicyPixels-3.2.7.2/src/Codec/Picture/Jpg/Types.hs --- old/JuicyPixels-3.2.7.1/src/Codec/Picture/Jpg/Types.hs 2016-01-25 23:32:48.000000000 +0100 +++ new/JuicyPixels-3.2.7.2/src/Codec/Picture/Jpg/Types.hs 2016-06-29 22:23:57.000000000 +0200 @@ -444,8 +444,16 @@ put JpgHuffmanTableMarker >> put (TableList $ map fst tables) putFrame (JpgIntervalRestart size) = put JpgRestartInterval >> put (RestartInterval size) -putFrame (JpgScanBlob hdr blob) = - put JpgStartOfScan >> put hdr >> putLazyByteString blob +putFrame (JpgScanBlob hdr blob) = do + put JpgStartOfScan + put hdr + putLazyByteString blob + putWord8 0 -- AKA the libjpeg pleaser, for some unknown reason + -- libjpeg raise a warning "invalid end of data segment". + -- so dumbly pad, seems to make the warning go away (and + -- I don't want to invest that much time looking for that). + -- + -- Ok this is a crummy fix.... putFrame (JpgScans kind hdr) = put kind >> put hdr