From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id zOAIDzcFtmYLiAAAqHPOHw:P1 (envelope-from ) for ; Fri, 09 Aug 2024 12:01:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id zOAIDzcFtmYLiAAAqHPOHw (envelope-from ) for ; Fri, 09 Aug 2024 14:01:59 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=HAPExf57; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723204919; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=1ZokVyNQDJAyWbhf/kd1bwG4oEEqN6/N8iq2O97qY6Q=; b=uH/TGlDCbKNOMz6bbUJCL9of6gDXgnPtenuXNjLczWBFhc+8SPRsYyBWFOZ+ogMGcRnHSu 6iK0jsv8EChI9SvopmSZqFPDEHqpZgFUGCk/I1CE9BML7ePbtBr1csliUKQC6cYULqHZ2E 9Ulw7tBDzaALkPBWBo7KjmhcYB3E3jHleRgmGNpF1xtb/znEQeCZ4im2OPCYKGqmm/Qao6 rt1MeHA/hfnikvV/Qf2e63MBB/jMnyL+XKAZ6pzNUuS633B8zQzTaldCs1qmvl6wJfmqG6 GLcXC1Z+TMQgIq1tGiTugymdcl64dlMp4/fbJ6u7q8jM7NI6J/vf9mnev0/KiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723204919; a=rsa-sha256; cv=none; b=XN2Zu0Q9m9AycAy5b+sJ1yJ5oOdnXjuqbAf6F7HqUCkdIFtj5quM0xvVCq8ROBTiNQFwpK EY7B94dI+VbP2pcQfop+Qa2k6736kgbZ70ocXJrTeP/bGIREFgjURvEG5Q4Cm3/c+nHkiK BahMIhIosEoMVdl1LHOwY3I5kHXdk4VE+G3EDs9a9McUUJlODYCYb4o2/rtklvXTe1cXfY E74YoDuXqwRUTx5JXvFB4ve+Q/o/rijEqtxy4m17uUDZKMWOvx1O5pZ0Xw54hfahpWMXFc wDxrIROdFjmjyjWEMoPTYuYpSrHd64FiZdH+J0L3a96RyybM5n6m+sc1LX1xng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=HAPExf57; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D8084163B2 for ; Fri, 9 Aug 2024 14:01:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scOJR-0008Hz-5r; Fri, 09 Aug 2024 08:01:41 -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 1scOJL-0008B1-5D for guix-patches@gnu.org; Fri, 09 Aug 2024 08:01:35 -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 1scOJK-0005T5-Qf for guix-patches@gnu.org; Fri, 09 Aug 2024 08:01:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=1ZokVyNQDJAyWbhf/kd1bwG4oEEqN6/N8iq2O97qY6Q=; b=HAPExf57FMsEVJ/UqwVfdUOSvhNx3nsy1GNSaYrefHIrXuCoBmSS8+ZNlZLVhETJdVGFN6wOVAt84jn84184OSeIxY8oduJS+aFHGJo1IazlY5inhgQZrc3R2d2b1XLuxgCr/5RCe/23CnboxCZYNzWK48LTuEfNLGJPWIEMiH7PVaBtnsu+m7T+I6VFI3S3jr/OsmlzTLFh4ugbgM+ueP098b0wOtHZng0vkK1hwAHadLGwiyb/wZv4qFSr+a8aL/azEjzOHcjoSpfc1/XrTr1NzKjDg3Y908v9fIRrW6dfLatwbdXI6TupYX33mtlT4ESzpw9ZZZGt9RPh/WE1Tw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1scOJm-0005Mz-8V for guix-patches@gnu.org; Fri, 09 Aug 2024 08:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72541] [PATCH] gnu: gerbv: Fix missing version. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Aug 2024 12:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72541@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172320490520617 (code B ref -1); Fri, 09 Aug 2024 12:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2024 12:01:45 +0000 Received: from localhost ([127.0.0.1]:37776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scOJU-0005MS-He for submit@debbugs.gnu.org; Fri, 09 Aug 2024 08:01:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:56230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scOJR-0005MI-1v for submit@debbugs.gnu.org; Fri, 09 Aug 2024 08:01:42 -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 1scOIv-0007q2-Vw for guix-patches@gnu.org; Fri, 09 Aug 2024 08:01:11 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160] helo=roxy.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1scOIt-0005Lf-KF for guix-patches@gnu.org; Fri, 09 Aug 2024 08:01:09 -0400 Received: from [185.211.158.13] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1scOIg-000000003L1-1Xr3 for guix-patches@gnu.org; Fri, 09 Aug 2024 15:00:54 +0300 From: Evgeny Pisemsky Date: Fri, 09 Aug 2024 15:00:51 +0300 Message-ID: <87sevdoqh8.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=137.74.182.160; envelope-from=mail@pisemsky.site; helo=roxy.hosting.energy X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D8084163B2 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.69 X-Spam-Score: -10.69 X-TUID: wXOgUXk2qThC --=-=-= Content-Type: text/plain This program currently lacks version number everywhere - in pkgconfig, in CLI and in GUI, because it is generated by a script that needs git and updating shebang. This patch fixes the problem. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-gerbv-Fix-missing-version.patch Content-Transfer-Encoding: quoted-printable >From c066b30a8f1afff37deb54d7ed571d99b059f619 Mon Sep 17 00:00:00 2001 Message-ID: From: Evgeny Pisemsky Date: Fri, 9 Aug 2024 14:40:05 +0300 Subject: [PATCH] gnu: gerbv: Fix missing version. * gnu/packages/engineering.scm (gerbv): Fix missing version. [source]: Change indentation. [arguments]: Patch version generator shebang. [native-inputs]: Add git. Change-Id: I29a38fff03127d9ce2b5e04ca638dacfc3720125 --- gnu/packages/engineering.scm | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index d5d72a0c85..697ceff59f 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -27,7 +27,7 @@ ;;; Copyright =C2=A9 2021 Ivan Gankevich ;;; Copyright =C2=A9 2021, 2022 Petr Hodina ;;; Copyright =C2=A9 2021 Foo Chuan Wei -;;; Copyright =C2=A9 2022 Evgeny Pisemsky +;;; Copyright =C2=A9 2022, 2024 Evgeny Pisemsky ;;; Copyright =C2=A9 2022 Olivier Dion ;;; Copyright =C2=A9 2022 Peter Polidoro ;;; Copyright =C2=A9 2022 Malte Frank Gerdes @@ -833,22 +833,30 @@ (define-public gerbv (package (name "gerbv") (version "2.10.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gerbv/gerbv") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "06bcm5zw7whsnnmfld3gl2j907lxc68gnsbzr2pc4w6qc923rgmj")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gerbv/gerbv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06bcm5zw7whsnnmfld3gl2j907lxc68gnsbzr2pc4w6qc923rgmj")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("CFLAGS=3D-fcommon"))) + (list + #:configure-flags '(list "CFLAGS=3D-fcommon") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-version-generator + (lambda _ + (substitute* "utils/git-version-gen.sh" + (("/bin/bash") + (which "bash")))))))) (native-inputs (list autoconf automake desktop-file-utils gettext-minimal + git `(,glib "bin") libtool pkg-config)) base-commit: 20dbf225f332ccc707578263ed710dcf2a8fb78e --=20 2.45.2 --=-=-=--