[med-svn] [Git][med-team/ball][master] 6 commits: Link with OpenBabel and FFTW, change license to GPL-2.
Yavor Doganov (@yavor-guest)
gitlab at salsa.debian.org
Thu Oct 22 19:26:41 BST 2026
Yavor Doganov pushed to branch master at Debian Med / ball
Commits:
dbcbf0de by Yavor Doganov at 2026-09-27T23:40:55+03:00
Link with OpenBabel and FFTW, change license to GPL-2.
* debian/control (Build-Depends): Add libbftw3-dev and libopenbabel-dev
(for conversion between the different formats).
* debian/rules (override_dh_auto_configure): Pass -DBALL_LICENSE=GPL.
* debian/copyright: Add general comment that the license of the package
that Debian distributes is GPL-2 due to linking with OpenBabel/FFTW.
- - - - -
faabee7b by Yavor Doganov at 2026-09-28T00:05:41+03:00
(CFLAGS, CXXFLAGS): Remove; not needed with Qt 6.
- - - - -
a768a436 by Yavor Doganov at 2026-09-28T06:54:05+03:00
(Build-Depends): Restrict libtbb-dev to GNU/Linux.
- - - - -
92bd3c20 by Yavor Doganov at 2026-09-28T07:11:53+03:00
(Build-Depends): Remove tidy; not needed.
- - - - -
1689fc7b by Yavor Doganov at 2026-10-10T08:25:52+03:00
(Build-Depends): Remove libboost-dev; not needed.
- - - - -
28bb10a8 by Yavor Doganov at 2026-10-22T20:25:52+03:00
(DEB_CXXFLAGS_MAINT_APPEND): Define on hppa as workaround for a GCC bug.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- debian/copyright
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,20 @@
+ball (1.7.4-2) unstable; urgency=medium
+
+ * Team upload.
+ * Upload to unstable.
+ * debian/control (Build-Depends): Add libfftw3-dev (for faster
+ computation) and libopenbabel-dev (for conversion between the
+ different formats). Restrict libtbb-dev to GNU/Linux. Remove tidy
+ and libboost-dev; not needed.
+ * debian/rules (override_dh_auto_configure): Pass -DBALL_LICENSE=GPL.
+ (CFLAGS, CXXFLAGS): Remove; not needed with Qt 6.
+ (DEB_CXXFLAGS_MAINT_APPEND): Define to -O1 on hppa as temporary
+ workaround for a GCC bug (PR rtl-optimization/127142).
+ * debian/copyright: Add general comment that the license of the package
+ that Debian distributes is GPL-2 due to linking with OpenBabel/FFTW.
+
+ -- Yavor Doganov <yavor at gnu.org> Thu, 22 Oct 2026 20:23:26 +0300
+
ball (1.7.4-1) experimental; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -11,21 +11,21 @@ Build-Depends:
cmake,
flex,
imagemagick,
- libboost-dev,
libboost-iostreams-dev,
libboost-thread-dev,
libcups2-dev,
libeigen3-dev,
+ libfftw3-dev,
libgl-dev,
libglew-dev,
liblpsolve55-dev,
libnsl-dev,
+ libopenbabel-dev,
libsvm-dev,
- libtbb-dev,
+ libtbb-dev [linux-any],
qt6-svg-dev,
qt6-tools-dev,
qt6-webengine-dev [amd64 arm64 armhf i386],
- tidy,
Standards-Version: 4.7.4
Vcs-Browser: https://salsa.debian.org/med-team/ball
Vcs-Git: https://salsa.debian.org/med-team/ball.git
=====================================
debian/copyright
=====================================
@@ -2,6 +2,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: BALL
Upstream-Contact: Andreas Hildebrandt <Andreas.Hildebrandt at uni-mainz.de>
Source: https://github.com/BALL-Project/ball
+Comment: Debian distributes this package under GPL-2 because the
+ libraries are linked with OpenBabel (GPL-2) and FFTW (GPL-2+).
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in "/usr/share/common-licenses/GPL-2".
Files: *
Copyright: © 1998-2026 the BALL project group
=====================================
debian/rules
=====================================
@@ -7,9 +7,16 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND := -Wl,-rpath,/usr/lib/ball
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
-# CMake ignores CPPFLAGS; merge them into CFLAGS/CXXFLAGS so hardening flags reach the compiler.
-export CFLAGS += $(CPPFLAGS)
-export CXXFLAGS += $(CPPFLAGS)
+
+# Temporary workaround for GCC PR rtl-optimization/127142
+# (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127142) which leads to
+# FTBFS on hppa with GCC 16.2.0:
+# https://buildd.debian.org/status/fetch.php?pkg=ball&arch=hppa&ver=1.7.4-1&stamp=1790240580&raw=0
+# TODO: Remove when GCC 17 becomes the default compiler or if the fix
+# is eventually backported to 16.3.0.
+ifeq ($(DEB_HOST_ARCH),hppa)
+export DEB_CXXFLAGS_MAINT_APPEND := -O1
+endif
common_targets := BALL VIEW BALLView
@@ -18,10 +25,13 @@ common_targets := BALL VIEW BALLView
override_dh_auto_configure:
# The plugins are not installed so there is no sense to build them.
+# BALL_LICENSE=GPL is needed to allow performing the detection tests
+# for OpenBabel/FFTW and link with them if found.
dh_auto_configure -- \
-DCMAKE_INSTALL_LIBDIR=lib/ball \
-DBALL_PATH=/usr \
-DBALL_DATA_PATH=/usr/share/BALL \
+ -DBALL_LICENSE=GPL \
-DBALL_PYTHON_SUPPORT=OFF \
-DBALL_BUILD_BALLAXY=OFF \
-DUSE_PRESENTABALL_PLUGIN=OFF
View it on GitLab: https://salsa.debian.org/med-team/ball/-/compare/d734b9418f6b80bffe7b692ffcc1ce36f83b2ed9...28bb10a8e3dc7584f8c7be86fcbf5a19184043bc
--
View it on GitLab: https://salsa.debian.org/med-team/ball/-/compare/d734b9418f6b80bffe7b692ffcc1ce36f83b2ed9...28bb10a8e3dc7584f8c7be86fcbf5a19184043bc
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20261022/21bbe5ad/attachment-0001.htm>
More information about the debian-med-commit
mailing list