GNU bug report logs - #70787
[PATCH 0/4] Add heic-to-dynamic-gnome-wallpaper and its dependencies

Previous Next

Package: guix-patches;

Reported by: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>

Date: Sun, 5 May 2024 14:43:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 70787 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70787; Package guix-patches. (Sun, 05 May 2024 14:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>:
New bug report received and forwarded. Copy sent to efraim <at> flashner.co.il, guix-patches <at> gnu.org. (Sun, 05 May 2024 14:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: guix-patches <at> gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH 0/4] Add heic-to-dynamic-gnome-wallpaper and its dependencies
Date: Sun,  5 May 2024 16:32:03 +0200
Hello, I've packaged this tool to convert from MacOs HEIC wallpapers to gnome
XML wallpapers.

This package adds 3 Rust dependencies and the
`heic-to-dynamic-gnome-wallpaper` app.

Thanks,
Sergio.

Sergio Pastor Pérez (4):
  gnu: Add rust-enumn-0.1.
  gnu: Add rust-libheif-sys-1.
  gnu: Add rust-libheif-rs-0.15.
  gnu: Add heic-to-dynamic-gnome-wallpaper.

 gnu/packages/crates-io.scm | 67 ++++++++++++++++++++++++++++++++++++++
 gnu/packages/rust-apps.scm | 34 +++++++++++++++++++
 2 files changed, 101 insertions(+)


base-commit: da9f509b0300f1b6b979c68a52d8669f9bcb89a7
-- 
2.41.0





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70787; Package guix-patches. (Sun, 05 May 2024 14:46:02 GMT) Full text and rfc822 format available.

Message #8 received at 70787 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: 70787 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH 1/4] gnu: Add rust-enumn-0.1.
Date: Sun,  5 May 2024 16:44:05 +0200
* gnu/packages/crates-io.scm (rust-enumn-0.1): New variable.

Change-Id: I904a65ecb8010042cde0ed05f5f6d78f378e653e
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a67d3d74bb..8391e51535 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21228,6 +21228,28 @@ (define-public rust-entities-1
 from HTML entities.")
     (license license:expat)))
 
+(define-public rust-enumn-0.1
+  (package
+    (name "rust-enumn")
+    (version "0.1.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "enumn" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hnvrp440hwjfd4navbni2mhcjd63adxp8ryk6z3prw8d7yh1l3g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/dtolnay/enumn")
+    (synopsis "Convert number to enum")
+    (description "Convert number to enum")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-enum-as-inner-0.6
   (package
     (name "rust-enum-as-inner")
-- 
2.41.0





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70787; Package guix-patches. (Sun, 05 May 2024 14:46:02 GMT) Full text and rfc822 format available.

Message #11 received at 70787 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: 70787 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH 2/4] gnu: Add rust-libheif-sys-1.
Date: Sun,  5 May 2024 16:44:06 +0200
* gnu/packages/crates-io.scm (rust-libheif-sys-1): New variable.

Change-Id: Ibdcebc3a8866732319da55802a1a789f8ccfb46e
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8391e51535..5fff81c265 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33761,6 +33761,29 @@ (define-public rust-libfuzzer-sys-0.3
        (("rust-arbitrary" ,rust-arbitrary-0.4)
         ("rust-cc" ,rust-cc-1))))))
 
+(define-public rust-libheif-sys-1
+  (package
+    (name "rust-libheif-sys")
+    (version "1.16.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libheif-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "072mw23fv5nb2xmx7xa4g2ciafwvalfxqrms3wwr4n5rrqbrdv1g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3)
+                       ("rust-vcpkg" ,rust-vcpkg-0.2))))
+    (home-page "https://github.com/cykooz/libheif-sys")
+    (synopsis "Rust bindings for libheif")
+    (description "This package provides rust libheif bindings.")
+    (license license:expat)))
+
 (define-public rust-libloading-0.8
   (package
     (name "rust-libloading")
-- 
2.41.0





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70787; Package guix-patches. (Sun, 05 May 2024 14:46:03 GMT) Full text and rfc822 format available.

Message #14 received at 70787 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: 70787 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH 3/4] gnu: Add rust-libheif-rs-0.15.
Date: Sun,  5 May 2024 16:44:07 +0200
* gnu/packages/crates-io.scm (rust-libheif-rs-0.15): New variable.

Change-Id: I14c4bfa1d3792f948687c199812da3be20ea6096
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5fff81c265..8a894ffeee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33761,6 +33761,28 @@ (define-public rust-libfuzzer-sys-0.3
        (("rust-arbitrary" ,rust-arbitrary-0.4)
         ("rust-cc" ,rust-cc-1))))))
 
+(define-public rust-libheif-rs-0.15
+  (package
+    (name "rust-libheif-rs")
+    (version "0.15.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libheif-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mhhyak12ysnv9f6s0mp99i8z15z7qv5x9z28va1777w059qpxgd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-enumn" ,rust-enumn-0.1)
+                       ("rust-libheif-sys" ,rust-libheif-sys-1))))
+    (home-page "https://github.com/cykooz/libheif-rs")
+    (synopsis "Wrapper around libheif-sys")
+    (description "This package provides a safe wrapper around the libheif-sys
+crate for parsing heif/heic files.")
+    (license license:expat)))
+
 (define-public rust-libheif-sys-1
   (package
     (name "rust-libheif-sys")
-- 
2.41.0





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70787; Package guix-patches. (Sun, 05 May 2024 14:46:03 GMT) Full text and rfc822 format available.

Message #17 received at 70787 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: 70787 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH 4/4] gnu: Add heic-to-dynamic-gnome-wallpaper.
Date: Sun,  5 May 2024 16:44:08 +0200
* gnu/packages/rust-apps.scm (heic-to-dynamic-gnome-wallpaper): New variable.

Change-Id: I74b87a11e7f77d6a40262c6298bdf9c95a9c9438
---
 gnu/packages/rust-apps.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index d73bd1a030..41d8c4efac 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -723,6 +723,40 @@ (define-public fd
 defaults for 80% of the use cases.")
      (license (list license:expat license:asl2.0))))
 
+(define-public heic-to-dynamic-gnome-wallpaper
+  (package
+    (name "heic-to-dynamic-gnome-wallpaper")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "heic-to-dynamic-gnome-wallpaper" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0k94nxbyvxr1ls3myfn2k8in466wdlgd5f5kv7vyrb3dm298ycf8"))))
+    (build-system cargo-build-system)
+    (native-inputs (list pkg-config))
+    (inputs (list libheif))
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-base64" ,rust-base64-0.13)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-clap" ,rust-clap-3)
+                       ("rust-colored" ,rust-colored-2)
+                       ("rust-indicatif" ,rust-indicatif-0.16)
+                       ("rust-libheif-rs" ,rust-libheif-rs-0.15)
+                       ("rust-plist" ,rust-plist-1)
+                       ("rust-png" ,rust-png-0.17)
+                       ("rust-quick-xml" ,rust-quick-xml-0.22)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/jwuensche/heic-to-dynamic-gnome-wallpaper")
+    (synopsis
+     "Convert MacOS's dynamic wallpapers to dynamic gnome xml wallpapers")
+    (description
+     "CLI tool to convert heic image containers used in
+@code{MacOS's} dynamic wallpapers to dynamic gnome xml wallpapers.")
+    (license license:gpl3)))
+
 (define-public hexyl
   (package
     (name "hexyl")
-- 
2.41.0





This bug report was last modified 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.