Switched to fork supporting KF6. Upstream makefile doesn't work, so files are processed directly.
Flag – if upstream changes break this package. Describe what changed or broke. Include relevant error messages.
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/anametologin/krohnkite |
Licenses: | MIT |
Conflicts: | kwin-scripts-krohnkite |
Provides: | kwin-scripts-krohnkite |
Submitter: | Teyras |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 21 |
Popularity: | 0.21 |
First Submitted: | 2018-12-06 12:27 (UTC) |
Last Updated: | 2024-06-04 09:13 (UTC) |
Switched to fork supporting KF6. Upstream makefile doesn't work, so files are processed directly.
Flag – if upstream changes break this package. Describe what changed or broke. Include relevant error messages.
there is a new kde6 fork https://github.com/anametologin/krohnkite/
@omeringen yep, I switched to bismuth, it's good.
looks like project is not maintained anymore. You might like to check a fork: https://github.com/gikari/bismuth
@torma that's probably an upstream issue with typescript 4.1. Isn't it this one https://github.com/esjeon/krohnkite/issues/144?
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
I added the workaround suggested by @jaros. Please, let me know if it helps.
Again an update has been made without addressing this issue, which has persisted over many months :/ and my yay is again failing to update...
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
}
Same issue as @xerus and @CaninoDev. I also have the XDG_DATA_HOME variable set
Pinned Comments
xiota commented on 2024-06-04 09:15 (UTC) (edited on 2024-06-04 09:19 (UTC) by xiota)
Switched to fork supporting KF6. Upstream makefile doesn't work, so files are processed directly.
Flag – if upstream changes break this package. Describe what changed or broke. Include relevant error messages.