Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2020 12:27:48 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555469 - head/x11/wcm
Message-ID:  <202011161227.0AGCRmBL021576@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Nov 16 12:27:48 2020
New Revision: 555469
URL: https://svnweb.freebsd.org/changeset/ports/555469

Log:
  x11/wcm: explicitly require wayfire to be installed
  
  $ wcm
  [src/file.cpp:441] Failed to open XML directory /usr/local/share/wayfire/metadata
  [src/file.cpp:441] Failed to open XML directory /usr/local/share/wayfire/metadata/wf-shell
  Process 91210 stopped
  * thread #1, name = 'wcm', stop reason = signal SIGSEGV: invalid address (fault address: 0x8)
      frame #0: 0x0000000801164ea5 libwf-config.so.1`std::__1::unique_ptr<wf::config::section_t::impl, std::__1::default_delete<wf::config::section_t::impl> >::operator->(this=0x0000000000000008) const at memory:2587:19
     2584   }
     2585   _LIBCPP_INLINE_VISIBILITY
     2586   pointer operator->() const _NOEXCEPT {
  -> 2587     return __ptr_.first();
     2588   }
     2589   _LIBCPP_INLINE_VISIBILITY
     2590   pointer get() const _NOEXCEPT {
  (lldb) bt
  * thread #1, name = 'wcm', stop reason = signal SIGSEGV: invalid address (fault address: 0x8)
    * frame #0: 0x0000000801164ea5 libwf-config.so.1`std::__1::unique_ptr<wf::config::section_t::impl, std::__1::default_delete<wf::config::section_t::impl> >::operator->(this=0x0000000000000008) const at memory:2587:19
      frame #1: 0x00000008011647ec libwf-config.so.1`wf::config::section_t::get_option_or(this=0x0000000000000000, name="plugins") at section.cpp:37:9
      frame #2: 0x00000008011648a7 libwf-config.so.1`wf::config::section_t::get_option(this=0x0000000000000000, name="plugins") at section.cpp:46:19
      frame #3: 0x0000000000217453 wcm`init(wcm=0x000000080251b320) at main.cpp:221:29
      frame #4: 0x00000000002172e2 wcm`main(argc=1, argv=0x00007fffffffeb70) at main.cpp:257:5
      frame #5: 0x0000000000216750 wcm`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7

Modified:
  head/x11/wcm/Makefile   (contents, props changed)

Modified: head/x11/wcm/Makefile
==============================================================================
--- head/x11/wcm/Makefile	Mon Nov 16 11:55:09 2020	(r555468)
+++ head/x11/wcm/Makefile	Mon Nov 16 12:27:48 2020	(r555469)
@@ -3,6 +3,7 @@
 PORTNAME=	wcm
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.6.0
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -17,6 +18,7 @@ BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
 LIB_DEPENDS=	libevdev.so:devel/libevdev \
 		libwf-config.so:devel/wf-config \
 		libwayland-client.so:graphics/wayland
+RUN_DEPENDS=	wayfire>0:x11-wm/wayfire
 
 CONFLICTS_INSTALL=	wcmcommander # bin/wcm
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011161227.0AGCRmBL021576>