Summary: | [REVIVE] science/orthanc-postgresql: Plugins to use PostgreSQL for indexing and storage in Orthanc | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Frank Scholl <maintainer.freebsd> | ||||||||||||||||||||
Component: | Individual Port(s) | Assignee: | Guangyuan Yang <ygy> | ||||||||||||||||||||
Status: | Closed FIXED | ||||||||||||||||||||||
Severity: | Affects Only Me | CC: | ygy | ||||||||||||||||||||
Priority: | --- | Keywords: | patch-ready | ||||||||||||||||||||
Version: | Latest | ||||||||||||||||||||||
Hardware: | Any | ||||||||||||||||||||||
OS: | Any | ||||||||||||||||||||||
Bug Depends on: | 242546 | ||||||||||||||||||||||
Bug Blocks: | |||||||||||||||||||||||
Attachments: |
|
Description
Frank Scholl
2019-12-10 15:36:02 UTC
This port depends on science/orthanc, which got submitted in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242546. Created attachment 214832 [details]
orthanc-postgresql-3.2_3
Update to build with orthanc-1.6.1, made portlint happy, builds in poudriere
Created attachment 215910 [details]
orthanc-postgresql-3.2_5
Update to build with orthanc-1.7.1
- this is a resurrection. - also update MOVED and science/Makefile. This version is tested to work with orthanc-1.7.2 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242546). Created attachment 217275 [details]
Diff / the latest version of science/orthanc-postgresql (orthanc-postgresql-3.2_5, diff based on r545144)
This diff is based on today's head (r545144), including:
- removed orthanc-dicomweb from MOVED
- added orthanc-dicomweb to science/Makefile
(In reply to Frank Scholl from comment #6) ofc orthanc-postgresql should have been referenced here. - removed orthanc-postgresql from MOVED - added orthanc-postgresql to science/Makefile Created attachment 225064 [details]
orthanc-postgresql 4.0
Updated port to work with current science/orthanc.
Created attachment 225339 [details]
orthanc-postgresql 4.0
This port got an update and now uses CMAKE_ON / CMAKE_OFF instead of using CMAKE_ARGS.
It requires to be built with at least PostgreSQL 11 and works with 12 and 13 as well. This is reflected in the USES flags.
Builds with PostgreSQL 10 do not succeed and throw errors when compiling PostgreSQL 10 with boost/date_time.hpp ("likely" macro).
Further information:
- portlint is fine.
- Builds in poudriere (testport), tested for 11.4, 12.2 and 13.0
Created attachment 225592 [details]
orthanc-postgresql-4.0.diff
- DISTVERSION is used instead of PORTVERSION
Created attachment 225647 [details]
orthanc-postgresql-4.0.diff
Just updated the .diff to also contain changes in `MOVED` and `science/Makefile`.
Created attachment 225707 [details]
orthanc-postgresql-4.0.diff
- updated `COMMENT` to align them with the those from other Orthanc plugins
- removed `USE_LDCONFIG` (no shared lib installed)
- added `PLIST_SUB` to use %%PORTVERSION%% in `pkg-plist`
- portlint & portfmt are happy
- poudriere testport successful on 11.4, 12.2, 13.0
This port contains two plugins, one for indexing and one for storage of medical data. This is why the `COMMENT` says "plugins", pkg-descr got a clean-up to reflect this as well.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b660b9f923286590d1bfb59406f3c263f8f9620d commit b660b9f923286590d1bfb59406f3c263f8f9620d Author: Frank Scholl <maintainer.freebsd@xpoundit.com> AuthorDate: 2021-08-07 21:40:42 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-08-07 21:40:42 +0000 science/orthanc-postgresql: Revive port Orthanc plugin to use PostgreSQL for indexing or storage. PR: 242548 MOVED | 1 - science/Makefile | 1 + science/orthanc-postgresql/Makefile (new) | 49 ++++++++++++++++++++++ science/orthanc-postgresql/distinfo (new) | 7 ++++ .../files/patch-PostgreSQL_CMakeLists.txt (new) | 12 ++++++ science/orthanc-postgresql/pkg-descr (new) | 4 ++ science/orthanc-postgresql/pkg-plist (new) | 4 ++ 7 files changed, 77 insertions(+), 1 deletion(-) Committed with modifications. Thank you! |