guix_mirror_bot pushed a commit to branch master
in repository guix.
commit e21ff55f69ed6dcd0c054c20fba3985fea6d69f1
Author: Anderson Torres <[email protected]>
AuthorDate: Wed Jul 1 20:57:07 2026 -0300
gnu: m17n-db: Modernize.
* gnu/packages/emacs.scm (m17n-db): Modernize.
[source]: Use git instead of tarball.
[native-inputs]: Add autoconf, automake.
[arguments]: Convert to list of G-Expressions.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/language.scm | 42 ++++++++++++++++++++++++------------------
1 file changed, 24 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index f32fc72ceb..4c4cb358e5 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -972,31 +972,37 @@ and manipulation.")
(version "1.8.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "mirror://savannah/m17n/m17n-db-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://https.git.savannah.gnu.org/git/m17n/m17n-db.git")
+ (commit (string-append "REL-"
+ (string-replace-substring version
+ "." "-")))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5"))))
+ (base32 "0d43qrsc9fhk6f42bkvzzp8sycqpmav0vhs533k7p30nmvlwvq8m"))))
(build-system gnu-build-system)
- (native-inputs
- (list gettext-minimal))
(arguments
- `(#:configure-flags
- (list (string-append "--with-charmaps="
- (assoc-ref %build-inputs "libc")
- "/share/i18n/charmaps"))))
- ;; With `guix lint' the home-page URI returns a small page saying
+ (list
+ #:configure-flags
+ #~(list (string-append "--with-charmaps="
+ (search-input-directory %build-inputs
+
"/share/i18n/charmaps")))))
+ (native-inputs
+ (list autoconf
+ automake
+ gettext-minimal))
+ ;; INFO: With `guix lint' the home-page URI returns a small page saying
;; that your browser does not handle frames. This triggers the "URI
;; returns suspiciously small file" warning.
(home-page "https://www.nongnu.org/m17n/")
(synopsis "Multilingual text processing library (database)")
- (description "The m17n library realizes multilingualization of
-many aspects of applications. The m17n library represents
-multilingual text as an object named M-text. M-text is a string with
-attributes called text properties, and designed to substitute for
-string in C. Text properties carry any information required to input,
-display and edit the text.
+ (description
+ "The m17n library realizes multilingualization of many aspects of
+applications. The m17n library represents multilingual text as an object
+named M-text. M-text is a string with attributes called text properties, and
+designed to substitute for string in C. Text properties carry any information
+required to input, display and edit the text.
This package contains the library database.")
(license license:lgpl2.1+)))