Work in LXDE too

This commit is contained in:
Matthias Clasen 2010-02-14 04:58:45 +00:00
parent 195054ff1e
commit cab1cd84e0
2 changed files with 27 additions and 2 deletions

15
lxde.patch Normal file
View File

@ -0,0 +1,15 @@
diff -up xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in.lxde xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in
--- xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in.lxde 2010-02-13 23:52:49.130115833 -0500
+++ xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in 2010-02-13 23:54:57.574114211 -0500
@@ -1,10 +1,9 @@
[Desktop Entry]
-Encoding=UTF-8
Exec=xdg-user-dirs-gtk-update
_Name=User folders update
_Comment=Update common folders names to match current locale
Terminal=false
-OnlyShowIn=GNOME;
+OnlyShowIn=GNOME;LXDE;
Type=Application
StartupNotify=false
X-KDE-autostart-after=panel

View File

@ -1,18 +1,21 @@
Name: xdg-user-dirs-gtk
Version: 0.8
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Gnome integration of special directories
Group: User Interface/Desktops
License: GPL+
URL: http://freedesktop.org/wiki/Software/xdg-user-dirs
Source0: http://download.gnome.org/sources/xdg-user-dirs-gtk/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext, gtk2-devel, pkgconfig, perl-XML-Parser, xdg-user-dirs
BuildRequires: intltool
BuildRequires: desktop-file-utils
Requires: xdg-user-dirs
Patch0: lxde.patch
%description
Contains some integration of xdg-user-dirs with the gnome
desktop, including creating default bookmarks and detecting
@ -20,6 +23,7 @@ locale changes.
%prep
%setup -q
%patch0 -p1 -b .lxde
%build
%configure
@ -30,6 +34,8 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-validate RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/user-dirs-update-gtk.desktop
%find_lang %name
%clean
@ -42,6 +48,10 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/xdg/autostart/user-dirs-update-gtk.desktop
%changelog
* Sat Feb 13 2010 Matthias Clasen <mclasen@redhat.com>
- Work in LXDE too (#563827)
- Validate the desktop file
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild