1. 24 Jun, 2019 1 commit
  2. 19 Jun, 2019 18 commits
  3. 18 Jun, 2019 9 commits
    • Pekka Paalanen's avatar
      libweston: fix protocol install path · 91a6a37d
      Pekka Paalanen authored
      These protocols are from libweston, not weston.
      Even the pkg-config files is called libweston-6-protocols.pc.
      Signed-off-by: Pekka Paalanen's 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
      Identical to 8a8558dd, where we need to pass `-Wl` as linker args.
      Signed-off-by: Marius Vlad's 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
      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_fileSigned-off-by: Harish Krupo's 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
      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: Pekka Paalanen's 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
      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: 's avatarJan Engelhardt <jengelh@inai.de>
      Signed-off-by: Pekka Paalanen's 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
      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: Pekka Paalanen's 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
      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: Pekka Paalanen's 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
      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: Pekka Paalanen's 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
      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: #211Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
      (cherry picked from commit cbffca98)
      0f4d31ce
  4. 28 Mar, 2019 1 commit
  5. 27 Mar, 2019 1 commit
  6. 21 Mar, 2019 1 commit
  7. 19 Mar, 2019 1 commit
    • 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: #208Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
      483c6d4d
  8. 14 Mar, 2019 1 commit
  9. 06 Mar, 2019 1 commit
    • 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: 's avatarPhilipp Zabel <p.pzabel@pengutronix.de>
      5c8eef14
  10. 05 Mar, 2019 3 commits
  11. 25 Feb, 2019 1 commit
  12. 22 Feb, 2019 1 commit
  13. 20 Feb, 2019 1 commit