Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make xournal-convert compatible with hackage versions.
  • Loading branch information
wavewave committed Dec 27, 2011
1 parent b420f15 commit 132fc96
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
6 changes: 3 additions & 3 deletions lib/Application/XournalConvert/Job.hs
Expand Up @@ -3,12 +3,12 @@
module Application.XournalConvert.Job where module Application.XournalConvert.Job where


import Data.List import Data.List
import Graphics.Xournal.Render import Graphics.Xournal.Render.Simple
import Graphics.Rendering.Cairo import Graphics.Rendering.Cairo


import Text.Xournal.Type import Data.Xournal.Simple
import Text.Xournal.Parse import Text.Xournal.Parse
import Text.Xournal.Predefined import Data.Xournal.Predefined


import Text.StringTemplate import Text.StringTemplate
import Text.StringTemplate.Helpers import Text.StringTemplate.Helpers
Expand Down
27 changes: 17 additions & 10 deletions xournal-convert.cabal
@@ -1,7 +1,7 @@
Name: xournal-convert Name: xournal-convert
Version: 0.0 Version: 0.0.999
Synopsis: Synopsis: convert utility for xoj files
Description: Description: convert xoj files into various formats
License: BSD3 License: BSD3
License-file: LICENSE License-file: LICENSE
Author: Ian-Woo Kim Author: Ian-Woo Kim
Expand All @@ -18,19 +18,26 @@ Executable xournal-convert
ghc-options: -Wall -O2 -threaded -funbox-strict-fields -fno-warn-unused-do-bind ghc-options: -Wall -O2 -threaded -funbox-strict-fields -fno-warn-unused-do-bind
ghc-prof-options: -caf-all -auto-all ghc-prof-options: -caf-all -auto-all
Build-Depends: Build-Depends:
base>4, mtl>2, directory, filepath, base == 4.*,
cmdargs, xournal-convert cmdargs >= 0.7 && < 0.10,
xournal-convert


Library Library
hs-source-dirs: lib hs-source-dirs: lib
ghc-options: -Wall -O2 -threaded -funbox-strict-fields -fno-warn-unused-do-bind ghc-options: -Wall -O2 -threaded -funbox-strict-fields -fno-warn-unused-do-bind
ghc-prof-options: -caf-all -auto-all ghc-prof-options: -caf-all -auto-all
Build-Depends: Build-Depends:
base>4, mtl>2, directory, filepath, base == 4.*,
cmdargs, mtl == 2.*,
HStringTemplateHelpersIW, HStringTemplate, directory == 1.1.*,
xournal-parser, xournal-render, filepath == 1.2.*,
cairo>=0.12.0 cmdargs >= 0.7 && < 0.10,
HStringTemplateHelpersIW,
HStringTemplate,
xournal-types == 0.2.*,
xournal-parser == 0.3.*,
xournal-render == 0.4.*,
cairo == 0.12.*
Exposed-Modules: Exposed-Modules:
Application.XournalConvert.ProgType Application.XournalConvert.ProgType
Application.XournalConvert.Job Application.XournalConvert.Job
Expand Down

0 comments on commit 132fc96

Please sign in to comment.