Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / 
cosmic-bg


Commits:
1c0fb962 by Maxime Gauduin at 2024-09-26T18:15:34+02:00
upgpkg: 1.0.0.alpha.2-1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + cosmic-bg-lto.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = cosmic-bg
        pkgdesc = COSMIC session service which applies backgrounds to displays
-       pkgver = 1.0.0.alpha.1
+       pkgver = 1.0.0.alpha.2
        pkgrel = 1
        url = https://github.com/pop-os/cosmic-bg
        arch = x86_64
@@ -15,7 +15,9 @@ pkgbase = cosmic-bg
        depends = gcc-libs
        depends = glibc
        depends = libxkbcommon
-       source = 
git+https://github.com/pop-os/cosmic-bg.git#tag=e5637fcc83abeb4e9a675b04a9b98ae4a5c186fa
-       b2sums = 
80757e5fd9db7e16c4f72e08708099b5f6fe369e1a6135061ba3f35489d70a0b88fe9a03f0cef99efdd101d8eb33183af113260f2b93a58dd9b517c2d7e83a0a
+       source = 
git+https://github.com/pop-os/cosmic-bg.git#tag=584f6b3c0454396df25d36c6c2b59b018946e81e
+       source = cosmic-bg-lto.patch
+       b2sums = 
0306af059b179b3ff3bcc91965111205dacdf4097d085022d3c189b4ceb678c67a710de6ed936e93373e1826fcc228a2bf92e5c0eab6869962a19b4365adcb3e
+       b2sums = 
ccf50f22e306236727decc55d6895adeb6d82b8786bd8f14d34c48ecbf857931a52ac4be2a2b5dcb8175d872c2b8e45e056662770414815e436b77594fd25794
 
 pkgname = cosmic-bg


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: Mark Wagie <[email protected]>
 
 pkgname=cosmic-bg
-pkgver=1.0.0.alpha.1
+pkgver=1.0.0.alpha.2
 pkgrel=1
 pkgdesc='COSMIC session service which applies backgrounds to displays'
 arch=(x86_64)
@@ -23,12 +23,17 @@ makedepends=(
   lld
   nasm
 )
-_tag=e5637fcc83abeb4e9a675b04a9b98ae4a5c186fa
-source=(git+https://github.com/pop-os/cosmic-bg.git#tag=${_tag})
-b2sums=('80757e5fd9db7e16c4f72e08708099b5f6fe369e1a6135061ba3f35489d70a0b88fe9a03f0cef99efdd101d8eb33183af113260f2b93a58dd9b517c2d7e83a0a')
+_tag=584f6b3c0454396df25d36c6c2b59b018946e81e
+source=(
+  git+https://github.com/pop-os/cosmic-bg.git#tag=${_tag}
+  cosmic-bg-lto.patch
+)
+b2sums=('0306af059b179b3ff3bcc91965111205dacdf4097d085022d3c189b4ceb678c67a710de6ed936e93373e1826fcc228a2bf92e5c0eab6869962a19b4365adcb3e'
+        
'ccf50f22e306236727decc55d6895adeb6d82b8786bd8f14d34c48ecbf857931a52ac4be2a2b5dcb8175d872c2b8e45e056662770414815e436b77594fd25794')
 
 prepare() {
   cd cosmic-bg
+  patch -Np1 -i ../cosmic-bg-lto.patch
   cargo fetch --locked
 }
 


=====================================
cosmic-bg-lto.patch
=====================================
@@ -0,0 +1,11 @@
+diff '--color=auto' -rupN cosmic-bg.orig/Cargo.toml cosmic-bg/Cargo.toml
+--- cosmic-bg.orig/Cargo.toml  2024-09-26 18:12:01.813689739 +0200
++++ cosmic-bg/Cargo.toml       2024-09-26 18:12:22.830588098 +0200
+@@ -36,6 +36,7 @@ features = ["calloop"]
+ 
+ [profile.release]
+ opt-level = 3
++lto = "thin"
+ 
+ # TODO: Remove when sctk is updated to latest calloop, like cosmic-config
+ [patch.'https://github.com/pop-os/libcosmic']



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cosmic-bg/-/commit/1c0fb96263122a172f2100cd09a9c408dee91540

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cosmic-bg/-/commit/1c0fb96263122a172f2100cd09a9c408dee91540
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to