[eclipse-linuxtools] Backport patch for disappearing RPM menu.
Alexander Kurtakov
akurtakov at fedoraproject.org
Mon Jun 30 09:20:11 UTC 2014
commit 78603c4f80e6384af01b7a87a858110228a6d002
Author: Alexander Kurtakov <akurtako at redhat.com>
Date: Mon Jun 30 12:20:04 2014 +0300
Backport patch for disappearing RPM menu.
eclipse-linuxtools.spec | 7 ++++++-
rpm-menu.patch | 29 +++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/eclipse-linuxtools.spec b/eclipse-linuxtools.spec
index 8cd9c82..879d52e 100644
--- a/eclipse-linuxtools.spec
+++ b/eclipse-linuxtools.spec
@@ -5,7 +5,7 @@
Name: %{?scl_prefix}eclipse-linuxtools
Version: 3.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Linux specific Eclipse plugins
License: EPL
@@ -13,6 +13,7 @@ URL: http://eclipse.org/linuxtools/
#Main directory changed to not be git sha but version as tycho fails with path too long otherwise
Source0: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.git/snapshot/org.eclipse.linuxtools-%{version}.tar.bz2
Patch0: disable-libhover-lttng.patch
+Patch1: rpm-menu.patch
BuildRequires: tycho >= 0.20.0-6
BuildRequires: tycho-extras
@@ -138,6 +139,7 @@ All test bundles for the Linux Tools project.
%setup -q -n org.eclipse.linuxtools-%{version}
%patch0
+%patch1 -p1
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
%pom_disable_module lttng
%pom_disable_module libhover
@@ -300,6 +302,9 @@ popd
%{_javadir}/linuxtools-tests
%changelog
+* Mon Jun 30 2014 Alexander Kurtakov <akurtako at redhat.com> 3.0.0-2
+- Backport patch for disappearing RPM menu.
+
* Tue Jun 24 2014 Alexander Kurtakov <akurtako at redhat.com> 3.0.0-1
- Update to 3.0 final release.
diff --git a/rpm-menu.patch b/rpm-menu.patch
new file mode 100644
index 0000000..5f47693
--- /dev/null
+++ b/rpm-menu.patch
@@ -0,0 +1,29 @@
+diff --git a/rpm/org.eclipse.linuxtools.rpm.ui/plugin.xml b/rpm/org.eclipse.linuxtools.rpm.ui/plugin.xml
+index adf12a5..d6a533f 100644
+--- a/rpm/org.eclipse.linuxtools.rpm.ui/plugin.xml
++++ b/rpm/org.eclipse.linuxtools.rpm.ui/plugin.xml
+@@ -99,7 +99,11 @@
+ name="%extension.name"
+ point="org.eclipse.ui.menus">
+ <menuContribution
+- locationURI="popup:org.eclipse.ui.popup.any?before=additions" >
++ locationURI="popup:org.eclipse.ui.popup.any?after=additions" >
++ <separator
++ name="org.eclipse.linuxtools.rpm.ui.rpmsep1"
++ visible="true">
++ </separator>
+ <menu
+ icon="icons/rpm.gif"
+ id="org.eclipse.linuxtools.rpm.ui.popup"
+@@ -117,6 +121,10 @@
+ visible="true">
+ </separator>
+ </menu>
++ <separator
++ name="org.eclipse.linuxtools.rpm.ui.rpmsep2"
++ visible="true">
++ </separator>
+ </menuContribution>
+ <menuContribution
+ locationURI="popup:org.eclipse.linuxtools.rpm.ui.popup?before=org.eclipse.linuxtools.rpm.ui.buildsep">
+
More information about the scm-commits
mailing list