Accepting request 1192457 from X11:COSMIC:Factory

- standardize packaging with also fixes for miscellaneous hardcoding
  filenames, using @PARENT_TAG where applicable, and be more specific
  with files in the %files section (so no non-wanted files are getting
  added

- update to 1.2.3+git20240806.c994240:
  * fix: use more generic shell script shebang
  * feat: prefer cosmic-term in terminal plugin
  * desktop_entries: Fix activate context
- enable leap (thanks to vyvir)

- build with 1 codegen-unit for reproducible builds
  https://github.com/pop-os/launcher/issues/230

OBS-URL: https://build.opensuse.org/request/show/1192457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pop-launcher?expand=0&rev=2
This commit is contained in:
2024-08-12 10:30:19 +00:00
committed by Git OBS Bridge
6 changed files with 50 additions and 8 deletions

View File

@@ -5,6 +5,7 @@
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionformat">1.2.3+git%cd.%h</param>
<param name="package-meta">yes</param>
<param name="filename">pop-launcher</param>
</service>
<service name="recompress" mode="manual">

View File

@@ -1,7 +1,24 @@
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 @@
--- launcher/justfile 2024-08-08 01:59:44.654863863 +0200
+++ launcher-patched/justfile 2024-08-08 02:16:26.601351258 +0200
@@ -2,6 +2,7 @@
plugins := 'calc desktop_entries files find pop_shell pulse recent scripts terminal web cosmic_toplevel'
rootdir := ''
+prefix := '/usr'
debug := '0'
target-dir := if debug == '1' { 'target/debug' } else { 'target/release' }
@@ -9,7 +10,7 @@
base-dir := if rootdir == '' {
env_var('HOME') / '.local'
} else {
- rootdir / 'usr'
+ rootdir + prefix
}
lib-dir := if rootdir == '' {
@@ -70,7 +71,7 @@
dest={{plugin-dir}}${plugin}
mkdir -p ${dest}
install -Dm0644 plugins/src/${plugin}/*.ron ${dest}

View File

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

View File

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Aug 8 01:01:10 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- standardize packaging with also fixes for miscellaneous hardcoding
filenames, using @PARENT_TAG where applicable, and be more specific
with files in the %files section (so no non-wanted files are getting
added
-------------------------------------------------------------------
Wed Aug 7 06:03:55 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.2.3+git20240806.c994240:
* fix: use more generic shell script shebang
* feat: prefer cosmic-term in terminal plugin
* desktop_entries: Fix activate context
- enable leap (thanks to vyvir)
-------------------------------------------------------------------
Thu Aug 1 09:34:07 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- build with 1 codegen-unit for reproducible builds
https://github.com/pop-os/launcher/issues/230
-------------------------------------------------------------------
Wed Mar 20 06:46:47 UTC 2024 - Richard Rahl <rrahl0@proton.me>

View File

@@ -17,7 +17,7 @@
Name: pop-launcher
Version: 1.2.3+git20240719.e44d6cd
Version: 1.2.3+git20240806.c994240
Release: 0
Summary: Modular IPC-based desktop launcher service
License: MPL-2.0
@@ -49,10 +49,11 @@ parallel, on demand.
%autosetup -p1 -a1
%build
export RUSTFLAGS="-C codegen-units=1"
just build-release
%install
just rootdir=%{buildroot} install
just rootdir=%{buildroot} prefix=%{_prefix} install
%check
%{cargo_test}