[arch-commits] Commit in kate/trunk (PKGBUILD)

2022-05-24 Thread Antonio Rojas via arch-commits
Date: Tuesday, May 24, 2022 @ 14:25:53
  Author: arojas
Revision: 446480

Fix crashes when opening settings

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |   16 +---
 1 file changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-24 13:40:37 UTC (rev 446479)
+++ PKGBUILD2022-05-24 14:25:53 UTC (rev 446480)
@@ -5,18 +5,28 @@
 pkgbase=kate
 pkgname=(kwrite kate)
 pkgver=22.04.1
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 license=(GPL LGPL FDL)
 makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff 
ktexteditor kactivities kuserfeedback)
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig}
+https://invent.kde.org/utilities/kate/-/commit/e002696b.patch
+https://invent.kde.org/utilities/kate/-/commit/36ede44f.patch)
 sha256sums=('f46ec33d7edf8032efcd489cc431ebf3f93e703e0e7d88a51e93941fd8509849'
-'SKIP')
+'SKIP'
+'9ae2cfeb66985dd6302baf680f98d20f70f8e895d7ff622b0fbeb70366a4f8f4'
+'29f66ed1b12100ae4962e10afa021cf6a5f1c0dfd952aa142b89c6776723a46e')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

   F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck 

   D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker 

 options=(debug)
 
+prepare() {
+# Fix crash when opening settings
+  patch -d $pkgbase-$pkgver -p1 < e002696b.patch
+  patch -d $pkgbase-$pkgver -p1 < 36ede44f.patch
+}
+
 build() {
   cmake -B build -S $pkgbase-$pkgver \
 -DBUILD_TESTING=OFF



[arch-commits] Commit in kate/trunk (PKGBUILD)

2022-05-02 Thread Antonio Rojas via arch-commits
Date: Monday, May 2, 2022 @ 16:28:35
  Author: arojas
Revision: 11

Add some optdepends for previews (FS#74606)

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-02 16:26:20 UTC (rev 10)
+++ PKGBUILD2022-05-02 16:28:35 UTC (rev 11)
@@ -49,7 +49,9 @@
   'python-lsp-server: Python LSP support'
   'texlab: LaTeX LSP support'
   'rust: Rust LSP support'
-  'git: git-blame plugin')
+  'git: git-blame plugin'
+  'markdownpart: Markdown preview'
+  'svgpart: SVG preview')
   DESTDIR="$pkgdir" cmake --install build
 
   find "$pkgdir" -type f -name '*kwrite*' -exec rm {} \;



[arch-commits] Commit in kate/trunk (PKGBUILD)

2021-10-30 Thread Antonio Rojas via arch-commits
Date: Saturday, October 30, 2021 @ 19:03:17
  Author: arojas
Revision: 426838

Switch to python-lsp-server

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-10-30 19:00:24 UTC (rev 426837)
+++ PKGBUILD2021-10-30 19:03:17 UTC (rev 426838)
@@ -5,17 +5,23 @@
 pkgbase=kate
 pkgname=(kwrite kate)
 pkgver=21.08.2
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 license=(GPL LGPL FDL)
 makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff 
kitemmodels ktexteditor kactivities kuserfeedback)
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig}
+https://invent.kde.org/utilities/kate/-/commit/8328b53f.patch)
 sha256sums=('d68898759dd2538051124681e5928ef5fb163ca61b6cd8f59ee056cc068ea6b2'
-'SKIP')
+'SKIP'
+'082c4a0c985b07e0f6976f0e183c28be290b796978f362e46e3917c24d9ca4b1')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

   F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck 

   D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker 

 
+prepare() {
+  patch -d $pkgbase-$pkgver -p1 < 8328b53f.patch # Use python-lsp-server
+}
+
 build() {
   cmake -B build -S $pkgbase-$pkgver \
 -DBUILD_TESTING=OFF
@@ -45,7 +51,7 @@
   depends=(knewstuff ktexteditor kactivities kuserfeedback hicolor-icon-theme)
   optdepends=('konsole: open a terminal in Kate'
   'clang: C and C++ LSP support'
-  'python-language-server: Python LSP support'
+  'python-lsp-server: Python LSP support'
   'texlab: LaTeX LSP support'
   'rust: Rust LSP support'
   'git: git-blame plugin')



[arch-commits] Commit in kate/trunk (PKGBUILD)

2021-05-29 Thread Antonio Rojas via arch-commits
Date: Saturday, May 29, 2021 @ 14:07:21
  Author: arojas
Revision: 416823

Add git optdepend

Modified:
  kate/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-29 12:01:53 UTC (rev 416822)
+++ PKGBUILD2021-05-29 14:07:21 UTC (rev 416823)
@@ -47,7 +47,8 @@
   'clang: C and C++ LSP support'
   'python-language-server: Python LSP support'
   'texlab: LaTeX LSP support'
-  'rust: Rust LSP support')
+  'rust: Rust LSP support'
+  'git: git-blame plugin')
   DESTDIR="$pkgdir" cmake --install build
 
   find "$pkgdir" -type f -name '*kwrite*' -exec rm {} \;