[med-svn] [Git][med-team/camp][master] Exclude misc CMake files from install

Flavien Bridault (@fbridault-guest) gitlab at salsa.debian.org
Wed Sep 15 15:29:15 BST 2021



Flavien Bridault pushed to branch master at Debian Med / camp


Commits:
69678d2c by Flavien Bridault at 2021-09-15T16:25:12+02:00
Exclude misc CMake files from install


- - - - -


4 changed files:

- + debian/patches/do_not_install_misc_cmake_files.patch
- debian/patches/remove_licences_files.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/patches/do_not_install_misc_cmake_files.patch
=====================================
@@ -0,0 +1,17 @@
+Author: Flavien Bridault <fbridault at ircad.fr>
+Description: Remove misc CMake files from install, they are not necessary for users
+
+--- camp.orig/CMakeLists.txt
++++ camp/CMakeLists.txt
+@@ -251,11 +251,6 @@
+     DESTINATION ${INSTALL_MISC_DIR}
+ )
+ 
+-install(DIRECTORY cmake
+-    DESTINATION ${INSTALL_MISC_DIR}
+-    COMPONENT utils
+-)
+-
+ ###############################
+ # packaging
+ ###############################


=====================================
debian/patches/remove_licences_files.patch
=====================================
@@ -2,7 +2,7 @@ Description: Remove license files
 Author: Corentin Desfarges <corentin.desfarges.dev at gmail.com>
 --- camp.orig/CMakeLists.txt
 +++ camp/CMakeLists.txt
-@@ -247,8 +247,8 @@
+@@ -247,13 +247,13 @@
      COMPONENT devel
  )
  
@@ -12,8 +12,7 @@ Author: Corentin Desfarges <corentin.desfarges.dev at gmail.com>
 +	DESTINATION ${INSTALL_MISC_DIR}
  )
  
- install(DIRECTORY cmake
-@@ -260,5 +260,5 @@
+ ###############################
  # packaging
  ###############################
  


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
+do_not_install_misc_cmake_files.patch
 remove_licences_files.patch
 fix_cmake_target.patch


=====================================
debian/rules
=====================================
@@ -16,7 +16,6 @@ override_dh_install:
 		--movedev debian/tmp/usr/include/camp usr/include \
 		--movedev debian/tmp/usr/include/camp-xml usr/include \
 		--movedev debian/tmp/usr/lib/camp/cmake usr/lib/${DEB_HOST_MULTIARCH}/camp \
-		--movedev debian/tmp/usr/share/camp/cmake usr/share/camp/cmake \
 		--movedev debian/tmp/usr/lib/pkgconfig/camp.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig \
 		debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/*.so
 	find debian -name camp.pc.in -delete



View it on GitLab: https://salsa.debian.org/med-team/camp/-/commit/69678d2c72ad34ce71877d314c89bf5571f109b2

-- 
View it on GitLab: https://salsa.debian.org/med-team/camp/-/commit/69678d2c72ad34ce71877d314c89bf5571f109b2
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/20210915/15a49458/attachment-0001.htm>


More information about the debian-med-commit mailing list