GNU bug report logs - #74344
[PATCH 0/7] gnu: Add jamesdsp.

Previous Next

Package: guix-patches;

Reported by: Sughosha <sughosha <at> disroot.org>

Date: Wed, 13 Nov 2024 15:44:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Sughosha <sughosha <at> disroot.org>
Cc: Zheng Junjie <z572 <at> z572.online>,
 宋文武 <iyzsong <at> envs.net>, 74344 <at> debbugs.gnu.org
Subject: Re: [bug#74344] [PATCH v3 2/7] gnu: Add qcodeeditor.
Date: Sun, 16 Feb 2025 15:31:12 +0900
Hi,

Sughosha <sughosha <at> disroot.org> writes:

> * gnu/packages/qt.scm (qcodeeditor): New variable.
>
> Change-Id: I822ad152ce0a2304fe428bd383ea79d036452fc7
> ---
>  gnu/packages/qt.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
> index 432282f9cf..cbc1e41e85 100644
> --- a/gnu/packages/qt.scm
> +++ b/gnu/packages/qt.scm
> @@ -4867,6 +4867,42 @@ (define-public dotherside
>  @end itemize\n")
>      (license license:lgpl3)))                    ;version 3 only (+ exception)
>
> +(define-public qcodeeditor
> +  (let ((commit "dc644d41b68978ab9a5591ba891a223221570e74") ;no tags
> +        (revision "0"))
> +    (package
> +      (name "qcodeeditor")
> +      (version (git-version "0" revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/Megaxela/QCodeEditor")
> +                      (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                  "1bpvfwbgp275w79dzrd7d9k3md1ch7n88rh59mxdfj8s911n42j8"))))
> +      (build-system qt-build-system)
> +      (arguments
> +       (list #:tests? #f ;no tests
> +             #:phases
> +             #~(modify-phases %standard-phases
> +                 (replace 'install
> +                   (lambda _
> +                     (install-file "libQCodeEditor.a"
> +                                   (string-append #$output "/lib"))
> +                     (for-each
> +                       (lambda (file)
> +                         (install-file file
> +                                       (string-append #$output
> +                                                      "/include/QCodeEditor")))
> +                       (find-files "../source/include/internal" "\\.hpp")))))))

Did you try building a share library instead of that static .a archive?
Apparently this fork has an install target and is able to build a shared
library: https://github.com/justxi/QCodeEditor/, per
https://github.com/Megaxela/QCodeEditor/issues/42

Perhaps it should be used instead as this Megaxela project hasn't been
touched in 6 years.

-- 
Thanks,
Maxim




This bug report was last modified 148 days ago.

Previous Next


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