[packages/nautilus] add a bit more description than "Files" for nautilus -n autostart

glen glen at pld-linux.org
Sun Oct 21 13:18:20 CEST 2012


commit fd14bf9f3d791f0a8e8a26b69086bd269ca42763
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 21 14:17:21 2012 +0300

    add a bit more description than "Files" for nautilus -n autostart
    
    if you launch gnome-session-properties you get wondering:
    `wtf is "Files" that gets autostarted?'

 autostart-desc.patch | 10 ++++++++++
 nautilus.spec        | 12 +++++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/nautilus.spec b/nautilus.spec
index ed4341b..a86f2c8 100644
--- a/nautilus.spec
+++ b/nautilus.spec
@@ -1,18 +1,19 @@
 #
 # Conditinal build:
 %bcond_without	apidocs		# disable API documentation
-#
+
 Summary:	Nautilus is a file manager for the GNOME desktop environment
 Summary(pl.UTF-8):	Nautilus - powłoka GNOME i zarządca plików
 Summary(pt_BR.UTF-8):	Nautilus é um gerenciador de arquivos para o GNOME
 Name:		nautilus
 Version:	3.6.1
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/nautilus/3.6/%{name}-%{version}.tar.xz
 # Source0-md5:	ace8d57a9989995c5b186bb7e4f604be
 Source1:	%{name}.PLD.readme
+Patch0:	autostart-desc.patch
 URL:		http://www.gnome.org/projects/nautilus/
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake >= 1:1.9
@@ -128,8 +129,9 @@ Dokumentacja API Nautilusa.
 
 %prep
 %setup -q
+%patch0 -p1
 
-sed -i -e 's#^io##' po/LINGUAS
+%{__sed} -i -e 's#^io##' po/LINGUAS
 %{__rm} po/io.po
 
 %build
@@ -156,8 +158,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# kill it - use banner instead
-install %{SOURCE1} .
+# TODO: kill it - use banner instead
+cp -p %{SOURCE1} .
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.{a,la}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
diff --git a/autostart-desc.patch b/autostart-desc.patch
new file mode 100644
index 0000000..1dca744
--- /dev/null
+++ b/autostart-desc.patch
@@ -0,0 +1,10 @@
+--- nautilus-3.6.1/./data/nautilus-autostart.desktop.in~	2012-05-08 07:28:08.000000000 +0300
++++ nautilus-3.6.1/./data/nautilus-autostart.desktop.in	2012-10-21 14:15:58.954838689 +0300
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+ Type=Application
+-Name=Files
++Name=Files (Nautilus Desktop Icons)
+ Exec=nautilus -n
+ OnlyShowIn=GNOME;Unity;
+ AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nautilus.git/commitdiff/fd14bf9f3d791f0a8e8a26b69086bd269ca42763



More information about the pld-cvs-commit mailing list