New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package: Orthanc-1.11.2 #38537
New package: Orthanc-1.11.2 #38537
Conversation
One commit per template |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General comments (this is not exhaustive):
- Are all of these shared libs really necessary for linking by other packages? If not, leave them out of
common/shlibs
. - One commit per package, one package per commit. Split each of these into a separate commit in the same PR.
- Remove version restrictions in
hostmakedepends
andmakedepends
. Version enforcement makes no sense here because the repository specifies a single version of the package; whatever is current. It either builds with that version or it's broken. - What is the purpose of the
Orthanc-{DicomWeb,PostgreSQL,Python}
packages? They aren't reference by any other templates.- If
Orthanc-Python
really doesn't work with py3.11, that's a problem, because we'll be moving to py3.11 soon and I'd like to minimize potential breakage caused by the addition of new specialty packages in the meantime. - If
Orthanc-Python
is a Python package, it should depend onpython3
.
- If
f948af1
to
19da376
Compare
Done.
Done.
Done.
These are some plugins i decided to package, it isn't requiered by the main package (Orthanc), but as these makedepends of Orthanc I added them into this PR.
It works, you just need to pass a flag with the major python version. As I passed python 3.10, i decided to restrict it on the template, but I understand now that it doesn't make sense and I've removed it. Now I need to get the python version from the upstream repo and pass it to configure_args. I'll try some way to do it.
It isn't, it's mostly like a binding instead. |
see https://github.com/void-linux/void-packages/blob/master/Manual.md#python-packages |
thx, now I'm using the py3_ver var. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check that it still builds after a round of review.
Should I specify python3 on depends of Orthanc-Python? It don't explicity depends, but if it's compiled with python 3.10, as example, you cannot use it with python 3.11, as you need to compile with the specific python version flag. I'm thinking in put something like |
No, just depend on |
Of course, but I'm thinking on some case as version hold by user. In that example, the xbps shouldn't allow to upgrade python to 3.11 if the user holds Orthanc-Python on a version wich depends on 3.10. |
Now all the packages are building successfully on my local. I'll try to cross build to the others archs now. |
This is already covered by dynamic linking tracking, look for |
Ahh okay, so don't I need to specify python3 on depends? |
9678dfe
to
409ea61
Compare
I marked all packages (except civetweb) since dcmtk, a dependency of Orthanc, need running some code on target arch to generate a header for crossbuild. It can be done running a compiled test (a single .cc present on distfile) on each arch and providing its generated headers together to package and copying it to desired directory, what seems a little tricky to maintain. |
23feb35
to
f20a5e3
Compare
I just updated Orthanc and Orthanc-DicomWeb to upstream version and made a change o Orthanc template accordingly Orthanc documentation. Also I tested the build on native aarch64 and everything seems fine. |
aa5a8db
to
437a64b
Compare
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
Testing the changes
New package
Local build testing