Skip to content

Commit

Permalink
xdg-user-dirs: Convert to systemd unit for cosmic
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Nov 16, 2024
1 parent c6f909c commit 535b87b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
Binary file modified x/xdg-user-dirs/manifest.x86_64.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions x/xdg-user-dirs/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"files": [
"/usr/bin/xdg-user-dir",
"/usr/bin/xdg-user-dirs-update",
"/usr/lib/systemd/user/xdg-user-dirs-update.service",
"/usr/share/locale/af/LC_MESSAGES/xdg-user-dirs.mo",
"/usr/share/locale/an/LC_MESSAGES/xdg-user-dirs.mo",
"/usr/share/locale/ar/LC_MESSAGES/xdg-user-dirs.mo",
Expand Down Expand Up @@ -94,7 +95,6 @@
"/usr/share/man/man5/user-dirs.conf.5",
"/usr/share/man/man5/user-dirs.defaults.5",
"/usr/share/man/man5/user-dirs.dirs.5",
"/usr/share/xdg/autostart/xdg-user-dirs.desktop",
"/usr/share/xdg/user-dirs.conf",
"/usr/share/xdg/user-dirs.defaults"
],
Expand All @@ -106,6 +106,6 @@
}
},
"source-name": "xdg-user-dirs",
"source-release": "1",
"source-release": "2",
"source-version": "0.18"
}
9 changes: 9 additions & 0 deletions x/xdg-user-dirs/pkg/xdg-user-dirs-update.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Unit]
Description=Update XDG user dir configuration

[Service]
Type=oneshot
ExecStart=/usr/bin/xdg-user-dirs-update

[Install]
WantedBy=default.target
7 changes: 5 additions & 2 deletions x/xdg-user-dirs/stone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#
name : xdg-user-dirs
version : 0.18
release : 1
release : 2
homepage : http://user-dirs.freedesktop.org/releases
upstreams :
- http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.18.tar.gz : ec6f06d7495cdba37a732039f9b5e1578bcb296576fde0da40edb2f52220df3c
- git|https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git : 97ff189affdbf0d33c0f8e91d3fd5608f425ef96
summary : freedesktop.org compliant user directories
description : |
xdg-user-dirs is a tool to help manage "well known" user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames.
Expand All @@ -24,3 +24,6 @@ build : |
%make
install : |
%make_install
rm -frv %(installroot)%(datadir)/xdg/autostart
%install_file %(pkgdir)/xdg-user-dirs-update.service %(installroot)%(libdir)/systemd/user/xdg-user-dirs-update.service

0 comments on commit 535b87b

Please sign in to comment.