<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] plasmashell gets SIGSEGV after clicking on Application Menu for second time"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107058#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] plasmashell gets SIGSEGV after clicking on Application Menu for second time"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107058">bug 107058</a>
              from <span class="vcard"><a class="email" href="mailto:danylo.piliaiev@gmail.com" title="Danylo <danylo.piliaiev@gmail.com>"> <span class="fn">Danylo</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=142369" name="attach_142369" title="pkgbuild for patched mesa">attachment 142369</a> <a href="attachment.cgi?id=142369&action=edit" title="pkgbuild for patched mesa">[details]</a></span>
pkgbuild for patched mesa

There are two way to test the patch:

1. Manually clone mesa repository, apply patch, build it, and launch
startplasmacompositor with LIBGL_DRIVERS_PATH=path_to_compiled_mesa/lib/dri

See <a href="https://www.mesa3d.org/meson.html">https://www.mesa3d.org/meson.html</a> for build instructions, instead of "meson
configure build/" you can compile less with:

meson configure build/ \
       -D b_ndebug=false \
       -D buildtype=debug \
       -D prefix=path_to_compiled_mesa \
       -D platforms=x11,wayland,drm,surfaceless \
       -D dri-drivers=i965 \
       -D gallium-drivers= \
       -D vulkan-drivers=intel \
       -D dri3=true \
       -D egl=true \
       -D gbm=true \
       -D gles1=true \
       -D gles2=true \
       -D glvnd=true \
       -D glx=dri \
       -D libunwind=true \
       -D lmsensors=true \
       -D shared-glapi=true \
       -D valgrind=false \

Next compilations with "ninja -C build/" will be incremental.

2. Since you are on Arch you can use custom pkgbuild as a more convenient way,
it will be installed system-wide but you'll later just reinstall mesa from the
official repo. Downside is that Mesa will need full rebuild (but it's not that
long) if I provide other patches. 

I'm attaching PKGBUILD which will also apply my patch, you'll need to place it
in separate directory, run makepkg there and then "makepkg --install" (see
<a href="https://wiki.archlinux.org/index.php/makepkg">https://wiki.archlinux.org/index.php/makepkg</a>)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>