Skip to content

Commit 6d4b056

Browse files
committed
update for 9.0.1
and update install and build notes
1 parent e873ee5 commit 6d4b056

File tree

5 files changed

+82
-19
lines changed

5 files changed

+82
-19
lines changed

README.md

Lines changed: 63 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,77 @@ can watch pixels change as you adjust your equations.
1515
Because nip4 uses libvips as the image processing engine, it can handle very
1616
large images and only needs a little memory. It scales to fairly complex
1717
workflows: I've used it to develop systems with more than 10,000 cells,
18-
analyzing images of many tens of gigabytes. It has a batch mode, so you
19-
can run any image processing system you develop from the command-line and
20-
without a GUI.
18+
analyzing images of many tens of gigabytes.
19+
20+
It has a batch mode, so you can run any image processing system you develop
21+
from the command-line and without a GUI.
2122

2223
[![Screenshot](images/shot1.png)](images/shot1.png)
2324

2425
[![Screenshot](images/shot2.png)](images/shot2.png)
2526

2627
https://github.com/user-attachments/assets/6f7bdee1-183c-4554-9701-e0c30e75d58a
2728

28-
## flatpak
29+
# Installing
30+
31+
## Windows
32+
33+
There's a zip for each version on the [releases
34+
page](https://github.com/jcupitt/nip4/releases). Download
35+
`vips-dev-w64-all-8.16.0-nip4.zip`, unzip somewhere, and run `bin/nip4.exe`.
36+
37+
## macOS
38+
39+
We hope to have a homebrew formula soon.
40+
41+
## Linux-like systems with flatpak
42+
43+
There's a PR to add nip4 to flathub here:
44+
45+
https://github.com/flathub/flathub/pull/6166
46+
47+
Once we get a stable release, nip4 will be added to flathub. You can install
48+
one of the test releases from that PR with eg.:
49+
50+
```
51+
flatpak install --user \
52+
https://dl.flathub.org/build-repo/165060/org.libvips.nip4.flatpakref
53+
```
54+
55+
## From source
56+
57+
Download the sources, then build and install with eg.:
58+
59+
```
60+
cd nip4-x.y.x
61+
meson setup build --prefix /my/install/prefix
62+
cd build
63+
meson compile
64+
meson test
65+
meson install
66+
```
67+
68+
Check the output of `meson setup` carefully.
69+
70+
## From source for Windows
71+
72+
Clone:
73+
74+
https://github.com/libvips/build-win64-mxe
75+
76+
Then see this PR:
77+
78+
https://github.com/libvips/build-win64-mxe/pull/72
79+
80+
Checkout that branch and build with eg.:
81+
82+
```
83+
./build.sh --with-nip4 all
84+
```
85+
86+
## Build from source for flathub
2987

30-
Add the `flathub` repo:
88+
Add the `flathub` repo, if you don't already have it:
3189

3290
```shell
3391
flatpak remote-add --if-not-exists \

TODO

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
- open test.ws, edit defs, "main = 12;", process, ws is not marked as modified
2-
31
- check all batch mode flags
42

53
- try to save and restore image view scale and position
@@ -154,6 +152,9 @@
154152

155153
maybe do a separate pass at the end of recomp that sets label colours?
156154

155+
could use this to make parent/child colour change only show after a
156+
while ... might look better
157+
157158
- this fails:
158159

159160
im_insertset main sub x y
@@ -187,13 +188,6 @@
187188

188189
- syntax error in startup .def stops nip4 loading
189190

190-
- ctrl-bsp for delete selected rows?
191-
192-
we can't set accels on action menus, since the windiow won't know
193-
what view to pass the action to, see mainwindow_view_action()
194-
195-
maybe action menus should be on the class, not the object?
196-
197191
- should we support
198192

199193
A1.value + [1, 2, 3]

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('nip4', 'c',
22
# ie. a major after nip2 8.9 for workspace save file versioning
3-
version: '9.0.0-11',
3+
version: '9.0.1',
44
license: 'GPL',
55
meson_version: '>=0.64',
66
default_options: [

org.libvips.nip4.metainfo.xml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ as you adjust your equations.
3232
Because nip4 uses libvips as the image processing engine it can handle very
3333
large images and only needs a little memory. It scales to fairly complex
3434
workflows: I've used it to develop systems with more than 10,000 cells,
35-
analyzing images of many tens of gigabytes. It has a batch mode, so you
36-
can run any image processing system you develop from the command-line and
37-
without a GUI.
35+
analyzing images of many tens of gigabytes.
36+
37+
It has a batch mode, so you can run any image processing system you develop
38+
from the command-line and without a GUI.
3839

3940
</p>
4041
</description>
@@ -50,13 +51,21 @@ without a GUI.
5051

5152
<screenshot>
5253
<image>https://raw.githubusercontent.com/jcupitt/nip4/master/images/shot2.png</image>
53-
<caption>Workspaces from older versions load correcty</caption>
54+
<caption>Workspaces from older versions load correctly</caption>
5455
</screenshot>
5556

5657
</screenshots>
5758

5859
<releases>
5960

61+
<release version="9.0.1" date="2025-02-24">
62+
<description>
63+
<p>
64+
First test release we distribute.
65+
</p>
66+
</description>
67+
</release>
68+
6069
<release version="9.0.0-11" date="2025-02-18">
6170
<description>
6271
<p>

src/workspacedefs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ workspacedefs_clicked(GtkWidget *wid, Workspacedefs *workspacedefs)
167167
text_view_get_text(GTK_TEXT_VIEW(workspacedefs->text));
168168
if (!workspacedefs_set_text(workspacedefs, txt))
169169
workspace_set_show_error(workspacedefs->ws, TRUE);
170+
else
171+
workspace_set_modified(workspacedefs->ws, TRUE);
170172
}
171173

172174
static void

0 commit comments

Comments
 (0)