unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73523] [PATCH 0/3] gnu: add pywlroots
@ 2024-09-28  5:00 bigbookofbug--- via Guix-patches via
  2024-09-28  6:35 ` [bug#73523] [PATCH 1/3] [PATCH 0/3] gnu: add python-pywlroots bigbookofbug--- via Guix-patches via
  2024-09-28  6:40 ` [bug#73523] [PATCH 2/3] [PATCH 2/3] " bigbookofbug--- via Guix-patches via
  0 siblings, 2 replies; 5+ messages in thread
From: bigbookofbug--- via Guix-patches via @ 2024-09-28  5:00 UTC (permalink / raw)
  To: 73523; +Cc: big bug

From: big bug <bigbookofbug@proton.me>

This is a series of patches building pywlroots and its dependencies. These can be used to eventually build a version of qtile with wayland support.

big bug (3):
  gnu: add python-pywlroots
  gnu: add pywlroots
  gnu: add pywlroots

 gnu/packages/python-xyz.scm | 79 +++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)


base-commit: 5e888ec915cfdd256e726959cdc23293bc36277e
-- 
2.46.0






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

* [bug#73523] [PATCH 1/3] [PATCH 0/3] gnu: add python-pywlroots
  2024-09-28  5:00 [bug#73523] [PATCH 0/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
@ 2024-09-28  6:35 ` bigbookofbug--- via Guix-patches via
  2024-09-28  6:35   ` [bug#73523] [PATCH 2/3] [PATCH 2/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
  2024-09-28  6:35   ` [bug#73523] [PATCH 3/3] [PATCH 3/3] " bigbookofbug--- via Guix-patches via
  2024-09-28  6:40 ` [bug#73523] [PATCH 2/3] [PATCH 2/3] " bigbookofbug--- via Guix-patches via
  1 sibling, 2 replies; 5+ messages in thread
From: bigbookofbug--- via Guix-patches via @ 2024-09-28  6:35 UTC (permalink / raw)
  To: 73523; +Cc: big bug

From: big bug <bigbookofbug@proton.me>

---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 22351e813a..83f645a038 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -155,6 +155,7 @@
 ;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
 ;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer@gmail.com>
 ;;; Copyright © 2024 Peter Kannewitz <petre-vps@posteo.net>
+;;; Copyright © 2024 big bug <bigbookofbug@proton.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -11023,6 +11024,28 @@ (define-public python-pywal
 your favourite programs.")
     (license license:expat)))
 
+(define-public python-pywayland
+  (package
+    (name "python-pywayland")
+    (version "0.4.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pywayland" version))
+       (sha256
+	(base32 "0cv5aqn23id31mn95q6isn5vcnjcd4dvaqzn52ihbb9sg01dx2jr"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #f))
+    (inputs (list wayland))
+    (propagated-inputs (list python-cffi))
+    (native-inputs (list python-pytest pkg-config))
+    (home-page "https://github.com/flacjacket/pywayland/")
+    (synopsis "Python bindings for the libwayland librar")
+    (description "PyWayland provides a wrapper to the libwayland library using the CFFI library to provide access to the Wayland library calls and written in pure Python.")
+    (license license:asl2.0)))
+
 (define-public python-click-didyoumean
   (package
     (name "python-click-didyoumean")
-- 
2.46.0






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

* [bug#73523] [PATCH 2/3] [PATCH 2/3] gnu: add pywlroots
  2024-09-28  6:35 ` [bug#73523] [PATCH 1/3] [PATCH 0/3] gnu: add python-pywlroots bigbookofbug--- via Guix-patches via
@ 2024-09-28  6:35   ` bigbookofbug--- via Guix-patches via
  2024-09-28  6:35   ` [bug#73523] [PATCH 3/3] [PATCH 3/3] " bigbookofbug--- via Guix-patches via
  1 sibling, 0 replies; 5+ messages in thread
From: bigbookofbug--- via Guix-patches via @ 2024-09-28  6:35 UTC (permalink / raw)
  To: 73523; +Cc: big bug

From: big bug <bigbookofbug@proton.me>

---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f645a038..29a48dacaa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -458,6 +458,24 @@ (define-public python-awkward
 using NumPy-like idioms.")
     (license license:bsd-3)))
 
+(define-public python-xkbcommon
+  (package
+    (name "python-xkbcommon")
+    (version "1.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "xkbcommon" version))
+       (sha256
+	(base32 "0dnwbp8rriwkmsa8a40cpvrccjy7m8xz6jw0vbcka7gnvc44h5xc"))))
+    (build-system pyproject-build-system)
+    (inputs (list libxkbcommon))
+    (propagated-inputs (list python-cffi))
+    (home-page "https://github.com/sde1000/python-xkbcommon")
+    (synopsis "Python bindings for libxkbcommon using cffi")
+    (description "This package provides Python bindings for libxkcommon using python-cffi.")
+    (license license:expat)))
+
 (define-public python-xmldiff
   (package
     (name "python-xmldiff")
-- 
2.46.0






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

* [bug#73523] [PATCH 3/3] [PATCH 3/3] gnu: add pywlroots
  2024-09-28  6:35 ` [bug#73523] [PATCH 1/3] [PATCH 0/3] gnu: add python-pywlroots bigbookofbug--- via Guix-patches via
  2024-09-28  6:35   ` [bug#73523] [PATCH 2/3] [PATCH 2/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
@ 2024-09-28  6:35   ` bigbookofbug--- via Guix-patches via
  1 sibling, 0 replies; 5+ messages in thread
From: bigbookofbug--- via Guix-patches via @ 2024-09-28  6:35 UTC (permalink / raw)
  To: 73523; +Cc: big bug

From: big bug <bigbookofbug@proton.me>

---
 gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 29a48dacaa..4a0b74d4f9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11064,6 +11064,44 @@ (define-public python-pywayland
     (description "PyWayland provides a wrapper to the libwayland library using the CFFI library to provide access to the Wayland library calls and written in pure Python.")
     (license license:asl2.0)))
 
+(define-public python-pywlroots
+  (package
+   (name "python-pywlroots")
+   (version "0.17.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "pywlroots" version))
+     (sha256
+      (base32 "1frxqkkh2867rh0c6j0jsmzrga8k6235f6ygkk4cph2883hjpjvj"))))
+   (build-system pyproject-build-system)
+   (arguments
+    (list
+     #:tests? #f
+     #:phases
+     #~(modify-phases %standard-phases
+		      (add-before 'build 'pre-build
+				  ;;needed, otherwise pixman.h will not be found
+				  (lambda* (#:key inputs #:allow-other-keys)
+				    (let ((pixman (string-append
+						   (assoc-ref inputs "pixman")
+						   "/include")))
+				      (setenv "C_INCLUDE_PATH"
+					      (string-append pixman "/" "pixman-1" ":"
+							     (or (getenv "C_INCLUDE_PATH")
+								 "")))))))))
+   (inputs
+    (list pixman wayland libinput libxkbcommon wlroots))
+   (propagated-inputs (list python-pywayland python-xkbcommon))
+   (native-inputs (append (if (%current-target-system)
+			      (list pkg-config-for-build wayland) '())
+			  (list pkg-config
+				python-cffi)))
+   (home-page "https://github.com/flacjacket/pywlroots")
+   (synopsis "Python binding to the wlroots library using cffi.")
+   (description "A Python binding to the wlroots library using cffi. The library uses pywayland to provide the Wayland bindings and python-xkbcommon to provide wlroots keyboard functionality.")
+   (license license:ncsa)))
+
 (define-public python-click-didyoumean
   (package
     (name "python-click-didyoumean")
-- 
2.46.0






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

* [bug#73523] [PATCH 2/3] [PATCH 2/3] gnu: add pywlroots
  2024-09-28  5:00 [bug#73523] [PATCH 0/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
  2024-09-28  6:35 ` [bug#73523] [PATCH 1/3] [PATCH 0/3] gnu: add python-pywlroots bigbookofbug--- via Guix-patches via
@ 2024-09-28  6:40 ` bigbookofbug--- via Guix-patches via
  1 sibling, 0 replies; 5+ messages in thread
From: bigbookofbug--- via Guix-patches via @ 2024-09-28  6:40 UTC (permalink / raw)
  To: 73523; +Cc: big bug

From: big bug <bigbookofbug@proton.me>

---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f645a038..29a48dacaa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -458,6 +458,24 @@ (define-public python-awkward
 using NumPy-like idioms.")
     (license license:bsd-3)))
 
+(define-public python-xkbcommon
+  (package
+    (name "python-xkbcommon")
+    (version "1.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "xkbcommon" version))
+       (sha256
+	(base32 "0dnwbp8rriwkmsa8a40cpvrccjy7m8xz6jw0vbcka7gnvc44h5xc"))))
+    (build-system pyproject-build-system)
+    (inputs (list libxkbcommon))
+    (propagated-inputs (list python-cffi))
+    (home-page "https://github.com/sde1000/python-xkbcommon")
+    (synopsis "Python bindings for libxkbcommon using cffi")
+    (description "This package provides Python bindings for libxkcommon using python-cffi.")
+    (license license:expat)))
+
 (define-public python-xmldiff
   (package
     (name "python-xmldiff")
-- 
2.46.0






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

end of thread, other threads:[~2024-09-28  6:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-28  5:00 [bug#73523] [PATCH 0/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
2024-09-28  6:35 ` [bug#73523] [PATCH 1/3] [PATCH 0/3] gnu: add python-pywlroots bigbookofbug--- via Guix-patches via
2024-09-28  6:35   ` [bug#73523] [PATCH 2/3] [PATCH 2/3] gnu: add pywlroots bigbookofbug--- via Guix-patches via
2024-09-28  6:35   ` [bug#73523] [PATCH 3/3] [PATCH 3/3] " bigbookofbug--- via Guix-patches via
2024-09-28  6:40 ` [bug#73523] [PATCH 2/3] [PATCH 2/3] " bigbookofbug--- via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).