Richard Rahl 2024-08-08 02:46:38 +00:00 committed by Git OBS Bridge
parent 3683a3d4b5
commit 42213c3cbf
5 changed files with 32 additions and 6 deletions

View File

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

View File

@ -1,7 +1,24 @@
diff -rub launcher/justfile launcher-patched/justfile diff -rub launcher/justfile launcher-patched/justfile
--- launcher/justfile 2024-03-20 07:47:06.134294454 +0100 --- launcher/justfile 2024-08-08 01:59:44.654863863 +0200
+++ launcher-patched/justfile 2024-03-20 08:16:28.542472749 +0100 +++ launcher-patched/justfile 2024-08-08 02:16:26.601351258 +0200
@@ -67,7 +67,7 @@ @@ -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} dest={{plugin-dir}}${plugin}
mkdir -p ${dest} mkdir -p ${dest}
install -Dm0644 plugins/src/${plugin}/*.ron ${dest} install -Dm0644 plugins/src/${plugin}/*.ron ${dest}

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
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> Wed Aug 7 06:03:55 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@ -53,7 +53,7 @@ export RUSTFLAGS="-C codegen-units=1"
just build-release just build-release
%install %install
just rootdir=%{buildroot} install just rootdir=%{buildroot} prefix=%{_prefix} install
%check %check
%{cargo_test} %{cargo_test}