[neon/neon-packaging/glaxnimate/Neon/stable] debian: Revert "no git versioning"
Carlos De Maine
null at kde.org
Mon Feb 2 11:36:49 GMT 2026
Git commit cc6c3aa04bd9f1b169a2b3531838bf72b3333786 by Carlos De Maine.
Committed on 02/02/2026 at 11:36.
Pushed by carlosdem into branch 'Neon/stable'.
Revert "no git versioning"
This reverts commit fe3855d125a910e0ce9ea6512eb68d90c3cd3a37
D +0 -33 debian/patches/drop_git_versioning.diff
D +0 -1 debian/patches/series
M +2 -1 debian/rules
https://invent.kde.org/neon/neon-packaging/glaxnimate/-/commit/cc6c3aa04bd9f1b169a2b3531838bf72b3333786
diff --git a/debian/patches/drop_git_versioning.diff b/debian/patches/drop_git_versioning.diff
deleted file mode 100644
index b2df55e..0000000
--- a/debian/patches/drop_git_versioning.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d90203325ce7f4fe9b8a41b8a6a7f801c9e312a1..1ac165df61ae2b98585af1292df52d5486e5471d 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -56,28 +56,6 @@ set(CMAKE_CXX_STANDARD 17)
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
- set(CMAKE_POSITION_INDEPENDENT_CODE ON)
-
--# Git
--set(VERSION_NAKED ${PROJECT_VERSION})
--set(VERSION_SUFFIX "-git-" CACHE STRING "")
--
--if (VERSION_SUFFIX STREQUAL "-git-" AND EXISTS ${CMAKE_SOURCE_DIR}/.git)
-- # Probably a Git workspace; determine the revision.
-- find_package(Git QUIET)
-- if(GIT_FOUND)
-- exec_program(${GIT_EXECUTABLE} ${CMAKE_SOURCE_DIR}
-- ARGS "log -n 1 --pretty=format:\"%h\""
-- OUTPUT_VARIABLE GIT_REVISION)
-- message(STATUS "Git revision: ${GIT_REVISION}")
-- set(PROJECT_VERSION "${PROJECT_VERSION}-git-${GIT_REVISION}")
-- else()
-- message(STATUS "Git revision could not be determined")
-- endif()
--elseif(VERSION_SUFFIX MATCHES "^\\..*")
-- set(PROJECT_VERSION "${PROJECT_VERSION}${VERSION_SUFFIX}")
--elseif(NOT VERSION_SUFFIX STREQUAL "")
-- set(PROJECT_VERSION "${PROJECT_VERSION}+${VERSION_SUFFIX}")
--endif()
--
- message(STATUS "Building ${PROJECT_NAME} ${PROJECT_VERSION}")
-
- # Snapcraft stuff here because we don't care if cmake fails on CI
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index a408297..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-drop_git_versioning.diff
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 4877acc..08a28d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,5 +7,6 @@
override_dh_auto_configure:
dh_auto_configure -- \
- -DBUILD_WITH_QT6=ON
+ -DBUILD_WITH_QT6=ON \
+ -DVERSION_SUFFIX=NEON
# -DMOBILE_UI=ON
\ No newline at end of file
More information about the Neon-commits
mailing list