diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 43003 -> 43003 bytes | |||
-rw-r--r-- | sci-libs/dcmtk/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/dcmtk/dcmtk-3.6.9.ebuild | 88 | ||||
-rw-r--r-- | sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch | 15 |
4 files changed, 106 insertions, 0 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex a1a7d18f0c9f..d7df354d695f 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/dcmtk/Manifest b/sci-libs/dcmtk/Manifest index c2d8a38311e6..dd30d596f2a7 100644 --- a/sci-libs/dcmtk/Manifest +++ b/sci-libs/dcmtk/Manifest @@ -1,6 +1,9 @@ AUX dcmtk-3.6.8-docdir.patch 754 BLAKE2B 3e2ee8a6a213015b14489f63ef002c8d2568e2c992c55a21f66387c962541be271e8e925c0d0924b2d25b72d8b878731ce64741cab5fa0dcdb21d9da8fd02d8a SHA512 addbbb9e2b12cc296ae68e3dd9103f9d473e0f61e96934dc078ad13ba60b8f92e9b8459b71d8df39b2e0c28f3283f66e31581fb8a124cc8f35f99e1c4afb1dfa +AUX dcmtk-3.6.9-docdir.patch 842 BLAKE2B 9bc32bcfbe3d5ea4c302f1abab054fe1a3288de91224701be30a6e42be91ef687289bb881524ac3f2e675e2bc3c5504f82074cdf72ee59ece00ff960b41314fd SHA512 e348fec6e85d6b017e3deb126ecd845f5d446ae3fc8e745f198526acaa2976b9d485c887d4c648c29f24fc2609891fb05722f8b4eef3750874429121f0359197 DIST dcmtk-3.6.7.tar.gz 6877857 BLAKE2B 242ba19ed3876b27c8eeb6917f9264911c951e91ab27d2ebd3e95ab5dcf55a0e18986cede87c8ab7e6280eafeb19fda120ccb2114d24a16f222b411b44cc28d8 SHA512 b9c227f496de65424256636fa7ad266affc6593f72c6849271da94837b68c93a5b8e056ecd09d46550b6ac0530c406ab9f71751d317a5fd4171a222f9fc9ca45 DIST dcmtk-3.6.8.tar.gz 9628364 BLAKE2B 367885c3fda65b7b2e42555ba648800f9585cbd4c4d94e01f737110fc726ce3396df50ccd6f2c9bacc59284fc1381683b72506a3c566f795c8157da39a95fb2a SHA512 1bb2aad1aa63e0a1b79d92d7c932a969deccde03fdb484dbd44198effb58d50de44a2b0cda150ce7df63e4e986af5bc1f694c8a7988b4c049c578d83ba81184a +DIST dcmtk-3.6.9.tar.gz 9628334 BLAKE2B c60a9620a522b2a2fb976549ec1a3addce9ccd2fee90dad85376b56c105b28450d8ac2c8e8afe397e1bce532f8dd08f3fdb1135513bce3b314bdd7bbae7c06c9 SHA512 1ea4140940f33b34e21895cd7aa6b05be109fcecfbed45f61f8a4a248ea98deae59f2b362e518051d6054f588189d5ef9bba0ab81afa73b219c9ebcf415a0ca0 EBUILD dcmtk-3.6.7-r1.ebuild 1989 BLAKE2B 47958171848d55e4e648abec64258fe3c6547f6c18daf6dc3f46e6e5e0c88afb3787d86dab6bda6c53ae13909cf1f7fd8fe956e1b4f1653a068fc6b3f06d5898 SHA512 902b2bd3dabfce90711f811eb0eafb14f3d61f9ff545046c3b223eda15aeb2985c6c7dfcd765014b179e4b177e5ca61a37561bbf5b19201fe19614ec8e7c4780 EBUILD dcmtk-3.6.8.ebuild 1963 BLAKE2B cedac0e5bbbd5ef840347d3af28ef8951cca68b4c00170ab2109286dd8d33e5ef25980e51f761da8404cc96c7bed494aa3d4c975388f4257a43722387aac86fd SHA512 a558ad80d191b25e120c92fe66aca9b1689a2a5de9b3c4df89fb8279addc35bc6e012e24c4b52308ab83786934c682d0da01bb3e5f54ebc0efc2964db17408cc +EBUILD dcmtk-3.6.9.ebuild 1751 BLAKE2B 22e2943d04bb9449ab7d03a016eb2a6c83d1521c4c29186bc92559c2a71a8dc140e633207ed8bf541a00b73281ff1cbf0eb0271954f74f944a1895d4a343688a SHA512 a29f07be93e3f9264624ef5934f4a716945efc8eff100f6e221472cdfc2fd7b074d7d5de558b9e6dbd067e8e9520248dc99b032fb9ed6ebca5a9db962b3e599e MISC metadata.xml 308 BLAKE2B 394345b977e2dd7598cd2acdf2af966f2efecef502a4f460e4fe323c095e3de8523c4217873d18f68198996e4ee08580f46543bf7e357a227f66dcd558191615 SHA512 b8117feeab19b0128c2378d36370e907338873a177c5d8f1cfaef79bf16e877fc455cc5096bccadb99a7238c02fd01c02ae9018a81aab013e0d1a1ccc4cd650c diff --git a/sci-libs/dcmtk/dcmtk-3.6.9.ebuild b/sci-libs/dcmtk/dcmtk-3.6.9.ebuild new file mode 100644 index 000000000000..605e334411ec --- /dev/null +++ b/sci-libs/dcmtk/dcmtk-3.6.9.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic cmake + +DESCRIPTION="The DICOM Toolkit" +HOMEPAGE="https://dicom.offis.de/dcmtk.php.en" +SRC_URI="https://dicom.offis.de/download/dcmtk/release/${P}.tar.gz" + +LICENSE="OFFIS" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc png ssl tcpd tiff +threads xml zlib" + +RDEPEND=" + png? ( media-libs/libpng:* ) + ssl? ( dev-libs/openssl:= ) + tcpd? ( sys-apps/tcp-wrappers ) + tiff? ( media-libs/tiff:= ) + xml? ( dev-libs/libxml2:2 ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + virtual/latex-base + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.6.9-docdir.patch +) + +src_prepare() { + cmake_src_prepare + + sed -i -e "s:COPYRIGHT::" CMakeLists.txt || die + # Temporary workaround: docs are not built with CMake + sed -i -e '/include/d' doxygen/Makefile.in || die +} + +src_configure() { + # ODR violations (bug #862699). They seem to have reappeared in 3.6.9. + # Not yet reported upstream. + filter-lto + + # bug 908398 + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + + local mycmakeargs=( + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" + -DDCMTK_WITH_TIFF=$(usex tiff) + -DDCMTK_WITH_PNG=$(usex png) + -DDCMTK_WITH_XML=$(usex xml) + -DDCMTK_WITH_ZLIB=$(usex zlib) + -DDCMTK_WITH_OPENSSL=$(usex ssl) + -DDCMTK_WITH_DOXYGEN=$(usex doc) + -DDCMTK_WITH_THREADS=$(usex threads) + ) + + cmake_src_configure + + if use doc; then + cd "${S}"/doxygen || die + econf + fi +} + +src_compile() { + cmake_src_compile + + if use doc; then + emake -C "${S}"/doxygen + fi +} + +src_install() { + doman doxygen/manpages/man1/* + + if use doc; then + local HTML_DOCS=( "${S}"/doxygen/htmldocs/. ) + fi + + cmake_src_install +} diff --git a/sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch b/sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch new file mode 100644 index 000000000000..aa6faf0f5ef7 --- /dev/null +++ b/sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch @@ -0,0 +1,15 @@ +--- a/CMake/GenerateDCMTKConfigure.cmake ++++ b/CMake/GenerateDCMTKConfigure.cmake +@@ -193,12 +193,6 @@ else() + set(PATH_SEPARATOR "/") + set(ENVIRONMENT_PATH_SEPARATOR ":") + +- # Modify the installation paths for configuration files, data files and documents +- # by adding a subdirectory with the DCMTK name and version number +- set(CMAKE_INSTALL_SYSCONFDIR "${CMAKE_INSTALL_SYSCONFDIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}") +- set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATADIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}") +- set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DOCDIR}-${DCMTK_COMPLETE_PACKAGE_VERSION}") +- + # These variables are defined as macros in osconfig.h and must end with a path separator + if(CMAKE_VERSION VERSION_LESS 3.20.0) + # CMake versions prior to 3.20 expect the third parameter to be passed in ${dir} |