gnu: Rename google-brotli back to brotli.

Sorry for the noise, but good riddance.  Our nonstandard name for this
package has caused confusion since it was added.  For example, the
duplicate python-brotli and python-google-brotli packages added later,
with the latter name making even less sense.

The Python packages will be fixed in the next commit.

* gnu/packages/compression.scm (google-brotli): Redefine as a
deprecated-package, with…
(brotli): …restored to canonical status.
(python-google-brotli)[inherit]: Adjust accordingly.
* gnu/packages/databases.scm (apache-arrow)[inputs]: Adjust accordingly.
* gnu/packages/fontutils.scm (woff2)[inputs]: Likewise.
* gnu/packages/gnome.scm (libsoup)[propagated-inputs]: Likewise.
* gnu/packages/networking (wireshark)[inputs]: Likewise.
* gnu/packages/node.scm (node-lts)[arguments, native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-imagecodecs)[inputs]: Likewise.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-12 14:35:17 +02:00
parent faa83a040a
commit 28b5ef1159
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
7 changed files with 18 additions and 19 deletions

View file

@ -2169,9 +2169,9 @@ single-member files which can't be decompressed in parallel.")
non-Windows systems without running the actual installer using wine.") non-Windows systems without running the actual installer using wine.")
(license license:zlib))) (license license:zlib)))
(define-public google-brotli (define-public brotli
(package (package
(name "google-brotli") (name "brotli")
(version "1.0.9") (version "1.0.9")
(source (source
(origin (origin
@ -2222,20 +2222,19 @@ with @code{deflate} but offers more dense compression.
The specification of the Brotli Compressed Data Format is defined in RFC 7932.") The specification of the Brotli Compressed Data Format is defined in RFC 7932.")
(license license:expat))) (license license:expat)))
(define-public brotli (define-public google-brotli
;; We used to provide an older version under the name "brotli". (deprecated-package "google-brotli" brotli))
(deprecated-package "brotli" google-brotli))
(define-public python-google-brotli (define-public python-google-brotli
(package (package
(inherit google-brotli) (inherit brotli)
(name "python-google-brotli") (name "python-google-brotli")
(build-system python-build-system) (build-system python-build-system)
(arguments '()) (arguments '())
(synopsis "Python interface to google-brotli") (synopsis "Python interface to Brotli")
(description "@code{python-google-brotli} provides a Python interface to (description "This package provides a Python interface to the @code{brotli}
@code{google-brotli}, an implementation of the Brotli lossless compression package, an implementation of the Brotli lossless compression algorithm.")))
algorithm.")))
(define-public ucl (define-public ucl
(package (package

View file

@ -3798,7 +3798,7 @@ the SQL language using a syntax that reflects the resulting query.")
(inputs (inputs
`(("apache-thrift" ,apache-thrift "lib") `(("apache-thrift" ,apache-thrift "lib")
("boost" ,boost) ("boost" ,boost)
("brotli" ,google-brotli) ("brotli" ,brotli)
("bzip2" ,bzip2) ("bzip2" ,bzip2)
("double-conversion" ,double-conversion) ("double-conversion" ,double-conversion)
("gflags" ,gflags) ("gflags" ,gflags)

View file

@ -309,7 +309,7 @@ work with most software requiring Type 1 fonts.")
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))
(inputs (inputs
`(("brotli" ,google-brotli))) `(("brotli" ,brotli)))
(synopsis "Libraries and tools for WOFF2 font format") (synopsis "Libraries and tools for WOFF2 font format")
(description "WOFF2 provides libraries and tools to handle the Web Open (description "WOFF2 provides libraries and tools to handle the Web Open
Font Format (WOFF).") Font Format (WOFF).")

View file

@ -4872,7 +4872,7 @@ libxml to ease remote use of the RESTful API.")
("httpd" ,httpd))) ("httpd" ,httpd)))
(propagated-inputs (propagated-inputs
;; libsoup-2.4.pc refers to all of these (except where otherwise noted) ;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
`(("brotli" ,google-brotli) `(("brotli" ,brotli)
("glib" ,glib) ("glib" ,glib)
("glib-networking" ,glib-networking) ; for GIO runtime modules ("glib-networking" ,glib-networking) ; for GIO runtime modules
("libpsl" ,libpsl) ("libpsl" ,libpsl)

View file

@ -1507,7 +1507,7 @@ of the same name.")
`(("c-ares" ,c-ares) `(("c-ares" ,c-ares)
("glib" ,glib) ("glib" ,glib)
("gnutls" ,gnutls) ("gnutls" ,gnutls)
("google-brotli" ,google-brotli) ("brotli" ,brotli)
("libcap" ,libcap) ("libcap" ,libcap)
("libgcrypt" ,libgcrypt) ("libgcrypt" ,libgcrypt)
("libnl" ,libnl) ("libnl" ,libnl)

View file

@ -685,7 +685,7 @@ source files.")
(lambda* (#:key native-inputs inputs #:allow-other-keys) (lambda* (#:key native-inputs inputs #:allow-other-keys)
(let* ((inputs (or native-inputs inputs)) (let* ((inputs (or native-inputs inputs))
(c-ares (assoc-ref inputs "c-ares")) (c-ares (assoc-ref inputs "c-ares"))
(google-brotli (assoc-ref inputs "google-brotli")) (brotli (assoc-ref inputs "brotli"))
(icu4c (assoc-ref inputs "icu4c")) (icu4c (assoc-ref inputs "icu4c"))
(nghttp2 (assoc-ref inputs "nghttp2")) (nghttp2 (assoc-ref inputs "nghttp2"))
(openssl (assoc-ref inputs "openssl")) (openssl (assoc-ref inputs "openssl"))
@ -704,7 +704,7 @@ source files.")
(string-append target (string-append target
"'ldflags': ['-Wl,-rpath=" "'ldflags': ['-Wl,-rpath="
c-ares "/lib:" c-ares "/lib:"
google-brotli "/lib:" brotli "/lib:"
icu4c "/lib:" icu4c "/lib:"
nghttp2 "/lib:" nghttp2 "/lib:"
openssl "/lib:" openssl "/lib:"
@ -821,7 +821,7 @@ source files.")
(native-inputs (native-inputs
`(;; Runtime dependencies for binaries used as a bootstrap. `(;; Runtime dependencies for binaries used as a bootstrap.
("c-ares" ,c-ares) ("c-ares" ,c-ares)
("google-brotli" ,google-brotli) ("brotli" ,brotli)
("icu4c" ,icu4c-67) ("icu4c" ,icu4c-67)
("libuv" ,libuv-for-node) ("libuv" ,libuv-for-node)
("nghttp2" ,nghttp2 "lib") ("nghttp2" ,nghttp2 "lib")
@ -840,7 +840,7 @@ source files.")
("icu4c" ,icu4c-67) ("icu4c" ,icu4c-67)
("libuv" ,libuv-for-node) ("libuv" ,libuv-for-node)
("llhttp" ,llhttp-bootstrap) ("llhttp" ,llhttp-bootstrap)
("google-brotli" ,google-brotli) ("brotli" ,brotli)
("nghttp2" ,nghttp2 "lib") ("nghttp2" ,nghttp2 "lib")
("openssl" ,openssl) ("openssl" ,openssl)
("zlib" ,zlib))))) ("zlib" ,zlib)))))

View file

@ -6874,7 +6874,7 @@ def customize_build(EXTENSIONS, OPTIONS):
(inputs (inputs
`(("c-blosc" ,c-blosc) `(("c-blosc" ,c-blosc)
("giflib" ,giflib) ("giflib" ,giflib)
("google-brotli" ,google-brotli) ("brotli" ,brotli)
("libjpeg-turbo" ,libjpeg-turbo) ("libjpeg-turbo" ,libjpeg-turbo)
("libpng" ,libpng) ("libpng" ,libpng)
("libtiff" ,libtiff) ("libtiff" ,libtiff)