On Sat, Aug 27, 2016 at 08:17:09PM +0200, Tomáš Čech wrote: > * gnu/packages/freedesktop.scm(wlc): New variable. > * gnu/packages/patches/wlc-implement-wlc_view_get_pid.patch: Add it > * gnu/local.mk: Add entry for patch above. there's no patch attached > --- > gnu/packages/freedesktop.scm | 41 ++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 40 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm > index 67f1e1a..0bb87e7 100644 > --- a/gnu/packages/freedesktop.scm > +++ b/gnu/packages/freedesktop.scm > @@ -27,10 +27,14 @@ > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix git-download) > + #:use-module (guix build-system cmake) > #:use-module (guix build-system gnu) > #:use-module (guix build-system python) > + #:use-module (gnu packages) > + #:use-module (gnu packages gl) > #:use-module (gnu packages gnome) > #:use-module (gnu packages python) > + #:use-module (gnu packages pth) > #:use-module (gnu packages linux) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages autotools) > @@ -51,7 +55,8 @@ > #:use-module (gnu packages acl) > #:use-module (gnu packages admin) > #:use-module (gnu packages polkit) > - #:use-module (gnu packages databases)) > + #:use-module (gnu packages databases) > + #:use-module (gnu packages xdisorg)) > > (define-public xdg-utils > (package > @@ -647,3 +652,37 @@ different sorts of messages in different formats.") > useful for both applications which need colour management and applications that > wish to perform colour calibration.") > (license license:lgpl2.1+))) > + > +(define-public wlc > + (package > + (name "wlc") > + (version "0.0.5") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "https://github.com/Cloudef/" name "/releases/download/v" > + version "/" name "-" version ".tar.bz2")) > + (sha256 > + (base32 > + "0dmiklis820qzin74f16bmbz1jkjy93r5mix8cqbcqpb9f7qxahp")))) > + (build-system cmake-build-system) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (inputs > + `(("libinput" ,libinput) > + ("libx11" ,libx11) > + ("libxkbcommon" ,libxkbcommon) > + ("mesa" ,mesa) > + ("pixman" ,pixman) > + ("pth" ,pth) > + ("wayland" ,wayland) > + ("xcb-util-image" ,xcb-util-image) > + ("xcb-util-wm" ,xcb-util-wm) > + ("xproto" ,xproto) > + ("zlib" ,zlib))) > + (synopsis "Wayland Compositor Library") > + (home-page "https://github.com/Cloudef/wlc") > + (description > + "This is wayland compositor library used by several projects like sway, > +orbment or Gram.") > + (license license:x11))) > -- > 2.9.2 > > The package doesn't seem to be able to find all of the wayland libraries it wants. -- Found WAYLAND_CLIENT: /gnu/store/9jfrsgr6jw9hzqj81p3vn632m79x5gla-wayland-1.11.0/lib/libwayland-client.so -- Found WAYLAND_SERVER: /gnu/store/9jfrsgr6jw9hzqj81p3vn632m79x5gla-wayland-1.11.0/lib/libwayland-server.so -- Could NOT find WAYLAND_EGL (missing: WAYLAND_EGL_LIBRARIES) -- Could NOT find WAYLAND (missing: WAYLAND_LIBRARIES) This results in it saying it can't find wayland. Also, why not also include wayland-protocols and dbus? -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted