Skip to content

Commit ac5bb92

Browse files
committed
Prepare 0.2.15.0
1 parent e8996fc commit ac5bb92

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Revision history for threadscope
22

3+
## 2025-05-29 - v0.2.15.0
4+
* Switch to GTK3 ([#137](https://github.com/haskell/ThreadScope/pull/137)))
5+
* Support new versions of GHC up to 9.12 and dependencies.
6+
37
## 2022-05-10 - v0.2.14.1
48

59
* Spelling fixes ([#121](https://github.com/haskell/ThreadScope/pull/121), [#123](https://github.com/haskell/ThreadScope/pull/123))

README.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99
Currently [pre-built binaries](https://github.com/haskell/ThreadScope/releases) for the following platforms are provided:
1010

11-
* Ubuntu 18.04 (64-bit)
12-
* macOS 10.15
13-
* Windows Server 2019 (x64)
11+
* Ubuntu 24.04 (64-bit)
12+
* macOS 14.7
13+
* Windows Server 2022 (x64)
1414

15-
GTK+2 needs to be installed for these binaries to work.
15+
GTK+3 needs to be installed for these binaries to work.
1616

17-
On Windows, the [MSYS2](http://www.msys2.org) is the recommended way to install GTK+2. In MSYS2 MINGW64 shell:
17+
On Windows, the [MSYS2](http://www.msys2.org) is the recommended way to install GTK+3. In MSYS2 MINGW64 shell:
1818

1919
```sh
20-
pacman -S $MINGW_PACKAGE_PREFIX-gtk2
20+
pacman -S $MINGW_PACKAGE_PREFIX-gtk3
2121
```
2222

2323
then you can run the threadscope binary from the shell.
@@ -26,12 +26,14 @@ then you can run the threadscope binary from the shell.
2626

2727
Use `git clone` or `cabal get threadscope` to get the source and move into the threadscope directory.
2828

29+
The code for the Github Actions is a good guide for building from source.
30+
2931
### Linux
3032

31-
GTK+2 is required to be installed. On Ubuntu-like systems:
33+
GTK+3 is required to be installed. On Ubuntu-like systems:
3234

3335
```sh
34-
sudo apt install libgtk2.0-dev
36+
sudo apt install libgtk-3-dev
3537
```
3638

3739
Then you can build threadscope using cabal:
@@ -53,7 +55,7 @@ stack install # to build and install the binary
5355
GTK+ is required:
5456

5557
```sh
56-
brew install gtk+
58+
brew install cairo gtk+3 pkg-config
5759
```
5860

5961
Then you can build threadscope using cabal:
@@ -72,13 +74,16 @@ stack --stack-yaml=stack.osx.yaml install # to install the binary
7274

7375
### Windows
7476

77+
> [!CAUTION]
78+
> The Windows instructions may be out of date. Contributions to update them would be welcome.
79+
7580
[Chocolatey](https://chocolatey.org/) can be used to install GHC and [MSYS2](https://www.msys2.org/) is the recommended way to install GTK+.
7681

7782
```sh
7883
choco install ghc
7984
refreshenv
8085
set PATH=C:\\msys64\\mingw64\\bin;C:\\msys64\\usr\\bin;%PATH%
81-
pacman -Sy mingw-w64-x86_64-gtk2
86+
pacman -Sy mingw-w64-x86_64-gtk3
8287
```
8388

8489
then you can build threadscope using cabal:
@@ -89,7 +94,7 @@ cabal v2-build
8994

9095
Or you can use stack instead.
9196

92-
CAVEAT: gtk2 needs to be installed twice: one for stack's MSYS2 environment and another for local MSYS2 environment.
97+
CAVEAT: gtk3 needs to be installed twice: one for stack's MSYS2 environment and another for local MSYS2 environment.
9398

9499
In command prompt:
95100

@@ -98,14 +103,14 @@ stack setup
98103
stack exec -- pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime msys2-runtime-devel
99104
stack exec -- pacman -Syu
100105
stack exec -- pacman -Syuu
101-
stack exec -- pacman -S base-devel mingw-w64-x86_64-pkg-config mingw-w64-x86_64-toolchain mingw-w64-x86_64-gtk2
106+
stack exec -- pacman -S base-devel mingw-w64-x86_64-pkg-config mingw-w64-x86_64-toolchain mingw-w64-x86_64-gtk3
102107
stack install
103108
```
104109

105110
Then in MSYS2 MINGW64 shell:
106111

107112
```sh
108-
pacman -S $MINGW_PACKAGE_PREFIX-gtk2
113+
pacman -S $MINGW_PACKAGE_PREFIX-gtk3
109114
echo 'export PATH=$APPDATA/local/bin:$PATH' >> .profile
110115
source .profile
111116
threadscope

threadscope.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Cabal-version: 1.24
22
Name: threadscope
3-
Version: 0.2.14.1
3+
Version: 0.2.15.0
44
Category: Development, Profiling, Trace
55
Synopsis: A graphical tool for profiling parallel Haskell programs.
66
Description: ThreadScope is a graphical viewer for thread profile
@@ -64,7 +64,7 @@ Executable threadscope
6464
filepath < 1.6,
6565
ghc-events >= 0.13 && < 0.21,
6666
containers >= 0.2 && < 0.8,
67-
deepseq >= 1.1,
67+
deepseq >= 1.1 && <1.7.0,
6868
text < 2.2,
6969
time >= 1.1 && < 1.15,
7070
bytestring < 0.13,

0 commit comments

Comments
 (0)