[med-svn] [Git][med-team/unifrac-tools][master] 2 commits: No need to use dh-exec any more

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Jul 2 13:41:22 BST 2026



Andreas Tille pushed to branch master at Debian Med / unifrac-tools


Commits:
97db599e by Andreas Tille at 2026-07-02T12:10:33+02:00
No need to use dh-exec any more

- - - - -
9fdc69e3 by Andreas Tille at 2026-07-02T13:32:50+02:00
Symlink for libsso.so

- - - - -


4 changed files:

- debian/changelog
- debian/libssu-dev.install
- debian/libssu0.install
- debian/patches/enable_linking_to_shared_hdf5_lib.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -9,6 +9,7 @@ unifrac-tools (1.6.1-1) UNRELEASED; urgency=medium
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * Build-Depends: libskbb-dev
   * Reformat the Last-Update date as ISO YYYY-MM-DD.
+  * No need to use dh-exec any more
 
   [ Gilles Filippini ]
   * Fix FTBFS against HDF5 2.1.0


=====================================
debian/libssu-dev.install
=====================================
@@ -1,3 +1,2 @@
-#! /usr/bin/dh-exec
 /usr/include/unifrac
 usr/lib/*.so	usr/lib/${DEB_HOST_MULTIARCH}/


=====================================
debian/libssu0.install
=====================================
@@ -1,2 +1 @@
-#! /usr/bin/dh-exec
 usr/lib/*.so.*	usr/lib/${DEB_HOST_MULTIARCH}/


=====================================
debian/patches/enable_linking_to_shared_hdf5_lib.patch
=====================================
@@ -6,10 +6,8 @@ Description: Enable linking to shared hdf5 library
 Forwarded: not-needed
 FIXME: Aaron, please review the changes
 
-Index: unifrac-tools-1.6.1/src/Makefile
-===================================================================
---- unifrac-tools-1.6.1.orig/src/Makefile
-+++ unifrac-tools-1.6.1/src/Makefile
+--- a/src/Makefile
++++ b/src/Makefile
 @@ -172,7 +172,7 @@ $(FPD): faithpd.cpp api.hpp $(PREFIX)/li
  
  lib$(SSU).so: tree.o biom.o biom_inmem.o biom_subsampled.o tsv.o unifrac.o cmd.o skbio_alt.o api.o $(UNIFRAC_FILES)
@@ -19,3 +17,19 @@ Index: unifrac-tools-1.6.1/src/Makefile
  	ln -sf lib$(SSU).so.0 lib$(SSU).so
  	# FIXME: Should build static lib as well
  	# $(CXX) $(LDDFLAGS) -o libssu.a tree.o biom.o biom_inmem.o biom_subsampled.o tsv.o $(UNIFRAC_FILES) unifrac.o cmd.o skbio_alt.o api.o -lc -lhdf5_cpp -llz4 $(BLASLIB) -L$(PREFIX)/lib
+--- a/combined/Makefile
++++ b/combined/Makefile
+@@ -20,10 +20,11 @@ libssu.o: libssu.c
+ 	$(CC) $(CPPFLAGS) $(CFLAGS) -c libssu.c -fPIC
+ 
+ libssu.so: libssu.o
+-	$(CC) -shared -o libssu.so libssu.o -fPIC -ldl $(LDFLAGS)
++	$(CC) -shared -o libssu.so.0 libssu.o -fPIC -ldl -Wl,-soname,libssu.so.0 $(LDFLAGS)
++	ln -sf libssu.so.0 libssu.so
+ 
+ install: libssu.so
+-	rm -f ${PREFIX}/lib/libssu.so; cp libssu.so ${PREFIX}/lib/
++	rm -f ${PREFIX}/lib/libssu.so; cp -a libssu.so* ${PREFIX}/lib/
+ 
+ clean:
+ 	rm -f libssu.o



View it on GitLab: https://salsa.debian.org/med-team/unifrac-tools/-/compare/5d6710abf179d34f592728c857921ad572f1c570...9fdc69e335bee6ec08650a720892b306ecb331bc

-- 
View it on GitLab: https://salsa.debian.org/med-team/unifrac-tools/-/compare/5d6710abf179d34f592728c857921ad572f1c570...9fdc69e335bee6ec08650a720892b306ecb331bc
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/20260702/071da7cb/attachment-0001.htm>


More information about the debian-med-commit mailing list