]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka.cabal
Use time-w3c instead of Rakka.W3CDateTime
[Rakka.git] / Rakka.cabal
index 384a3e94085923c9780e6e9f48476f9fe58ef282..f9cd261cc84764cc3bb2ed098f254c26e8a3c71b 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
-
+Tested-With:   GHC == 6.12.1
+Cabal-Version: >= 1.6
+Build-Type:    Custom
 Data-Files:
     defaultPages/Feed.xml
     defaultPages/Help/SampleImage/Large.xml
@@ -26,8 +26,8 @@ Data-Files:
     defaultPages/StyleSheet/CieloNegro/Moon.xml
     defaultPages/StyleSheet/CieloNegro.xml
     defaultPages/StyleSheet/Default.xml
+    rc.d/NetBSD/rakka.in
     schemas/rakka-page-1.0.rng
-
 Extra-Source-Files:
     Rakka.buildinfo.in
     configure
@@ -36,32 +36,56 @@ Extra-Source-Files:
     js/base.js
     js/base64.js
     js/editPage.js
-    js/jquery-1.2.1.js
+    js/hashedParam.js
+    js/hexDump.js
+    js/jquery-1.2.6.js
     js/jquery-dom.js
     js/localFile.js
     js/login.js
+    js/parseuri.js
+    js/redirection.js
     js/screen.js
     js/search.js
+    js/systemConfig.js
     js/uri.js
+    tests/RakkaUnitTest.hs
+    tests/WikiParserTest.hs
+
+Source-Repository head
+    Type: git
+    Location: git://git.cielonegro.org/Rakka.git
 
 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 >=
-        0.3.1, Lucu, base, bytestring, containers, dataenc, directory,
-        utf8-string, filepath, hslogger, hxt, magic, mtl, network,
-        parsec, stm, time, unix, zlib
+        FileManip,
+        HTTP,
+        HsHyperEstraier,
+        HsOpenSSL,
+        HsSVN >= 0.3.2,
+        Lucu  >= 0.5,
+        base,
+        bytestring,
+        containers,
+        dataenc,
+        directory,
+        filepath,
+        utf8-string,
+        hslogger,
+        hxt,
+        hxt-xpath,
+        magic,
+        mtl,
+        network,
+        parsec,
+        stm,
+        time,
+        time-w3c,
+        unix,
+        zlib
     Main-Is:
         Main.hs
     Other-Modules:
@@ -80,6 +104,7 @@ Executable rakka
         Rakka.Resource.Search
         Rakka.Resource.SystemConfig
         Rakka.Resource.TrackBack
+        Rakka.Resource.Users
         Rakka.Storage
         Rakka.Storage.DefaultPage
         Rakka.Storage.Repos
@@ -89,7 +114,6 @@ Executable rakka
         Rakka.TrackBack
         Rakka.Utils
         Rakka.Validation
-        Rakka.W3CDateTime
         Rakka.Wiki
         Rakka.Wiki.Interpreter
         Rakka.Wiki.Interpreter.Base
@@ -101,21 +125,15 @@ 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)
         Buildable: True
+        Build-Depends: HUnit
     else
         Buildable: False
     Main-Is: