From patchwork Wed Mar 22 12:54:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saku Laesvuori X-Patchwork-Id: 48575 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 530E216FAA; Wed, 22 Mar 2023 12:56:21 +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=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_PDS_PRO_TLD, 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 638FB16F5A for ; Wed, 22 Mar 2023 12:56:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pey0e-0006VC-Fy; Wed, 22 Mar 2023 08:56:08 -0400 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 1pey0Z-0006Ut-Eg for guix-patches@gnu.org; Wed, 22 Mar 2023 08:56:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pey0Y-0006Vk-Kz for guix-patches@gnu.org; Wed, 22 Mar 2023 08:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pey0Y-00031u-80 for guix-patches@gnu.org; Wed, 22 Mar 2023 08:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62292] [PATCH v2] gnu: Add kitsas References: <20230320105602.8040-1-saku@laesvuori.fi> In-Reply-To: <20230320105602.8040-1-saku@laesvuori.fi> Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Mar 2023 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62292 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 62292@debbugs.gnu.org Cc: Saku Laesvuori , mirai@makinata.eu Received: via spool by 62292-submit@debbugs.gnu.org id=B62292.167948972511600 (code B ref 62292); Wed, 22 Mar 2023 12:56:02 +0000 Received: (at 62292) by debbugs.gnu.org; 22 Mar 2023 12:55:25 +0000 Received: from localhost ([127.0.0.1]:33806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pexzx-000311-0b for submit@debbugs.gnu.org; Wed, 22 Mar 2023 08:55:25 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:37964 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pexzu-00030s-LK for 62292@debbugs.gnu.org; Wed, 22 Mar 2023 08:55:23 -0400 Received: from X-kone.lan (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 9440E3400E4; Wed, 22 Mar 2023 13:55:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1679489741; bh=2cTvFwtpWr4QsV8ao1JRm0Dpjj0jmCCqkCA7srcTYLk=; h=From:To:Cc:Subject:Date; b=Z1niQCkpr5ISR63PxZ9b13cN/Q4HX+OMe/TchFv1vpvKvLD/C4QwdLfJ6npoMwXoE 2CDbSckAjjutSC1fED6SgRtuBdhT/27k9NylQZOJU+bie9p3PYi/MBDslqfQU0/HIA xaw3ioI/XWw0xB5G0B53tQTZQ3BogckRblwDPvk4= Date: Wed, 22 Mar 2023 14:54:43 +0200 Message-Id: <20230322125443.6561-1-saku@laesvuori.fi> X-Mailer: git-send-email 2.39.2 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: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches X-Patchwork-Original-From: Saku Laesvuori via Guix-patches via From: Saku Laesvuori 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/finance.scm (kitsas): New variable. --- gnu/packages/finance.scm | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) base-commit: 3a2200e1ad2049ad7e25295e6b4e013f74dd84e2 diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3f3fc078f0..a4b7ede62a 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -109,6 +109,7 @@ (define-module (gnu packages finance) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) + #:use-module (gnu packages pdf) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) #:use-module (gnu packages protobuf) @@ -1290,6 +1291,54 @@ (define-public keepkey-agent agent.") (license license:lgpl3))) +(define-public kitsas + (package + (name "kitsas") + (version "4.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artoh/kitupiikki") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0hrbsqqm6v2pmjq17s7i4akjgclz3d051mg02vcykq80xgxvbkgf")))) + (build-system qt-build-system) + (inputs (list qtbase-5 libzip poppler-qt5 qtsvg-5)) + (arguments + (list + ; Some tests fail and others segfault + #:tests #f + #:test-target "check" + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda* _ + (invoke "qmake" "kitsasproject.pro" "CONFIG+=release"))) + (replace 'install + (lambda* _ + (install-file "kitsas/kitsas" (string-append #$output "/bin/")) + (install-file "kitsas.png" (string-append #$output "/share/icons/")) + (install-file "kitsas.desktop" (string-append #$output "/share/applications/"))))))) + (home-page "https://kitsas.fi") + (synopsis "Finnish bookkeeping software for small organisations") + (description + "The software is in Finnish only. + + Finnish free software accounting program with the following goals and features: + + @itemize @bullet + @item Ease of use + @item Digital management of documents + @item Creating a digital archive + @item Built-in invoicing + @item Creating reports + @end itemize") + ; GPL3 with additional terms: + ; - Modified versions of this software should be clearly mentioned as modified + ; - Kitsas Oy will not support any modified version of this software + ; - The name Kitsas Oy should not be used in any modified version + (license license:gpl3))) + (define-public python-stdnum (package (name "python-stdnum")