[med-svn] [Git][med-team/dcmtk][master] Second try at fixing dictionary path

Gregory Sharp (@gregsharp-guest) gitlab at salsa.debian.org
Thu Jun 16 17:20:12 BST 2022



Gregory Sharp pushed to branch master at Debian Med / dcmtk


Commits:
70a25132 by Gregory C. Sharp at 2022-06-16T11:54:09-04:00
Second try at fixing dictionary path

- - - - -


2 changed files:

- debian/patches/03_datadic_install.patch
- debian/rules


Changes:

=====================================
debian/patches/03_datadic_install.patch
=====================================
@@ -47,11 +47,11 @@ Author: Mathieu Malaterre <malat at debian.org>
    # Set dictionary path to the data dir inside install main dir (prefix).
    if(DCMTK_DEFAULT_DICT STREQUAL "external")
 -    set(DCM_DICT_DEFAULT_PATH "${DCMTK_PREFIX}/${CMAKE_INSTALL_DATADIR}/dcmtk/dicom.dic")
-+    set(DCM_DICT_DEFAULT_PATH "${DCMTK_PREFIX}/${CMAKE_INSTALL_DATADIR}/dicom.dic")
++    set(DCM_DICT_DEFAULT_PATH "${DCMTK_PREFIX}/${CMAKE_INSTALL_DATADIC}/dicom.dic")
      # If private dictionary should be utilized, add it to default dictionary path.
      if(ENABLE_PRIVATE_TAGS)
 -      set(DCM_DICT_DEFAULT_PATH "${DCM_DICT_DEFAULT_PATH}:${DCMTK_PREFIX}/${CMAKE_INSTALL_DATADIR}/dcmtk/private.dic")
-+      set(DCM_DICT_DEFAULT_PATH "${DCM_DICT_DEFAULT_PATH}:${DCMTK_PREFIX}/${CMAKE_INSTALL_DATADIR}/private.dic")
++      set(DCM_DICT_DEFAULT_PATH "${DCM_DICT_DEFAULT_PATH}:${DCMTK_PREFIX}/${CMAKE_INSTALL_DATADIC}/private.dic")
      endif()
    else()
      set(DCM_DICT_DEFAULT_PATH "")
@@ -63,7 +63,7 @@ Author: Mathieu Malaterre <malat at debian.org>
 +set(DCMTK_INSTALL_DATDIR "share/libdcmtk${DCMTK_ABI_VERSION}")
 +
 +install(FILES dcm2xml.dtd dumppat.txt SC.dump VLP.dump DESTINATION "${CMAKE_INSTALL_DATADIR}/dcmtk" COMPONENT data)
-+install(FILES dicom.dic acrnema.dic private.dic diconde.dic DESTINATION ${CMAKE_INSTALL_DATADIR} COMPONENT data)
++install(FILES dicom.dic acrnema.dic private.dic diconde.dic DESTINATION ${CMAKE_INSTALL_DATADIC} COMPONENT data)
  
  # add paths to the dictionaries to a CMake variable for being used by the unit tests
  set(DCMTK_DICOM_DICTIONARIES


=====================================
debian/rules
=====================================
@@ -38,7 +38,7 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=None \
  -DDCMTK_WITH_ICU:BOOL=OFF \
  -DUSE_COMPILER_HIDDEN_VISIBILITY:BOOL=ON \
  -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_INSTALL_DATADIR:STRING=share/libdcmtk17 \
+ -DCMAKE_INSTALL_DATADIC:STRING=share/libdcmtk17 \
  -DCMAKE_SKIP_RPATH:BOOL=OFF \
  -DDCMTK_ENABLE_STL:BOOL=ON \
  -DCMAKE_CXX_STANDARD:STRING=17



View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/commit/70a251327841cd6dbab807d9ce6cb2b31a5bbf5b

-- 
View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/commit/70a251327841cd6dbab807d9ce6cb2b31a5bbf5b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220616/6c4b4d9a/attachment-0001.htm>


More information about the debian-med-commit mailing list