- Update to version 1.0.0~alpha5+0:

* Slow down the fade to black time
  * Reduce `Cargo.lock` build for CI build
  * Run `cargo update`
  * Add a slight delay between screen off and locking

OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Factory/cosmic-idle?expand=0&rev=5
This commit is contained in:
Richard Rahl 2025-01-14 12:46:11 +00:00 committed by Git OBS Bridge
commit bc2bac142b
12 changed files with 2861 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

2687
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

23
_service Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<services>
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/pop-os/cosmic-idle.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionrewrite-pattern">epoch-(.*)\+0</param>
<param name="versionformat">1.0.0~alpha5+@TAG_OFFSET@</param>
<param name="versionrewrite-replacement">\1</param>
<param name="package-meta">yes</param>
<param name="filename">cosmic-idle</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">zstd</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">cosmic-idle</param>
<param name="update">false</param>
</service>
<service name="set_version" mode="manual" />
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/pop-os/cosmic-idle.git</param>
<param name="changesrevision">7899fccbbe3d6746982178d3eff48ce8943b0f71</param></service></servicedata>

31
cargo_config Normal file
View File

@ -0,0 +1,31 @@
[source.crates-io]
replace-with = "vendored-sources"
[source."git+https://github.com/jackpot51/rust-atomicwrites"]
git = "https://github.com/jackpot51/rust-atomicwrites"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/cosmic-settings-daemon"]
git = "https://github.com/pop-os/cosmic-settings-daemon"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/dbus-settings-bindings"]
git = "https://github.com/pop-os/dbus-settings-bindings"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/libcosmic"]
git = "https://github.com/pop-os/libcosmic"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5"]
git = "https://github.com/pop-os/smithay-clipboard"
tag = "pop-dnd-5"
replace-with = "vendored-sources"
[source."git+https://github.com/pop-os/window_clipboard.git?tag=pop-0.13"]
git = "https://github.com/pop-os/window_clipboard.git"
tag = "pop-0.13"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

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

View File

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

View File

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

28
cosmic-idle.changes Normal file
View File

@ -0,0 +1,28 @@
-------------------------------------------------------------------
Fri Jan 10 21:48:00 UTC 2025 - rrahl0@opensuse.org
- Update to version 1.0.0~alpha5+0:
* Slow down the fade to black time
* Reduce `Cargo.lock` build for CI build
* Run `cargo update`
* Add a slight delay between screen off and locking
-------------------------------------------------------------------
Fri Dec 06 00:08:41 UTC 2024 - rrahl0@opensuse.org
- Update to version 1.0.0~alpha4+0:
* fix bug where screen off was triggered while in inhibit state
* Set DPMS and remove fade surfaces in one place
* Lock session on screen blanking
* Load `system_actions` config, and refactor commmand spawning code
* Use `zbus::connection::Builder`
* Update default settings
* Also expose screensaver DBus protocol at path `/ScreenSaver`
* debian: Fix description
* Destroy idle notifications when inhibited
* Fixes for `freedesktop_screensaver`
-------------------------------------------------------------------
Mon Nov 4 01:49:57 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- initial packaging

52
cosmic-idle.spec Normal file
View File

@ -0,0 +1,52 @@
#
# spec file for package cosmic-idle
#
# 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: cosmic-idle
Version: 1.0.0~alpha5+0
Release: 0
Summary: Idle notify manager for COSMIC
License: GPL-3.0-only
URL: https://github.com/pop-os/cosmic-idle
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: just
BuildRequires: pkgconfig
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(xkbcommon)
%description
%{summary}.
%prep
%autosetup -a1
%build
just build-release
%install
just rootdir=%{buildroot} prefix=%{_prefix} install
%check
%{cargo_test}
%files
%license LICENSE
%{_bindir}/%{name}
%changelog

3
vendor.tar.zst Normal file
View File

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