unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency.
@ 2023-11-19 10:03 Zheng Junjie
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 1/5] gnu: zix: Update to 0.4.2 Zheng Junjie
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Zheng Junjie @ 2023-11-19 10:03 UTC (permalink / raw)
  To: 67273; +Cc: Gabriel Wicki

update lilv and its dependency, this update allow cross compile lilv, lv2,sratom.

Zheng Junjie (5):
  gnu: zix: Update to 0.4.2.
  gnu: sord: Update to 0.16.16.
  gnu: sratom: Update to 0.6.16.
  gnu: lv2: Update to 1.18.10.
  gnu: lilv: Update to 0.24.22.

 gnu/packages/audio.scm          | 69 +++++++++++++--------------------
 gnu/packages/datastructures.scm | 45 +++++++++++----------
 gnu/packages/rdf.scm            | 18 +++++----
 3 files changed, 58 insertions(+), 74 deletions(-)


base-commit: 1cc3b7e80f60a2a5a6a1400ed0b025efeae7a523
-- 
2.41.0





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

* [bug#67273] [PATCH gnome-team 1/5] gnu: zix: Update to 0.4.2.
  2023-11-19 10:03 [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency Zheng Junjie
@ 2023-11-19 10:07 ` Zheng Junjie
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 2/5] gnu: sord: Update to 0.16.16 Zheng Junjie
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Zheng Junjie @ 2023-11-19 10:07 UTC (permalink / raw)
  To: 67273

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 2988 bytes --]

* gnu/packages/datastructures.scm (zix): Update to 0.4.2.

Change-Id: I4465ff6eefbdbb7a3de1806fc4adbec285fa26a1
---
 gnu/packages/datastructures.scm | 45 ++++++++++++++++-----------------
 1 file changed, 22 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index 0689ef4259..c6b2396537 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2020 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2023 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -444,28 +445,26 @@ (define-public robin-map
     (license license:expat)))
 
 (define-public zix
-  (let ((commit "a13ae5ad9dc70075740f11139f1db96cc79faa59")
-        (revision "0"))
-    (package
-      (name "zix")
-      (version (git-version "0.3.3" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://gitlab.com/drobilla/zix.git")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "1njyb8lz1d5qzf0k14pb3rq13xkxnddwbz090dj69138ymz1xgyl"))))
-      (build-system meson-build-system)
-      (arguments
-       (list #:configure-flags #~(list "-Ddocs=disabled"))) ;needs "sphinxygen"
-      (native-inputs (list pkg-config))
-      (home-page "https://gitlab.com/drobilla/zix")
-      (synopsis "C library of portability wrappers and data structures")
-      (description
-       "Zix is a C library of portability wrappers and data structures.  It
+  (package
+    (name "zix")
+    (version "0.4.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/drobilla/zix.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "07pbq4bi64iv39swldfbcp7131b5n4hs64pgd417gqlwv8qvgjcw"))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-Ddocs=disabled"))) ;needs "sphinxygen"
+    (native-inputs (list pkg-config))
+    (home-page "https://gitlab.com/drobilla/zix")
+    (synopsis "C library of portability wrappers and data structures")
+    (description
+     "Zix is a C library of portability wrappers and data structures.  It
 provides the following components:
 @table @code
 @item ZixAllocator A customizable allocator.
@@ -480,4 +479,4 @@ (define-public zix
 zix/filesystem.h Functions for working with filesystems.
 @item zix/path.h Functions for working with filesystem paths lexically.
 @end table")
-      (license license:isc))))
+    (license license:isc)))
-- 
2.41.0





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

* [bug#67273] [PATCH gnome-team 2/5] gnu: sord: Update to 0.16.16.
  2023-11-19 10:03 [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency Zheng Junjie
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 1/5] gnu: zix: Update to 0.4.2 Zheng Junjie
@ 2023-11-19 10:07 ` Zheng Junjie
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 3/5] gnu: sratom: Update to 0.6.16 Zheng Junjie
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Zheng Junjie @ 2023-11-19 10:07 UTC (permalink / raw)
  To: 67273

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 2116 bytes --]

* gnu/packages/rdf.scm (sord): Update to 0.16.16.
[propagated-inputs]: Add zix.

Change-Id: I8acc702f56cb08689323e541ddf1371b683df4cf
---
 gnu/packages/rdf.scm | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 23f020df28..2a9bbf4aed 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
 ;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -58,6 +59,7 @@ (define-module (gnu packages rdf)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages datastructures)
   #:use-module (gnu packages xml))
 
 (define-public raptor2
@@ -311,14 +313,14 @@ (define-public serd
 (define-public sord
   (package
     (name "sord")
-    (version "0.16.14")
+    (version "0.16.16")
     (source (origin
-             (method url-fetch)
-             (uri (string-append "https://download.drobilla.net/sord-"
-                                 version ".tar.xz"))
-             (sha256
-              (base32
-               "06vkqk3dnn15zdnzklahib2pvbfspy2zcrnvhmxnw8fbbxyxj3r2"))))
+              (method url-fetch)
+              (uri (string-append "https://download.drobilla.net/sord-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1l2zjz6gypxbf1z32zyqkljdcn9mz452djc4xq1dlhv1fmnqfzr5"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -334,7 +336,7 @@ (define-public sord
     (native-inputs
      (list pkg-config))
     (propagated-inputs
-     (list serd))                 ; required by sord-0.pc
+     (list serd zix))             ; required by sord-0.pc
     (home-page "https://drobilla.net/software/sord/")
     (synopsis "C library for storing RDF data in memory")
     (description
-- 
2.41.0





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

* [bug#67273] [PATCH gnome-team 3/5] gnu: sratom: Update to 0.6.16.
  2023-11-19 10:03 [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency Zheng Junjie
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 1/5] gnu: zix: Update to 0.4.2 Zheng Junjie
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 2/5] gnu: sord: Update to 0.16.16 Zheng Junjie
@ 2023-11-19 10:07 ` Zheng Junjie
       [not found]   ` <uoxjxcye2wagwty7ly7wkh4kkq53dmbrv56ed54a53e7lnzldu@bq4wbvnsfqfo>
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 4/5] gnu: lv2: Update to 1.18.10 Zheng Junjie
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 8+ messages in thread
From: Zheng Junjie @ 2023-11-19 10:07 UTC (permalink / raw)
  To: 67273; +Cc: Gabriel Wicki

* gnu/packages/audio.scm (sratom): Update to 0.6.16.
[source]: Update url.
[build-system]: Change to meson-build-system.
[arguments]: Remove it.

Change-Id: If24bcd75a79c5e27e1a40647651573d72b48bdf3
---
 gnu/packages/audio.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 7c49ba1841..9b6bf0e7e5 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3725,16 +3725,15 @@ (define-public rtmidi-4.0
 (define-public sratom
   (package
     (name "sratom")
-    (version "0.6.6")
+    (version "0.6.16")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://download.drobilla.net/sratom-"
-                                  version ".tar.bz2"))
+                                  version ".tar.xz"))
               (sha256
                (base32
-                "178v90qvsp6lw4sqdmdz0bzyjkgwhv9m75ph1d1z8say5bv0p4gv"))))
-    (build-system waf-build-system)
-    (arguments `(#:tests? #f))          ;no check target
+                "1i12wcnv52r05zr5wjmpvbsvbjbm3hkv8frral2kvrc326cmghbi"))))
+    (build-system meson-build-system)
     (propagated-inputs
      ;; In Requires of sratom-0.pc.
      (list lv2 serd sord))
-- 
2.41.0





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

* [bug#67273] [PATCH gnome-team 4/5] gnu: lv2: Update to 1.18.10.
  2023-11-19 10:03 [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency Zheng Junjie
                   ` (2 preceding siblings ...)
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 3/5] gnu: sratom: Update to 0.6.16 Zheng Junjie
@ 2023-11-19 10:07 ` Zheng Junjie
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 5/5] gnu: lilv: Update to 0.24.22 Zheng Junjie
  2024-03-30 14:27 ` bug#67273: close Zheng Junjie
  5 siblings, 0 replies; 8+ messages in thread
From: Zheng Junjie @ 2023-11-19 10:07 UTC (permalink / raw)
  To: 67273; +Cc: Gabriel Wicki

* gnu/packages/audio.scm (lv2): Update to 1.18.10.
[source]: Update url.
[build-system]: Change to meson-build-system.
[arguments]: Remove it.

Change-Id: I106b1401385b6ff9f3225cd50b428081dfe445e3
---
 gnu/packages/audio.scm | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 9b6bf0e7e5..ef952480f8 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3081,18 +3081,15 @@ (define-public lilv
 (define-public lv2
   (package
     (name "lv2")
-    (version "1.18.2")
+    (version "1.18.10")
     (source (origin
-             (method url-fetch)
-             (uri (string-append "https://lv2plug.in/spec/lv2-"
-                                 version ".tar.bz2"))
-             (sha256
-              (base32
-               "0pp0n9x1rg8d4fw853z9cvfifjdi4bl85yjxxddqa1acfjy1z2af"))))
-    (build-system waf-build-system)
-    (arguments
-     `(#:tests? #f                      ; no check target
-       #:configure-flags '("--no-plugins")))
+              (method url-fetch)
+              (uri (string-append "https://lv2plug.in/spec/lv2-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0gwm63jrvg9lww0rl3sjkgbjwfz0vascpb19cfxmhkmm477ipibq"))))
+    (build-system meson-build-system)
     (inputs
      ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
      (list libsndfile))
-- 
2.41.0





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

* [bug#67273] [PATCH gnome-team 5/5] gnu: lilv: Update to 0.24.22.
  2023-11-19 10:03 [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency Zheng Junjie
                   ` (3 preceding siblings ...)
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 4/5] gnu: lv2: Update to 1.18.10 Zheng Junjie
@ 2023-11-19 10:07 ` Zheng Junjie
  2024-03-30 14:27 ` bug#67273: close Zheng Junjie
  5 siblings, 0 replies; 8+ messages in thread
From: Zheng Junjie @ 2023-11-19 10:07 UTC (permalink / raw)
  To: 67273; +Cc: Gabriel Wicki

* gnu/packages/audio.scm (lilv): Update to 0.24.22.
[source]: Use git-fetch.
[build-system]: Change to meson-build-system
[arguments]: Remove it.
[propagated-inputs]: Add zix.

Change-Id: I7d50dbf941165ebf99467272d6e6c3987e933d86
---
 gnu/packages/audio.scm | 41 ++++++++++++++---------------------------
 1 file changed, 14 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index ef952480f8..ea2aafa2b0 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -141,6 +141,7 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages datastructures)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system glib-or-gtk)
@@ -3041,33 +3042,19 @@ (define-public audio-to-midi
 (define-public lilv
   (package
     (name "lilv")
-    (version "0.24.12")
-    (source (origin
-             (method url-fetch)
-             (uri (string-append "https://download.drobilla.net/lilv-"
-                                 version ".tar.bz2"))
-             (sha256
-              (base32
-               "0qchfsyrsrp2pdpd59025kllycr04ddpzd03ha1iz70ci687g8r6"))))
-    (build-system waf-build-system)
-    (arguments
-     `(#:tests? #f                      ; no check target
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'set-ldflags
-          (lambda* (#:key outputs #:allow-other-keys)
-            (setenv "LDFLAGS"
-                    (string-append "-Wl,-rpath="
-                                   (assoc-ref outputs "out") "/lib"))))
-         (add-after 'unpack 'full-store-path-to-shared-library
-           (lambda* (#:key outputs #:allow-other-keys)
-             (with-directory-excursion "bindings/python"
-               (substitute* "lilv.py"
-                 (("liblilv-0.so") (string-append (assoc-ref outputs "out")
-                                                  "/lib/liblilv-0.so")))))))))
-    ;; Required by lilv-0.pc.
-    (propagated-inputs
-     (list lv2 serd sord sratom))
+    (version "0.24.22")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/lv2/lilv")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1kvg56vh61p91kl8yzh6r1px8yk80gv92v38fmvk7r592kp5y8j0"))))
+    (build-system meson-build-system)
+    (propagated-inputs (list lv2 serd sord sratom zix))
     (native-inputs
      (list python pkg-config))
     (home-page "https://drobilla.net/software/lilv")
-- 
2.41.0





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

* [bug#67273] [PATCH gnome-team 3/5] gnu: sratom: Update to 0.6.16.
       [not found]     ` <87h6l4q1fp.fsf@iscas.ac.cn>
@ 2023-11-29 13:19       ` Gabriel Wicki
  0 siblings, 0 replies; 8+ messages in thread
From: Gabriel Wicki @ 2023-11-29 13:19 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 67273

Hi!

Thanks for the explanation!

So the patch set should be changed in order - i can confirm that all
packages now build just fine!

They generally look good to me, except for one question:  is it
impossible to patch the sources so we wouldn't need to propagate more
inputs?  Otherwise all seems fine.


So, if you could re-send your patchset with
 - the correct order,
 - $(guix style) ran on all the packages,
 - and maybe less input propagation (if possible)

that'd be great!

Thanks for your time and effort!





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

* bug#67273: close
  2023-11-19 10:03 [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency Zheng Junjie
                   ` (4 preceding siblings ...)
  2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 5/5] gnu: lilv: Update to 0.24.22 Zheng Junjie
@ 2024-03-30 14:27 ` Zheng Junjie
  5 siblings, 0 replies; 8+ messages in thread
From: Zheng Junjie @ 2024-03-30 14:27 UTC (permalink / raw)
  To: 67273-done

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


Has been updated, no longer needed.

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

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

end of thread, other threads:[~2024-03-30 14:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-19 10:03 [bug#67273] [PATCH gnome-team 0/5] update lilv and its dependency Zheng Junjie
2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 1/5] gnu: zix: Update to 0.4.2 Zheng Junjie
2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 2/5] gnu: sord: Update to 0.16.16 Zheng Junjie
2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 3/5] gnu: sratom: Update to 0.6.16 Zheng Junjie
     [not found]   ` <uoxjxcye2wagwty7ly7wkh4kkq53dmbrv56ed54a53e7lnzldu@bq4wbvnsfqfo>
     [not found]     ` <87h6l4q1fp.fsf@iscas.ac.cn>
2023-11-29 13:19       ` Gabriel Wicki
2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 4/5] gnu: lv2: Update to 1.18.10 Zheng Junjie
2023-11-19 10:07 ` [bug#67273] [PATCH gnome-team 5/5] gnu: lilv: Update to 0.24.22 Zheng Junjie
2024-03-30 14:27 ` bug#67273: close Zheng Junjie

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).