From: Mathieu Malaterre Date: Mon, 7 Nov 2022 09:51:32 +0000 (+0100) Subject: d/patches: Add fake version mechanism X-Git-Tag: archive/raspbian/3.6.9-4+rpi1^2~62 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c608bcb8832fce6b83fe18a9ab738e382fcc1e12;p=dcmtk.git d/patches: Add fake version mechanism --- diff --git a/debian/patches/series b/debian/patches/series index 020d58e2..d6f66074 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1,5 @@ 01_dcmtk_3.6.0-1.patch -03_datadic_install.patch +#03_datadic_install.patch 07_dont_export_all_executables.patch #bigendian.patch #bug1000220.patch @@ -8,4 +8,5 @@ #0cf6b12d8ea0b727f0fe2ab076b6f180100fbd30.patch #ab61e8577ff0974efcfae2907c48baf6023c1160.patch #1c8cca4bf6f7c92fc16f9e66faf49409c891a2b0.patch -f06a867513524664a1b03dfcf812d8b60fdd02cc.patch +#f06a867513524664a1b03dfcf812d8b60fdd02cc.patch +version.patch diff --git a/debian/patches/version.patch b/debian/patches/version.patch new file mode 100644 index 00000000..1c4f10ff --- /dev/null +++ b/debian/patches/version.patch @@ -0,0 +1,31 @@ +Description: Fake a release +Author: Mathieu Malaterre +Forwarded: not-needed +Last-Update: 2022-10-18 + +Index: dcmtk/CMake/dcmtkPrepare.cmake +=================================================================== +--- dcmtk.orig/CMake/dcmtkPrepare.cmake ++++ dcmtk/CMake/dcmtkPrepare.cmake +@@ -33,17 +33,17 @@ endif() + # a development snapshot and an even number indicates an official release.) + set(DCMTK_MAJOR_VERSION 3) + set(DCMTK_MINOR_VERSION 6) +-set(DCMTK_BUILD_VERSION 7) ++set(DCMTK_BUILD_VERSION 8) + # The ABI is not guaranteed to be stable between different snapshots/releases, + # so this particular version number is increased for each snapshot or release. +-set(DCMTK_ABI_VERSION 17) ++set(DCMTK_ABI_VERSION 18) + + # Package "release" settings (some are currently unused and, therefore, disabled) + set(DCMTK_PACKAGE_NAME "dcmtk") +-set(DCMTK_PACKAGE_DATE "DEV") ++set(DCMTK_PACKAGE_DATE "2022-10-13") + set(DCMTK_PACKAGE_VERSION "${DCMTK_MAJOR_VERSION}.${DCMTK_MINOR_VERSION}.${DCMTK_BUILD_VERSION}") + set(DCMTK_PACKAGE_VERSION_NUMBER ${DCMTK_MAJOR_VERSION}${DCMTK_MINOR_VERSION}${DCMTK_BUILD_VERSION}) +-set(DCMTK_PACKAGE_VERSION_SUFFIX "+") ++set(DCMTK_PACKAGE_VERSION_SUFFIX "") + #set(DCMTK_PACKAGE_TARNAME "dcmtk-${DCMTK_PACKAGE_VERSION}") + #set(DCMTK_PACKAGE_STRING "dcmtk ${DCMTK_PACKAGE_VERSION}") + #set(DCMTK_PACKAGE_BUGREPORT "bugs@dcmtk.org")