[pktools] 26/28: Add patch to not install pktools.pc as executable.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Wed May 18 10:03:08 UTC 2016


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

sebastic pushed a commit to branch master
in repository pktools.

commit d6dff63ffa7c93f53769d58d44bd75f4f51752da
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed May 18 11:16:58 2016 +0200

    Add patch to not install pktools.pc as executable.
---
 debian/changelog                               |  1 +
 debian/patches/pkg-config-not-executable.patch | 15 +++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9ed99bd..739e749 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ pktools (2.6.7-1) UNRELEASED; urgency=medium
   * Add manpage for new utilities.
   * Add symbols for libbase.
   * Disable build of pklas2img, FTBFS.
+  * Add patch to not install pktools.pc as executable.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 17 May 2016 20:46:48 +0200
 
diff --git a/debian/patches/pkg-config-not-executable.patch b/debian/patches/pkg-config-not-executable.patch
new file mode 100644
index 0000000..e9df286
--- /dev/null
+++ b/debian/patches/pkg-config-not-executable.patch
@@ -0,0 +1,15 @@
+Description: Don't install pktools.pc as executable.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://savannah.nongnu.org/support/index.php?109043
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -359,7 +359,7 @@ endif()
+ #install (FILES "${PROJECT_BINARY_DIR}/pktools-config" DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ #test
+ install (FILES "${CMAKE_CURRENT_BINARY_DIR}/pktools-config" DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+-install (FILES "pktools.pc" DESTINATION lib/pkgconfig PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
++install (FILES "pktools.pc" DESTINATION lib/pkgconfig PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+ 
+ if (PKTOOLS_WITH_UTILITIES)
+ 	install (TARGETS ${PKUTILITIES} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)	
diff --git a/debian/patches/series b/debian/patches/series
index 47a47a1..c91f2ed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ soversion.patch
 pkg-config-install-path.patch
 spelling-errors.patch
 #build-pklas2img.patch
+pkg-config-not-executable.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list