Skip to content

Commit 021eea0

Browse files
authored
rm icu dep instructions, add libgd
1 parent f624f6f commit 021eea0

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

README.md

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ This is the `hackage-server` code. This is what powers <http://hackage.haskell.o
88

99
## Installing dependencies
1010

11-
`hackage-server` depends on `icu` and `zlib`. You'll also need `libbrotli-dev` for enabling tests.
12-
13-
ICU stands for "International Components for Unicode". The `icu4c` is a set
14-
of libraries that provide Unicode and Globalization support.
15-
The [text-icu](https://hackage.haskell.org/package/text-icu) Haskell package
16-
uses the [icu4c](http://icu-project.org/apiref/icu4c/) library to build.
11+
`hackage-server` depends on `libgd` and `zlib`. You'll also need `libbrotli-dev` for enabling tests.
1712

1813
### [`nix-shell`](https://nixos.org/manual/nix/stable/command-ref/nix-shell.html)
1914

@@ -31,35 +26,26 @@ If you have the [Nix package manager](https://nixos.org/) installed, the easiest
3126
You can also install dependencies manually via your operating system's package
3227
manager.
3328

34-
#### ICU
29+
#### Libgd
3530

36-
You'll need to do the following to get `hackage-server`'s dependency `text-icu` to build:
31+
You'll need to do the following to get `hackage-server`'s dependency `hs-captcha` (and transitively `gd`) to build:
3732

3833
- Mac OS X
3934

40-
brew install icu4c
41-
brew link icu4c --force
42-
43-
Besides that, you might also need to include these in the `cabal.project.local` you created:
44-
45-
```
46-
package text-icu
47-
extra-include-dirs: /usr/local/opt/icu4c/include
48-
extra-lib-dirs: /usr/local/opt/icu4c/lib
49-
```
35+
brew install libgd
5036

5137
- Ubuntu/Debian
5238

5339
sudo apt-get update
54-
sudo apt-get install unzip libicu-dev
40+
sudo apt-get install unzip libgd-dev
5541

5642
- Fedora/CentOS
5743

58-
sudo dnf install unzip libicu-devel
44+
sudo dnf install unzip libgd-devel
5945

6046
- Nix/NixOS
6147

62-
nix-shell --packages icu
48+
nix-shell --packages gd
6349

6450
#### libbrotli
6551

0 commit comments

Comments
 (0)