diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ros/rqt_gui/files/gentoo.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ros/rqt_gui/files/gentoo.patch')
-rw-r--r-- | dev-ros/rqt_gui/files/gentoo.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-ros/rqt_gui/files/gentoo.patch b/dev-ros/rqt_gui/files/gentoo.patch new file mode 100644 index 000000000000..abdc30a8ccbd --- /dev/null +++ b/dev-ros/rqt_gui/files/gentoo.patch @@ -0,0 +1,15 @@ +Index: rqt_gui/src/rqt_gui/ros_plugin_provider.py +=================================================================== +--- rqt_gui.orig/src/rqt_gui/ros_plugin_provider.py ++++ rqt_gui/src/rqt_gui/ros_plugin_provider.py +@@ -109,6 +109,10 @@ class RosPluginProvider(PluginProvider): + def _parse_plugin_xml(self, package_name, plugin_xml): + plugin_descriptors = [] + ++ # Gentoo: strip ros_packages to get the real path. ++ if not os.path.isfile(plugin_xml): ++ plugin_xml = plugin_xml.replace('ros_packages/', '') ++ + if not os.path.isfile(plugin_xml): + qCritical('RosPluginProvider._parse_plugin_xml() plugin file "%s" in package "%s" not found' % (plugin_xml, package_name)) + return plugin_descriptors |