Dominique Leuenberger 2025-01-21 09:08:46 +00:00 committed by Git OBS Bridge
commit 96621cdef9
10 changed files with 301 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

18
_service Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk.git</param>
<param name="scm">git</param>
<param name="revision">0.14</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="manual" name="set_version" />
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3900b23bc901b8a16ad13d249ee06e6c6001f0524310f44023071d7b1489d87
size 261131

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13f4499ac3be5fb5db79c4f339baa4d6122ed3fde50110f2a8f9c6608eca102e
size 256523

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7534fd8ddaba95704ef4328c58f7d29e60048a52ceea9f53c10c778efb2f33cd
size 263179

View File

@ -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

163
xdg-user-dirs-gtk.changes Normal file
View File

@ -0,0 +1,163 @@
-------------------------------------------------------------------
Sun Jan 19 08:56:25 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- Stop passing -Wno-error=deprecated-declarations, no longer
needed.
-------------------------------------------------------------------
Mon Mar 27 08:16:34 UTC 2023 - Andreas Schwab <schwab@suse.de>
- Build with %optflags
- Don't treat -Wcast-align as error
-------------------------------------------------------------------
Fri Oct 14 08:02:08 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.11:
+ Updated translations.
-------------------------------------------------------------------
Thu Sep 16 02:08:53 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
-------------------------------------------------------------------
Sat Jan 25 14:21:18 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <category> 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

View File

@ -0,0 +1,4 @@
name: xdg-user-dirs-gtk
version: 0.14
mtime: 1737232692
commit: be14e24b19cb7cf9a127f91383d6ae41f0d6c474

70
xdg-user-dirs-gtk.spec Normal file
View File

@ -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