35 Commits

Author SHA1 Message Date
Manav Rathi
495c950386
[desktop] Fix ARM build
Regression introduced yesterday - d37675cc5768357b155e504d2d08656d099eb73f
2025-01-31 08:43:00 +05:30
Manav Rathi
892f130580
[desktop] Replace ImageMagick with vips
This has already been done, this PR is just final cleanup.
2025-01-30 13:37:36 +05:30
Manav Rathi
bed645044b
[desktop] Fix download path during install 2025-01-30 11:38:43 +05:30
Manav Rathi
d37675cc57
[desktop] im => vips
More cleanup is pending, once we give this nightly a go.
2025-01-30 08:20:11 +05:30
Manav Rathi
481d3e3700
Note 2025-01-29 10:33:35 +05:30
Manav Rathi
dcd920cbb4
wip patch 2025-01-29 09:40:35 +05:30
Manav Rathi
efa6d0289d
Mention the conclusion after experimenting with alternatives 2025-01-29 08:09:30 +05:30
Manav Rathi
cd93cf1be6
Cleanup 2025-01-28 17:02:40 +05:30
Manav Rathi
8e653912cd
x64 variant 2025-01-28 16:51:51 +05:30
Manav Rathi
80f64b2f8c
t2 2025-01-28 16:51:51 +05:30
Manav Rathi
b022d0292f
Take 1 2025-01-28 16:51:51 +05:30
Manav Rathi
d12aad2817
The musl variant seems to still link to the c lib dynamically
Sure there'd be a way to resolve this, but for now revert to the normal variant

ldd bin/vips
	/lib/ld-musl-aarch64.so.1 (0xffffa9868000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xffffa96a9000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xffffa9684000)
	libc.so => /lib/ld-musl-aarch64.so.1 (0xffffa9868000)
2025-01-28 16:51:51 +05:30
Manav Rathi
55281b7e32
thumb 2025-01-28 16:51:51 +05:30
Manav Rathi
a155855b45
Note 2025-01-28 16:51:51 +05:30
Manav Rathi
81206c0e36
Patch 2025-01-28 16:51:51 +05:30
Manav Rathi
d0738f0988
Nope 2025-01-28 16:51:51 +05:30
Manav Rathi
4d65e3b233
Try with libvips-packaging
https://github.com/kleisauke/libvips-packaging/

Found via this comment:

> The build script at
> https://github.com/kleisauke/libvips-packaging/blob/main/build/lin.sh can be
> used as a reference to compile libvips and its dependencies as a single,
> statically-linked shared library.
>
> https://github.com/libvips/libvips/discussions/3426#discussioncomment-5507520
2025-01-28 16:51:51 +05:30
Manav Rathi
a6f2eae418
static more 2025-01-28 16:51:51 +05:30
Manav Rathi
84e16057b6
Trying with everything disabled 2025-01-28 16:51:51 +05:30
Manav Rathi
b91ee793bf
static lib 2025-01-28 16:51:51 +05:30
Manav Rathi
58b300d8d4
LF 2025-01-24 17:46:53 +05:30
Manav Rathi
f049aa96fc
Try with a alpine build to see if we can get a static binary 2025-01-24 06:33:24 +05:30
Manav Rathi
ed7bc529f5
Same results as trying manually with staticx
the staticx produced binary takes 0.5 secs to launch, as compared the one we get by normally compiling.
2025-01-24 06:33:24 +05:30
Manav Rathi
8fa4e8e2d1
Try using staticx on vips binary
Dockerfile from https://github.com/joshuarli/static-builders
2025-01-24 06:33:24 +05:30
Manav Rathi
647a04af96
Prepare build env 2025-01-24 06:33:24 +05:30
Manav Rathi
a4e49daeb1
Inspectable layer 2025-01-24 06:33:24 +05:30
Manav Rathi
c4c8447f54
Sample 2025-01-24 06:33:24 +05:30
Manav Rathi
9451124c38
Init 2025-01-24 06:33:24 +05:30
Manav Rathi
4abfb5b8bd
Don't return falsey 2025-01-22 12:59:54 +05:30
Manav Rathi
47ec5e78c0
[desktop] Fix incomplete build being generated
...because of returning false from our build hook.
2025-01-22 12:39:33 +05:30
Manav Rathi
b1c62f6c93
[desktop] IM 7 - Handle CI rebuilds, and add windows extension
- CI builds both arch binaries in one go, so the singular yarn install hook is not enough
- Without the extension windows doesn't run it
2025-01-22 07:49:18 +05:30
Manav Rathi
e7d6362eaa
Make prettier happy 2025-01-21 16:32:03 +05:30
Manav Rathi
75509ff339
exec 2025-01-21 15:56:04 +05:30
Manav Rathi
c731833863
Use a node script to avoid dealing with Windows nonsense 2025-01-21 15:36:00 +05:30
Manav Rathi
cf27dd5889
Outline 2025-01-21 14:54:24 +05:30