]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka.cabal
.boring => .gitignore
[Rakka.git] / Rakka.cabal
index 0e0ed4540ee7ad49b388345a151d6f4bd36523d7..6889592f3c2c48a54fdaed49261b80ddef0c1289 100644 (file)
@@ -1,18 +1,18 @@
 Name:          Rakka
-Synopsis:      Wiki engine with Subversion backend
+Synopsis:      RESTful Wiki engine with Subversion backend
 Description:
-    Rakka is a wiki engine with Subversion backend. Its syntax is
-    similar to MediaWiki.
+    Rakka is a RESTful wiki engine with Subversion backend. Its syntax
+    is similar to MediaWiki.
 Version:       0.1
 License:       PublicDomain
-Author:        PHO <phonohawk at ps dot sakura dot ne dot jp>
-Maintainer:    PHO <phonohawk at ps dot sakura dot ne dot jp>
+Author:        PHO <pho at cielonegro dot org>
+Maintainer:    PHO <pho at cielonegro dot org>
 Stability:     experimental
 Homepage:      http://rakka.cielonegro.org/
 Category:      Web
 Tested-With:   GHC == 6.6.1
 Cabal-Version: >= 1.2
-
+Build-Type:    Custom
 Data-Files:
     defaultPages/Feed.xml
     defaultPages/Help/SampleImage/Large.xml
@@ -28,6 +28,10 @@ Data-Files:
     defaultPages/StyleSheet/Default.xml
     schemas/rakka-page-1.0.rng
 
+Source-Repository head
+    Type: git
+    Location: git://git.cielonegro.org/Rakka
+
 Extra-Source-Files:
     Rakka.buildinfo.in
     configure
@@ -36,32 +40,28 @@ Extra-Source-Files:
     js/base.js
     js/base64.js
     js/editPage.js
-    js/jquery-1.2.1.js
+    js/hexDump.js
+    js/jquery-1.2.2.js
     js/jquery-dom.js
     js/localFile.js
     js/login.js
+    js/parseuri.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:
-        FileManip, HTTP, HUnit, HsHyperEstraier, HsOpenSSL, HsSVN,
-        Lucu, base, bytestring, containers, dataenc, 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, hxt-xpath, magic, mtl,
+        network, parsec, stm, time, unix, zlib
     Main-Is:
         Main.hs
     Other-Modules:
@@ -71,6 +71,7 @@ Executable rakka
         Rakka.Page
         Rakka.Resource
         Rakka.Resource.CheckAuth
+        Rakka.Resource.DumpRepos
         Rakka.Resource.Index
         Rakka.Resource.JavaScript
         Rakka.Resource.Object
@@ -79,6 +80,7 @@ Executable rakka
         Rakka.Resource.Search
         Rakka.Resource.SystemConfig
         Rakka.Resource.TrackBack
+        Rakka.Resource.Users
         Rakka.Storage
         Rakka.Storage.DefaultPage
         Rakka.Storage.Repos
@@ -100,17 +102,10 @@ Executable rakka
         Rakka.Wiki.Formatter
         Rakka.Wiki.Parser
     Extensions:
-        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
-        else
-            GHC-Options:
-                -Wall
+        Arrows, ExistentialQuantification, ScopedTypeVariables,
+        DeriveDataTypeable, FlexibleInstances
+    GHC-Options:
+        -Wall -threaded
 
 Executable RakkaUnitTest
     if flag(build-test-suite)