Package Details: kwrite-root 19.04.2-1

Git Clone URL: https://aur.archlinux.org/kate-root.git (read-only, click to copy)
Package Base: kate-root
Description: Text Editor, patched to be able to run as root
Upstream URL: https://www.kde.org/applications/utilities/kwrite/
Licenses: GPL, LGPL, FDL
Provides: kwrite
Submitter: Megver83
Maintainer: Megver83
Last Packager: Megver83
Votes: 13
Popularity: 0.173602
First Submitted: 2017-06-02 00:51
Last Updated: 2019-06-16 05:32

Latest Comments

1 2 Next › Last »

joolsrulez commented on 2020-06-29 09:17

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=("https://download.kde.org/stable/release-service/20.04.2/src/kate-20.04.2.tar.xz"{,.sig} 0001-Defuse-root-block.patch) sha512sums=('568af7df0588d65f386f482f944b44c7bacffeecf374fce4b4e276be8ca556cbf983c2df2e99a3900c15bd7dfaa0d71b6540c37b4c2773a5293b3e5cba1d3939' 'SKIP' '01f7fd779d2e2c87ccb78e1f6014b89687b87af33831eae74864c66ed52e18d2adbb9b2803574cd8a55f7feacd24c9b1afbf3cba5b7b45b2746a36d6072894df') validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid aacid@kde.org F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck cfeck@kde.org

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="https://www.kde.org/applications/utilities/kwrite/" 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

makepkg -s --skipinteg

Drommer commented on 2020-01-10 10:31

Version 19.12.1 is available now. You need to change the source to build: "http://download.kde.org/stable/release-service/$pkgver/src/$_pkgbase-$pkgver.tar.xz"

jsie commented on 2019-06-10 21:19

I upload a working patch to pastebin if someone wants to adapt this Package or to build it from source (https://pastebin.com/0sEzcZmx)

Megver83 commented on 2019-01-31 02:15

@victorbrca why are you running gpg with sudo?

hardyh commented on 2019-01-12 13:00

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

victorbrca commented on 2018-09-12 20:10

I'm not able to import the keys anymore:

==> Verifying source file signatures with gpg...
    kate-18.04.0.tar.xz ... FAILED (unknown public key DBD2CE893E2D1C87)
    0001-Defuse-root-block.patch ... FAILED (unknown public key 227CA7C556B2BA78)

I can download and sign Christoph's key, but that does nothing to the install:

sudo gpg --receive-keys DBD2CE893E2D1C87
gpg: key DBD2CE893E2D1C87: "Christoph Feck <cfeck@kde.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1



sudo gpg --lsign DBD2CE893E2D1C87

pub  rsa2048/DBD2CE893E2D1C87
     created: 2017-06-27  expires: never       usage: SC  
     trust: unknown       validity: unknown
sub  rsa2048/C714D46F0AB88BAA
     created: 2017-06-27  expires: never       usage: E   
[ unknown] (1). Christoph Feck <cfeck@kde.org>

gpg: no default secret key: No secret key

Key not changed so no update needed.

But I cannot download David's key:

sudo gpg --receive-keys 227CA7C556B2BA78
gpg: keyserver receive failed: No data

theforeigner commented on 2018-08-17 16:39

This package needs updating to the latest one.

Besides that, I tried adapting the PKGBUILD to 18.08.0 but patch the .diff-files fail as they no longer seem compatible with the latest release.

playenball commented on 2018-04-24 07:17

Updated PKGBUILD for 18.04.0 https://pastebin.com/bSsd29Vx

Megver83 commented on 2017-08-20 03:19

@simona, first of all you have to give the output in *english* by running:

$ LANG=C command

As I can see, your problem seems obvious, you haven't imported the keys.

$ gpg --receive-keys 3A6A4DB839EAA6D7