Permalink
Browse files

make xournal-convert compatible with hackage versions.

  • Loading branch information...
1 parent b420f15 commit 132fc96cf61bda94a178890087141740906843c4 @wavewave committed Dec 27, 2011
Showing with 20 additions and 13 deletions.
  1. +3 −3 lib/Application/XournalConvert/Job.hs
  2. +17 −10 xournal-convert.cabal
@@ -3,12 +3,12 @@
module Application.XournalConvert.Job where
import Data.List
-import Graphics.Xournal.Render
+import Graphics.Xournal.Render.Simple
import Graphics.Rendering.Cairo
-import Text.Xournal.Type
+import Data.Xournal.Simple
import Text.Xournal.Parse
-import Text.Xournal.Predefined
+import Data.Xournal.Predefined
import Text.StringTemplate
import Text.StringTemplate.Helpers
View
@@ -1,7 +1,7 @@
Name: xournal-convert
-Version: 0.0
-Synopsis:
-Description:
+Version: 0.0.999
+Synopsis: convert utility for xoj files
+Description: convert xoj files into various formats
License: BSD3
License-file: LICENSE
Author: Ian-Woo Kim
@@ -18,19 +18,26 @@ Executable xournal-convert
ghc-options: -Wall -O2 -threaded -funbox-strict-fields -fno-warn-unused-do-bind
ghc-prof-options: -caf-all -auto-all
Build-Depends:
- base>4, mtl>2, directory, filepath,
- cmdargs, xournal-convert
+ base == 4.*,
+ cmdargs >= 0.7 && < 0.10,
+ xournal-convert
Library
hs-source-dirs: lib
ghc-options: -Wall -O2 -threaded -funbox-strict-fields -fno-warn-unused-do-bind
ghc-prof-options: -caf-all -auto-all
Build-Depends:
- base>4, mtl>2, directory, filepath,
- cmdargs,
- HStringTemplateHelpersIW, HStringTemplate,
- xournal-parser, xournal-render,
- cairo>=0.12.0
+ base == 4.*,
+ mtl == 2.*,
+ directory == 1.1.*,
+ filepath == 1.2.*,
+ cmdargs >= 0.7 && < 0.10,
+ HStringTemplateHelpersIW,
+ HStringTemplate,
+ xournal-types == 0.2.*,
+ xournal-parser == 0.3.*,
+ xournal-render == 0.4.*,
+ cairo == 0.12.*
Exposed-Modules:
Application.XournalConvert.ProgType
Application.XournalConvert.Job

0 comments on commit 132fc96

Please sign in to comment.