From 96621cdef9f23c800e9b18553d5c0b19c352b8b2260fcc98b468031d2b2dd983 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 21 Jan 2025 09:08:46 +0000 Subject: [PATCH] Yet a new release OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/xdg-user-dirs-gtk?expand=0&rev=36 --- .gitattributes | 23 ++++ .gitignore | 1 + _service | 18 +++ xdg-user-dirs-gtk-0.11+11.obscpio | 3 + xdg-user-dirs-gtk-0.11.obscpio | 3 + xdg-user-dirs-gtk-0.14.obscpio | 3 + xdg-user-dirs-gtk-XFCE-autostart.patch | 13 ++ xdg-user-dirs-gtk.changes | 163 +++++++++++++++++++++++++ xdg-user-dirs-gtk.obsinfo | 4 + xdg-user-dirs-gtk.spec | 70 +++++++++++ 10 files changed, 301 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 xdg-user-dirs-gtk-0.11+11.obscpio create mode 100644 xdg-user-dirs-gtk-0.11.obscpio create mode 100644 xdg-user-dirs-gtk-0.14.obscpio create mode 100644 xdg-user-dirs-gtk-XFCE-autostart.patch create mode 100644 xdg-user-dirs-gtk.changes create mode 100644 xdg-user-dirs-gtk.obsinfo create mode 100644 xdg-user-dirs-gtk.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..f4ee14f --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + + https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk.git + git + 0.14 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + + + + + *.tar + zst + + + diff --git a/xdg-user-dirs-gtk-0.11+11.obscpio b/xdg-user-dirs-gtk-0.11+11.obscpio new file mode 100644 index 0000000..5f0cda9 --- /dev/null +++ b/xdg-user-dirs-gtk-0.11+11.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3900b23bc901b8a16ad13d249ee06e6c6001f0524310f44023071d7b1489d87 +size 261131 diff --git a/xdg-user-dirs-gtk-0.11.obscpio b/xdg-user-dirs-gtk-0.11.obscpio new file mode 100644 index 0000000..ccf1302 --- /dev/null +++ b/xdg-user-dirs-gtk-0.11.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13f4499ac3be5fb5db79c4f339baa4d6122ed3fde50110f2a8f9c6608eca102e +size 256523 diff --git a/xdg-user-dirs-gtk-0.14.obscpio b/xdg-user-dirs-gtk-0.14.obscpio new file mode 100644 index 0000000..ab2a20d --- /dev/null +++ b/xdg-user-dirs-gtk-0.14.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7534fd8ddaba95704ef4328c58f7d29e60048a52ceea9f53c10c778efb2f33cd +size 263179 diff --git a/xdg-user-dirs-gtk-XFCE-autostart.patch b/xdg-user-dirs-gtk-XFCE-autostart.patch new file mode 100644 index 0000000..84db6e8 --- /dev/null +++ b/xdg-user-dirs-gtk-XFCE-autostart.patch @@ -0,0 +1,13 @@ +Index: xdg-user-dirs-gtk-0.14/user-dirs-update-gtk.desktop.in +=================================================================== +--- xdg-user-dirs-gtk-0.14.orig/user-dirs-update-gtk.desktop.in ++++ xdg-user-dirs-gtk-0.14/user-dirs-update-gtk.desktop.in +@@ -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;XFCE;LXDE;Unity; + NoDisplay=true + Type=Application + StartupNotify=false diff --git a/xdg-user-dirs-gtk.changes b/xdg-user-dirs-gtk.changes new file mode 100644 index 0000000..8722c52 --- /dev/null +++ b/xdg-user-dirs-gtk.changes @@ -0,0 +1,163 @@ +------------------------------------------------------------------- +Sun Jan 19 08:56:25 UTC 2025 - Bjørn Lie + +- Update to version 0.14: + + build: Respect directory options in post install script + + desktop: Fix translatable string merging + + meson: + - Bump minimum version to 1.0.0 + - Use SPDX for license +- Rebase patch with quilt. + +------------------------------------------------------------------- +Sat Jan 18 11:51:12 UTC 2025 - Bjørn Lie + +- Update to version 0.13: + + meson: + - Do not fail if destdir isn't set + - Install user-dirs-update-gtk.desktop in the correct datadir +- Drop fix-desktop-file-install-dir.patch: Fixed upstream. +- Add desktop-file-utils and check section: Validate desktop files + during build. +- Mark autostart desktop file as config. + +------------------------------------------------------------------- +Mon Jan 13 12:57:21 UTC 2025 - Bjørn Lie + +- Update to version 0.12: + + Replace autotools with meson + + update: Set wm_class to match .desktop file name + + data: Also install desktop file into datadir + + Updated translations. +- Add meson BuildRequires and macros, clean up old macros and + exports. +- Drop gnome-common and intltool BuildRequires: No longer needed + nor used. +- Add fix-desktop-file-install-dir.patch: Install desktop file in + correct dir. + +------------------------------------------------------------------- +Tue Jul 16 16:52:16 UTC 2024 - Bjørn Lie + +- Update to version 0.11+11: + + Refactor code. + + Converted tabs to spaces + + build: Distribute autogen.sh + + update: Set wm_class to match .desktop file name + + data: Also install desktop file into datadir + + configure.ac: Replace defunct Bugzilla with GitLab URI +- Drop obsolete update-desktop-files BuildRequires and macro. +- Replace gtk3-devel with pkgconfig(gtk+-3.0) BuildRequires, and + add pkgconfig BuildRequires. +- Rebase patch. + +------------------------------------------------------------------- +Tue Sep 12 10:08:59 UTC 2023 - Bjørn Lie + +- Stop passing -Wno-error=deprecated-declarations, no longer + needed. + +------------------------------------------------------------------- +Mon Mar 27 08:16:34 UTC 2023 - Andreas Schwab + +- Build with %optflags +- Don't treat -Wcast-align as error + +------------------------------------------------------------------- +Fri Oct 14 08:02:08 UTC 2022 - Bjørn Lie + +- Update to version 0.11: + + Updated translations. + +------------------------------------------------------------------- +Thu Sep 16 02:08:53 UTC 2021 - Stanislav Brabec + +- Remove obsolete translation-update-upstream support + (jsc#SLE-21105). + +------------------------------------------------------------------- +Sat Jan 25 14:21:18 UTC 2020 - Dominique Leuenberger + +- No longer recommend -lang: supplements are in use + +------------------------------------------------------------------- +Thu Oct 03 19:38:07 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 0.10+13: + + Comment invalid in DOAP file to pass git pre-receive + hook. + + Make the 'Don't ask again' checkbox work properly. + + Updated translations. +- Switch to git checkout, current master, via source service, + explicit commit. +- Add gnome-common BuildRequires and pass autogen.sh, needed to + bootstrap the checkout. +- Also pass export CFLAGS='-Wno-error=deprecated-declarations'. +- Use modern macros and tweak Summary to silence rpmlint. + +------------------------------------------------------------------- +Wed Feb 28 20:21:25 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Mon Feb 4 18:58:12 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.10: + + Use new location for GTK+ bookmarks file. + +------------------------------------------------------------------- +Wed Apr 4 07:44:32 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.9: + + Port to Gtk 3 + + Add Unity and LXDE to desktop file OnlyShowIn + + Faster startup by only initializing Gtk when needed + + Updated ranslations. +- Drop xdg-user-dirs-gtk-LXDE-autostart.patch: fixed upstream. +- Rebase xdg-user-dirs-gtk-XFCE-autostart.patch. +- Remove perl-XML-Parser BuildRequires: it was only needed when it + was not required by intltool. +- Change gtk2-devel BuildRequires to gtk3-devel, following port to + GTK+ 3. + +------------------------------------------------------------------- +Sun Feb 27 13:43:27 UTC 2011 - aj@suse.de + +- Change lang package Requires to Recommends since it is not + mandatory at runtime. + +------------------------------------------------------------------- +Wed Dec 29 15:08:03 UTC 2010 - gber@opensuse.org + +- Add xdg-user-dirs-gtk-XFCE-autostart.patch in order to + start in Xfce sessions as well. + +------------------------------------------------------------------- +Tue Feb 9 18:15:10 UTC 2010 - andrea@opensuse.org + +- Add xdg-user-dirs-gtk-LXDE-autostart.patch to also autostart + xdg-user-dirs in LXDE. + +------------------------------------------------------------------- +Mon Feb 16 17:49:47 CET 2009 - sbrabec@suse.cz + +- Added support for translation-update-upstream (FATE#301344). + +------------------------------------------------------------------- +Thu Dec 11 15:31:37 CET 2008 - coolo@suse.de + +- require the translations + +------------------------------------------------------------------- +Wed Sep 10 16:30:10 EDT 2008 - jpr@suse.de + +- Update to version 0.8: + + Translation updates + +------------------------------------------------------------------- +Fri Mar 21 00:20:32 CET 2008 - jpr@suse.de + +- Initial check of xdg-user-dirs-gtk, to manager updating xdg user + dirs on login + diff --git a/xdg-user-dirs-gtk.obsinfo b/xdg-user-dirs-gtk.obsinfo new file mode 100644 index 0000000..ee209a8 --- /dev/null +++ b/xdg-user-dirs-gtk.obsinfo @@ -0,0 +1,4 @@ +name: xdg-user-dirs-gtk +version: 0.14 +mtime: 1737232692 +commit: be14e24b19cb7cf9a127f91383d6ae41f0d6c474 diff --git a/xdg-user-dirs-gtk.spec b/xdg-user-dirs-gtk.spec new file mode 100644 index 0000000..7aff8c3 --- /dev/null +++ b/xdg-user-dirs-gtk.spec @@ -0,0 +1,70 @@ +# +# spec file for package xdg-user-dirs-gtk +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: xdg-user-dirs-gtk +Version: 0.14 +Release: 0 +Summary: Xdg-user-dir support for Gnome and Gtk+ applications +License: GPL-2.0-or-later +Group: System/GUI/GNOME +URL: http://download.gnome.org/sources/xdg-user-dirs-gtk +Source0: %{name}-%{version}.tar.zst +# PATCH-FIX-UPSTREAM xdg-user-dirs-gtk-XFCE-LXDE-autostart.patch fdo#33107 gber@opensuse.org -- Start xdg-user-dirs-gtk in Xfce sessions as well +Patch1: %{name}-XFCE-autostart.patch + +BuildRequires: desktop-file-utils +BuildRequires: meson >= 1.0 +BuildRequires: pkgconfig +BuildRequires: xdg-user-dirs +BuildRequires: pkgconfig(gtk+-3.0) +Requires: xdg-user-dirs + +%description +A companion to xdg-user-dirs that integrates it into the Gnome desktop +and Gtk+ applications. Presents a dialog when a user changes locales +to help move they standard user directories to the correct names. + +%lang_package + +%prep +%autosetup -p1 + +%build +%meson \ + %{nil} +%meson_build + +%install +%meson_install + +%find_lang %{name} + +%check +desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/user-dirs-update-gtk.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/user-dirs-update-gtk.desktop + +%files +%license COPYING +%doc AUTHORS README ChangeLog +%{_bindir}/xdg-user-dirs-gtk-update +%config(noreplace) %{_sysconfdir}/xdg/autostart/user-dirs-update-gtk.desktop +%{_datadir}/applications/user-dirs-update-gtk.desktop + +%files lang -f %{name}.lang + +%changelog