gameServer/hedgewars-server.cabal
author Wuzzy <Wuzzy2@mail.ru>
Wed, 07 Mar 2018 15:09:31 +0100
changeset 13089 c9cdbf630447
parent 12864 73ebc894a725
child 13418 bb24c3414b0d
permissions -rw-r--r--
Stop SplitByChar also lowercasing the entire string. Fixes bug #581. It's weird that a function with this name would lowercase the whole string. Nemo and I have checked the history and code for any justifications of the lowercasing but we found none. I have checked in the code if anything actually depends on SplitByChar also lowercasing the string but I found nothing. It would surprise me since it's not obvious from the name IMO is bad coding practice anyway. Bug 581 is fixed by this because cLocale was (incorrectly) lowercased, which broke locale names like pt_BR to pt_br.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     1
Name:                hedgewars-server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     2
Version:             0.1
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     3
Synopsis:            hedgewars server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     4
Description:         hedgewars server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     5
Homepage:            http://www.hedgewars.org/
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     6
License:             GPL-2
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     7
Author:              unC0Rr
11854
0b8f2116aa26 Use regex match for bans
unc0rr
parents: 11838
diff changeset
     8
Maintainer:          a.korotaev@hedgewars.org
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     9
Category:            Game
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    10
Build-type:          Simple
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    11
Cabal-version:       >=1.10
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    12
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    13
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    14
Executable hedgewars-server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    15
  main-is: hedgewars-server.hs
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    16
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    17
  default-language:    Haskell2010
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    18
12751
838515c4e6c5 Rewrite INSTALL file: Markdown format, add troubleshooting section, more detailed build instructions, etc.
Wuzzy <Wuzzy2@mail.ru>
parents: 11855
diff changeset
    19
-- Don't forget to update INSTALL.md when you change these dependencies!
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    20
  Build-depends:
12788
8aa82e350b8e Update cabal file
unc0rr
parents: 12751
diff changeset
    21
    base >= 4.8,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    22
    containers,
7751
8c7f5c43ea5e Switch to vector library for arrays
unc0rr
parents: 6191
diff changeset
    23
    vector,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    24
    bytestring,
5077
7915668502a6 Some fixes. Can't reproduce ghosts now.
unc0rr
parents: 5037
diff changeset
    25
    network >= 2.3,
9065
236710128077 add 'random' dependency to server .cabal file (please test)
koda
parents: 7751
diff changeset
    26
    random,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    27
    time,
5037
1edc06d2247c Fix ghost players (used Prelude.catch instead of Control.Exception.catch)
unc0rr
parents: 5030
diff changeset
    28
    mtl >= 2,
11855
ad435d95ca4b - Use sandi instead of dataenc (bugs.debian.org/836686)
unc0rr
parents: 11854
diff changeset
    29
    sandi,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    30
    hslogger,
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    31
    process,
6191
190a8e5d9956 Case-insensitive comparison of nicks
unc0rr
parents: 5086
diff changeset
    32
    deepseq,
10076
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    33
    utf8-string,
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    34
    SHA,
10092
a92a4ba39a79 Fix build
unc0rr
parents: 10076
diff changeset
    35
    entropy,
11854
0b8f2116aa26 Use regex match for bans
unc0rr
parents: 11838
diff changeset
    36
    zlib >= 0.5.3 && < 0.6,
12864
73ebc894a725 dependency fixes
astro
parents: 12788
diff changeset
    37
    regex-tdfa,
73ebc894a725 dependency fixes
astro
parents: 12788
diff changeset
    38
    binary >= 0.8.5.1
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    39
10258
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    40
  if !os(windows)
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    41
    build-depends: unix
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    42
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    43
  ghc-options: -O2