20240727
OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Factory/cosmic-session?expand=0&rev=3
This commit is contained in:
parent
bf7cd3b663
commit
96ab4c8ec4
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4e94f7b24de09c6fa5fb897a7423bfc202d0850a8a6757998b951e3555729ba3
|
|
||||||
size 172927
|
|
3
cosmic-session-0.1.0+git20240715.577a181.tar.zst
Normal file
3
cosmic-session-0.1.0+git20240715.577a181.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:914976c1a344178f41aa77d372fbf2b0056b8255ca9b8d537d1840a22cdd1db0
|
||||||
|
size 172965
|
@ -17,14 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cosmic-session
|
Name: cosmic-session
|
||||||
Version: 0.1.0+git20240627.b4561cf
|
Version: 0.1.0+git20240715.577a181
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Session manager for the COSMIC desktop environment
|
Summary: Session manager for the COSMIC desktop environment
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
URL: https://github.com/pop-os/cosmic-session
|
URL: https://github.com/pop-os/cosmic-session
|
||||||
Source0: %{name}-%{version}.tar.zst
|
Source0: %{name}-%{version}.tar.zst
|
||||||
Source1: vendor.tar.zst
|
Source1: vendor.tar.zst
|
||||||
Patch0: fix-justfile.patch
|
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: just
|
BuildRequires: just
|
||||||
|
|
||||||
@ -38,7 +37,7 @@ BuildRequires: just
|
|||||||
just build
|
just build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
just rootdir=%{buildroot} prefix=%{_prefix} install
|
just rootdir=%{buildroot} install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{cargo_test}
|
%{cargo_test}
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
diff -rub cosmic-session/Justfile cosmic-session-patched/Justfile
|
|
||||||
--- cosmic-session/Justfile 2024-03-14 03:35:19.178452316 +0100
|
|
||||||
+++ cosmic-session-patched/Justfile 2024-03-14 03:44:03.809263980 +0100
|
|
||||||
@@ -23,19 +23,19 @@
|
|
||||||
# Installs files into the system
|
|
||||||
install:
|
|
||||||
# main binary
|
|
||||||
- install -Dm0755 target/release/cosmic-session {{bindir}}/cosmic-session
|
|
||||||
+ install -Dm0755 target/release/cosmic-session {{rootdir}}/{{bindir}}/cosmic-session
|
|
||||||
|
|
||||||
# session start script
|
|
||||||
- install -Dm0755 data/start-cosmic {{bindir}}/start-cosmic
|
|
||||||
+ install -Dm0755 data/start-cosmic {{rootdir}}/{{bindir}}/start-cosmic
|
|
||||||
|
|
||||||
# systemd target
|
|
||||||
- install -Dm0644 data/cosmic-session.target {{systemddir}}/cosmic-session.target
|
|
||||||
+ install -Dm0644 data/cosmic-session.target {{rootdir}}/{{systemddir}}/cosmic-session.target
|
|
||||||
|
|
||||||
# session
|
|
||||||
- install -Dm0644 data/cosmic.desktop {{sessiondir}}/cosmic.desktop
|
|
||||||
+ install -Dm0644 data/cosmic.desktop {{rootdir}}/{{sessiondir}}/cosmic.desktop
|
|
||||||
|
|
||||||
# mimeapps
|
|
||||||
- install -Dm0644 data/cosmic-mimeapps.list {{applicationdir}}/cosmic-mimeapps.list
|
|
||||||
+ install -Dm0644 data/cosmic-mimeapps.list {{rootdir}}/{{applicationdir}}/cosmic-mimeapps.list
|
|
||||||
|
|
||||||
clean_vendor:
|
|
||||||
rm -rf vendor vendor.tar .cargo/config
|
|
Loading…
x
Reference in New Issue
Block a user