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


Commits:
f173c3dc by Maxime Gauduin at 2024-09-26T18:58:16+02:00
upgpkg: 1.0.0.alpha.2-1

- - - - -


3 changed files:

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


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = cosmic-notifications
        pkgdesc = Layer Shell notifications daemon which integrates with COSMIC
-       pkgver = 1.0.0.alpha.1
+       pkgver = 1.0.0.alpha.2
        pkgrel = 1
        url = https://github.com/pop-os/cosmic-notifications
        arch = x86_64
@@ -16,6 +16,8 @@ pkgbase = cosmic-notifications
        depends = libxkbcommon
        depends = wayland
        source = 
git+https://github.com/pop-os/cosmic-notifications.git#tag=e9abef567a928cfa88949dbbdb5c49bb87c2f6a0
+       source = cosmic-notifications-lto.patch
        b2sums = 
bb8ab78fd417cbbd27ec57a362e34cc704143a4de0ce8bcc8508da521b9504980aa931de78c0a22f6cc80970d5c8967c321a355cfd086c191c8870f5d93379a4
+       b2sums = 
2c3b1b321c7d86c43806885d9b0cc24485bd0186adebdaf3f511cbd861ead2fd7a1491d5583fb85f686c833c1cb2622ce944781f7b26d5486a86509b79ac636a
 
 pkgname = cosmic-notifications


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: soloturn <[email protected]>
 
 pkgname=cosmic-notifications
-pkgver=1.0.0.alpha.1
+pkgver=1.0.0.alpha.2
 pkgrel=1
 pkgdesc='Layer Shell notifications daemon which integrates with COSMIC'
 arch=(x86_64)
@@ -24,18 +24,23 @@ makedepends=(
   lld
 )
 _tag=e9abef567a928cfa88949dbbdb5c49bb87c2f6a0
-source=(git+https://github.com/pop-os/cosmic-notifications.git#tag=${_tag})
-b2sums=('bb8ab78fd417cbbd27ec57a362e34cc704143a4de0ce8bcc8508da521b9504980aa931de78c0a22f6cc80970d5c8967c321a355cfd086c191c8870f5d93379a4')
+source=(
+  git+https://github.com/pop-os/cosmic-notifications.git#tag=${_tag}
+  cosmic-notifications-lto.patch
+)
+b2sums=('bb8ab78fd417cbbd27ec57a362e34cc704143a4de0ce8bcc8508da521b9504980aa931de78c0a22f6cc80970d5c8967c321a355cfd086c191c8870f5d93379a4'
+        
'2c3b1b321c7d86c43806885d9b0cc24485bd0186adebdaf3f511cbd861ead2fd7a1491d5583fb85f686c833c1cb2622ce944781f7b26d5486a86509b79ac636a')
 
 prepare() {
   cd cosmic-notifications
+  patch -Np1 -i ../cosmic-notifications-lto.patch
   cargo fetch --locked
 }
 
-pkgver() {
-  cd cosmic-notifications
-  git describe --tags | sed 's/^epoch-//; s/-/./g'
-}
+#pkgver() {
+#  cd cosmic-notifications
+#  git describe --tags | sed 's/^epoch-//; s/-/./g'
+#}
 
 build() {
   cd cosmic-notifications


=====================================
cosmic-notifications-lto.patch
=====================================
@@ -0,0 +1,11 @@
+diff '--color=auto' -rupN cosmic-notifications.orig/Cargo.toml 
cosmic-notifications/Cargo.toml
+--- cosmic-notifications.orig/Cargo.toml       2024-09-26 18:50:44.170054898 
+0200
++++ cosmic-notifications/Cargo.toml    2024-09-26 18:51:04.683618139 +0200
+@@ -59,3 +59,7 @@ members = ["cosmic-notifications-util",
+ # [patch.'https://github.com/smithay/client-toolkit/']
+ # smithay-client-toolkit = { git = 
"https://github.com/smithay/client-toolkit//";, rev = "3bed072" }
+ # cosmic-config = { git = "https://github.com/pop-os/libcosmic//"; }
++
++[profile.release]
++lto = "thin"
++



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cosmic-notifications/-/commit/f173c3dc6de17808dfe4c15f52d95ceca6f5579f

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


Reply via email to