[med-svn] [beads] 04/10: Add installation.patch to fix installation

Andreas Tille tille at debian.org
Sat Oct 21 13:37:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository beads.

commit b8a31525b18df2160ec22cca215e14aa7b761418
Author: Juhani Numminen <juhaninumminen0 at gmail.com>
Date:   Sat Oct 21 12:42:59 2017 +0300

    Add installation.patch to fix installation
---
 debian/patches/installation.patch | 18 ++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/installation.patch b/debian/patches/installation.patch
new file mode 100644
index 0000000..15a7b8a
--- /dev/null
+++ b/debian/patches/installation.patch
@@ -0,0 +1,18 @@
+Author: Juhani Numminen <juhaninumminen0 at gmail.com>
+Last-Update: 2017-10-21
+Description: CMakeFiles.txt assumed in-source build
+ but we are using separate build directory.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -186,8 +186,8 @@
+ # the project's entire directory structure.
+ SUBDIRS (src)
+ 
+-INSTALL(PROGRAMS src/beads DESTINATION bin)
+-INSTALL(PROGRAMS src/qtbeads/qtbeads DESTINATION bin)
++INSTALL(PROGRAMS "${CMAKE_BINARY_DIR}/src/beads" DESTINATION bin)
++INSTALL(PROGRAMS "${CMAKE_BINARY_DIR}/src/qtbeads/qtbeads" DESTINATION bin)
+ #INSTALL(DIRECTORY doc/man1 DESTINATION share/man/man1)
+ INSTALL(FILES doc/man1/beads.1 DESTINATION share/man/man1)
+ INSTALL(FILES share/applications/beads.desktop DESTINATION share/applications)
diff --git a/debian/patches/series b/debian/patches/series
index b31269f..4d7a09c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 qt5.patch
 qt5_headers.patch
 use_debian_packaged_cimg.h
+installation.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/beads.git



More information about the debian-med-commit mailing list