[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72406] [PATCH emacs-team WIP v4 06/24] gnu: emacs-libgit: Build var
From: |
Liliana Marie Prikler |
Subject: |
[bug#72406] [PATCH emacs-team WIP v4 06/24] gnu: emacs-libgit: Build variants. |
Date: |
Sun, 11 Aug 2024 14:58:45 +0200 |
* gnu/packages/emacs-xyz.scm (emacs-libgit)[native-inputs]: Replace emacs-no-x
with emacs.
[properties]: Add ‘next-variant’ and ‘pgtk-variant’.
(emacs-next-libgit, emacs-pgtk-libgit): New variables.
---
gnu/packages/emacs-xyz.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2ff1ed4bf0..ce92c12885 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -56,7 +56,7 @@
;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2019 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2019 Stephen Webber <montokapro@gmail.com>
-;;; Copyright © 2019, 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
+;;; Copyright © 2019, 2021, 2024 Liliana Marie Prikler
<liliana.prikler@gmail.com>
;;; Copyright © 2019 David Wilson <david@daviwil.com>
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
@@ -1645,14 +1645,29 @@ (define-public emacs-libgit
(add-after 'emacs-build 'validate-compiled-autoloads
(assoc-ref emacs:%standard-phases
'validate-compiled-autoloads)))))
(native-inputs
- (list emacs-no-x git-minimal pkg-config))
+ (list emacs git-minimal pkg-config))
(inputs
(list libgit2))
(home-page "https://github.com/magit/libegit2")
(synopsis "Emacs bindings for libgit2")
(description "This is an experimental module written in C providing
libgit2 bindings for Emacs, intended to boost the performance of Magit.")
- (license license:gpl2+))))
+ (license license:gpl2+)
+ (properties
+ `((next-variant . ,(delay emacs-next-libgit))
+ (pgtk-variant . ,(delay emacs-pgtk-libgit)))))))
+
+(define-public emacs-next-libgit
+ (package/inherit emacs-libgit
+ (name "emacs-next-libgit")
+ (native-inputs (modify-inputs (package-inputs emacs-libgit)
+ (replace "emacs" emacs-next)))))
+
+(define-public emacs-pgtk-libgit
+ (package/inherit emacs-libgit
+ (name "emacs-pgtk-libgit")
+ (native-inputs (modify-inputs (package-inputs emacs-libgit)
+ (replace "emacs" emacs-pgtk)))))
(define-public emacs-llm
(package
--
2.45.2
- [bug#72406] [PATCH emacs-team WIP v4 00/24] Build variants for other Emacsen, Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 01/24] build-system: emacs: Define package-with-explicit-emacs., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 06/24] gnu: emacs-libgit: Build variants.,
Liliana Marie Prikler <=
- [bug#72406] [PATCH emacs-team WIP v4 04/24] build-system: emacs: Handle variants in elpa naming., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 08/24] gnu: emacs-tablist: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 07/24] gnu: emacs-eweouz: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 02/24] build-system: emacs: Make emacs the default variant., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 12/24] gnu: emacs-dash: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 11/24] gnu: emacs-bui: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 10/24] gnu: emacs-fontaine: Reindent., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 15/24] gnu: emacs-geiser-guile: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 05/24] etc: Provide snippet for defining emacs variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 09/24] gnu: emacs-pdf-tools: Build variants., Liliana Marie Prikler, 2024/08/11