Package Details: spatial-shell 7-1

Git Clone URL: https://aur.archlinux.org/spatial-shell.git (read-only, click to copy)
Package Base: spatial-shell
Description: Implementing a spatial model inspired by Material Shell, for i3 and sway.
Upstream URL: https://github.com/lthms/spatial-shell
Licenses: MPL2
Submitter: lthms
Maintainer: lthms
Last Packager: lthms
Votes: 2
Popularity: 0.001619
First Submitted: 2023-04-29 20:36 (UTC)
Last Updated: 2024-01-21 22:14 (UTC)

Latest Comments

lthms commented on 2024-01-24 23:11 (UTC)

Thanks for the report @kekonyan!

Would you be willing to test the fix-dockarea-error branch? That would mean compiling Spatial Shell from source.

Alternatively, so that I can reproduce the error, do you have any idea what software is creating a “dock area” on your setup?

kekonyan commented on 2024-01-23 14:26 (UTC)

hi @lthms, I get following error on trying to run spatial:

❯ spatial type nodes nodes Fatal error: exception Failure("dockarea not a correct value") Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33 Called from Ezjsonm_encoding__Decoder.field in file "lib/decoder.ml", line 23, characters 6-38 Re-raised at Ezjsonm_encoding__Decoder.field in file "lib/decoder.ml", line 27, characters 6-15 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 12, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.let+ in file "lib/decoder.ml" (inlined), line 8, characters 31-42 Called from Sway_ipc_types__Node.decoder.(fun) in file "lib/sway_ipc_types/node.ml", line 146, characters 6-1023 Called from Stdlib__List.rev_map.rmap_f in file "list.ml", line 105, characters 22-25 Called from Ezjsonm.List.map in file "lib/ezjsonm.ml" (inlined), line 36, characters 20-33 Called from Ezjsonm.get_list in file "lib/ezjsonm.ml", line 263, characters 13-27 Called from Ezjsonm_encoding__Decoder.field in file "lib/decoder.ml", line 23, characters 6-38 Re-raised at Ezjsonm_encoding__Decoder.field in file "lib/decoder.ml", line 27, characters 6-15 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 12, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.let+ in file "lib/decoder.ml" (inlined), line 8, characters 31-42 Called from Sway_ipc_types__Node.decoder.(fun) in file "lib/sway_ipc_types/node.ml", line 146, characters 6-1023 Called from Stdlib__List.rev_map.rmap_f in file "list.ml", line 105, characters 22-25 Called from Ezjsonm.List.map in file "lib/ezjsonm.ml" (inlined), line 36, characters 20-33 Called from Ezjsonm.get_list in file "lib/ezjsonm.ml", line 263, characters 13-27 Called from Ezjsonm_encoding__Decoder.field in file "lib/decoder.ml", line 23, characters 6-38 Re-raised at Ezjsonm_encoding__Decoder.field in file "lib/decoder.ml", line 27, characters 6-15 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 12, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.and+ in file "lib/decoder.ml", line 11, characters 12-19 Called from Ezjsonm_encoding__Decoder.Syntax.let+ in file "lib/decoder.ml" (inlined), line 8, characters 31-42 Called from Sway_ipc_types__Node.decoder.(fun) in file "lib/sway_ipc_types/node.ml", line 146, characters 6-1023 Called from Mltp_ipc__Socket.with_socket in file "lib/mltp_ipc/socket.ml", line 20, characters 14-22 Re-raised at Mltp_ipc__Socket.with_socket in file "lib/mltp_ipc/socket.ml", line 25, characters 4-13 Called from Sway_ipc.get_tree in file "lib/sway_ipc/sway_ipc.ml" (inlined), line 47, characters 26-55 Called from Dune__exe__State.init in file "bin/spatial/state.ml", line 534, characters 13-33 Called from Dune__exe__Main in file "bin/spatial/main.ml", line 145, characters 14-27

lthms commented on 2024-01-21 22:30 (UTC)

I’ve updated the package to not use an Opam switch but instead system libraries. Don’t hesitate to reach out if something is broken for you.

lthms commented on 2024-01-12 17:38 (UTC)

Eh @vic_acid. I am so glad it works, and also completely clueless about what is the root of the issue here 😅. I’ll update the package shortly to make it the default.

Please, do not hesitate to let me know how your first steps with Spatial Shell goes!

vic_acid commented on 2024-01-11 18:29 (UTC)

Hi, @lthms! Thanks for responding (and for the app itself :). Adding the -j 1 to each of the make commands in the PKGBUILD seems to have helped--the package built and installed correctly and completely now.

For reference: in my makepkg.conf I do have MAKEFLAGS="-j$(nproc)". Does make multiprocessing conflict with dune's building the app?

Thanks again for your help with this!

lthms commented on 2024-01-11 12:06 (UTC)

Hi @vic_acid! thanks for the feedback. Could you try to modify the PKGBUILD and add -j 1 to all invocation of make. I’m not quite sure why, but I think it might help.

I couldn’t reproduce your issue locally, so I’m a bit surprised by the error. I don’t quite understand why you are seeing this, but I had a feedback from someone else that passing -j 1 helps so… might worth a try? If it works I’ll update the package accordingly.

vic_acid commented on 2024-01-10 02:47 (UTC)

Running into an issue building the latest package (6-3, from 2023-12-31):

==> Entering fakeroot environment...  
==> Starting package()...
Error: A running dune (pid: 156565) instance has locked the build directory.
If this is not the case, please delete _build/.lock
Scanned 0 directoriesmake: *** [Makefile:7: build] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in package().
    Aborting...

I can't seem to get past this. Everything seems to build properly but the final package step chokes. Any ideas?

lthms commented on 2023-04-30 07:53 (UTC)

I’ve updated the package following your remarks FabioLolix. Thanks a lot for the feedback, and sorry I didn’t read the instructions more carefully.

FabioLolix commented on 2023-04-29 22:02 (UTC)

Hello, please add (https://wiki.archlinux.org/title/PKGBUILD#Generic)

The package fails to build both with makepkg and devtools (extra-x86_64-build)

==> Starting build()...
[ERROR] Opam has not been initialised, please run `opam init'
[ERROR] Opam has not been initialised, please run `opam init'
make: *** [Makefile:30: build-deps] Error 50
==> ERROR: A failure occurred in build().