From patchwork Mon Aug 21 18:20:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 53090 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 A992C27BBE9; Mon, 21 Aug 2023 20:37:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 928D227BBE2 for ; Mon, 21 Aug 2023 20:37:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYAhx-0001cC-2w; Mon, 21 Aug 2023 15:37:01 -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 1qYAhw-0001bi-1O for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:00 -0400 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 1qYAhv-0005Jw-Mq for guix-patches@gnu.org; Mon, 21 Aug 2023 15:36:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYAhx-0003yV-VI for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65438] [PATCH 1/4] gnu: Add go-github-com-flopp-go-findfont. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Aug 2023 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65438 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65438@debbugs.gnu.org Received: via spool by 65438-submit@debbugs.gnu.org id=B65438.169264658115197 (code B ref 65438); Mon, 21 Aug 2023 19:37:01 +0000 Received: (at 65438) by debbugs.gnu.org; 21 Aug 2023 19:36:21 +0000 Received: from localhost ([127.0.0.1]:57898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhJ-0003wy-D3 for submit@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:21 -0400 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:60470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhH-0003wi-Rh for 65438@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:20 -0400 Received: by mail-ej1-x644.google.com with SMTP id a640c23a62f3a-997c4107d62so490978866b.0 for <65438@debbugs.gnu.org>; Mon, 21 Aug 2023 12:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692646571; x=1693251371; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=g1NTj3KJHIGYo2MIsqIbtWeEDEbmE/Vy9sWkm7zJoPQ=; b=nOWGyLTIkvzbX8PA68apumGQGNMCNFD+WpdgzvwmGwexBnlVu7oZL3In9D0s1bVTUg DGXjkhe4fYxk7s7AC3/525nHR7XpGBK3JwcILjXPUunb1XvxRslJIyRZ5LrH9iFQSb0m 7CJHdVThOCFY4CBInalqQ1P65Y/VGOhE6JhBMkRIXDFoXXQjx869F+PqyFloszAaS1jg 4d9Fmkvvdvhd9Fnzi4jUmVulvTMBq8HLJlJ1nMZ21PfacQ09oaElCJxgJ8ZM8zfaiXu5 maLNctBntuT+Zu0yMN1so2QyFj+Ctd8TpAGCrzroC1wjHhiuicTI9xYn5hYumYjtSNLz v9vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692646571; x=1693251371; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=g1NTj3KJHIGYo2MIsqIbtWeEDEbmE/Vy9sWkm7zJoPQ=; b=Da78U8Wcq9IAic8VawAQ/swdadBm6FuBsRWRCfUtGhd6GSA30EqWFzraBIpF+GMrbQ nbFdSlmcu0J/0cCgVjVC4aUR7MMO5CEUv/888g4Sd7O3F1L90Kxl42cU1p38tKNKNOKg tJ9So5g1NQtVwLX49pH68ZpmgYl0S0R5OB3fSNfjfWJ7gPhm6e5clNC+tD5K0hN0EH3f Duvmch6QxQurLCXGDNfFqYWRl0iufKscmZnfnnOaj+xLtHd14qGKY8MNgKuudL6U0zSP zWCRvKUBg+Y/MlcrPi8vSW0o+wthPzTWT3eSaDNIOT8cs0DUi1RPzBRIFo9LhAXfVTAi 8EOg== X-Gm-Message-State: AOJu0Yx6kCWIbzNJSvsBs4R9MUcfrmYtzMDBRtXbnKXIGpMVu5/TjxQx AxeB/7V/j8tCOesl/KRPD8woVtt2wELnwA== X-Google-Smtp-Source: AGHT+IHk5ainILvhacRb7WPggvsUIws1oawk71OyKRfMw0vTPwRyiK0ZwBEMXWvABZiiyZoCnhBfmg== X-Received: by 2002:a17:906:8a73:b0:99d:9adc:cd76 with SMTP id hy19-20020a1709068a7300b0099d9adccd76mr6285409ejc.0.1692646571372; Mon, 21 Aug 2023 12:36:11 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id i12-20020a1709061ccc00b00991e2b5a27dsm7001079ejh.37.2023.08.21.12.36.09 for <65438@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 12:36:10 -0700 (PDT) Message-ID: <0ec2db7671d0b9706821c7d1e5a1014b886b5dd6.1692642912.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Mon, 21 Aug 2023 20:20:40 +0200 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: , 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/golang.scm (go-github-com-flopp-go-findfont): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5a53838435..6de35767c3 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2437,6 +2437,29 @@ (define-public go-github-com-willscott-goturn parsing and encoding support for STUN and TURN protocols.") (license license:bsd-3)))) +(define-public go-github-com-flopp-go-findfont + (package + (name "go-github-com-flopp-go-findfont") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flopp/go-findfont") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05jvs5sw6yid0qr2ld7aw0n1mjp47jxhvbg9lsdig86668i2fj2q")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/flopp/go-findfont")) + (home-page "https://github.com/flopp/go-findfont") + (synopsis "go-findfont") + (description + "This package provides a platform-agnostic Go library to locate +TrueType font files in your system's user and system font directories.") + (license license:expat))) + (define-public go-torproject-org-pluggable-transports-goptlib (package (name "go-torproject-org-pluggable-transports-goptlib") From patchwork Mon Aug 21 18:23:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 53088 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 8B6FA27BBE9; Mon, 21 Aug 2023 20:37:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 0BF8527BBE2 for ; Mon, 21 Aug 2023 20:37:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYAhy-0001ck-8L; Mon, 21 Aug 2023 15:37:02 -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 1qYAhw-0001bp-BB for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:00 -0400 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 1qYAhw-0005K5-2T for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYAhy-0003yd-Cs for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65438] [PATCH 2/4] gnu: Add go-github-com-phpdave11-gofpdi. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Aug 2023 19:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65438 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65438@debbugs.gnu.org Received: via spool by 65438-submit@debbugs.gnu.org id=B65438.169264658615220 (code B ref 65438); Mon, 21 Aug 2023 19:37:02 +0000 Received: (at 65438) by debbugs.gnu.org; 21 Aug 2023 19:36:26 +0000 Received: from localhost ([127.0.0.1]:57902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhN-0003xP-Q3 for submit@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:26 -0400 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:57503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhJ-0003wk-0y for 65438@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:21 -0400 Received: by mail-lj1-x243.google.com with SMTP id 38308e7fff4ca-2bba6fc4339so58710931fa.2 for <65438@debbugs.gnu.org>; Mon, 21 Aug 2023 12:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692646573; x=1693251373; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VXIMenx2LFHXGAWOYTEl0m2OV09hnvD6soMQ6MmN0uo=; b=dBgTNw7S04u8xyZh/230xDffwMefhdbUTS/yrmXTbXQ346CHEokEsjsRhtcmxMhUus xuyHRmhQq9qu0qVPjpixvxN7IP64Zgzv9ynhLKc1LO172acza0i/YURbSOWiutH+PBG9 ecL0MVKGb+/6kgeIGwjK8icxhlRciAbmvNce0AnERYoYpggNxo4TIvr5sE6W9pST1+de Bh72Tt9vUQNt24kNQhtylfUv6jwDkwQYAgjzFM5066W6sVCF7rQSjtkyNqztAJr/hQWd tvD/vh0onBkPzNQeY3LHgUk/DwQxgXNGftKoHJ9GAIOKaMzk8pKAQAuTtyVAwGte8Awe fzPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692646573; x=1693251373; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VXIMenx2LFHXGAWOYTEl0m2OV09hnvD6soMQ6MmN0uo=; b=IIxrQjvBI74CzPKtd1J0nkUEOfVNCWzvm3hFeUham9YJvRrPkLymWJwNURRUJq2I2I r9CYs1Lnm4k7y7VcfBFH60IdCedCYqqw44ADsiVlt7BXlCLJ5BiH1vBLMnn6R7H8YEKH rXRBj9l+DDhkd+y64c8uhenOrzCTEphJHdGq9IdgiO/5A02TOnTpUd2oQ5KoH+Pm77Zo /GXoxZHau0XlCkUeMN73MJDu8VltDIxPW31DxCnJHnC63iSnh+nDpO9/43qdD8602RfM 0Yj2UW6teaDZAxhvvCmxM3RK0ZDuEyTnVphteZnn5WpKi3jfG2odw8DXyestffk4ydgP aRHg== X-Gm-Message-State: AOJu0Ywz3YTGHjt2P1ERpQqV8vBuaJkWCPWOB9YIvTRMSMfq6h775KWN UG+O4h0YWCqwsNA7rwG0CVCTNJPf0Iuryw== X-Google-Smtp-Source: AGHT+IEThWL8OHmBqObO0QsS/fr2E0wX27VRmje+ylAw7Mu2sFIHjRwUekyJtXw+VDhTaMduVarX2w== X-Received: by 2002:a2e:7c01:0:b0:2b9:e831:f165 with SMTP id x1-20020a2e7c01000000b002b9e831f165mr5659377ljc.42.1692646572471; Mon, 21 Aug 2023 12:36:12 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id i12-20020a1709061ccc00b00991e2b5a27dsm7001079ejh.37.2023.08.21.12.36.11 for <65438@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 12:36:11 -0700 (PDT) Message-ID: <5f5bfbf2da09ac65c9f891bb1af2151691042024.1692642912.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Mon, 21 Aug 2023 20:23:01 +0200 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: , 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/golang.scm (go-github-com-phpdave11-gofpdi): New variable. --- gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 6de35767c3..d8dd82e06f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2460,6 +2460,35 @@ (define-public go-github-com-flopp-go-findfont TrueType font files in your system's user and system font directories.") (license license:expat))) +(define-public go-github-com-phpdave11-gofpdi + (package + (name "go-github-com-phpdave11-gofpdi") + (version "1.0.13") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phpdave11/gofpdi") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01r8a3k2d48fxmhyvix0ry2dc1z5xankd14yxlm496a26vfnc9nq")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/phpdave11/gofpdi" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-source + (lambda _ + (substitute* (find-files "." "writer\\.go$") + (("%s-%s") "%d-%s"))))))) + (propagated-inputs (list go-github-com-pkg-errors)) + (home-page "https://github.com/phpdave11/gofpdi") + (synopsis "PDF document importer") + (description + "gofpdi allows you to import an existing PDF into a new PDF.") + (license license:expat))) + (define-public go-torproject-org-pluggable-transports-goptlib (package (name "go-torproject-org-pluggable-transports-goptlib") From patchwork Mon Aug 21 18:23:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 53089 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 0D5CF27BBE9; Mon, 21 Aug 2023 20:37:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 B260527BBE2 for ; Mon, 21 Aug 2023 20:37:30 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYAhy-0001cz-E1; Mon, 21 Aug 2023 15:37:02 -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 1qYAhw-0001by-NZ for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:00 -0400 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 1qYAhw-0005KH-Er for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYAhy-0003yk-PN for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65438] [PATCH 3/4] gnu: Add go-github-com-signintech-gopdf. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Aug 2023 19:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65438 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65438@debbugs.gnu.org Received: via spool by 65438-submit@debbugs.gnu.org id=B65438.169264658615227 (code B ref 65438); Mon, 21 Aug 2023 19:37:02 +0000 Received: (at 65438) by debbugs.gnu.org; 21 Aug 2023 19:36:26 +0000 Received: from localhost ([127.0.0.1]:57904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhO-0003xR-4t for submit@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:26 -0400 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:60769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhJ-0003wl-Mf for 65438@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:22 -0400 Received: by mail-ej1-x642.google.com with SMTP id a640c23a62f3a-99bdeae1d0aso489362766b.1 for <65438@debbugs.gnu.org>; Mon, 21 Aug 2023 12:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692646573; x=1693251373; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GAf4hqjd8RNFnCTgBUCYd/NCJ9ukEBjCQOimUNn1ISg=; b=QSpuDS44Oy+o9Sm0L9PgGSuIaXJvxLNSmXzO3c34VIKVt2u5DO4v5QTQc7kd5gI5xH DLf9Y8cspaVTpyICZ9ac4x+ZWduGOApmhZudJGZyoe3eDOX+SHNu5iP+Dyy2dDXPn1Fs 8rZ65G/C8LCejvgBHbz4vsdalLtrOECMwwxiSSBGF7sRm4mxVp3mNjD2bhbPG09ZtK3I RK69g+RJIeVBUa0nceLtPrBQwkC2MChmOwxT41WvtLOpagWglWaKGUqnDOACRlw72JP9 yxKeI0wIl7B4OVB3gHHPOdIcq/gd5oFKPxpyzsWarVw0cV/B+w+dlnqvojZ1SKQRQU7I 9JvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692646573; x=1693251373; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GAf4hqjd8RNFnCTgBUCYd/NCJ9ukEBjCQOimUNn1ISg=; b=jEetYbNX+Nk3F8TZO2ou88BaCts0h405x9aJxJ260yTpJqxZKGG3lr3vMvqtNCqU4W c5kdce+1mdn+Zj2Cqpb1HsxN0NUcgwmJu+M3Y/b5fDTMRyzWIg6Sud697NjsT8z3m+Gg XoEJZIs2dcw7fo0KM/qK6lzL0OsNYJJMBZzeLWiav3MRoMVSeFN9uoqqRESqRDb8cnRp bqXmXn1fTCNeHbsmTJBvH4lhEP5umLu8iEskA1SUy3/1z+0J6iEurtivgAw6SSnOecvN xGrFGMUb/BXiJKaZBhQU0TV/CQtNTL1Sk1Cguw9e8zxL6Jo+8Vn5sIoCU8iOa6MgBt30 gL+Q== X-Gm-Message-State: AOJu0YwFBKD0jyrTB2basBU8U6UY3J4TIGAIOMb19Y5BQCqEJnHP/82X nEA7JDpy5T9kurYjgRGHgzOKIkcDJcH7nQ== X-Google-Smtp-Source: AGHT+IGrtcfWr1M34pPSkbBy5/CPQIYQ/P92MNVO7FHJ6XmKeu4uSk/p7CCP9H5Uf/e5cX4mp/ZSdw== X-Received: by 2002:a17:906:3099:b0:974:771e:6bf0 with SMTP id 25-20020a170906309900b00974771e6bf0mr5900664ejv.56.1692646573552; Mon, 21 Aug 2023 12:36:13 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id i12-20020a1709061ccc00b00991e2b5a27dsm7001079ejh.37.2023.08.21.12.36.12 for <65438@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 12:36:12 -0700 (PDT) Message-ID: <0b17287be043c005ddab88fbdb994f61be54eb42.1692642912.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Mon, 21 Aug 2023 20:23:19 +0200 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: , 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/golang.scm (go-github-com-signintech-gopdf): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d8dd82e06f..1617182243 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2489,6 +2489,29 @@ (define-public go-github-com-phpdave11-gofpdi "gofpdi allows you to import an existing PDF into a new PDF.") (license license:expat))) +(define-public go-github-com-signintech-gopdf + (package + (name "go-github-com-signintech-gopdf") + (version "0.18.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/signintech/gopdf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jf8a896qh871mdr1i7f0fdpqki5pkk1sp6p5dq404zqxpd7lq5l")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/signintech/gopdf")) + (propagated-inputs (list go-github-com-pkg-errors + go-github-com-phpdave11-gofpdi)) + (home-page "https://github.com/signintech/gopdf") + (synopsis "Generating PDF documents") + (description "gopdf is a Go library for generating PDF documents.") + (license license:expat))) + (define-public go-torproject-org-pluggable-transports-goptlib (package (name "go-torproject-org-pluggable-transports-goptlib") From patchwork Mon Aug 21 18:23:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 53087 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 07E1927BBEA; Mon, 21 Aug 2023 20:37:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, 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 D839A27BBE2 for ; Mon, 21 Aug 2023 20:37:08 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYAhy-0001dC-LQ; Mon, 21 Aug 2023 15:37:02 -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 1qYAhx-0001cG-4L for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:01 -0400 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 1qYAhw-0005KQ-SF for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYAhz-0003yr-74 for guix-patches@gnu.org; Mon, 21 Aug 2023 15:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65438] [PATCH 4/4] gnu: Add go-github-com-wraparound-wrap. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Aug 2023 19:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65438 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65438@debbugs.gnu.org Received: via spool by 65438-submit@debbugs.gnu.org id=B65438.169264658715234 (code B ref 65438); Mon, 21 Aug 2023 19:37:03 +0000 Received: (at 65438) by debbugs.gnu.org; 21 Aug 2023 19:36:27 +0000 Received: from localhost ([127.0.0.1]:57906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhO-0003xY-Gh for submit@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:27 -0400 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:48268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAhL-0003wo-2U for 65438@debbugs.gnu.org; Mon, 21 Aug 2023 15:36:23 -0400 Received: by mail-ej1-x641.google.com with SMTP id a640c23a62f3a-99c47ef365cso506188066b.0 for <65438@debbugs.gnu.org>; Mon, 21 Aug 2023 12:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692646575; x=1693251375; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=t5Sf1Fehzh4JHoIR9SEGrmeO8ncAaz9e/KttRb1ljBg=; b=TDTVJ/3oxpGg9CypE51ObvQHfmQWgBQHwuJSb4rZCYMp9QqpBFrxOYQswsDPDbq1uf 50Zh6Kpc/U+TL8zTXyo8octW5Fd9tdZX/ovQzl1tOk1EX8ili6Zf1hioS4Mxrgkw59FG yc2oKMoI6NAGupGY/gSL7i/39ab22IwJ5BVyMUS+WXXGxijpea1zI6W4GOzm2JszvNsV b+ko1anbNu/F7Pg2gLYkoU/81ZeD4ocuHB3eqVB93eDXW4z+wkchAKnLlZZcHk/99FOD XLEJpyp6M0n50rzTSFyS1A8F1abnTzGpLObT92PXCL3iqM7Y5vMzHaOhGNO+dha/i6J5 KTMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692646575; x=1693251375; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t5Sf1Fehzh4JHoIR9SEGrmeO8ncAaz9e/KttRb1ljBg=; b=YblSrk3Vdp8z9eOmbKCq+tGzW2vKZupAVBn/zpSem8nggEejjZ7LcVuzkczXi2oixU 085l6CrwPJmMfpAy6pLAIReIq5WehejxP3sFixpcVHacXsj3u6iAFUcAJXpQ8GM2/EZ0 EpxKMZU2tedrSoY5IGLAdTOGjFNVbjm9dhI/PVIy47mTIrNeb1MRqkYeV1Ss/7AuM/rs iqDcW0Sh7GbTlWrOa6w8yGwDuyxPhLpaNdvtvKSHrKYtclVLZzUNfds552oesOIiptwl NcHVJAyu4HgLVmvukhsaeiDIfHKwdB/p6h56frge5zGY2BqN6ypqoKgr94fBVzIUguXO RhpQ== X-Gm-Message-State: AOJu0Yy6rb6ziZu8zCqvkczHQGzTDzXA7u84MP03n7VMxQaWmvbgBiIE DBK2ylCsznSuD8dltLUxE96ZiMId0QNcWw== X-Google-Smtp-Source: AGHT+IEKAusF4zG8j5ng+raK0pqyVwjSZwbvLv/20TLc7FlKwTLTn8wBPIGd6hKVKpQHvds+kLAhzg== X-Received: by 2002:a17:907:2c6a:b0:99b:56f1:3002 with SMTP id ib10-20020a1709072c6a00b0099b56f13002mr6179224ejc.61.1692646574675; Mon, 21 Aug 2023 12:36:14 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id i12-20020a1709061ccc00b00991e2b5a27dsm7001079ejh.37.2023.08.21.12.36.13 for <65438@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 12:36:13 -0700 (PDT) Message-ID: <0bfd3ed2480566cfc7932898d480e8876b2fb1e4.1692642912.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Mon, 21 Aug 2023 20:23:37 +0200 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: , 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/patches/go-github-com-wraparound-wrap-free-fonts.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/golang.scm (go-github-com-wraparound-wrap): New variable. --- gnu/local.mk | 1 + gnu/packages/golang.scm | 52 ++++++++++++ ...ithub-com-wraparound-wrap-free-fonts.patch | 84 +++++++++++++++++++ 3 files changed, 137 insertions(+) create mode 100644 gnu/packages/patches/go-github-com-wraparound-wrap-free-fonts.patch diff --git a/gnu/local.mk b/gnu/local.mk index e4f5b2078a..1f10dd7f20 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1314,6 +1314,7 @@ dist_patch_DATA = \ %D%/packages/patches/go-github-com-golang-snappy-32bit-test.patch \ %D%/packages/patches/go-github-com-urfave-cli-fix-tests.patch \ %D%/packages/patches/go-github-com-urfave-cli-v2-fix-tests.patch \ + %D%/packages/patches/go-github-com-wraparound-wrap-free-fonts.patch \ %D%/packages/patches/go-skip-gc-test.patch \ %D%/packages/patches/gourmet-sqlalchemy-compat.patch \ %D%/packages/patches/gpaste-fix-paths.patch \ diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1617182243..b6e25b5183 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -74,6 +74,7 @@ (define-module (gnu packages golang) #:use-module (gnu packages base) #:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker)) #:use-module (gnu packages check) + #:use-module (gnu packages fonts) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) @@ -2512,6 +2513,57 @@ (define-public go-github-com-signintech-gopdf (description "gopdf is a Go library for generating PDF documents.") (license license:expat))) +(define-public go-github-com-wraparound-wrap + (package + (name "go-github-com-wraparound-wrap") + (version "0.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Wraparound/wrap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0scf7v83p40r9k7k5v41rwiy9yyanfv3jm6jxs9bspxpywgjrk77")) + (patches (search-patches + "go-github-com-wraparound-wrap-free-fonts.patch")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/Wraparound/wrap/" + #:tests? #f ; no tests + #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda* (#:key import-path #:allow-other-keys) + (invoke "go" "install" "-v" "-x" + "-ldflags=-s -w" + (string-append import-path "cmd/wrap")))) + (add-after 'wrap 'wrap-fonts + (lambda* (#:key inputs outputs #:allow-other-keys) + (for-each + (lambda (program) + (wrap-program program + `("XDG_DATA_DIRS" suffix + ,(map dirname + (search-path-as-list '("share/fonts") + (map cdr inputs)))))) + (find-files (string-append (assoc-ref outputs "out") + "/bin")))))))) + (propagated-inputs (list go-github-com-spf13-cobra + go-github-com-signintech-gopdf + go-github-com-flopp-go-findfont)) + (inputs (list font-liberation font-gnu-freefont)) + (home-page "https://github.com/Wraparound/wrap") + (synopsis "Format Fountain screenplays") + (description + "Wrap is a command line tool that is able to convert Fountain files into a +correctly formatted screen- or stageplay as an HTML or a PDF. It supports +standard Fountain, but also has some custom syntax extensions such as +translated keywords and acts.") + (license license:gpl3))) + (define-public go-torproject-org-pluggable-transports-goptlib (package (name "go-torproject-org-pluggable-transports-goptlib") diff --git a/gnu/packages/patches/go-github-com-wraparound-wrap-free-fonts.patch b/gnu/packages/patches/go-github-com-wraparound-wrap-free-fonts.patch new file mode 100644 index 0000000000..91b187a2d3 --- /dev/null +++ b/gnu/packages/patches/go-github-com-wraparound-wrap-free-fonts.patch @@ -0,0 +1,84 @@ +Index: wrap-source/pkg/pdf/fonts.go +=================================================================== +--- wrap-source.orig/pkg/pdf/fonts.go ++++ wrap-source/pkg/pdf/fonts.go +@@ -36,15 +36,15 @@ var ( + BoldItalic: []string{"Courier Prime Bold Italic.ttf"}, + } + +- CourierNew = Font{ +- RomanName: "Courier New", +- Roman: []string{"Courier New.ttf", "cour.ttf"}, +- BoldName: "Courier New Bold", +- Bold: []string{"Courier New Bold.ttf", "courbd.ttf"}, +- ItalicName: "Courier New Italic", +- Italic: []string{"Courier New Italic.ttf", "couri.ttf"}, +- BoldItalicName: "Courier New Bold Italic", +- BoldItalic: []string{"Courier New Bold Italic.ttf", "courbi.ttf"}, ++ LiberationMono = Font{ ++ RomanName: "Liberation Mono Regular", ++ Roman: []string{"LiberationMono-Regular.ttf"}, ++ BoldName: "Liberation Mono Bold", ++ Bold: []string{"LiberationMono-Bold.ttf"}, ++ ItalicName: "Liberation Mono Italic", ++ Italic: []string{"LiberationMono-Italic.ttf"}, ++ BoldItalicName: "Liberation Mono Bold Italic", ++ BoldItalic: []string{"LiberationMono-BoldItalic.ttf"}, + } + + FreeMono = Font{ +@@ -151,9 +151,8 @@ func loadFonts() { + err := loadFont(CourierPrime) + + if err != nil { +- // Courier New should be available on macOS and Windows + fmt.Fprintln(os.Stderr, "Warning: "+err.Error()) +- err = loadFont(CourierNew) ++ err = loadFont(LiberationMono) + + if err != nil { + // FreeMono as a final attempt +Index: wrap-source/pkg/cli/pdf.go +=================================================================== +--- wrap-source.orig/pkg/cli/pdf.go ++++ wrap-source/pkg/cli/pdf.go +@@ -22,7 +22,7 @@ var pdfCmd = &cobra.Command{ + var ( + pdfProductionFlag bool + useCourierPrime bool +- useCourierNew bool ++ useLiberationMono bool + useFreeMono bool + pageSize string + font string +@@ -31,7 +31,7 @@ var ( + func init() { + pdfCmd.Flags().BoolVarP(&pdfProductionFlag, "production", "p", false, "add scene numbers and other production text") + pdfCmd.Flags().BoolVar(&useCourierPrime, "use-courier-prime", false, "force the usage of Courier Prime") +- pdfCmd.Flags().BoolVar(&useCourierNew, "use-courier-new", false, "force the usage of Courier New") ++ pdfCmd.Flags().BoolVar(&useLiberationMono, "use-courier-new", false, "force the usage of Liberation Mono") + pdfCmd.Flags().BoolVar(&useFreeMono, "use-freemono", false, "force the usage of GNU FreeMono") + pdfCmd.Flags().StringVar(&pageSize, "page-size", "", "choose page size (letter or a4)") + pdfCmd.RegisterFlagCompletionFunc("page-size", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { +@@ -46,8 +46,8 @@ func pdfRun(cmd *cobra.Command, args []s + // Evaluate font selection + pdf.AutoFontSelection = false + +- if (font != "" && atLeastOne(useCourierPrime, useCourierNew, useFreeMono)) || +- moreThanOne(useCourierPrime, useCourierNew, useFreeMono) { ++ if (font != "" && atLeastOne(useCourierPrime, useLiberationMono, useFreeMono)) || ++ moreThanOne(useCourierPrime, useLiberationMono, useFreeMono) { + // The fonts are mutualy exclusive so throw an error + handle(errors.New("tried to force multiple fonts at the same time")) + } +@@ -77,8 +77,8 @@ func pdfRun(cmd *cobra.Command, args []s + } else if useCourierPrime { + pdf.SelectedFont = pdf.CourierPrime + +- } else if useCourierNew { +- pdf.SelectedFont = pdf.CourierNew ++ } else if useLiberationMono { ++ pdf.SelectedFont = pdf.LiberationMono + + } else if useFreeMono { + pdf.SelectedFont = pdf.FreeMono