[bug#75435] add hyprpaper

Message ID 15154ede5d768949fa4622c715d6ae7cff108211.1736349777.git.squishypinkelephant@gmail.com
State New
Headers
Series [bug#75435] add hyprpaper |

Commit Message

The Man Jan. 8, 2025, 3:48 p.m. UTC
Change-Id: I014a9bace20d0ebbf7ccb01458355e8d51b2d930
---
 gnu/packages/xdisorg.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)


base-commit: 3fbeb1cda7ec2ca48b3aa9091ae72efc6f7ee70c
  

Comments

Andrew Wong Feb. 1, 2025, 10:22 a.m. UTC | #1
squishypinkelephant, is this upstreamed from saayix? if so, I've just 
sent in a patch (bug#75990) that should enable the latest update to 
0.7.4 to be upstreamed.
  
Tanguy Le Carrour Feb. 25, 2025, 1:24 p.m. UTC | #2
Hi,

Thanks for working on this!


On Sat Feb 1, 2025 at 11:22 AM CET, Andrew Wong via Guix-patches via wrote:
> squishypinkelephant, is this upstreamed from saayix? if so, I've just 
> sent in a patch (bug#75990) that should enable the latest update to 
> 0.7.4 to be upstreamed.

For what it is worth, it works with the latest version:

``
(version "0.7.4")
(source (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/hyprwm/hyprpaper")
                (commit (string-append "v" version))))
          (file-name (git-file-name name version))
          (sha256
          (base32
            "151r6s04yy3digl3g6gs49xx41yv4xldmbnqr87gp5nz705hjsd6"))))
```
  
Danny Milosavljevic March 30, 2025, 9:41 p.m. UTC | #3
Pushed hyprpaper 0.7.4 to guix master.
  

Patch

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 46d1b714b3..7f211b6370 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -113,6 +113,7 @@  (define-module (gnu packages xdisorg)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages file)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
@@ -3706,6 +3707,45 @@  (define-public hyprcursor
      "This package provides Hyprland cursor format, library and utilities.")
     (license license:bsd-3)))
 
+(define-public hyprpaper
+  (package
+    (name "hyprpaper")
+    (version "0.7.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hyprwm/hyprpaper")
+                    ;(commit (string-append "v" version))
+                    (commit "251e8e2593cdd2ef0a015f4f6e211a7bab3a63ed")))
+              (file-name (git-file-name name version))
+              (sha256
+              (base32
+                "02szlhmgxffh0mq67l3da9cn13rnk42c0ans3ail5m4sk08pvrcq"))))
+    (build-system cmake-build-system)
+    (arguments
+      `(#:tests? #f ;; no test
+        #:cmake ,cmake-3.30))
+    (native-inputs (list gcc-14 pkg-config))
+    (inputs
+        (list cairo
+        file
+        hyprgraphics
+        hyprlang
+        hyprutils
+        hyprwayland-scanner
+        libglvnd
+        mesa
+        pango
+        wayland
+        wayland-protocols))
+    (home-page "https://hyprland.org/")
+    (synopsis "Wallpaper utility for Hyprland")
+    (description
+    "Hyprpaper is a blazing fast wallpaper utility for Hyprland with the ability to
+dynamically change wallpapers through sockets.  It will work on all wlroots-based
+compositors, though.")
+    (license license:bsd-3)))
+
 (define-public hyprpicker
   (package
     (name "hyprpicker")