Hello community, here is the log from the commit of package ghc-JuicyPixels for openSUSE:Factory checked in at 2015-11-10 10:02:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-09-02 00:36:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-JuicyPixels.new/ghc-JuicyPixels.changes 2015-11-10 10:02:54.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Nov 4 08:17:52 UTC 2015 - mimi...@gmail.com + +- update to 3.2.6.2 +* Fix: Using minimal GIF version if outputing a single image. + +------------------------------------------------------------------- Old: ---- JuicyPixels-3.2.6.1.tar.gz New: ---- JuicyPixels-3.2.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-JuicyPixels.spec ++++++ --- /var/tmp/diff_new_pack.tDa68b/_old 2015-11-10 10:02:54.000000000 +0100 +++ /var/tmp/diff_new_pack.tDa68b/_new 2015-11-10 10:02:54.000000000 +0100 @@ -20,7 +20,7 @@ # no useful debuginfo for Haskell packages without C sources %global debug_package %{nil} Name: ghc-JuicyPixels -Version: 3.2.6.1 +Version: 3.2.6.2 Release: 0 Summary: Picture loading/serialization License: BSD-3-Clause ++++++ JuicyPixels-3.2.6.1.tar.gz -> JuicyPixels-3.2.6.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuicyPixels-3.2.6.1/JuicyPixels.cabal new/JuicyPixels-3.2.6.2/JuicyPixels.cabal --- old/JuicyPixels-3.2.6.1/JuicyPixels.cabal 2015-08-23 16:38:47.000000000 +0200 +++ new/JuicyPixels-3.2.6.2/JuicyPixels.cabal 2015-10-31 10:40:30.000000000 +0100 @@ -1,5 +1,5 @@ Name: JuicyPixels -Version: 3.2.6.1 +Version: 3.2.6.2 Synopsis: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance) Description: <<data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADABAMAAACg8nE0AAAAElBMVEUAAABJqDSTWEL/qyb///8AAABH/1GTAAAAAXRSTlMAQObYZgAAAN5JREFUeF7s1sEJgFAQxFBbsAV72v5bEVYWPwT/XDxmCsi7zvHXavYREBDI3XP2GgICqBBYuwIC+/rVayPUAyAg0HvIXBcQoDFDGnUBgWQQ2Bx3AYFaRoBpAQHWb3bt2ARgGAiCYFFuwf3X5HA/McgGJWI2FdykCv4aBYzmKwDwvl6NVmUAAK2vlwEALK7fo88GANB6HQsAAAAAAAAA7P94AQCzswEAAAAAAAAAAAAAAAAAAICzh4UAO4zWAYBfRutHA4Bn5C69JhowAMGoBaMWDG0wCkbBKBgFo2AUAACPmegUST/IJAAAAABJRU5ErkJggg==>> @@ -28,7 +28,7 @@ Source-Repository this Type: git Location: git://github.com/Twinside/Juicy.Pixels.git - Tag: v3.2.6.1 + Tag: v3.2.6.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.6.1/changelog new/JuicyPixels-3.2.6.2/changelog --- old/JuicyPixels-3.2.6.1/changelog 2015-08-23 16:38:47.000000000 +0200 +++ new/JuicyPixels-3.2.6.2/changelog 2015-10-31 10:40:30.000000000 +0100 @@ -1,6 +1,10 @@ Change log ========== +v3.2.6.2 November 2015 +---------------------- + * Fix: Using minimal GIF version if outputing a single image. + v3.2.6.1 AUgust 2015 -------------------- * Fix: handling of negative height & width in bitmap format. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuicyPixels-3.2.6.1/src/Codec/Picture/Gif.hs new/JuicyPixels-3.2.6.2/src/Codec/Picture/Gif.hs --- old/JuicyPixels-3.2.6.1/src/Codec/Picture/Gif.hs 2015-08-23 16:38:47.000000000 +0200 +++ new/JuicyPixels-3.2.6.2/src/Codec/Picture/Gif.hs 2015-10-31 10:40:29.000000000 +0100 @@ -753,9 +753,14 @@ | any areIndexAbsentFromPalette imageList = Left "Image contains indexes absent from the palette" encodeGifImages looping imageList@((firstPalette, _,firstImage):_) = Right $ encode allFile where + version = case imageList of + [] -> GIF87a + [_] -> GIF87a + _:_:_ -> GIF89a + allFile = GifFile { gifHeader = GifHeader - { gifVersion = GIF89a + { gifVersion = version , gifScreenDescriptor = logicalScreen , gifGlobalMap = firstPalette } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuicyPixels-3.2.6.1/src/Codec/Picture/Types.hs new/JuicyPixels-3.2.6.2/src/Codec/Picture/Types.hs --- old/JuicyPixels-3.2.6.1/src/Codec/Picture/Types.hs 2015-08-23 16:38:47.000000000 +0200 +++ new/JuicyPixels-3.2.6.2/src/Codec/Picture/Types.hs 2015-10-31 10:40:29.000000000 +0100 @@ -742,7 +742,7 @@ -- -- > imageCreator :: String -> IO () -- > imageCreator path = writePng path $ generateImage pixelRenderer 250 300 --- > where pixelRenderer x y = PixelRGB8 x y 128 +-- > where pixelRenderer x y = PixelRGB8 (fromIntegral x) (fromIntegral y) 128 -- generateImage :: forall a. (Pixel a) => (Int -> Int -> a) -- ^ Generating function, with `x` and `y` params.