From 35cb814554c7411add0da409ac6a3b01c0aea5f5 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 6 Jun 2011 19:03:50 +0000 Subject: [PATCH] chart: build with latest libs --- hledger-chart/Hledger/Chart/Main.hs | 9 +++++++-- hledger-chart/hledger-chart.cabal | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/hledger-chart/Hledger/Chart/Main.hs b/hledger-chart/Hledger/Chart/Main.hs index 33fad1789..7729193d0 100644 --- a/hledger-chart/Hledger/Chart/Main.hs +++ b/hledger-chart/Hledger/Chart/Main.hs @@ -7,21 +7,26 @@ Released under GPL version 3 or later. module Hledger.Chart.Main where -import Graphics.Rendering.Chart +import Control.Monad import Data.Colour import Data.Colour.Names import Data.Colour.RGBSpace import Data.Colour.RGBSpace.HSL (hsl) import Data.Colour.SRGB.Linear (rgb) import Data.List +import Data.Maybe +import Data.Ord +import Data.Tree +import Graphics.Rendering.Chart import Safe (readDef) import System.Console.GetOpt import System.Exit (exitFailure) import Hledger.Cli.Options import Hledger.Cli.Utils (withJournalDo) -import Hledger.Cli.Version (progversionstr, binaryfilename) +import Hledger.Cli.Version import Hledger.Data +import Hledger.Utils import Prelude hiding (putStr, putStrLn) import Hledger.Utils.UTF8 (putStr, putStrLn) diff --git a/hledger-chart/hledger-chart.cabal b/hledger-chart/hledger-chart.cabal index fdbe172ee..f870609fc 100644 --- a/hledger-chart/hledger-chart.cabal +++ b/hledger-chart/hledger-chart.cabal @@ -35,7 +35,7 @@ executable hledger-chart ,hledger-lib == 0.15 -- ,HUnit ,base >= 3 && < 5 - -- ,containers + ,containers -- ,csv -- ,directory -- ,filepath @@ -47,7 +47,7 @@ executable hledger-chart -- ,regexpr >= 0.5.1 ,safe >= 0.2 -- ,split == 0.1.* - -- ,time + ,time -- ,utf8-string >= 0.3.5 && < 0.4 ,Chart >= 0.11 && < 0.15 ,colour