Skip to content
  1. Jun 24, 2019
  2. Jun 19, 2019
  3. Jun 18, 2019
    • Pekka Paalanen's avatar
      libweston: fix protocol install path · 91a6a37d
      Pekka Paalanen authored and Simon Ser's avatar Simon Ser committed
      
      
      These protocols are from libweston, not weston.
      Even the pkg-config files is called libweston-6-protocols.pc.
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit 4ab901eb)
      91a6a37d
    • Marius Vlad's avatar
      meson.build/libweston: Fix clang warning for export-dynamic · a2aedba5
      Marius Vlad authored and Simon Ser's avatar Simon Ser committed
      
      
      Identical to 8a8558dd, where we need to pass `-Wl` as linker args.
      
      Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
      (cherry picked from commit 3a28bd66)
      a2aedba5
    • Harish Krupo's avatar
      meson.build: Fix warning for configure_file · efe845a8
      Harish Krupo authored and Simon Ser's avatar Simon Ser committed
      We claim to support meson versions >= 0.47 but the `install:` argument
      in configure_file was introduced in version 0.50. This produces the
      following meson warning:
      
      WARNING: Project specifies a minimum meson_version '>= 0.47' but uses
      features which were added in newer versions:
       * 0.50.0: {'install arg in configure_file'}
      
      From the documentation for the install argument [1]:
      " When omitted it (install) defaults to true when install_dir is set and
      not empty, false otherwise."
      
      So, remove the `install:` argument and just depend on `install_dir` for
      installing.
      
      Fixes: #225
      
      [1] https://mesonbuild.com/Reference-manual.html#configure_file
      
      
      
      Signed-off-by: default avatarHarish Krupo <harish.krupo.kps@intel.com>
      (cherry picked from commit b81fc517)
      efe845a8
    • Pekka Paalanen's avatar
      build: add missing dep to x11 backend · a11bcede
      Pekka Paalanen authored and Simon Ser's avatar Simon Ser committed
      
      
      All other backends already link to libweston, x11 backend should too.
      
      This fixes a build failure:
      
      [1/50] Compiling C object 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o'.
      FAILED: libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o
      cc -Ilibweston/2b98b6d@@x11-backend@sha -Ilibweston -I../../git/weston/libweston -Ilibweston/.. -I../../git/weston/libweston/.. -Ilibweston/../shared -I../../git/weston/libweston/../shared -Iprotocol -I/home/pq/local/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -g -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -fvisibility=hidden -fPIC  -MD -MQ 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o' -MF 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o.d' -o 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o' -c ../../git/weston/libweston/compositor-x11.c
      ../../git/weston/libweston/compositor-x11.c:51:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
       #include <xkbcommon/xkbcommon.h>
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit 651566af)
      a11bcede
    • Pekka Paalanen's avatar
      meson: dep fix for compositor.h needing xkbcommon.h · bfa2b2c2
      Pekka Paalanen authored and Simon Ser's avatar Simon Ser committed
      
      
      This fixes:
      
      [    5s] cc -Ilibweston/2b98b6d@@session-helper@sta -Ilibweston -I../libweston -Ilibweston/.. -I../libweston/.. -Ilibwes
      ton/../shared -I../libweston/../shared -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib6
      4/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wno-unused-parameter -Wno-shift-n
      egative-value -Wno-missing-field-initializers -fvisibility=hidden -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong
       -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fPIC  -MD -MQ 'libweston/2b98b6d@@session-hel
      per@sta/launcher-util.c.o' -MF 'libweston/2b98b6d@@session-helper@sta/launcher-util.c.o.d' -o 'libweston/2b98b6d@@sessio
      n-helper@sta/launcher-util.c.o' -c ../libweston/launcher-util.c
      [    5s] In file included from ../libweston/launcher-util.c:29:
      [    5s] ../libweston/compositor.h:39:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
      [    5s]  #include <xkbcommon/xkbcommon.h>
      
      For completeness, also add the same for wayland-server.h.
      
      Reported-by: default avatarJan Engelhardt <jengelh@inai.de>
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit 779db046)
      bfa2b2c2
    • Pekka Paalanen's avatar
      meson: DRM-backend demands GBM · 3dc04bcf
      Pekka Paalanen authored and Simon Ser's avatar Simon Ser committed
      
      
      All the GBM code is unconditional in compositor-drm.c, so while disabling the
      GL-renderer would stop GBM from being used, GBM headers would still be needed
      for building and GBM library for linking.
      
      Leave a note to fix it properly later. At least we now check for GBM and do not
      mislead with the error message.
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit fe6dd7bc)
      3dc04bcf
    • Pekka Paalanen's avatar
      meson: link remoting with glib and gobject · ee5b6f25
      Pekka Paalanen authored and Simon Ser's avatar Simon Ser committed
      
      
      remoting-plugin.c calls things like g_error_free() and g_object_set(), so it
      needs to link glib-2.0 and gobject-2.0 explicitly, instead of relying on
      GStreamer pkg-config bringing them in.
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit 292aaf93)
      ee5b6f25
    • Pekka Paalanen's avatar
      meson: link cms-colord with glib and gobject · a60ebf2b
      Pekka Paalanen authored and Simon Ser's avatar Simon Ser committed
      
      
      cms-colord.c calls things like g_string_free() and g_object_unref(), so it
      needs to link glib-2.0 and gobject-2.0 explicitly, instead of relying on colord
      pkg-config bringing them in.
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit 191c453f)
      a60ebf2b
    • Pekka Paalanen's avatar
      meson: link editor with gobject-2.0 · 0f4d31ce
      Pekka Paalanen authored and Simon Ser's avatar Simon Ser committed
      editor.c calls g_clear_object(), so it should link to gobject directly instead
      of relying on pangocairo pulling it in in its pkg-config.
      
      Fixes: #211
      
      
      
      Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit cbffca98)
      0f4d31ce
  4. Mar 28, 2019
  5. Mar 27, 2019
  6. Mar 21, 2019
  7. Mar 19, 2019
    • Stefan Agner's avatar
      meson: fix building screen-share module · 483c6d4d
      Stefan Agner authored
      When building screen-share module with meson loading the module
      fails with:
        [00:01:28.604] Failed to load module: /usr/local/lib/weston/screen-share.so: undefined symbol: os_create_anonymous_file
        Failed to process Wayland connection: Broken pipe
        failed to create display: Broken pipe
      
      The function os_create_anonymous_file is defined in libshared,
      adding libshared to the dependency makes sure the function gets
      compiled into screen-share.so.
      
      Fixes: wayland/weston#208
      
      
      
      Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
      483c6d4d
  8. Mar 14, 2019
  9. Mar 06, 2019
    • Philipp Zabel's avatar
      compositor-drm: clear gbm_surface pointer after destroying the GBM surface · 5c8eef14
      Philipp Zabel authored
      
      
      Since commit ee1d968e ("compositor-drm: Fall back if GBM surface fails with
      modifiers"), drm_output_init_egl requires output->gbm_surface to be NULL, or
      gbm_surface_create will not be called if HAVE_GBM_MODIFIERS is enabled but no
      modifiers are supported by the plane. This could happen if _init_egl is called
      after drm_ouptut_fini_egl drom drm_output_switch_mode.
      
      Add an assert to guarantee the requirement and clears the gbm_surface pointer
      after the surface is destroyed.
      
      Signed-off-by: default avatarPhilipp Zabel <p.pzabel@pengutronix.de>
      5c8eef14
  10. Mar 05, 2019
  11. Feb 25, 2019
  12. Feb 22, 2019
  13. Feb 20, 2019
Loading