gitit.cabal 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. name: gitit
  2. version: 0.12.3.1
  3. Cabal-version: >= 1.8
  4. build-type: Simple
  5. synopsis: Wiki using happstack, git or darcs, and pandoc.
  6. description: Gitit is a wiki backed by a git, darcs, or mercurial
  7. filestore. Pages and uploaded files can be modified either
  8. directly via the VCS's command-line tools or through
  9. the wiki's web interface. Pandoc is used for markup
  10. processing, so pages may be written in
  11. (extended) markdown, reStructuredText, LaTeX, HTML,
  12. or literate Haskell, and exported in ten different
  13. formats, including LaTeX, ConTeXt, DocBook, RTF,
  14. OpenOffice ODT, and MediaWiki markup.
  15. .
  16. Notable features include
  17. .
  18. * plugins: dynamically loaded page
  19. transformations written in Haskell (see
  20. "Network.Gitit.Interface")
  21. .
  22. * conversion of TeX math to MathML for display in
  23. web browsers
  24. .
  25. * syntax highlighting of source code
  26. files and code snippets
  27. .
  28. * Atom feeds (site-wide and per-page)
  29. .
  30. * a library, "Network.Gitit", that makes it simple
  31. to include a gitit wiki in any happstack application
  32. .
  33. You can see a running demo at <http://gitit.net>.
  34. .
  35. For usage information: @gitit --help@
  36. category: Network
  37. license: GPL
  38. license-file: LICENSE
  39. author: John MacFarlane
  40. maintainer: jgm@berkeley.edu
  41. bug-reports: http://github.com/jgm/gitit/issues
  42. homepage: http://gitit.net
  43. stability: experimental
  44. extra-source-files: data/static/js/jquery-1.2.6.js
  45. data/static/js/jquery.hotkeys-0.7.9.js
  46. data/static/js/jquery-ui.core-1.6rc2.js
  47. data/static/js/jquery-ui.droppable-1.6rc2.js
  48. data/static/js/jquery-ui.draggable-1.6rc2.js
  49. data/static/js/jquery-ui.tabs-1.6rc2.js
  50. data-files: data/static/css/screen.css, data/static/css/print.css,
  51. data/static/css/ie.css, data/static/css/highlighting.css,
  52. data/static/css/reset-fonts-grids.css,
  53. data/static/css/custom.css,
  54. data/static/img/logo.png, data/static/img/icons/feed.png,
  55. data/static/img/icons/folder.png, data/static/img/icons/page.png,
  56. data/static/js/dragdiff.js, data/static/js/jquery-1.2.6.min.js,
  57. data/static/js/uploadForm.js, data/static/js/jquery-ui-combined-1.6rc2.min.js,
  58. data/static/js/jquery.hotkeys-0.7.9.min.js,
  59. data/static/js/preview.js, data/static/js/search.js,
  60. data/static/js/MathMLinHTML.js, data/static/js/footnotes.js,
  61. data/static/robots.txt,
  62. data/s5/default/blank.gif,
  63. data/s5/default/bodybg.gif,
  64. data/s5/default/framing.css,
  65. data/s5/default/iepngfix.htc,
  66. data/s5/default/opera.css,
  67. data/s5/default/outline.css,
  68. data/s5/default/pretty.css,
  69. data/s5/default/print.css,
  70. data/s5/default/s5-core.css,
  71. data/s5/default/slides.css,
  72. data/s5/default/slides.js,
  73. data/s5/default/slides.min.js,
  74. data/post-update, data/FrontPage.page, data/Help.page,
  75. data/markup.Markdown, data/markup.RST,
  76. data/markup.Textile, data/markup.Org, data/markup.DocBook,
  77. data/markup.HTML, data/markup.LaTeX,
  78. data/default.conf,
  79. data/templates/page.st, data/templates/content.st,
  80. data/templates/userbox.st, data/templates/footer.st,
  81. data/templates/logo.st, data/templates/markuphelp.st,
  82. data/templates/pagetools.st, data/templates/sitenav.st,
  83. data/templates/messages.st, data/templates/listitem.st,
  84. data/templates/expire.st, data/templates/getuser.st,
  85. data/markupHelp/Markdown, data/markupHelp/Markdown+LHS,
  86. data/markupHelp/RST, data/markupHelp/RST+LHS,
  87. data/markupHelp/LaTeX, data/markupHelp/LaTeX+LHS,
  88. data/markupHelp/HTML, data/markupHelp/Org,
  89. plugins/CapitalizeEmphasis.hs,
  90. plugins/PigLatin.hs,
  91. plugins/Dot.hs,
  92. plugins/ImgTex.hs,
  93. plugins/Interwiki.hs,
  94. plugins/Deprofanizer.hs,
  95. plugins/WebArchiver.hs,
  96. plugins/ShowUser.hs,
  97. plugins/Signature.hs,
  98. plugins/Subst.hs,
  99. CHANGES, README.markdown, YUI-LICENSE, BLUETRIP-LICENSE, TANGOICONS
  100. Source-repository head
  101. type: git
  102. location: git://github.com/jgm/gitit.git
  103. Flag network-uri
  104. Description: Get Network.URI from the network-uri package
  105. Default: True
  106. Flag plugins
  107. description: Compile in support for plugins. This will increase the size of
  108. the executable and the memory it uses, so those who will not need
  109. plugins should disable this flag.
  110. default: True
  111. Library
  112. hs-source-dirs: src
  113. exposed-modules: Network.Gitit, Network.Gitit.ContentTransformer,
  114. Network.Gitit.Types, Network.Gitit.Framework,
  115. Network.Gitit.Initialize, Network.Gitit.Config,
  116. Network.Gitit.Layout, Network.Gitit.Authentication,
  117. Network.Gitit.Authentication.Github,
  118. Network.Gitit.Util, Network.Gitit.Server
  119. Network.Gitit.Cache, Network.Gitit.State,
  120. Network.Gitit.Export,
  121. Network.Gitit.Handlers,
  122. Network.Gitit.Plugins, Network.Gitit.Rpxnow,
  123. Network.Gitit.Page, Network.Gitit.Feed,
  124. Network.Gitit.Compat.Except,
  125. Paths_gitit
  126. build-depends: base >= 4.9 && < 5,
  127. syb,
  128. filepath,
  129. safe,
  130. parsec,
  131. pretty,
  132. xhtml,
  133. containers,
  134. process,
  135. filepath,
  136. directory,
  137. mtl,
  138. old-time,
  139. pandoc >= 2.2,
  140. pandoc-types >= 1.17.4.2 && < 1.18,
  141. skylighting >= 0.7.4 && < 0.8,
  142. bytestring,
  143. text,
  144. random,
  145. utf8-string >= 0.3 && < 1.1,
  146. SHA > 1 && < 1.7,
  147. HTTP >= 4000.0 && < 4000.4,
  148. HStringTemplate >= 0.6 && < 0.9,
  149. old-locale >= 1,
  150. time >= 1.1 && < 1.10,
  151. recaptcha >= 0.1,
  152. filestore >= 0.6 && < 0.7,
  153. zlib >= 0.5 && < 0.7,
  154. url >= 2.1 && < 2.2,
  155. happstack-server >= 7.0 && < 7.6,
  156. base64-bytestring >= 0.1 && < 1.1,
  157. xml >= 1.3.5,
  158. hslogger >= 1 && < 1.3,
  159. ConfigFile >= 1 && < 1.2,
  160. feed >= 1.0 && < 1.1,
  161. xss-sanitize >= 0.3 && < 0.4,
  162. tagsoup >= 0.13 && < 0.15,
  163. blaze-html >= 0.4 && < 0.10,
  164. json >= 0.4 && < 0.10,
  165. uri-bytestring >= 0.2.3.3 && <= 0.4,
  166. split,
  167. hoauth2 >= 1.3.0 && < 1.9,
  168. xml-conduit >= 1.5 && < 1.9,
  169. http-conduit >= 2.1.6 && < 2.4,
  170. http-client-tls >= 0.2.2 && < 0.4,
  171. aeson >= 0.7 && < 1.5,
  172. uuid >= 1.3 && < 1.4
  173. if flag(network-uri)
  174. build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
  175. else
  176. build-depends: network >= 2 && < 2.6
  177. if flag(plugins)
  178. exposed-modules: Network.Gitit.Interface
  179. build-depends: ghc, ghc-paths
  180. cpp-options: -D_PLUGINS
  181. extensions: CPP
  182. ghc-options: -Wall -fno-warn-unused-do-bind
  183. ghc-prof-options: -fprof-auto-exported
  184. Executable gitit
  185. hs-source-dirs: .
  186. main-is: gitit.hs
  187. build-depends: base >=3 && < 5,
  188. gitit,
  189. mtl,
  190. hslogger,
  191. bytestring,
  192. text,
  193. utf8-string,
  194. directory
  195. other-modules: Paths_gitit
  196. if flag(network-uri)
  197. build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
  198. else
  199. build-depends: network >= 2 && < 2.6
  200. extensions: CPP
  201. ghc-options: -Wall -threaded -fno-warn-unused-do-bind
  202. ghc-prof-options: -fprof-auto-exported -rtsopts
  203. Executable expireGititCache
  204. hs-source-dirs: .
  205. main-is: expireGititCache.hs
  206. build-depends: base >= 4.9 && < 5, HTTP, url, filepath, syb
  207. if flag(network-uri)
  208. build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
  209. else
  210. build-depends: network >= 2 && < 2.6
  211. ghc-options: -Wall