Richard Rahl 2024-06-06 08:40:35 +00:00 committed by Git OBS Bridge
commit 2a14133799
9 changed files with 136 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

20
_service Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/pop-os/launcher.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionformat">1.2.3+git%cd.%h</param>
<param name="filename">pop-launcher</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zstd</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">launcher</param>
<param name="update">false</param>
</service>
<service name="set_version" mode="manual" />
</services>

12
fix-justfile.patch Normal file
View File

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

View File

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

4
pop-launcher.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Mar 20 06:46:47 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- initial packaging

4
pop-launcher.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: pop-launcher
version: 1.2.3+git20240518.65c1742
mtime: 1716051327
commit: 65c1742a889dcb9db2d65f2f7548e8f09d628165

66
pop-launcher.spec Normal file
View File

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

3
vendor.tar.zst Normal file
View File

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