Commit Graph

20 Commits

Author SHA1 Message Date
Kai Pastor
2eab0f6ee8
[vcpkg-cmake] Catch wrong MAYBE_UNUSED_VARIABLES (#38249)
https://github.com/microsoft/vcpkg/pull/36124#discussion_r1567897651,  
https://github.com/microsoft/vcpkg/pull/24633#discussion_r1568353228.
Related (fix): https://github.com/microsoft/vcpkg/pull/38223 (merged
here.)

---------

Co-authored-by: Jim-Wang <wangzhijie05@beyondsoft.com>
2024-04-30 11:39:01 -07:00
Kevin Leonardic
47603dca6e
[dcmtk] Add prefix to vendored libjpeg symbols (#36274)
<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->
<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->
<!-- If this PR updates an existing port, please uncomment and fill out
this checklist:END OF PORT UPDATE CHECKLIST (delete this line) -->
Fixes #33512.

DCMTK comes with a vendored version of libjpeg that has custom
adjustments (e. g. a special lossless mode ).
The vendored version of libjpeg has conflicting symbols with the
libjpeg-turbo>=3.0.0 library that is built and linked in by vcpkg via
transitive dependencies, e.g. when linking in `tiff` support, where
libtiff has been built with `jpeg` support.

This PR implements a search and replace operation that prefixes the
exported symbols of the vendored libjpeg version with `dcmtk_`, thus
enabling us to link against both the vendored and the vcpkg version of
libjpeg at the same time without conflicting symbols.

The generated static library files have been checked with `nm -g
libijg{8,12,16}.a | grep -v dcmtk_` to see if there are any exported
symbols without `dcmtk_` remaining. There are none except for
`0000000000000000 B jaritab` which is not defined in `libjpeg.a`.

The PR has been tested with x64-linux and arm64-osx triplets and builds
`dcmtk[tools,tiff,zlib]` cleanly.

In order to fix #33512, we have to work around that vendored version of
libjpeg one way or another.

- Changes do not fully comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
Avoiding the vendored dependency would imply creating a dcmtk-jpeg
package from the vendored one, that is exclusively used for dcmtk and
needs to be kept in sync with dcmtk.
- ~~SHA512s are updated for each updated download.~~
- ~~The "supports" clause reflects platforms that may be fixed by this
new version.~~
- ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.



<!-- If this PR adds a new port, please uncomment and fill out this
checklist:

- [_] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [ ] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [ ] The versioning scheme in `vcpkg.json` matches what upstream says.
- [ ] The license declaration in `vcpkg.json` matches what upstream
says.
- [ ] The installed as the "copyright" file matches what upstream says.
- [ ] The source code of the component installed comes from an
authoritative source.
- [ ] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [ ] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [ ] Only one version is in the new port's versions file.
- [ ] Only one version is added to each modified port's versions file.

END OF NEW PORT CHECKLIST (delete this line) -->
2024-02-27 01:01:39 -08:00
jim wang
fe9f0b22b3
[dcmtk] Fix dependencies (#36607)
* fix dep

* update version

* fix link

* update vertsion

* update version

* fix patch

* update version
2024-02-07 22:27:35 -08:00
Kevin Leonardic
039cb74bbb
[dcmtk] Enable toggling external dictionary as a feature (#36136) 2024-01-23 11:55:04 -08:00
Kevin Leonardic
a1c22c4aab
[dcmtk] Update to 3.6.8 (#36124) 2024-01-17 12:02:49 -08:00
jim wang
a5bc2a1b25
[dcmtk] Fix link xml2 error (#35414) 2023-12-04 17:24:32 -08:00
Cheney Wang
a26fc81350
[vcpkg baseline][dcmtk] Remove the leading spaces of pc file (#32049)
* [vcpkg baseline][dcmtk] Adding SKIP_CHECK for vcpkg_fixup_pkgconfig()

* Fix the format of pc.in file

* Remove local change
2023-06-26 13:08:05 -07:00
reito
8c9416f444
[multiple-ports] Fix missing usage (#29345)
* Fix missing usage

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2023-02-09 10:59:04 -08:00
ALittleDruid
4330517344
[Dcmtk] enable dependencies (#26255)
* dcmtk: Enable dependencies, shared libs, stl, c++17 ...

* dcmtk: Update port version

* modify portfile based on comments from the review

* Update version database

* Use vcpkg_check_features' FEATURE_OPTIONS and other nitipicks.

Co-authored-by: ALittleDruid <297957399@qq.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-08-12 15:42:05 -07:00
autoantwort
12a005017b
[dcmtk] no absolute paths (#25964) 2022-07-27 11:41:12 -07:00
JonLiu1993
ee51cc2346
[DCMTK] update to 3.6.7 (#25887)
* [DCMTK] update to 3.6.7

* update version

* Add license

* update version
2022-07-22 11:07:51 -07:00
autoantwort
c4f3862e4c
[dcmtk] no absolute paths (#21277) 2021-11-18 21:02:06 -08:00
Sébastien Matte
2d378e70a6
[DCMTK] Update to 3.6.6 (#17641)
* [dcmtk] Update to 3.6.6

* [dcmtk] Update to 3.6.6
2021-05-06 13:41:47 -07:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
Robert Schumacher
08c951fef9
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08:00
Lily
731628c913 [dcmtk] Fix build error on Linux (#8202) 2019-09-17 09:31:06 -07:00
robbie-li
2129bcd180 [dcmtk] support wchar_t* filename (#7059)
* support wchar_t* filename

* bump control
2019-07-05 18:01:46 -07:00
Robert Schumacher
3fadafface
[many ports] Updates 2019.05.24 (#6618)
* [many ports] Updates 2019.05.24

* Update SHA512 and resolve conflict for ebml and matroska

* [avro-c]Fix build error caused by jansson upgrades.

* [xxhash]Update to the next version to fix build error.(xxhash issue:#179)

* Fix failures and undo asio

* [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches

* Update REF

* Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes

* [flann, fastcdr] Fix old patches and build error.

* [flann, fastcdr] Fix build error.

* Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes

* [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error.

* fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi

* fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers

* undo libmupdf forge kd-soap qca

* [mosquitto] Fix installation of import libs

* [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes

* [fastcdr] Minimize patch

* [many ports] Revert trivial changes

* [libyaml] Switch to non-dist tag

* [sqlite-modern-cpp] Track master due to infrequent release

* [nano-signal-slot] Revert downgrade

* [openvpn3] Bump control version to account for portfile change

* [sqlite-modern-cpp] Fixup wrong hash

* [mosquitto] Commit missing patch
2019-06-10 17:01:54 -07:00
Victor Romero
050e71d01d
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#5937)
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [alac,benchmark,capnproto] Fix  check_linkage call

* [fastlz] Fix SHA512

* [coroutine] Fix dynamic build

* [folly] Find double-conversion

* [gamma] Use vcpkg_from_github

* [librsync] Enable static builds

* [netcdf-cxx4] Fix SHA512

* [octomap] Fix static build

* [tidy-html5] Fix static build

* [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime

* [folly] Use ras0219's fix for link paths

* [octomap] Fix exported targets

* [uvatlas] Set tool download SHA512

* [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32

* [suitesparse] osx fix

* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions

* [duktape] Resolve conflicts

* [duktape] FIxed typo in Python paths

* [wangle] Find zlib

* [openssl-uwp] Fix SHA512

* [glib] Allow static builds on non-Windows

* [suitesparse] Fix build on Windows

* [multiple ports] Bump CONTROL version

* [multiple ports] Fix description indent

* [directxtk] Fix CONTROL file

* [bde,duktape,qpid-proton] Build packages with python2 installed

* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [gdal,live555,uriparser] Fix regressions

* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00
Sarthak Pati
5bf05da69a Added DCMTK port (#3491)
* added dcmtk port

* [dcmtk] Cleanup and use vcpkg_from_github()
2018-08-08 02:59:08 -07:00