[med-svn] [Git][med-team/ball][master] 2 commits: Fix arch:all build.
Yavor Doganov (@yavor-guest)
gitlab at salsa.debian.org
Mon Nov 10 17:57:23 GMT 2025
Yavor Doganov pushed to branch master at Debian Med / ball
Commits:
d87d2f5b by Yavor Doganov at 2025-11-10T19:30:15+02:00
Fix arch:all build.
- - - - -
b8af6bcb by Yavor Doganov at 2025-11-10T19:56:05+02:00
tests/control (Depends): Add build-essential.
- - - - -
3 changed files:
- debian/changelog
- debian/rules
- debian/tests/control
Changes:
=====================================
debian/changelog
=====================================
@@ -26,6 +26,7 @@ ball (1.5.0+git20220524.d85d2dd-1) UNRELEASED; urgency=medium
(Standards-Version): Claim compliance with 4.7.2; no changes needed.
* debian/rules (CXXFLAGS, LDFLAGS): Remove definitions.
(FORCE_SOURCE_DATE): Export for a reproducible tutorial.pdf.
+ (common_targets): New helper variable.
(override_dh_auto_configure): Run dh_auto_configure; fixes cross
building. Pass -DBALL_PYTHON_SUPPORT=OFF.
Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON for a reproducible build.
=====================================
debian/rules
=====================================
@@ -15,6 +15,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Needed for a reproducible tutorial.pdf.
export FORCE_SOURCE_DATE := 1
+common_targets := BALL VIEW BALLView
+
%:
dh $@ --buildsystem=cmake --builddirectory=build
@@ -70,14 +72,14 @@ override_dh_auto_build-arch:
## Somehow the code
## ADD_BALL_UIFILES("VIEW/DIALOGS" "${UI_LIST}")
## needs to be called before the build code below can be started
- dh_auto_build -- BALL VIEW BALLView install
+ dh_auto_build -- $(common_targets) install
# Don't build the tests if they are not going to be run.
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_build -- build_tests
endif
override_dh_auto_build-indep:
- dh_auto_build -- doc doc_tutorial install
+ dh_auto_build -- $(common_targets) doc doc_tutorial install
override_dh_auto_clean:
[ -d source ] && cd source ; \
=====================================
debian/tests/control
=====================================
@@ -3,5 +3,6 @@ Tests:
Restrictions:
allow-stderr,
Depends:
+ build-essential,
pkgconf,
@,
View it on GitLab: https://salsa.debian.org/med-team/ball/-/compare/31887718e4b83319bc54ef34f0c9639df39bee2d...b8af6bcb03ff8844e9d4a0a80594a9df5997d970
--
View it on GitLab: https://salsa.debian.org/med-team/ball/-/compare/31887718e4b83319bc54ef34f0c9639df39bee2d...b8af6bcb03ff8844e9d4a0a80594a9df5997d970
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/20251110/20384ca9/attachment-0001.htm>
More information about the debian-med-commit
mailing list