[packages/xdg-user-dirs-gtk] - updated to 0.13, uses meson now

qboosh qboosh at pld-linux.org
Sat Jan 18 21:46:18 CET 2025


commit 3126a794dd8cc5d1f2acd54aa9c1aafd0e1338d3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 18 21:40:26 2025 +0100

    - updated to 0.13, uses meson now

 mate-support.patch     |  8 ++++----
 xdg-user-dirs-gtk.spec | 30 +++++++++++++-----------------
 2 files changed, 17 insertions(+), 21 deletions(-)
---
diff --git a/xdg-user-dirs-gtk.spec b/xdg-user-dirs-gtk.spec
index c185aef..84fde37 100644
--- a/xdg-user-dirs-gtk.spec
+++ b/xdg-user-dirs-gtk.spec
@@ -1,19 +1,20 @@
 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.11
+Version:	0.13
 Release:	1
 License:	GPL v2
 Group:		X11/Applications
-Source0:	https://download.gnome.org/sources/xdg-user-dirs-gtk/0.11/%{name}-%{version}.tar.xz
-# Source0-md5:	e30bf46fca8b7467643fb1998841873a
+Source0:	https://download.gnome.org/sources/xdg-user-dirs-gtk/0.13/%{name}-%{version}.tar.xz
+# Source0-md5:	7ed574239197662226eeb5980ba9ec94
 Patch0:		mate-support.patch
 URL:		https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk
-BuildRequires:	autoconf >= 2.53
-BuildRequires:	automake >= 1:1.9
+BuildRequires:	gettext-tools
 BuildRequires:	gtk+3-devel >= 3.0
-BuildRequires:	intltool >= 0.35.0
+BuildRequires:	meson >= 0.50.0
+BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xdg-user-dirs
 BuildRequires:	xz
@@ -41,23 +42,17 @@ Jest uruchamiany podczas logowania i wykonuje dwie czynności:
 
 %prep
 %setup -q
-%patch0 -p1
+%patch -P0 -p1
 
 %build
-%{__glib_gettextize}
-%{__intltoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
-%{__make}
+%meson build
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{name}
 
@@ -68,4 +63,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/xdg-user-dirs-gtk-update
+%{_desktopdir}/user-dirs-update-gtk.desktop
 %{_sysconfdir}/xdg/autostart/user-dirs-update-gtk.desktop
diff --git a/mate-support.patch b/mate-support.patch
index c7291b0..5199165 100644
--- a/mate-support.patch
+++ b/mate-support.patch
@@ -1,11 +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 @@
+--- xdg-user-dirs-gtk-0.13/user-dirs-update-gtk.desktop.in.orig	2025-01-18 21:30:34.658735416 +0100
++++ xdg-user-dirs-gtk-0.13/user-dirs-update-gtk.desktop.in	2025-01-18 21:32:02.001595572 +0100
+@@ -4,7 +4,7 @@ Exec=xdg-user-dirs-gtk-update
  _Name=User folders update
  _Comment=Update common folders names to match current locale
  Terminal=false
 -OnlyShowIn=GNOME;LXDE;Unity;
 +OnlyShowIn=GNOME;LXDE;Unity;MATE;
+ NoDisplay=true
  Type=Application
  StartupNotify=false
- X-KDE-autostart-after=panel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdg-user-dirs-gtk.git/commitdiff/3126a794dd8cc5d1f2acd54aa9c1aafd0e1338d3



More information about the pld-cvs-commit mailing list