unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#56984] [PATCH] gnu: openh264: Update to 2.3.0.
@ 2022-08-04 20:37 kiasoc5 via Guix-patches via
  2022-08-04 20:53 ` ( via Guix-patches via
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-08-04 20:37 UTC (permalink / raw)
  To: 56984

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



[-- Attachment #2: 0001-gnu-openh264-Update-to-2.3.0.patch --]
[-- Type: text/x-patch, Size: 1193 bytes --]

From 91f966c74da0e9a27dd68d443ed2a255b1c48826 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@disroot.org>
Date: Tue, 2 Aug 2022 23:07:57 -0400
Subject: [PATCH] gnu: openh264: Update to 2.3.0.

* gnu/packages/video.scm (openh264): Update to 2.3.0.
---
 gnu/packages/video.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 04049fd9c8..1a99a206ca 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3940,7 +3940,7 @@ (define-public intel-vaapi-driver
 (define-public openh264
   (package
     (name "openh264")
-    (version "2.1.1")
+    (version "2.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3949,7 +3949,7 @@ (define-public openh264
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0ffav46pz3sbj92nipd62z03fibyqgclfq9w8lgr80s6za6zdk5s"))))
+                "1yr6nsjpnazq4z6dvjfyanljwgwnyjh3ddxa0sq6hl9qc59yq91r"))))
     (build-system gnu-build-system)
     (native-inputs
      (list nasm python))

base-commit: a956c7df87536717e4e04af11ae6d73dcb7a2ce7
-- 
2.37.1


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

* [bug#56984] [PATCH] gnu: openh264: Update to 2.3.0.
  2022-08-04 20:37 [bug#56984] [PATCH] gnu: openh264: Update to 2.3.0 kiasoc5 via Guix-patches via
@ 2022-08-04 20:53 ` ( via Guix-patches via
  2022-08-05  4:44 ` [bug#56984] [PATCH V2] gnu: openh264: Update to 2.3.0 and use gexps kiasoc5 via Guix-patches via
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: ( via Guix-patches via @ 2022-08-04 20:53 UTC (permalink / raw)
  To: kiasoc5, 56984

And here :)

    -- (




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

* [bug#56984] [PATCH V2] gnu: openh264: Update to 2.3.0 and use gexps.
  2022-08-04 20:37 [bug#56984] [PATCH] gnu: openh264: Update to 2.3.0 kiasoc5 via Guix-patches via
  2022-08-04 20:53 ` ( via Guix-patches via
@ 2022-08-05  4:44 ` kiasoc5 via Guix-patches via
  2022-08-10  8:29   ` bug#56984: [PATCH] gnu: openh264: Update to 2.3.0 宋文武 via Guix-patches via
  2022-08-05  5:04 ` [bug#56984] [PATCH V3] gnu: ugrep: Use gexps and add zstd lib to inputs kiasoc5 via Guix-patches via
  2022-08-05  5:10 ` [bug#56984] [PATCH] " kiasoc5 via Guix-patches via
  3 siblings, 1 reply; 8+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-08-05  4:44 UTC (permalink / raw)
  To: 56984; +Cc: kiasoc5, paren

* gnu/packages/video.scm (openh264): Update to 2.3.0.
[arguments]: Use gexps.
---
 gnu/packages/video.scm | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 04049fd9c8..b9e2c54eb7 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3940,7 +3940,7 @@ (define-public intel-vaapi-driver
 (define-public openh264
   (package
     (name "openh264")
-    (version "2.1.1")
+    (version "2.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3949,17 +3949,20 @@ (define-public openh264
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0ffav46pz3sbj92nipd62z03fibyqgclfq9w8lgr80s6za6zdk5s"))))
+                "1yr6nsjpnazq4z6dvjfyanljwgwnyjh3ddxa0sq6hl9qc59yq91r"))))
     (build-system gnu-build-system)
     (native-inputs
      (list nasm python))
     (arguments
-     '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
-                          "CC=gcc")
-       #:test-target "test"
-       #:phases (modify-phases %standard-phases
-                  ;; no configure script
-                  (delete 'configure))))
+     (list
+      #:make-flags
+      #~(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+                             "CC=gcc")
+      #:test-target "test"
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; no configure script
+          (delete 'configure))))
     (home-page "https://www.openh264.org/")
     (synopsis "H264 decoder library")
     (description
-- 
2.37.1





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

* [bug#56984] [PATCH V3] gnu: ugrep: Use gexps and add zstd lib to inputs.
  2022-08-04 20:37 [bug#56984] [PATCH] gnu: openh264: Update to 2.3.0 kiasoc5 via Guix-patches via
  2022-08-04 20:53 ` ( via Guix-patches via
  2022-08-05  4:44 ` [bug#56984] [PATCH V2] gnu: openh264: Update to 2.3.0 and use gexps kiasoc5 via Guix-patches via
@ 2022-08-05  5:04 ` kiasoc5 via Guix-patches via
  2022-08-05  5:10 ` [bug#56984] [PATCH] " kiasoc5 via Guix-patches via
  3 siblings, 0 replies; 8+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-08-05  5:04 UTC (permalink / raw)
  To: 56984; +Cc: kiasoc5, paren

* gnu/packages/search.scm (ugrep)[snippets]: Remove trailing #t.
[snippets]: Use gexps.
[arguments]: Likewise.
[inputs]: Add zstd lib.
---
 gnu/packages/search.scm | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index db5579a708..620c8dbe1f 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -32,6 +32,7 @@ (define-module (gnu packages search)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
@@ -687,8 +688,7 @@ (define-public ugrep
                   (delete-file-recursively "bin") ; pre-built executables
                   (for-each delete-file (find-files "tests" "^archive\\..*"))
                   (for-each delete-file (find-files "tests" "^.*\\.pdf$"))
-                  (for-each delete-file (find-files "tests" "^.*\\.class$"))
-                  #t))))
+                  (for-each delete-file (find-files "tests" "^.*\\.class$"))))))
     (build-system gnu-build-system)
     (inputs
      (list bzip2
@@ -696,18 +696,20 @@ (define-public ugrep
            lz4
            lzip ;; lzma
            pcre2
-           zlib))
+           zlib
+           zstd))
     (arguments
-     `(#:tests? #f                  ; no way to rebuild the binary input files
-       #:test-target "test"
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'check-setup
-           (lambda _
-             ;; Unpatch shebangs in tests.
-             (substitute* '("tests/Hello.bat"
-                            "tests/Hello.sh")
-               (("#!/gnu/store/.*/bin/sh") "#!/bin/sh")))))))
+     (list
+      #:tests? #f                  ; no way to rebuild the binary input files
+      #:test-target "test"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'check-setup
+            (lambda _
+              ;; Unpatch shebangs in tests.
+              (substitute* '("tests/Hello.bat"
+                             "tests/Hello.sh")
+                (("#!/gnu/store/.*/bin/sh") "#!/bin/sh")))))))
     (home-page "https://github.com/Genivia/ugrep/")
     (synopsis "Faster grep with an interactive query UI")
     (description "Ugrep is a ultra fast searcher of file systems, text
-- 
2.37.1





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

* [bug#56984] [PATCH] gnu: ugrep: Use gexps and add zstd lib to inputs.
  2022-08-04 20:37 [bug#56984] [PATCH] gnu: openh264: Update to 2.3.0 kiasoc5 via Guix-patches via
                   ` (2 preceding siblings ...)
  2022-08-05  5:04 ` [bug#56984] [PATCH V3] gnu: ugrep: Use gexps and add zstd lib to inputs kiasoc5 via Guix-patches via
@ 2022-08-05  5:10 ` kiasoc5 via Guix-patches via
  2022-08-05  5:14   ` [bug#56995] " kiasoc5 via Guix-patches via
  3 siblings, 1 reply; 8+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-08-05  5:10 UTC (permalink / raw)
  To: 56984; +Cc: kiasoc5

Last email had old version of patch, please use this one. Sorry paren
for using cc instead of reply-to.

* gnu/packages/search.scm (ugrep)[snippets]: Use gexps. Remove trailing #t.
[snippets]: Use gexps.
[arguments]: Likewise.
[inputs]: Add zstd lib.
---
 gnu/packages/search.scm | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index db5579a708..65a642c259 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -32,6 +32,7 @@ (define-module (gnu packages search)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
@@ -681,14 +682,12 @@ (define-public ugrep
               (sha256
                (base32 "03b3lahc3zzsznaqnrk47f1cnd5jwakvwrkz0r4m2crk09cpfv57"))
               (file-name (git-file-name name version))
-              (modules '((guix build utils)))
-              (snippet
-               '(begin
+              (snippet #~(begin
+                  (use-modules (guix build utils))
                   (delete-file-recursively "bin") ; pre-built executables
                   (for-each delete-file (find-files "tests" "^archive\\..*"))
                   (for-each delete-file (find-files "tests" "^.*\\.pdf$"))
-                  (for-each delete-file (find-files "tests" "^.*\\.class$"))
-                  #t))))
+                  (for-each delete-file (find-files "tests" "^.*\\.class$"))))))
     (build-system gnu-build-system)
     (inputs
      (list bzip2
@@ -696,18 +695,20 @@ (define-public ugrep
            lz4
            lzip ;; lzma
            pcre2
-           zlib))
+           zlib
+           `(,zstd "lib"))
     (arguments
-     `(#:tests? #f                  ; no way to rebuild the binary input files
-       #:test-target "test"
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'check-setup
-           (lambda _
-             ;; Unpatch shebangs in tests.
-             (substitute* '("tests/Hello.bat"
-                            "tests/Hello.sh")
-               (("#!/gnu/store/.*/bin/sh") "#!/bin/sh")))))))
+     (list
+      #:tests? #f                  ; no way to rebuild the binary input files
+      #:test-target "test"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'check-setup
+            (lambda _
+              ;; Unpatch shebangs in tests.
+              (substitute* '("tests/Hello.bat"
+                             "tests/Hello.sh")
+                (("#!/gnu/store/.*/bin/sh") "#!/bin/sh")))))))
     (home-page "https://github.com/Genivia/ugrep/")
     (synopsis "Faster grep with an interactive query UI")
     (description "Ugrep is a ultra fast searcher of file systems, text
-- 
2.37.1





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

* [bug#56995] [PATCH] gnu: ugrep: Use gexps and add zstd lib to inputs.
  2022-08-05  5:10 ` [bug#56984] [PATCH] " kiasoc5 via Guix-patches via
@ 2022-08-05  5:14   ` kiasoc5 via Guix-patches via
  2022-08-05  7:35     ` Liliana Marie Prikler
  0 siblings, 1 reply; 8+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-08-05  5:14 UTC (permalink / raw)
  To: paren, 56995

On Fri, Aug 05 2022, 01:10:00 AM -0400
kiasoc5 <kiasoc5@disroot.org> wrote:

> Last email had old version of patch, please use this one. Sorry paren
> for using cc instead of reply-to.

Also forgot to check my git-send email arguments. Sending to the
correct issue.

> * gnu/packages/search.scm (ugrep)[snippets]: Use gexps. Remove
> trailing #t. [snippets]: Use gexps.
> [arguments]: Likewise.
> [inputs]: Add zstd lib.
> ---
>  gnu/packages/search.scm | 33 +++++++++++++++++----------------
>  1 file changed, 17 insertions(+), 16 deletions(-)
> 
> diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
> index db5579a708..65a642c259 100644
> --- a/gnu/packages/search.scm
> +++ b/gnu/packages/search.scm
> @@ -32,6 +32,7 @@ (define-module (gnu packages search)
>    #:use-module (guix packages)
>    #:use-module (guix download)
>    #:use-module (guix git-download)
> +  #:use-module (guix gexp)
>    #:use-module (guix utils)
>    #:use-module (guix build-system gnu)
>    #:use-module (guix build-system perl)
> @@ -681,14 +682,12 @@ (define-public ugrep
>                (sha256
>                 (base32
> "03b3lahc3zzsznaqnrk47f1cnd5jwakvwrkz0r4m2crk09cpfv57")) (file-name
> (git-file-name name version))
> -              (modules '((guix build utils)))
> -              (snippet
> -               '(begin
> +              (snippet #~(begin
> +                  (use-modules (guix build utils))
>                    (delete-file-recursively "bin") ; pre-built
> executables (for-each delete-file (find-files "tests"
> "^archive\\..*")) (for-each delete-file (find-files "tests"
> "^.*\\.pdf$"))
> -                  (for-each delete-file (find-files "tests"
> "^.*\\.class$"))
> -                  #t))))
> +                  (for-each delete-file (find-files "tests"
> "^.*\\.class$")))))) (build-system gnu-build-system)
>      (inputs
>       (list bzip2
> @@ -696,18 +695,20 @@ (define-public ugrep
>             lz4
>             lzip ;; lzma
>             pcre2
> -           zlib))
> +           zlib
> +           `(,zstd "lib"))
>      (arguments
> -     `(#:tests? #f                  ; no way to rebuild the binary
> input files
> -       #:test-target "test"
> -       #:phases
> -       (modify-phases %standard-phases
> -         (add-before 'check 'check-setup
> -           (lambda _
> -             ;; Unpatch shebangs in tests.
> -             (substitute* '("tests/Hello.bat"
> -                            "tests/Hello.sh")
> -               (("#!/gnu/store/.*/bin/sh") "#!/bin/sh")))))))
> +     (list
> +      #:tests? #f                  ; no way to rebuild the binary
> input files
> +      #:test-target "test"
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-before 'check 'check-setup
> +            (lambda _
> +              ;; Unpatch shebangs in tests.
> +              (substitute* '("tests/Hello.bat"
> +                             "tests/Hello.sh")
> +                (("#!/gnu/store/.*/bin/sh") "#!/bin/sh")))))))
>      (home-page "https://github.com/Genivia/ugrep/")
>      (synopsis "Faster grep with an interactive query UI")
>      (description "Ugrep is a ultra fast searcher of file systems,
> text




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

* [bug#56995] [PATCH] gnu: ugrep: Use gexps and add zstd lib to inputs.
  2022-08-05  5:14   ` [bug#56995] " kiasoc5 via Guix-patches via
@ 2022-08-05  7:35     ` Liliana Marie Prikler
  0 siblings, 0 replies; 8+ messages in thread
From: Liliana Marie Prikler @ 2022-08-05  7:35 UTC (permalink / raw)
  To: kiasoc5, paren, 56995

Am Freitag, dem 05.08.2022 um 05:14 +0000 schrieb kiasoc5:

> Use gexps and add zstd lib to inputs.
Useful hint: If your patch title contains "and", it probably should be
a series of two or more patches.  😉️

Cheers




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

* bug#56984: [PATCH] gnu: openh264: Update to 2.3.0.
  2022-08-05  4:44 ` [bug#56984] [PATCH V2] gnu: openh264: Update to 2.3.0 and use gexps kiasoc5 via Guix-patches via
@ 2022-08-10  8:29   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 8+ messages in thread
From: 宋文武 via Guix-patches via @ 2022-08-10  8:29 UTC (permalink / raw)
  To: kiasoc5; +Cc: paren, 56984-done

kiasoc5 <kiasoc5@disroot.org> writes:

> * gnu/packages/video.scm (openh264): Update to 2.3.0.
> [arguments]: Use gexps.
> ---
>  gnu/packages/video.scm | 19 +++++++++++--------
>  1 file changed, 11 insertions(+), 8 deletions(-)

I changed '(assoc-ref %outputs "out")' to '#$output'.

Pushed now, thank you for the patch and ( for the review!




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

end of thread, other threads:[~2022-08-10  8:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-04 20:37 [bug#56984] [PATCH] gnu: openh264: Update to 2.3.0 kiasoc5 via Guix-patches via
2022-08-04 20:53 ` ( via Guix-patches via
2022-08-05  4:44 ` [bug#56984] [PATCH V2] gnu: openh264: Update to 2.3.0 and use gexps kiasoc5 via Guix-patches via
2022-08-10  8:29   ` bug#56984: [PATCH] gnu: openh264: Update to 2.3.0 宋文武 via Guix-patches via
2022-08-05  5:04 ` [bug#56984] [PATCH V3] gnu: ugrep: Use gexps and add zstd lib to inputs kiasoc5 via Guix-patches via
2022-08-05  5:10 ` [bug#56984] [PATCH] " kiasoc5 via Guix-patches via
2022-08-05  5:14   ` [bug#56995] " kiasoc5 via Guix-patches via
2022-08-05  7:35     ` Liliana Marie Prikler

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