Package Details: electron-ozone 11.3.0-1

Git Clone URL: https://aur.archlinux.org/electron-ozone.git (read-only, click to copy)
Package Base: electron-ozone
Description: Electron compiled with wayland support via Ozone
Upstream URL: https://electronjs.org/
Keywords: electron ozone wayland
Licenses: custom, MIT
Conflicts: electron
Provides: electron
Submitter: hedgepigdaniel
Maintainer: hedgepigdaniel (Kodehawa)
Last Packager: Kodehawa
Votes: 21
Popularity: 1.02
First Submitted: 2020-01-12 16:11
Last Updated: 2021-02-25 13:05

Dependencies (34)

Required by (184)

Sources (9)

Pinned Comments

hedgepigdaniel commented on 2020-01-12 16:16

This is a WIP - YMMV!

Known issues:

  • Various menu buttons don't work (e.g. File -> Exit)
  • Closing the window does not work
  • Anything broken on the same version of chromium-ozone will also be broken here

That said, it works pretty well.

In case you find that the build hangs while cloning the depot_tools repo, see https://bbs.archlinux.org/viewtopic.php?pid=1846867#p1846867

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Kodehawa commented on 2021-04-16 21:40

Hello. I'm sorry for the lack of updates here, but since electron already provides wayland support, I don't really have the motivation to mantain this as the changes are already upstream.

If anyone wants to implement the hw-accelerated stuff (which I think it's on mainline too, but not sure), you could make another package or someone else could take mantainership/co-mantainership :o

Thanks you all.

Bokoharambae1 commented on 2021-04-09 04:36

Tried to build this twice. Got this error both times:

[0:42:08] fatal: fetch-pack: invalid index-pack output
Traceback (most recent call last):
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_scm.py", line 1044, in _Clone
    print_stdout=print_stdout, filter_fn=filter_fn)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_scm.py", line 1411, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_utils.py", line 674, in CheckCallAndFilter
    rv, args, kwargs.get('cwd', None), None, None)
CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS /home/admin/src/electron-ozone/src/src/third_party/angle/third_party/VK-GL-CTS/_gclient_src_O4MYKv' returned non-zero exit status 128 in /home/admin/src/electron-ozone/src
[0:42:28] _____ Conflicting directory found in /home/admin/src/electron-ozone/src/src/third_party/angle/third_party/VK-GL-CTS/src. Moving to /home/admin/src/electron-ozone/src/_bad_scm/src/third_party/angle/third_party/VK-GL-CTS/srcujtKFf.
----------------------------------------


Warnings:
Conflicting directory /home/admin/src/electron-ozone/src/src/third_party/angle/third_party/VK-GL-CTS/src moved to /home/admin/src/electron-ozone/src/_bad_scm/src/third_party/angle/third_party/VK-GL-CTS/srcujtKFf.
Traceback (most recent call last):
  File "/home/admin/src/electron-ozone/src/depot_tools/metrics.py", line 267, in print_notice_and_exit
    yield
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient.py", line 3199, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient.py", line 3185, in main
    return dispatcher.execute(OptionParser(), argv)
  File "/home/admin/src/electron-ozone/src/depot_tools/subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient.py", line 2739, in CMDsync
    ret = client.RunOnDeps('update', args)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient.py", line 1780, in RunOnDeps
    patch_refs=patch_refs, target_branches=target_branches)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_utils.py", line 968, in flush
    reraise(e[0], e[1], e[2])
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_utils.py", line 1045, in run
    self.item.run(*self.args, **self.kwargs)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient.py", line 926, in run
    file_list)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_scm.py", line 132, in RunCommand
    return getattr(self, command)(options, args, file_list)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_scm.py", line 548, in update
    self._DeleteOrMove(options.force)
  File "/home/admin/src/electron-ozone/src/depot_tools/gclient_scm.py", line 207, in _DeleteOrMove
    shutil.move(self.checkout_path, dest_path)
  File "/usr/lib/python2.7/shutil.py", line 325, in move
    copy2(src, real_dst)
  File "/usr/lib/python2.7/shutil.py", line 153, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 96, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/admin/src/electron-ozone/src/src/third_party/angle/third_party/VK-GL-CTS/src'
==> ERROR: A failure occurred in prepare().
    Aborting...

Any and all help is appreciated!

Kodehawa commented on 2021-03-17 12:35

@ErikR: original error: read-only file system

The message tells you what happened. It's not an issue with the package.

Kodehawa commented on 2021-02-25 12:56

oops, I screwed up last version. I'll publish a new one (should be 11.3.0-1). If you updated to "11.4.0-2", please downgrade.

Not updating packages at 3AM again ;w;

QuartzDragon commented on 2021-02-24 00:55

Cheers. :)

Kodehawa commented on 2021-02-24 00:04

@QuartzDragon I see the issue. Will be fixed on 11.4.0-1, when I get git to stop hating me :p

Kodehawa commented on 2021-02-23 19:11

@QuartzDragon that's weird. It compiled for me...

QuartzDragon commented on 2021-02-22 10:02

Getting this error:

==> Starting build()...
ERROR at //chrome/test/chromedriver/BUILD.gn:16:1: set_sources_assignment_filter argument must be an empty list.
set_sources_assignment_filter(deprecated_default_sources_assignment_filter)
^-------------------------------------------------------------------------
See //BUILD.gn:115:7: which caused the file to be included.
      "//chrome/test/chromedriver:chromedriver_unittests",
      ^--------------------------------------------------
==> ERROR: A failure occurred in build().
    Aborting...

Kodehawa commented on 2021-02-16 05:13

@p00f it does crash without XWayland, even with Ozone and Wayland enabled. Please enable XWayland. The process runs as Wayland native and leaves no X clients running, but it does crash if you kill XWayland. (Corroborate with xlsclients)

I dunno exactly what uses it on Discord, but I can't be sure.

p00f commented on 2021-02-10 07:12

@Kodehawa I modified the discord_arch_electron PKGBUILD to this. Now discord shows the loading screen and crashes with this log. I'm on sway without xwayland