huo-ju / photoprism-freebsd-port

The photoprism port for FreeBSD
BSD 2-Clause "Simplified" License
69 stars 15 forks source link

Update photoprism to 2024-05-31 #71

Closed tinsukE closed 3 months ago

tinsukE commented 4 months ago

Seems to be working fine on my instance, although I haven't tested it thoroughly.

The main difference seems to be the usage of govips/vips: https://github.com/photoprism/photoprism/commit/8731215429c8f557466d9df49635c89ae07845ae https://github.com/photoprism/photoprism/issues/1474

Without devel/pkgconf, the build would fail on:

github.com/davidbyttow/govips/v2/vips
github.com/davidbyttow/govips/v2/vips: exec: "pkg-config": executable file not found in $PATH
*** Error code 1

Stop.
make: stopped in /root/photoprism-freebsd-port

Without graphics/vips, the build would fail on:

github.com/davidbyttow/govips/v2/vips
# github.com/davidbyttow/govips/v2/vips
# [pkg-config --cflags  -- vips]
Package vips was not found in the pkg-config search path.
Perhaps you should add the directory containing `vips.pc'
to the PKG_CONFIG_PATH environment variable
Package 'vips' not found
*** Error code 1

Stop.
make: stopped in /root/photoprism-freebsd-port
huo-ju commented 3 months ago

73 has been merged. close this one. Thank you and sorry for my later response on this.

tinsukE commented 3 months ago

@huo-ju no worries. Thanks for eventually looking into it!