From patchwork Wed Nov 13 15:46:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 70363 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0361E27BBEA; Wed, 13 Nov 2024 15:51:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B424927BBE2 for ; Wed, 13 Nov 2024 15:51:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBFe8-0002gh-Ki; Wed, 13 Nov 2024 10:51:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBFe5-0002ez-G6 for guix-patches@gnu.org; Wed, 13 Nov 2024 10:51:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBFe5-0001hd-7T for guix-patches@gnu.org; Wed, 13 Nov 2024 10:51:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=gYGGogPqvZk/DDFAjoI3ZqOv1mBqp9HZPs3CRsFu1BA=; b=kUTvTW8muRr7sYYvodqJCyBP/4Z8x9D8TMpslnhGIciodZ8e07vGbFv7lvsM+mULmy1j9nOcQverOepn/TGigypXca4SrAYiVqXH8iujEpPTh2nyaR3pPgREadRomLuDz/xRfEiZ83D6dpg1ZYhHfWUi/zXbm4VDETtCGlQfCkFUGLZY9CSVDoRmafyfp0Dzj/hjdrqfqEhUlJo51zDw+Umb++y7XOyuKIVrlOLxZqvY6qOu6vXjXHVoRYbqHaXQ/hzwlnDH26jqjYG1Yn3fJhjNORG3mMt8CSc6d/kw2zxX5ZvMrYSpFtnoC0Bct+lF58sf/rwlGj64v6aHKpwe7w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBFe2-0005iJ-9v; Wed, 13 Nov 2024 10:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74344] [PATCH 2/7] gnu: Add qcodeeditor. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 13 Nov 2024 15:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74344@debbugs.gnu.org Cc: Sughosha , Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 74344-submit@debbugs.gnu.org id=B74344.173151301721766 (code B ref 74344); Wed, 13 Nov 2024 15:51:02 +0000 Received: (at 74344) by debbugs.gnu.org; 13 Nov 2024 15:50:17 +0000 Received: from localhost ([127.0.0.1]:43188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFdI-0005el-ES for submit@debbugs.gnu.org; Wed, 13 Nov 2024 10:50:16 -0500 Received: from layka.disroot.org ([178.21.23.139]:57532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFdG-0005cj-E2 for 74344@debbugs.gnu.org; Wed, 13 Nov 2024 10:50:14 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D7BDD251D2; Wed, 13 Nov 2024 16:50:13 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ZNBA04T2jVwY; Wed, 13 Nov 2024 16:50:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1731513013; bh=29Poct+MPE0CYV5rLZFCOrK8xgvpBYkcdcvjENdlhvc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YrB6gnV5vyCvGrbZMsRHOh2JkVEpUdAQlF/PzEe/zRFF5qktAYp94CZQxUd4PWYOZ z4iLrtqCfu5cepvsIouhXqTlCacnt1VxTi7J70yybWzJTkCK/YTbgZXyRwSAf7Ng0J ZqKSMqZxAu/P4sS9oBNUoAsFWqVV4g0foDjO8Zt2OjAY7Q3QUBj/uLM73r3rAyLEqi wDE1Eh1gqJzNtuPXJ7cqiUANpUxpPeDlfT/Mk5N8ltQGuOdNbJraY7tWMf90HKvxG3 s7++8p8OhEpEChVcmLnGjsVEHugeVEKraCPdmzefgFqR0fJmLQqiKY7Bas2kF/NEYJ uw2mORMgGVtmA== Date: Wed, 13 Nov 2024 21:16:18 +0530 Message-ID: <27a83d4a7c8a696acc70f7ebbd050080a10b34c3.1731512782.git.sughosha@disroot.org> In-Reply-To: <009f0224022cd4677679737eb01a26142e658152.1731512782.git.sughosha@disroot.org> References: <009f0224022cd4677679737eb01a26142e658152.1731512782.git.sughosha@disroot.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/qt.scm (qcodeeditor): New variable. Change-Id: I331a184f83891ed6f8cc9b787a4bbf6cc48b35dd --- gnu/packages/qt.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 37f46e788e..c6488acdd8 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -4660,6 +4660,42 @@ (define-public dotherside @end itemize\n") (license license:lgpl3))) ;version 3 only (+ exception) +(define-public qcodeeditor + (let ((commit "dc644d41b68978ab9a5591ba891a223221570e74") + (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"))))))) + (home-page "https://github.com/Megaxela/QCodeEditor") + (synopsis "Qt code editor widget") + (description + "QCodeEditor is a Qt widget for editing/viewing code.") + (license license:expat)))) + (define-public qtcolorwidgets (package (name "qtcolorwidgets")