[ignition-common] 01/01: Add patch to fix pkgconfig file

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Tue Jan 31 00:37:32 UTC 2017


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

jrivero-guest pushed a commit to branch master
in repository ignition-common.

commit e28af71c852f5d9a1d6e19b8bb32050f39d98d95
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Tue Jan 31 00:37:18 2017 +0000

    Add patch to fix pkgconfig file
---
 debian/patches/0006_fix_pkgconfig_file.patch | 17 +++++++++++++++++
 debian/patches/series                        |  6 +-----
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/debian/patches/0006_fix_pkgconfig_file.patch b/debian/patches/0006_fix_pkgconfig_file.patch
new file mode 100644
index 0000000..3cf0b3d
--- /dev/null
+++ b/debian/patches/0006_fix_pkgconfig_file.patch
@@ -0,0 +1,17 @@
+diff --git a/cmake/pkgconfig/ignition-common.in b/cmake/pkgconfig/ignition-common.in
+index 11931f4..b88a430 100644
+--- a/cmake/pkgconfig/ignition-common.in
++++ b/cmake/pkgconfig/ignition-common.in
+@@ -1,10 +1,10 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
+-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
++includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/ignition/@IGN_PROJECT_NAME@@PROJECT_MAJOR_VERSION@
+ 
+ Name: Ignition @IGN_PROJECT_NAME@
+ Description: A set of @IGN_PROJECT_NAME@ classes for robot applications
+ Version: @PROJECT_VERSION_FULL@
+-Requires:
++Requires: ignition-math2
+ Libs: -L${libdir} -l at PROJECT_NAME_LOWER@
+ CFlags: -I${includedir}
diff --git a/debian/patches/series b/debian/patches/series
index 46df725..9ec70c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1 @@
-0001_use_system_gtest.patch
-0002_respect_cflags.patch
-0003_use_c++11_in_gtest.patch
-0004_exclude_exception_test.patch
-0005_fix_install_paths.patch
+0006_fix_pkgconfig_file.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ignition-common.git



More information about the debian-science-commits mailing list