[nemo/f18] remove requires gnome-terminal

leigh123linux leigh123linux at fedoraproject.org
Mon Oct 8 18:42:53 UTC 2012


commit 1a402643003e3ca66fb9a61fa1bd15a8854b78a4
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Mon Oct 8 19:42:47 2012 +0100

    remove requires gnome-terminal
    
    - patch to remove "open in terminal"

 nemo.spec                  |   11 ++++++-----
 open_as_root.patch         |   10 ----------
 open_terminal.patch        |   11 -----------
 remove_open_terminal.patch |   21 +++++++++++++++++++++
 4 files changed, 27 insertions(+), 26 deletions(-)
---
diff --git a/nemo.spec b/nemo.spec
index 51794c3..811b40b 100644
--- a/nemo.spec
+++ b/nemo.spec
@@ -15,7 +15,7 @@
 Name:           nemo
 Summary:        File manager for Cinnamon
 Version:        1.0.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+ and LGPLv2+
 Group:          User Interface/Desktops
 # To generate source
@@ -58,12 +58,10 @@ BuildRequires:  gnome-themes-standard
 # the main binary links against libnemo-extension.so
 # don't depend on soname, rather on exact version
 Requires:       nemo-extensions%{?_isa} = %{version}-%{release}
-Requires:       gnome-terminal
 
 
 Patch0:         rtl-fix.patch
-Patch1:         open_as_root.patch
-Patch2:         open_terminal.patch
+Patch1:         remove_open_terminal.patch
 
 
 %description
@@ -108,7 +106,6 @@ Nemo theme fix for Adwaita
 
 %patch0 -p1 -b .rtl-fix
 %patch1 -p1
-%patch2 -p1
 
 
 %build
@@ -215,6 +212,10 @@ fi
 %doc %{_datadir}/gtk-doc/html/libnemo-extension/*
 
 %changelog
+* Mon Oct 08 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.0.3-2
+- remove requires gnome-terminal
+- patch to remove "open in terminal"
+
 * Mon Oct 01 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.0.3-1
 - update to 1.0.3 release
 
diff --git a/remove_open_terminal.patch b/remove_open_terminal.patch
new file mode 100644
index 0000000..c3804d4
--- /dev/null
+++ b/remove_open_terminal.patch
@@ -0,0 +1,21 @@
+--- a/src/nemo-directory-view-ui.xml
++++ b/src/nemo-directory-view-ui.xml
+@@ -111,8 +111,6 @@
+ 			 	<menuitem name="Open Scripts Folder" action="Open Scripts Folder"/>
+ 			</menu>
+ 		</placeholder>
+-		<separator name="Open terminal separator"/>
+-        <menuitem name="OpenInTerminal" action="OpenInTerminal"/>
+ 		<separator name="View items separator"/>
+ 		<placeholder name="View Items"/>
+ 		<separator name="Clipboard separator"/>
+@@ -176,9 +174,6 @@
+ 			<menuitem name="Copy to Desktop" action="Move to Desktop"/>
+ 		</menu>
+ 	</placeholder>
+-	<separator name="Advanced separator"/>
+-	<menuitem name="OpenInTerminal" action="OpenInTerminal"/>
+-	<menuitem name="OpenAsRoot" action="OpenAsRoot"/>
+ 	<separator name="Dangerous separator"/>
+ 	<placeholder name="Dangerous File Actions">
+ 		<menuitem name="Trash" action="Trash"/>


More information about the scm-commits mailing list