commit: 619bddaf28567ae40e8b3ee45e257092327e3ea6
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 8 11:45:18 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Nov 10 08:51:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619bddaf
dev-ros/pluginlib: bump to 1.11.1
Package-Manager: Portage-2.3.13, Repoman-2.3.4
dev-ros/pluginlib/Manifest | 1 +
dev-ros/pluginlib/files/gentoo2.patch | 32 ++++++++++++++++++++++
...uginlib-9999.ebuild => pluginlib-1.11.1.ebuild} | 2 +-
dev-ros/pluginlib/pluginlib-9999.ebuild | 2 +-
4 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/dev-ros/pluginlib/Manifest b/dev-ros/pluginlib/Manifest
index abffa2803f3..a1d1aa7745e 100644
--- a/dev-ros/pluginlib/Manifest
+++ b/dev-ros/pluginlib/Manifest
@@ -1,2 +1,3 @@
DIST pluginlib-1.10.5.tar.gz 21470 SHA256
53a0ccb7a4654d464271189fc44ba23d6be8d3ecdfb40506b9d9fb4a87f19d6c SHA512
619c552c7f6d59f02f580204477e789e2adf15ea53dfdf1d3fe3fc6e65e34dbfe1d7e7ae60b833bbf589c2afd49dc09187222e989de902758475509b8cf7cd88
WHIRLPOOL
c441fbee18fa152d900e0b49198cc2b0f75a85f801bc756bc1d56f4153360e2ddfc3c63223a57fbc7ee299aef4313bd55c147fe614d6fcca708f7302ac9c52fd
DIST pluginlib-1.11.0.tar.gz 21555 SHA256
f5acf838cdf15538505b670dfdf93a0c5e453d222464d729d71a22513a60e2ca SHA512
2ef27759a6fb3db0354ffd28f2de5781405d4515dad028cbba6e108aa2eb79da56bbcb8ad4dab5686a9dc59d031bfd06ca713382e99258ecdf78fc45a877e588
WHIRLPOOL
71fa457e3bd0c93f2ea68729086b6f9b1b2653f126bdec3f461ad26cb37237c27397cca8d1c5dcf74e96b72988c025738d20ef303ac6d12ae7fc17d4b3bb8a02
+DIST pluginlib-1.11.1.tar.gz 21621 SHA256
bee838a9e62c8e889e8354f6ec5c76493f3aa6df5d19c30110068c82feb927c0 SHA512
1bafbc35334a482b2fc08afb7c1ed53ddbc579b121b728b96893c8b82a7070d9ecd8e6e6cffa54b3539def84db9dac79fe59feb93b2de6b8f113e0bfc10a8c00
WHIRLPOOL
1d05ddb55c800e0272e6c203804fdd0cdc966a6213df55a999e2ab5f14ff157ec84654d6155a1de77cdd15821776ad51918e0fa1072efbc1c08e539dd10ebce3
diff --git a/dev-ros/pluginlib/files/gentoo2.patch
b/dev-ros/pluginlib/files/gentoo2.patch
new file mode 100644
index 00000000000..60fbd7fee41
--- /dev/null
+++ b/dev-ros/pluginlib/files/gentoo2.patch
@@ -0,0 +1,32 @@
+Find package.xml in ros_packages/package_name too as we moved it here.
+
+Index: pluginlib-1.11.1/include/pluginlib/class_loader_imp.h
+===================================================================
+--- pluginlib-1.11.1.orig/include/pluginlib/class_loader_imp.h
++++ pluginlib-1.11.1/include/pluginlib/class_loader_imp.h
+@@ -510,12 +510,17 @@ ClassLoader<T>::getPackageFromPluginXMLF
+ std::string package_name;
+ boost::filesystem::path p(plugin_xml_file_path);
+ boost::filesystem::path parent = p.parent_path();
++ boost::filesystem::path basename = p.filename();
+
+ // Figure out exactly which package the passed XML file is exported by.
+ while (true) {
+ if (boost::filesystem::exists(parent / "package.xml")) {
+ std::string package_file_path = (boost::filesystem::path(parent /
"package.xml")).string();
+ return extractPackageNameFromPackageXML(package_file_path);
++ } else if(boost::filesystem::exists(parent / "ros_packages" / basename /
"package.xml"))
++ {
++ std::string package_file_path = (boost::filesystem::path(parent /
"ros_packages" / basename / "package.xml")).string();
++ return(extractPackageNameFromPackageXML(package_file_path));
+ } else if (boost::filesystem::exists(parent / "manifest.xml")) {
+ #if BOOST_FILESYSTEM_VERSION >= 3
+ std::string package = parent.filename().string();
+@@ -532,6 +537,7 @@ ClassLoader<T>::getPackageFromPluginXMLF
+ }
+
+ // Recursive case - hop one folder up
++ basename = parent.filename();
+ parent = parent.parent_path().string();
+
+ // Base case - reached root and cannot find what we're looking for
diff --git a/dev-ros/pluginlib/pluginlib-9999.ebuild
b/dev-ros/pluginlib/pluginlib-1.11.1.ebuild
similarity index 93%
copy from dev-ros/pluginlib/pluginlib-9999.ebuild
copy to dev-ros/pluginlib/pluginlib-1.11.1.ebuild
index 4194e2cd13c..1e00a91c58c 100644
--- a/dev-ros/pluginlib/pluginlib-9999.ebuild
+++ b/dev-ros/pluginlib/pluginlib-1.11.1.ebuild
@@ -24,4 +24,4 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
+PATCHES=( "${FILESDIR}/gentoo2.patch" )
diff --git a/dev-ros/pluginlib/pluginlib-9999.ebuild
b/dev-ros/pluginlib/pluginlib-9999.ebuild
index 4194e2cd13c..1e00a91c58c 100644
--- a/dev-ros/pluginlib/pluginlib-9999.ebuild
+++ b/dev-ros/pluginlib/pluginlib-9999.ebuild
@@ -24,4 +24,4 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
-PATCHES=( "${FILESDIR}/gentoo.patch" )
+PATCHES=( "${FILESDIR}/gentoo2.patch" )