emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#72871: closed ([PATCH] gnu: Add emacs-qt-pro-mode.)


From: GNU bug Tracking System
Subject: bug#72871: closed ([PATCH] gnu: Add emacs-qt-pro-mode.)
Date: Thu, 05 Sep 2024 17:54:02 +0000

Your message dated Thu, 05 Sep 2024 19:52:16 +0200
with message-id <87le06ounj.fsf@nicolasgoaziou.fr>
and subject line Re: [PATCH] gnu: Add emacs-qt-pro-mode.
has caused the debbugs.gnu.org bug report #72871,
regarding [PATCH] gnu: Add emacs-qt-pro-mode.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
72871: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72871
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- 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




--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]