[med-svn] [Git][med-team/aevol][master] Add more missing Build-Depends and patch to not download libraries while using...
Andreas Tille (@tille)
gitlab at salsa.debian.org
Tue Feb 10 06:27:16 GMT 2026
Andreas Tille pushed to branch master at Debian Med / aevol
Commits:
70b24b6f by Andreas Tille at 2026-02-10T07:26:39+01:00
Add more missing Build-Depends and patch to not download libraries while using Debian packaged instead.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/series
- + debian/patches/use_debian_packaged_libs.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,10 +1,10 @@
aevol (9.3.0-1) UNRELEASED; urgency=medium
* Team upload.
+ * New upstream version
* d/watch: version=5
* Drop libboost-system-dev from Build-Depends
Closes: #1127160
- * New upstream version
* Standards-Version: 4.7.3 (routine-update)
* Remove Priority field to comply with Debian Policy 4.7.3 (routine-
update)
@@ -13,7 +13,7 @@ aevol (9.3.0-1) UNRELEASED; urgency=medium
* Use secure URI in Homepage field.
* Remove duplicate values for fields Author, Author, Author, Entry, Entry,
Name, Title in debian/upstream/metadata.
- * Build-Depends: cmake, nlohmann-json3-dev
+ * Build-Depends: cmake, nlohmann-json3-dev, googletest, libgtest-dev
-- Andreas Tille <tille at debian.org> Mon, 09 Feb 2026 22:34:06 +0100
=====================================
debian/control
=====================================
@@ -9,7 +9,9 @@ Build-Depends: debhelper-compat (= 13),
libboost-dev,
libboost-filesystem-dev,
mpi-default-dev,
- nlohmann-json3-dev
+ nlohmann-json3-dev,
+ googletest,
+ libgtest-dev
Standards-Version: 4.7.3
Vcs-Browser: https://salsa.debian.org/med-team/aevol
Vcs-Git: https://salsa.debian.org/med-team/aevol.git
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+use_debian_packaged_libs.patch
=====================================
debian/patches/use_debian_packaged_libs.patch
=====================================
@@ -0,0 +1,42 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2026-02-10
+Forwarded: not needed
+Description: Do not download libraries and use Debian packaged instead
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -233,15 +233,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+ # ===========================================================================
+ # Fetch external dependencies
+ # ===========================================================================
+-include(FetchContent)
+-FetchContent_Declare(
+- json
+- URL https://github.com/nlohmann/json/releases/download/v3.12.0/json.tar.xz
+- URL_HASH SHA256=42f6e95cad6ec532fd372391373363b62a14af6d771056dbfc86160e6dfff7aa
+-)
+-Message(STATUS "Getting external dependencies...")
+-FetchContent_MakeAvailable(json)
+-Message(STATUS "Getting external dependencies... Done")
++find_package(nlohmann_json REQUIRED)
+
+ # ============================================================================
+ # Look for Zlib
+--- a/test/gtest/CMakeLists.txt
++++ b/test/gtest/CMakeLists.txt
+@@ -3,14 +3,7 @@ include(GoogleTest)
+ set(BUILD_GMOCK OFF)
+ set(INSTALL_GTEST OFF)
+
+-FetchContent_Declare(
+- googletest
+- GIT_REPOSITORY https://github.com/google/googletest.git
+- GIT_TAG v1.14.0
+-)
+-Message(STATUS "Getting external dependency (googletest)...")
+-FetchContent_MakeAvailable(googletest)
+-Message(STATUS "Getting external dependency (googletest)... Done")
++find_package(GTest REQUIRED)
+
+ function(add_gtest
+ test
View it on GitLab: https://salsa.debian.org/med-team/aevol/-/commit/70b24b6f15408db21464648da2a16866485ced7b
--
View it on GitLab: https://salsa.debian.org/med-team/aevol/-/commit/70b24b6f15408db21464648da2a16866485ced7b
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/20260210/3672e104/attachment-0001.htm>
More information about the debian-med-commit
mailing list