gnu: firebird: Use git-fetch.

* gnu/packages/databases.scm (source): Use git-fetch. Do not delete
files that are not in the git repository.
[native-inputs]: Set to autoconf, automake and libtool on all
architectures.

Change-Id: I667f6fb46b9ac70139f12bd492be5bfebae42995
This commit is contained in:
Andreas Enge 2025-08-05 12:46:57 +02:00
parent 78b021daba
commit 908fa1ac27
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -311,15 +311,14 @@ ElasticSearch server")
(name "firebird") (name "firebird")
(version "3.0.12") (version "3.0.12")
(source (source
(let ((revision "33787-0"))
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/FirebirdSQL/" (uri (git-reference
"firebird/releases/download/v" (url "https://github.com/FirebirdSQL/firebird")
version "/" (commit (string-append "v" version))))
"Firebird-" version "." revision ".tar.bz2")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "07w109k237slwyhgyxma9r5my0dkvksc7ykpw0a4h7gpv06vzcl5")) (base32 "09i51s3zgd0qkd17kk32cq99kpxgkm3frnjmr4dgr1csncr2v3x6"))
(patches (search-patches "firebird-riscv64-support-pt1.patch" (patches (search-patches "firebird-riscv64-support-pt1.patch"
"firebird-riscv64-support-pt2.patch")) "firebird-riscv64-support-pt2.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
@ -340,10 +339,7 @@ ElasticSearch server")
"src/msgs/templates.sql" "src/msgs/templates.sql"
;; Generated files missing sources. ;; Generated files missing sources.
"doc/Firebird-3-QuickStart.pdf" "doc/README.SecureRemotePassword.html"))))))
(string-append "doc/Firebird-" ,version
"-ReleaseNotes.pdf")
"doc/README.SecureRemotePassword.html")))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs (list "debug" "out")) (outputs (list "debug" "out"))
(arguments (arguments
@ -445,9 +441,7 @@ ElasticSearch server")
(list "include/firebird/impl" (list "include/firebird/impl"
"lib/firebird/plugins/udr"))))))))) "lib/firebird/plugins/udr")))))))))
(native-inputs (native-inputs
(if (target-riscv64?) (list autoconf automake libtool))
(list autoconf automake libtool)
'()))
(inputs (inputs
(list boost (list boost
editline editline