[packages/xdg-user-dirs-gtk] add MATE support
glen
glen at pld-linux.org
Sat Feb 23 15:04:40 CET 2013
commit 3d4c0fc96b1442ea9415378fdee625c23a2eb750
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Feb 23 16:04:19 2013 +0200
add MATE support
mate-support.patch | 11 +++++++++++
xdg-user-dirs-gtk.spec | 19 ++++++++++---------
2 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/xdg-user-dirs-gtk.spec b/xdg-user-dirs-gtk.spec
index acb5e0f..7b8e720 100644
--- a/xdg-user-dirs-gtk.spec
+++ b/xdg-user-dirs-gtk.spec
@@ -2,11 +2,12 @@ Summary: GNOME/GTK+ integration of special directories
Summary(pl.UTF-8): Integracja specjalnych katalogów z GNOME/GTK+
Name: xdg-user-dirs-gtk
Version: 0.10
-Release: 1
+Release: 2
License: GPL v2
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/xdg-user-dirs-gtk/0.10/%{name}-%{version}.tar.xz
# Source0-md5: c4469eeeb0416d734a4592f8030d1bcf
+Patch0: mate-support.patch
BuildRequires: autoconf >= 2.53
BuildRequires: automake >= 1:1.9
BuildRequires: gtk+3-devel >= 3.0
@@ -23,23 +24,23 @@ xdg-user-dirs-gtk is a companion to xdg-user-dirs that integrates it
into the GNOME desktop and GTK+ applications.
It gets run during login and does two things:
-* Tracks changes of locale and prompts the user so the directories
- can be changed.
-* Creates a default GTK+ bookmarks file if there is none, based
- on a set of xdg user dirs.
+- Tracks changes of locale and prompts the user so the directories can
+ be changed.
+- Creates a default GTK+ bookmarks file if there is none, based on a
+ set of xdg user dirs.
%description -l pl.UTF-8
-xdg-user-dirs-gtk to pakiet towarzyszący xdg-user-dirs, integrujący
-go ze środowiskiem GNOME i aplikacjami GTK+.
+xdg-user-dirs-gtk to pakiet towarzyszący xdg-user-dirs, integrujący go
+ze środowiskiem GNOME i aplikacjami GTK+.
Jest uruchamiany podczas logowania i wykonuje dwie czynności:
-- śledzi zmiany lokalizacji i proponuje użytkownikowi zmianę
- katalogów
+- śledzi zmiany lokalizacji i proponuje użytkownikowi zmianę katalogów
- tworzy domyślny plik zakładek GTK+ (jeśli go nie ma) w oparciu o
zestaw katalogów użytkownika xdg.
%prep
%setup -q
+%patch0 -p1
%build
%{__glib_gettextize}
diff --git a/mate-support.patch b/mate-support.patch
new file mode 100644
index 0000000..c7291b0
--- /dev/null
+++ b/mate-support.patch
@@ -0,0 +1,11 @@
+--- xdg-user-dirs-gtk-0.10/user-dirs-update-gtk.desktop.in~ 2013-01-21 15:18:32.000000000 +0200
++++ xdg-user-dirs-gtk-0.10/user-dirs-update-gtk.desktop.in 2013-02-23 15:29:11.580080585 +0200
+@@ -4,7 +4,7 @@
+ _Name=User folders update
+ _Comment=Update common folders names to match current locale
+ Terminal=false
+-OnlyShowIn=GNOME;LXDE;Unity;
++OnlyShowIn=GNOME;LXDE;Unity;MATE;
+ Type=Application
+ StartupNotify=false
+ X-KDE-autostart-after=panel
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xdg-user-dirs-gtk.git/commitdiff/3d4c0fc96b1442ea9415378fdee625c23a2eb750
More information about the pld-cvs-commit
mailing list