[med-svn] [Git][med-team/fast][master] Split package into fast and fast-examples

Shayan Doust gitlab at salsa.debian.org
Fri Aug 16 21:22:38 BST 2019



Shayan Doust pushed to branch master at Debian Med / fast


Commits:
355ee7f3 by Shayan Doust at 2019-08-16T20:20:55Z
Split package into fast and fast-examples
fast-examples contains the example binaries showcasing lib functionality. User can also refer to the published wiki page.

- - - - -


4 changed files:

- debian/control
- + debian/fast-examples.install
- + debian/fast.install
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -14,14 +14,14 @@ Build-Depends: debhelper-compat (= 12),
                opencl-c-headers,
                ocl-icd-opencl-dev,
                libopenslide-dev,
-	       libopenigtlink-dev,
-	       libdcmtk-dev,
-	       libqt5opengl5-dev,
-	       libqt5serialport5-dev,
-	       qtbase5-dev,
-	       libqt5core5a,
-	       qtmultimedia5-dev,
-	       doxygen 
+               libopenigtlink-dev,
+               libdcmtk-dev,
+               libqt5opengl5-dev,
+               libqt5serialport5-dev,
+               qtbase5-dev,
+               libqt5core5a,
+               qtmultimedia5-dev,
+               doxygen 
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/fast
 Vcs-Git: https://salsa.debian.org/med-team/fast.git
@@ -31,11 +31,11 @@ Package: fast
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-	 opencl-c-headers,
-	 ocl-icd-opencl-dev,
-	 libeigen3-dev,
-	 qtbase5-dev,
-	 libopenslide-dev
+         opencl-c-headers,
+         ocl-icd-opencl-dev,
+         libeigen3-dev,
+         qtbase5-dev,
+         libopenslide-dev
 Description: framework for Heterogeneous Medical Image Computing
  An open-source cross-platform framework with the main goal of making it
  easier to do processing and visualization of medical images on
@@ -43,3 +43,19 @@ Description: framework for Heterogeneous Medical Image Computing
  level data management, high-performance algorithms, interoperability
  with Insight Toolkit & integration with existing VTK / Qt applications
  as well as a fast concurrent visualization.
+
+Package: fast-examples
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         fast
+Description: example binaries for Heterogeneous Medical Image Computing
+ An open-source cross-platform framework with the main goal of making it
+ easier to do processing and visualization of medical images on
+ heterogeneous systems (CPU+GPU). Has data streaming. deep learning, high-
+ level data management, high-performance algorithms, interoperability
+ with Insight Toolkit & integration with existing VTK / Qt applications
+ as well as fast concurrent visualization.
+ .
+ This package is to be accommodated alongside the fast package and
+ contains example binaries showcasing "fast" package functionality.


=====================================
debian/fast-examples.install
=====================================
@@ -0,0 +1 @@
+obj-x86_64-linux-gnu/bin/* usr/lib/fast


=====================================
debian/fast.install
=====================================
@@ -0,0 +1,6 @@
+obj-x86_64-linux-gnu/lib/libFAST.so usr/lib
+debian/tmp/usr/fast/include/FAST usr/include
+obj-x86_64-linux-gnu/FASTExport.hpp usr/include
+debian/tmp/usr/fast/kernels usr/lib/fast
+debian/tmp/usr/fast/bin/OpenIGTLinkClient usr/lib/fast
+debian/tmp/usr/fast/bin/OpenIGTLinkServer usr/lib/fast


=====================================
debian/rules
=====================================
@@ -7,22 +7,5 @@ include /usr/share/dpkg/default.mk
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
 %:
 	dh $@
-
-override_dh_install:
-	dh_install
-	find debian/fast -empty -type d -delete
-	mkdir debian/fast/usr/lib debian/fast/usr/lib/$(DEB_HOST_MULTIARCH) \
-		debian/fast/usr/lib/fast \
-		debian/fast/usr/include \
-		debian/fast/usr/include/FAST
-	mv debian/fast/usr/fast/lib/* debian/fast/usr/lib/$(DEB_HOST_MULTIARCH)
-	mv debian/fast/usr/fast/kernels debian/fast/usr/lib/fast
-	mv debian/fast/usr/fast/include/FAST/* debian/fast/usr/include/FAST
-	mv debian/fast/usr/fast/include/FASTExport.hpp debian/fast/usr/include
-	mv debian/fast/usr/fast/bin/OpenIGTLinkServer debian/fast/usr/lib/fast
-	mv debian/fast/usr/fast/bin/OpenIGTLinkClient debian/fast/usr/lib/fast
-	rm -r debian/fast/usr/fast



View it on GitLab: https://salsa.debian.org/med-team/fast/commit/355ee7f3d87988d86f68d0fc6d78ca1435d31fd0

-- 
View it on GitLab: https://salsa.debian.org/med-team/fast/commit/355ee7f3d87988d86f68d0fc6d78ca1435d31fd0
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/20190816/831b2ff0/attachment-0001.html>


More information about the debian-med-commit mailing list