commit 2a14133799232b6deeb274932595d115215903f3f043632c4d98a3c80ac0a245 Author: Richard Rahl Date: Thu Jun 6 08:40:35 2024 +0000 OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Factory/pop-launcher?expand=0&rev=1 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..1378554 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + + https://github.com/pop-os/launcher.git + git + master + 1.2.3+git%cd.%h + pop-launcher + + + + *.tar + zstd + + + launcher + false + + + diff --git a/fix-justfile.patch b/fix-justfile.patch new file mode 100644 index 0000000..68bbe48 --- /dev/null +++ b/fix-justfile.patch @@ -0,0 +1,12 @@ +diff -rub launcher/justfile launcher-patched/justfile +--- launcher/justfile 2024-03-20 07:47:06.134294454 +0100 ++++ launcher-patched/justfile 2024-03-20 08:16:28.542472749 +0100 +@@ -67,7 +67,7 @@ + dest={{plugin-dir}}${plugin} + mkdir -p ${dest} + install -Dm0644 plugins/src/${plugin}/*.ron ${dest} +- ln -sf {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/') ++ ln -rsf {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/') + done + + # Install pop-launcher scripts diff --git a/pop-launcher-1.2.3+git20240518.65c1742.obscpio b/pop-launcher-1.2.3+git20240518.65c1742.obscpio new file mode 100644 index 0000000..62c09dd --- /dev/null +++ b/pop-launcher-1.2.3+git20240518.65c1742.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09db41baecb83bad5ee6bb75096f25f21ef52f4181f070851143aa21cc16a47f +size 348683 diff --git a/pop-launcher.changes b/pop-launcher.changes new file mode 100644 index 0000000..fa43243 --- /dev/null +++ b/pop-launcher.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Mar 20 06:46:47 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/pop-launcher.obsinfo b/pop-launcher.obsinfo new file mode 100644 index 0000000..f935898 --- /dev/null +++ b/pop-launcher.obsinfo @@ -0,0 +1,4 @@ +name: pop-launcher +version: 1.2.3+git20240518.65c1742 +mtime: 1716051327 +commit: 65c1742a889dcb9db2d65f2f7548e8f09d628165 diff --git a/pop-launcher.spec b/pop-launcher.spec new file mode 100644 index 0000000..73f09ef --- /dev/null +++ b/pop-launcher.spec @@ -0,0 +1,66 @@ +# +# spec file for package pop-launcher +# +# Copyright (c) 2024 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: pop-launcher +Version: 1.2.3+git20240518.65c1742 +Release: 0 +Summary: Modular IPC-based desktop launcher service +License: MPL-2.0 +URL: https://github.com/pop-os/launcher +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +Patch0: fix-justfile.patch +BuildRequires: cargo-packaging +BuildRequires: just +BuildRequires: pkgconfig +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(xkbcommon) + +%description +Modular IPC-based desktop launcher service, written in Rust. Desktop launchers +may interface with this service via spawning the pop-launcher process and +communicating to it via JSON IPC over the stdin and stdout pipes. The launcher +service will also spawn plugins found in plugin directories on demand, based on +the queries sent to the service. + +Using IPC enables each plugin to isolate their data from other plugin processes +and frontends that are interacting with them. If a plugin crashes, the launcher +will continue functioning normally, gracefully cleaning up after the crashed +process. Frontends and plugins may also be written in any language. The +pop-launcher will do its part to schedule the execution of these plugins in +parallel, on demand. + +%prep +%autosetup -p1 -a1 + +%build +just build-release + +%install +just rootdir=%{buildroot} install + +%check +%{cargo_test} + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_prefix}/lib/%{name} + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..8a3f017 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3159aefa28dadce1d2334004d7a6a95ed236b534c1b90d0a93be8871b9bc3ee +size 34423487