X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Rakka.cabal;h=20efd880f75917b498f033c4b886c68c9945de6e;hb=0b97160b4d55eca16f3c56b47a908997fc458284;hp=da9c403d07375ad74d946c64f3088df6f3f496a0;hpb=4e428cf86da68b72ef8fdff87990e7c953c8f12e;p=Rakka.git diff --git a/Rakka.cabal b/Rakka.cabal index da9c403..20efd88 100644 --- a/Rakka.cabal +++ b/Rakka.cabal @@ -1,25 +1,30 @@ Name: Rakka Synopsis: Wiki engine with Subversion backend Description: - FIXME: write this + Rakka is a wiki engine with Subversion backend. Its syntax is + similar to MediaWiki. Version: 0.1 License: PublicDomain -Author: PHO -Maintainer: PHO +Author: PHO +Maintainer: PHO Stability: experimental -Homepage: http://ccm.sherry.jp/Rakka/ +Homepage: http://rakka.cielonegro.org/ Category: Web Tested-With: GHC == 6.6.1 Cabal-Version: >= 1.2 Data-Files: - defaultpages/Help/SampleImage/Large.xml - defaultpages/Help/SampleImage/Small.xml + defaultPages/Feed.xml + defaultPages/Help/SampleImage/Large.xml + defaultPages/Help/SampleImage/Small.xml defaultPages/Help/Syntax.xml defaultPages/MainPage.xml defaultPages/PageTitle.xml defaultPages/SideBar/Left.xml defaultPages/SideBar/Right.xml + defaultPages/StyleSheet/CieloNegro/Logo.xml + defaultPages/StyleSheet/CieloNegro/Moon.xml + defaultPages/StyleSheet/CieloNegro.xml defaultPages/StyleSheet/Default.xml schemas/rakka-page-1.0.rng @@ -31,40 +36,59 @@ Extra-Source-Files: js/base.js js/base64.js js/editPage.js - js/jquery-1.2.1.js + js/jquery-1.2.2.js js/jquery-dom.js js/localFile.js + js/login.js js/screen.js + js/search.js + js/uri.js + tests/RakkaUnitTest.hs + tests/WikiParserTest.hs Flag build-test-suite Description: Build the test suite. Default: False +Flag enable-profiling + Description: Enable profiling of the executable + Default: False + +Flag hardest-optimization + Description: Make the executable as fast as possible + Default: False + Executable rakka Build-Depends: - Crypto, FileManip, HUnit, HsHyperEstraier, HsSVN, Lucu, base, - bytestring, containers, directory, utf8-string, filepath, - hslogger, hxt, magic, mtl, network, parsec, stm, time, unix, - zlib + FileManip, HTTP, HUnit, HsHyperEstraier, HsOpenSSL, HsSVN >= + 0.3.2, Lucu, base, bytestring, containers, dataenc, directory, + utf8-string, filepath, hslogger, hxt, magic, mtl, network, + parsec, stm, time, unix, zlib Main-Is: Main.hs Other-Modules: + Rakka.Attachment Rakka.Authorization Rakka.Environment Rakka.Page Rakka.Resource Rakka.Resource.CheckAuth + Rakka.Resource.DumpRepos Rakka.Resource.Index Rakka.Resource.JavaScript Rakka.Resource.Object Rakka.Resource.PageEntity Rakka.Resource.Render + Rakka.Resource.Search + Rakka.Resource.SystemConfig + Rakka.Resource.TrackBack Rakka.Storage Rakka.Storage.DefaultPage Rakka.Storage.Repos Rakka.Storage.Types Rakka.Storage.Impl Rakka.SystemConfig + Rakka.TrackBack Rakka.Utils Rakka.Validation Rakka.W3CDateTime @@ -79,9 +103,17 @@ Executable rakka Rakka.Wiki.Formatter Rakka.Wiki.Parser Extensions: - Arrows, ExistentialQuantification, ScopedTypeVariables - GHC-Options: - -Wall -XDeriveDataTypeable + Arrows, ExistentialQuantification, ScopedTypeVariables, DeriveDataTypeable, FlexibleInstances + if flag(enable-profiling) + GHC-Options: + -Wall -O2 -fvia-C -prof -auto-all + else + if flag(hardest-optimization) + GHC-Options: + -Wall -O2 -fvia-C -funbox-strict-fields -threaded + else + GHC-Options: + -Wall -threaded Executable RakkaUnitTest if flag(build-test-suite) @@ -97,4 +129,4 @@ Executable RakkaUnitTest Extensions: Arrows GHC-Options: - -Wall -Werror \ No newline at end of file + -Wall -Werror