rasterific-svg 0.1 → 0.1.0.1
raw patch · 3 files changed
+11/−36 lines, 3 filesdep −criteriondep −deepseqdep ~FontyFruitydep ~JuicyPixelsdep ~RasterificPVP ok
version bump matches the API change (PVP)
Dependencies removed: criterion, deepseq
Dependency ranges changed: FontyFruity, JuicyPixels, Rasterific, base, svg-tree
API changes (from Hackage documentation)
Files
- changelog +8/−0
- exec-src/benching.hs +0/−18
- rasterific-svg.cabal +3/−18
+ changelog view
@@ -0,0 +1,8 @@+-*-change-log-*- + +v0.1.0.1 February 2015 + * Fix: Removing bench from test suite. + +v0.1 February 2015 + * Initial release +
− exec-src/benching.hs
@@ -1,18 +0,0 @@-import Criterion -import Criterion.Main -import Control.Applicative( (<$>) ) -import Graphics.Text.TrueType( emptyFontCache ) -import Graphics.Svg -import Graphics.Rasterific.Svg - -main :: IO () -main = do - f <- loadSvgFile "test/tiger.svg" - {-cache <- loadCreateFontCache-} - case f of - Nothing -> putStrLn "Error while loading SVG" - Just doc -> do - let loader = fst <$> renderSvgDocument emptyFontCache Nothing 96 doc - defaultMainWith defaultConfig - [ bench "Tiger render" $ whnfIO loader ] -
rasterific-svg.cabal view
@@ -1,7 +1,7 @@ -- Initial svg.cabal generated by cabal init. For further documentation, -- see http://haskell.org/cabal/users-guide/ name: rasterific-svg -version: 0.1 +version: 0.1.0.1 synopsis: SVG renderer based on Rasterific. description: SVG renderer that will let you render svg-tree parsed SVG file to a JuicyPixel image or Rasterific Drawing. @@ -10,6 +10,7 @@ author: Vincent Berthoux maintainer: Vincent Berthoux -- copyright: +extra-source-files: changelog category: Graphics, Svg build-type: Simple cabal-version: >=1.10 @@ -21,7 +22,7 @@ Source-Repository this Type: git Location: git://github.com/Twinside/rasterific-svg.git - Tag: v0.1 + Tag: v0.1.0.1 library hs-source-dirs: src @@ -90,20 +91,4 @@ , bytestring , svg-tree , blaze-html - -Test-Suite bench - type: exitcode-stdio-1.0 - hs-source-dirs: exec-src - Main-Is: benching.hs - default-language: Haskell2010 - Ghc-options: -O3 -Wall - ghc-prof-options: -rtsopts -Wall -prof -auto-all - Build-Depends: base >= 4.6 - , rasterific-svg - , Rasterific - , JuicyPixels - , FontyFruity - , criterion >= 1.0 - , deepseq - , svg-tree