Package Details: kwin-scripts-krohnkite-git r464.2a47753-2

Git Clone URL: https://aur.archlinux.org/kwin-scripts-krohnkite-git.git (read-only, click to copy)
Package Base: kwin-scripts-krohnkite-git
Description: A dynamic tiling extension for KWin
Upstream URL: https://github.com/esjeon/krohnkite.git
Licenses: MIT
Conflicts: krohnkite
Provides: krohnkite
Submitter: Teyras
Maintainer: Teyras
Last Packager: Teyras
Votes: 16
Popularity: 1.75
First Submitted: 2018-12-06 12:27
Last Updated: 2021-01-28 16:15

Latest Comments

1 2 Next › Last »

Teyras commented on 2021-02-10 10:59

@torma that's probably an upstream issue with typescript 4.1. Isn't it this one https://github.com/esjeon/krohnkite/issues/144?

torma commented on 2021-02-10 10:37

Getting the following error when I try installing:

==> Starting pkgver()...
==> Sources are ready.
==> Making package: kwin-scripts-krohnkite-git r464.2a47753-2 (Wed 10 Feb 2021 05:36:15 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
mkdir: created directory 'pkg'
mkdir: created directory 'pkg/contents'
mkdir: created directory 'pkg/contents/config'
'res/config.xml' -> 'pkg/contents/config/main.xml'
mkdir: created directory 'pkg/contents/ui'
sed "s/\$VER/0.8/" res/metadata.desktop \
| sed "s/\$REV/2a47753/" \
> pkg/metadata.desktop
tsc
'res/main.qml' -> 'pkg/contents/ui/main.qml'
'res/config.ui' -> 'pkg/contents/ui/config.ui'
'res/popup.qml' -> 'pkg/contents/ui/popup.qml'
src/extern/global.d.ts:36:13 - error TS2451: Cannot redeclare block-scoped variable 'console'.

36 declare let console: any;
~~~~~~~

../../../../../node_modules/@types/node/globals.d.ts:169:13
169 declare var console: Console;
~~~~~~~
'console' was also declared here.

src/extern/global.d.ts:37:13 - error TS2451: Cannot redeclare block-scoped variable 'setTimeout'.

37 declare let setTimeout: any;
~~~~~~~~~~

../../../../../node_modules/@types/node/globals.d.ts:174:18
174 declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout;
~~~~~~~~~~
'setTimeout' was also declared here.
../../../../../node_modules/@types/node/globals.d.ts:175:19
175 declare namespace setTimeout {
~~~~~~~~~~
and here.

../../../../../node_modules/@types/node/globals.d.ts:169:13 - error TS2451: Cannot redeclare block-scoped variable 'console'.

169 declare var console: Console;
~~~~~~~

src/extern/global.d.ts:36:13
36 declare let console: any;
~~~~~~~
'console' was also declared here.

../../../../../node_modules/@types/node/globals.d.ts:174:18 - error TS2451: Cannot redeclare block-scoped variable 'setTimeout'.

174 declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout;
~~~~~~~~~~

src/extern/global.d.ts:37:13
37 declare let setTimeout: any;
~~~~~~~~~~
'setTimeout' was also declared here.

../../../../../node_modules/@types/node/globals.d.ts:175:19 - error TS2451: Cannot redeclare block-scoped variable 'setTimeout'.

175 declare namespace setTimeout {
~~~~~~~~~~

src/extern/global.d.ts:37:13
37 declare let setTimeout: any;
~~~~~~~~~~
'setTimeout' was also declared here.


Found 5 errors.

make: *** [Makefile:71: krohnkite.js] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error making: kwin-scripts-krohnkite-git

Teyras commented on 2021-01-28 16:15

I added the workaround suggested by @jaros. Please, let me know if it helps.

xerus commented on 2021-01-25 12:00

Again an update has been made without addressing this issue, which has persisted over many months :/ and my yay is again failing to update...

jaros commented on 2021-01-03 16:25

It is a workaround but it could work as a solution. Add the following:

build() {
  mkdir -p "${srcdir}/pkg"
  cd "${srcdir}/${_gitname}"
  HOME=${srcdir}/pkg XDG_DATA_HOME= make -e install
}

jaros commented on 2021-01-03 15:44

Same issue as @xerus and @CaninoDev. I also have the XDG_DATA_HOME variable set

xerus commented on 2020-12-17 09:53

This really needs to be fixed, seems like a common issue now! Setting XDG_DATA_HOME shouldn't break the build, and after looking a bit into the script I am still thoroughly confused as to why that happens...

CaninoDev commented on 2020-04-18 00:17

So apparently the problem was that I had set XDG_DATA_HOME environment variable in my .zshenv (to $HOME/.local/share in an effort to force application to use this directory instead of the root of $HOME). I had to unset this in order for the installation to proceed without error.

CaninoDev commented on 2020-03-31 16:00

==> Making package: kwin-scripts-krohnkite-git r409.7d1d494-1 (Sun 22 Mar 2020 06:14:01 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating krohnkite git repo...
Fetching origin
==> Validating source files with md5sums...
    krohnkite ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of krohnkite git repo...
    Cloning into 'krohnkite'...
    done.
==> Starting pkgver()...
==> Sources are ready.
==> Making package: kwin-scripts-krohnkite-git r409.7d1d494-1 (Sun 22 Mar 2020 06:14:02 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
mkdir: created directory 'pkg'
mkdir: created directory 'pkg/contents'
mkdir: created directory 'pkg/contents/config'
'res/config.xml' -> 'pkg/contents/config/main.xml'
mkdir: created directory 'pkg/contents/ui'
sed "s/\$VER/0.7/" res/metadata.desktop \
        | sed "s/\$REV/7d1d494/" \
        > pkg/metadata.desktop
'res/main.qml' -> 'pkg/contents/ui/main.qml'
tsc
'res/config.ui' -> 'pkg/contents/ui/config.ui'
'res/popup.qml' -> 'pkg/contents/ui/popup.qml'
mkdir: created directory 'pkg/contents/code'
'krohnkite.js' -> 'pkg/contents/code/script.js'

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs AMD Ryzen 7 2700X Eight-Core Processor          (800F82),ASM,AES-NI)

Scanning the drive:
4 folders, 6 files, 134081 bytes (131 KiB)

Creating archive: krohnkite-0.7.kwinscript

Items to compress: 10


Files read from disk: 6
Archive size: 23715 bytes (24 KiB)
Everything is Ok
plasmapkg2 -t kwinscript -s krohnkite \
        && plasmapkg2 -u krohnkite-0.7.kwinscript \
        || plasmapkg2 -i krohnkite-0.7.kwinscript
Showing info for package: krohnkite
      Name : Krohnkite
   Comment :
    Plugin : krohnkite
    Author : Eon S. Jeon
      Path : /home/caninodev/.local/share/kwin/scripts/krohnkite/
Upgrading package from file: /home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/krohnkite/krohnkite-0.7.kwinscript
Successfully upgraded /home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/krohnkite/krohnkite-0.7.kwinscript
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat '/home/caninodev/.cache/yay/kwin-scripts-krohnkite-git/src/pkg/.local/share/kwin/scripts/krohnkite/.': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
Error making: kwin-scripts-krohnkite-git

CaninoDev commented on 2020-03-22 22:17

@Teyras I have pasted the entire output on pastebin