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


Commits:
7a8f3e84 by Maxime Gauduin at 2024-09-26T19:49:33+02:00
upgpkg: 1.0.0.alpha.2-1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + cosmic-text-editor-lto.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = cosmic-text-editor
        pkgdesc = Text editor for the COSMIC desktop
-       pkgver = 1.0.0.alpha.1
+       pkgver = 1.0.0.alpha.2
        pkgrel = 1
        url = https://github.com/pop-os/cosmic-edit
        arch = x86_64
@@ -16,7 +16,9 @@ pkgbase = cosmic-text-editor
        depends = libxkbcommon
        depends = oniguruma
        depends = wayland
-       source = 
git+https://github.com/pop-os/cosmic-edit.git#tag=df5d10936c5a1cc16e231b92221eae7c73ed9da4
-       b2sums = 
a35f11774d9c2a796e6f23bd1d7cb31886251f3cbb1b0852b710d65798f0fb96b9e8a1693b396ea3fab014f0559e8cd28cce800345e86f986a53a9814a3d819c
+       source = 
git+https://github.com/pop-os/cosmic-edit.git#tag=96b2a190d8a93955e93de08471477492aafd46c3
+       source = cosmic-text-editor-lto.patch
+       b2sums = 
36f58ea04f5d6ca5aac4d6c92ca238a5b0e053abf2808a8fb8d07203157de6771c4e72d4a77d325b4cf4dc1056e76d555e22dba014ef41b641c93742d0f2b4e7
+       b2sums = 
ed78a5a3f3734ceca3e090eeda9c132ee1cea133b71c7a40d04aa1dedb620e9f662cc33a492e327d54289249c0f0724b6b2945343d1b09af48967ccfead570f3
 
 pkgname = cosmic-text-editor


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: soloturn <[email protected]>
 
 pkgname=cosmic-text-editor
-pkgver=1.0.0.alpha.1
+pkgver=1.0.0.alpha.2
 pkgrel=1
 pkgdesc='Text editor for the COSMIC desktop'
 arch=(x86_64)
@@ -24,12 +24,17 @@ makedepends=(
   just
   lld
 )
-_tag=df5d10936c5a1cc16e231b92221eae7c73ed9da4
-source=(git+https://github.com/pop-os/cosmic-edit.git#tag=${_tag})
-b2sums=('a35f11774d9c2a796e6f23bd1d7cb31886251f3cbb1b0852b710d65798f0fb96b9e8a1693b396ea3fab014f0559e8cd28cce800345e86f986a53a9814a3d819c')
+_tag=96b2a190d8a93955e93de08471477492aafd46c3
+source=(
+  git+https://github.com/pop-os/cosmic-edit.git#tag=${_tag}
+  cosmic-text-editor-lto.patch
+)
+b2sums=('36f58ea04f5d6ca5aac4d6c92ca238a5b0e053abf2808a8fb8d07203157de6771c4e72d4a77d325b4cf4dc1056e76d555e22dba014ef41b641c93742d0f2b4e7'
+        
'ed78a5a3f3734ceca3e090eeda9c132ee1cea133b71c7a40d04aa1dedb620e9f662cc33a492e327d54289249c0f0724b6b2945343d1b09af48967ccfead570f3')
 
 prepare() {
   cd cosmic-edit
+  patch -Np1 -i ../cosmic-text-editor-lto.patch
   cargo fetch --locked
 }
 


=====================================
cosmic-text-editor-lto.patch
=====================================
@@ -0,0 +1,20 @@
+diff '--color=auto' -rupN cosmic-edit.orig/Cargo.toml cosmic-edit/Cargo.toml
+--- cosmic-edit.orig/Cargo.toml        2024-09-26 19:45:04.710293937 +0200
++++ cosmic-edit/Cargo.toml     2024-09-26 19:45:27.527216806 +0200
+@@ -59,6 +59,9 @@ fork = "0.1"
+ default = ["wgpu"]
+ wgpu = ["libcosmic/wgpu", "cosmic-files/wgpu"]
+ 
++[profile.release]
++lto = "thin"
++
+ [profile.release-with-debug]
+ inherits = "release"
+ debug = true
+@@ -70,4 +73,4 @@ filetime = { git = "https://github.com/j
+ # [patch.'https://github.com/pop-os/libcosmic']
+ # libcosmic = { path = "../libcosmic" }
+ # cosmic-config = { path = "../libcosmic/cosmic-config" }
+-# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
+\ No newline at end of file
++# cosmic-theme = { path = "../libcosmic/cosmic-theme" }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cosmic-text-editor/-/commit/7a8f3e84b487078052749d6a0eb27383563c81fd

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


Reply via email to