GNU bug report logs - #72871
[PATCH] gnu: Add emacs-qt-pro-mode.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Thu, 29 Aug 2024 11:37:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72871 in the body.
You can then email your comments to 72871 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#72871; Package guix-patches. (Thu, 29 Aug 2024 11:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to gemmaro <gemmaro.dev <at> gmail.com>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Thu, 29 Aug 2024 11:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gemmaro <gemmaro.dev <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: [PATCH] gnu: Add emacs-qt-pro-mode.
Date: Thu, 29 Aug 2024 20:34:54 +0900
* gnu/packages/emacs-xyz.scm (emacs-qt-pro-mode): New variable.

Change-Id: I49db0f62280aa86830eb535c4b179be1bb692db4
---
 gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 79ea0955d4..5589d16d49 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14358,6 +14358,35 @@ (define-public emacs-qml-mode
 builtin JavaScript mode.")
     (license license:gpl2+)))
 
+(define-public emacs-qt-pro-mode
+  (let ((revision "0")
+        (commit "7a2da323de834294b413cbbb3c92f42f54913643"))
+    (package
+      (name "emacs-qt-pro-mode")
+      (version (git-version "1.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacsorphanage/qt-pro-mode")
+               (commit commit)))
+         (sha256
+          (base32 "07054hzl7gd0wfibcqvij2wx9zji330gsryn53qad9gyalvlavpa"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:phases #~(modify-phases %standard-phases
+                     (replace 'check
+                       (lambda* (#:key tests? #:allow-other-keys)
+                         (when tests?
+                           (invoke "make" "test")))))))
+      (home-page "https://github.com/emacsorphanage/qt-pro-mode")
+      (synopsis "Emacs major mode for Qt build-system files")
+      (description
+       "This package provides a major mode for editing Qt build-system files.")
+      (license license:gpl2+))))
+
 (define-public emacs-queue
   (package
     (name "emacs-queue")

base-commit: 09fe58e08cb1ff9be93752b018c5dd55c8ef9498
-- 
2.45.2





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 05 Sep 2024 17:54:02 GMT) Full text and rfc822 format available.

Notification sent to gemmaro <gemmaro.dev <at> gmail.com>:
bug acknowledged by developer. (Thu, 05 Sep 2024 17:54:02 GMT) Full text and rfc822 format available.

Message #10 received at 72871-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 72871-done <at> debbugs.gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: Re: [PATCH] gnu: Add emacs-qt-pro-mode.
Date: Thu, 05 Sep 2024 19:52:16 +0200
Hello,

> * gnu/packages/emacs-xyz.scm (emacs-qt-pro-mode): New variable.

Thank you. I applied the patch with the following changes:

> +    (package
> +      (name "emacs-qt-pro-mode")
> +      (version (git-version "1.0.1" revision commit))

I set base version to 1.0.0, as specified in the main file. I'm not sure
where 1.0.1 is coming from.

> +       (list
> +        #:tests? #t
> +        #:phases #~(modify-phases %standard-phases
> +                     (replace 'check
> +                       (lambda* (#:key tests? #:allow-other-keys)
> +                         (when tests?
> +                           (invoke "make" "test")))))))

I replaced the whole phase with #:test-command keyword.

Regards,
-- 
Nicolas Goaziou






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Oct 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.