all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34827] [PATCH 0/2] Wayland Kodi
@ 2019-03-12 14:54 Marius Bakke
  2019-03-12 15:00 ` [bug#34827] [PATCH 1/2] gnu: Add waylandpp Marius Bakke
  2019-03-17 18:49 ` bug#34827: [PATCH 0/2] Wayland Kodi Efraim Flashner
  0 siblings, 2 replies; 4+ messages in thread
From: Marius Bakke @ 2019-03-12 14:54 UTC (permalink / raw)
  To: 34827

Here is a native Wayland variant of Kodi.  There is no discernible
difference from the regular Kodi except for a slight feeling of
smugness.


Marius Bakke (2):
  gnu: Add waylandpp.
  gnu: Kodi: Add Wayland variant.

 gnu/packages/freedesktop.scm | 27 +++++++++++++++++++++++++++
 gnu/packages/kodi.scm        | 18 ++++++++++++++++++
 2 files changed, 45 insertions(+)

-- 
2.21.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#34827] [PATCH 1/2] gnu: Add waylandpp.
  2019-03-12 14:54 [bug#34827] [PATCH 0/2] Wayland Kodi Marius Bakke
@ 2019-03-12 15:00 ` Marius Bakke
  2019-03-12 15:00   ` [bug#34827] [PATCH 2/2] gnu: Kodi: Add Wayland variant Marius Bakke
  2019-03-17 18:49 ` bug#34827: [PATCH 0/2] Wayland Kodi Efraim Flashner
  1 sibling, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2019-03-12 15:00 UTC (permalink / raw)
  To: 34827

* gnu/packages/freedesktop.scm (waylandpp): New public variable.
---
 gnu/packages/freedesktop.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 93fc02cd4b..cbfdbf9936 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -36,6 +36,7 @@
   #: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 meson)
   #:use-module (guix build-system perl)
@@ -452,6 +453,32 @@ applications, X servers (rootless or fullscreen) or other display servers.")
     (home-page "https://wayland.freedesktop.org")
     (license license:expat)))
 
+(define-public waylandpp
+  (package
+    (name "waylandpp")
+    (version "0.2.5")
+    (home-page "https://github.com/NilsBrause/waylandpp")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url home-page) (commit version)))
+              (sha256
+               (base32
+                "16h57hzd688664qcyznzhjp3hxipdkzgv46x82yhkww24av8b55n"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f))                    ;no tests
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("mesa" ,mesa)
+       ("pugixml" ,pugixml)))
+    (propagated-inputs
+     `(("wayland" ,wayland)))
+    (synopsis "Wayland C++ bindings")
+    (description
+     "This package provides C++ bindings for the Wayland display protocol.")
+    (license license:bsd-2)))
+
 (define-public weston
   (package
     (name "weston")
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#34827] [PATCH 2/2] gnu: Kodi: Add Wayland variant.
  2019-03-12 15:00 ` [bug#34827] [PATCH 1/2] gnu: Add waylandpp Marius Bakke
@ 2019-03-12 15:00   ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2019-03-12 15:00 UTC (permalink / raw)
  To: 34827

* gnu/packages/kodi.scm (kodi/wayland): New public variable.
---
 gnu/packages/kodi.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/kodi.scm b/gnu/packages/kodi.scm
index 776f9c970e..c107f11883 100644
--- a/gnu/packages/kodi.scm
+++ b/gnu/packages/kodi.scm
@@ -43,6 +43,7 @@
   #:use-module (gnu packages databases)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
@@ -462,6 +463,23 @@ plug-in system.")
                    license:bsd-3                  ;misc, gtest
                    license:bsd-2))))              ;xbmc/freebsd
 
+(define-public kodi/wayland
+  (package/inherit kodi
+    (name "kodi-wayland")
+    (arguments
+     (substitute-keyword-arguments (package-arguments kodi)
+       ((#:configure-flags flags)
+        `(append '("-DCORE_PLATFORM_NAME=wayland"
+                   "-DWAYLAND_RENDER_SYSTEM=gl")
+                   ,flags))))
+    (inputs
+     `(("libinput" ,libinput)
+       ("libxkbcommon" ,libxkbcommon)
+       ("waylandpp" ,waylandpp)
+       ("waylandp-protocols" ,wayland-protocols)
+       ,@(package-inputs kodi)))
+    (synopsis "Kodi with Wayland rendering backend")))
+
 (define-public kodi-cli
   (let ((commit "104dc23b2a993c8e6db8c46f4f8bec24b146549b") ; Add support for
         (revision "1"))                                     ; `$HOME/.kodirc'.
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#34827: [PATCH 0/2] Wayland Kodi
  2019-03-12 14:54 [bug#34827] [PATCH 0/2] Wayland Kodi Marius Bakke
  2019-03-12 15:00 ` [bug#34827] [PATCH 1/2] gnu: Add waylandpp Marius Bakke
@ 2019-03-17 18:49 ` Efraim Flashner
  1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2019-03-17 18:49 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 34827-done

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

I see these patches were pushed so I'm closing the bug :)


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-17 18:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 14:54 [bug#34827] [PATCH 0/2] Wayland Kodi Marius Bakke
2019-03-12 15:00 ` [bug#34827] [PATCH 1/2] gnu: Add waylandpp Marius Bakke
2019-03-12 15:00   ` [bug#34827] [PATCH 2/2] gnu: Kodi: Add Wayland variant Marius Bakke
2019-03-17 18:49 ` bug#34827: [PATCH 0/2] Wayland Kodi Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.