Package Details: kate-root 22.08.3-1

Git Clone URL: (read-only, click to copy)
Package Base: kate-root
Description: Advanced Text Editor, patched to be able to run as root
Upstream URL:
Keywords: editor kde plasma text
Licenses: GPL, LGPL, FDL
Conflicts: kate, kwrite
Provides: kate, kwrite
Replaces: kwrite
Submitter: Megver83
Maintainer: mnabid
Last Packager: mnabid
Votes: 15
Popularity: 0.000000
First Submitted: 2017-06-02 00:51 (UTC)
Last Updated: 2022-12-06 15:53 (UTC)

Latest Comments

1 2 Next › Last »

mozo commented on 2022-05-06 21:01 (UTC) (edited on 2022-05-06 21:02 (UTC) by mozo)

0001-Defuse-root-block.patch cannot be applied to the newest version 22.04.

patching file kate/main.cpp

Hunk #1 FAILED at 46.

1 out of 1 hunk FAILED -- saving rejects to file kate/main.cpp.rej

patching file kwrite/main.cpp

Hunk #1 FAILED at 38.

1 out of 1 hunk FAILED -- saving rejects to file kwrite/main.cpp.rej

==> ERROR: A failure occurred in prepare().


dreieck commented on 2021-10-23 21:10 (UTC)

Can you add -DCMAKE_BUILD_TYPE=Release to the call of cmake?

dreieck commented on 2021-10-23 21:08 (UTC)

Thanks a lot for this useful package, I use it regularly.

Can you add =${pkgver} to the provides entries, please?


joolsrulez commented on 2020-06-29 09:17 (UTC)

pkgver=20.04.2 pkgrel=1 arch=(armv7h i686 x86_64) license=(GPL LGPL FDL) makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff ktexteditor threadweaver kitemmodels kactivities) source=(""{,.sig} 0001-Defuse-root-block.patch) sha512sums=('568af7df0588d65f386f482f944b44c7bacffeecf374fce4b4e276be8ca556cbf983c2df2e99a3900c15bd7dfaa0d71b6540c37b4c2773a5293b3e5cba1d3939' 'SKIP' '01f7fd779d2e2c87ccb78e1f6014b89687b87af33831eae74864c66ed52e18d2adbb9b2803574cd8a55f7feacd24c9b1afbf3cba5b7b45b2746a36d6072894df') validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck

prepare() { mkdir -p build cd $srcdir/$_pkgbase-$pkgver patch -p1 -i $srcdir/0001-Defuse-root-block.patch }

build() { cd build cmake ../$_pkgbase-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF make }

package_kwrite-root() { pkgdesc="Text Editor, patched to be able to run as root" url="" depends=(ktexteditor kactivities hicolor-icon-theme) provides=(${pkgname%-root}) conflicts=(${provides[@]}) replaces=(${provides[@]})

cd build make DESTDIR="$pkgdir" install

find "$pkgdir" -type f -name 'kate' -exec rm {} \; rm -r "$pkgdir"/usr/lib/qt/plugins/ktexteditor \ "$pkgdir"/usr/share/doc/HTML//{kate,katepart} \ "$pkgdir"/usr/share/katexmltools \ #"$pkgdir"/usr/share/locale//LC_MESSAGES/{kterustcompletion,tabswitcherplugin,ktexteditorpreviewplugin}.mo \ #"$pkgdir"/usr/share/plasma/plasmoids }

joolsrulez commented on 2020-06-29 09:16 (UTC)

makepkg -s --skipinteg

Drommer commented on 2020-01-10 10:31 (UTC) (edited on 2020-01-10 10:34 (UTC) by Drommer)

Version 19.12.1 is available now. You need to change the source to build: "$pkgver/src/$_pkgbase-$pkgver.tar.xz"

jsie commented on 2019-06-10 21:19 (UTC)

I upload a working patch to pastebin if someone wants to adapt this Package or to build it from source (

Megver83 commented on 2019-01-31 02:15 (UTC)

@victorbrca why are you running gpg with sudo?

hardyh commented on 2019-01-12 13:00 (UTC)

I can't import the key/install that package, I am also having the gpg problem.