From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] [PATCH] gnu: ddd: Update to 3.4.1. Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 06:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73137@debbugs.gnu.org Cc: Andy Tai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17258638773310 (code B ref -1); Mon, 09 Sep 2024 06:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2024 06:37:57 +0000 Received: from localhost ([127.0.0.1]:60551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snY28-0000rK-JD for submit@debbugs.gnu.org; Mon, 09 Sep 2024 02:37:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:52234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snY26-0000rB-Hj for submit@debbugs.gnu.org; Mon, 09 Sep 2024 02:37:55 -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 1snY22-0003EM-3y for guix-patches@gnu.org; Mon, 09 Sep 2024 02:37:50 -0400 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1snY1x-0005jq-BT for guix-patches@gnu.org; Mon, 09 Sep 2024 02:37:48 -0400 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-7094641d4e6so1882489a34.3 for ; Sun, 08 Sep 2024 23:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725863864; x=1726468664; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=mbD4IJY5WrPVnNt9h3SDwK3CZ+0mepcfoZRylYLfPAw=; b=gOpNu3cIzGDtpRAC4ijhZjSQ/rOQu+xy4J9KMpONWChkx399XNcgE45etxR8bW9q1f g7PZY6nhWtTqTK0sRk0FgHSxBtyO3IBZhli+LAaQsLGJZTrOL8tyVqNpg+KC7QJVHAUC MTuw+zrIQWmpYFt289W3/vdlBV2f/8Gj5og/R83MyWvwEo1oEyqo9SaDLBvr7DeiuC1N PKbfWedo72A/PEGaZYAwcmgLMBHGQoSu6ReEEPFqjh5g+INeamVMSycsQAkm1ARa7/5z jy7vxUVQ5GHNKk4tygWcI8RgefqrfFhd/Bn43wvSCw2jtX+yPZMHDyGaX4hoX7ghcoUp dpWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725863864; x=1726468664; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mbD4IJY5WrPVnNt9h3SDwK3CZ+0mepcfoZRylYLfPAw=; b=MZrakrgFe5hrmQHXwNUCj5VdN4CrbKzVHVydix3baVg1IkSjP9ssQLLRu7mB83M6Dv 5DNESmkGrR00Enqijn941KSjMojOfMXyRl01dfdMJXsJ/encNIrLj6kBB//gnkIiZHva 1pLSwgWHpoPfacmKgD/ztZAN/xbK7F2x+4P/dCNpKTbMg1w45GANZYKqTuZ1BTq3mQ+N 8rYxgF8Yc9H6asSJvVi++/DjERqSVeEC7pTb109bTpzdB1/fqy87S+C5t4UpabQxVfdr TzHm/c7EVtib91oRgs94dJHVsIhgU7JjdqppsOHylndFzBIvfnlZclv5Jbu18pov43z4 QCQw== X-Gm-Message-State: AOJu0YywfC59/WNR1skZ9Np+7KCP96KfalPvhPpgXGinvOqDwIoCIzGK TYwCfbVLygyRVopJucFnSy2j9K71ClSSwblrAllS5I/OBaQTB8ShTJ86WQ== X-Google-Smtp-Source: AGHT+IEGLkgwEMZgS/NwD7l1NjlASLpZ2q6fVe7/8j510bjjrkZhiqJZaEj750QgoInRuxwcUYsDAA== X-Received: by 2002:a05:6359:7c1f:b0:1b5:ffce:b2a0 with SMTP id e5c5f4694b2df-1b8385b2c19mr1344141455d.6.1725863863423; Sun, 08 Sep 2024 23:37:43 -0700 (PDT) Received: from DEskMiniX300.. ([38.84.157.61]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-718e5991652sm2877140b3a.217.2024.09.08.23.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Sep 2024 23:37:42 -0700 (PDT) From: Andy Tai Date: Sun, 8 Sep 2024 23:37:40 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::329; envelope-from=lichengtai@gmail.com; helo=mail-ot1-x329.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) * gnu/packages/debug.scm (ddd): Update to 3.4.1. [source](origin): Add new patch to fix build. [arguments]<#:configure-flags>: Add explicit flag fir freetype include path. [native-inputs]: Add bison, flex and perl. [inputs]: Add freetype, libxaw, and libxft. * gnu/packages/patches/ddd-build.patch: New file. * gnu/local.mk: Register new file. Change-Id: Ic305cc0c7e15d0f0565f2adde514a43497e11f98 --- gnu/local.mk | 1 + gnu/packages/debug.scm | 18 ++++++++++-------- gnu/packages/patches/ddd-build.patch | 24 ++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 gnu/packages/patches/ddd-build.patch diff --git a/gnu/local.mk b/gnu/local.mk index ed630041ff..dbf8902cd1 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1127,6 +1127,7 @@ dist_patch_DATA = \ %D%/packages/patches/dbus-c++-gcc-compat.patch \ %D%/packages/patches/dbus-c++-threading-mutex.patch \ %D%/packages/patches/dbxfs-remove-sentry-sdk.patch \ + %D%/packages/patches/ddd-build.patch \ %D%/packages/patches/debops-constants-for-external-program-names.patch \ %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \ %D%/packages/patches/dee-vapi.patch \ diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index cc8e05746a..dd559c3faf 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -52,6 +52,7 @@ (define-module (gnu packages debug) #:use-module (gnu packages code) #:use-module (gnu packages compression) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gcc) #:use-module (gnu packages gdb) #:use-module (gnu packages glib) @@ -1006,23 +1007,24 @@ (define-public seer-gdb (define-public ddd (package (name "ddd") - (version "3.4.0") + (version "3.4.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/ddd/ddd-" version ".tar.gz")) + (patches (search-patches "ddd-build.patch")) (sha256 (base32 - "03sqsfiri5p130cmmzh2wikg0gisql496rvdhr1qaidh1f5bqk2x")))) + "12gfyh139rim49m56lxm36ckdyiiz4n3la3y6ik1aqgrqfk1fxdq")))) (build-system gnu-build-system) (arguments - (list #:tests? #f ;tests require manual intervention - ;; Avoid "friend declaration specifies default arguments and isn’t - ;; a definition" errors. - #:configure-flags #~(list "CXXFLAGS=-fpermissive"))) + (list #:tests? #f ;tests require manual intervention + #:configure-flags + #~(list (string-append "--with-freetype-includes=" + #$(this-package-input "freetype") "/include/freetype2")))) (native-inputs - (list pkg-config)) + (list pkg-config bison flex perl)) (inputs - (list motif ncurses gdb)) + (list libxaw libxft freetype motif ncurses gdb)) (synopsis "Graphical front-end for GDB and other debuggers") (description "GNU DDD, the Data Display Debugger, is a graphical front-end for command-line debuggers. Many back-end debuggers are supported, notably diff --git a/gnu/packages/patches/ddd-build.patch b/gnu/packages/patches/ddd-build.patch new file mode 100644 index 0000000000..d172e47168 --- /dev/null +++ b/gnu/packages/patches/ddd-build.patch @@ -0,0 +1,24 @@ +Index: ddd/Makefile.am +=================================================================== +--- old/ddd/Makefile.am (revision 7508) ++++ new/ddd/Makefile.am (working copy) +@@ -655,7 +655,7 @@ + LIBXFT = @XFT_LIBS@ -lfontconfig + + # Freetype2 headers +-XFTINCLUDE = @XFT_INCLUDE@ ++XFTINCLUDE = -I@XFT_INCLUDE@ + + # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu) + LIBXMU = @XMU_LIBS@ +--- old/ddd/Makefile.in (revision 7508) ++++ new/ddd/Makefile.in (working copy) +@@ -1307,7 +1307,7 @@ + LIBXFT = @XFT_LIBS@ -lfontconfig + + # Freetype2 headers +-XFTINCLUDE = @XFT_INCLUDE@ ++XFTINCLUDE = -I@XFT_INCLUDE@ + + # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu) + LIBXMU = @XMU_LIBS@ base-commit: 056910ec864cb7cf3225a0c27679d94405db7dcd -- 2.34.1 From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] this-package-input vs. propagated-inputs in package definition References: In-Reply-To: Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: help-guix@gnu.org, 73137@debbugs.gnu.org Received: via spool by 73137-submit@debbugs.gnu.org id=B73137.172590653419833 (code B ref 73137); Mon, 09 Sep 2024 18:29:02 +0000 Received: (at 73137) by debbugs.gnu.org; 9 Sep 2024 18:28:54 +0000 Received: from localhost ([127.0.0.1]:34129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snj8A-00059o-BE for submit@debbugs.gnu.org; Mon, 09 Sep 2024 14:28:54 -0400 Received: from mail-ua1-f44.google.com ([209.85.222.44]:56692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snj88-00059b-Hl for 73137@debbugs.gnu.org; Mon, 09 Sep 2024 14:28:53 -0400 Received: by mail-ua1-f44.google.com with SMTP id a1e0cc1a2514c-846bcf3677dso1280377241.1 for <73137@debbugs.gnu.org>; Mon, 09 Sep 2024 11:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail-com.20230601.gappssmtp.com; s=20230601; t=1725906463; x=1726511263; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SnryoQPPhPgW22JJB5+NM6yR/83AoMwyHQBagcTj2JA=; b=0ai8YweArTDhqv7ZE/eHoGiOyTtiFVcQp6s6eVJRqbfTV1Es+Z/HY7504O9nJAf1iX 3GYItxgW6ithFgglFDVF1w6oIldyTfmkdWjjAC54CsU0Fu4QIr2zTx3VOWeKAw2g62kD vPyFzDx8jSayFTX+kRN/V+/I6uCHgMPdHd+GR6FtFao067daiMpJPmw2832n31J6Kw4x Ou8JauPYk7v+Ms/jnBP9LB4/hof0vNWcAFBUgSTUPYXJ/PaPaYDk4h+2oyZR9bH9rLhp pYifqWBVQCPig2CN0bg7QpcglSlGowJCGng2EpXpePFJ5YBDYWhPL2VPfSKhDRDPdBe5 upTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725906463; x=1726511263; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SnryoQPPhPgW22JJB5+NM6yR/83AoMwyHQBagcTj2JA=; b=gvEFiZzAE7ROQ+KwKQmrsXFGf6j6UAK8+54Lnjj5QiwVvJ7WwlIDr7NGqaGUehhZuH /T08mxEMe5quNYNz3i42EpnWizATviBLzXMDdv5nsdL61ROTXzVjWEH78Aqti/J1ruhu 6OTpnJH5VdtQGM764/AmW8wt+2dD3108Sg2MVDRar2vIwu5D5yO4TKwTReN2IcMFiANk GeAAizjSOsO9lSE+WDgaw88m7NHbZ7bel/q0U2ibWn8FBYo2k8MjBx8RGelsa5Wcll1v lrowk8zN0JkrIn6yDKPo7MzPVe3TLYdDYTs2CigUeiaW9Xfih0AqY6xiaIdWgDtP9MxE ysAw== X-Forwarded-Encrypted: i=1; AJvYcCX/EaUrUUBwxX1SKPCi6oABNPh7m0omXbaE1xOcbZ+KRYRuZ++BSoOA6weM9jemflsYlFkepQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwwUVcVbSSCbK9YpSwoQA12/GvbxAl3MOjn85QpFkohsxXvSJrD DtpvDAp4kgrt7N+bPzNSR3RUuTcncTJewGGMkKDQAEdZ1JbU9lGIGIeX9rcLJI11GHcS5pmgTS3 rFIAtvx9qwdPc+QK7s7NG/+ppaFg= X-Google-Smtp-Source: AGHT+IFwVIStEX3QZR9NQtVJU7H3rMr2L/gtBh0/Ka8+ZfLAs9S3WACTmKeB4hPZmJ3RWfloLnm0VXfyM1RvuzzquEA= X-Received: by 2002:a05:6102:3ec6:b0:493:effa:e721 with SMTP id ada2fe7eead31-49bde2eabf3mr15043592137.27.1725906462920; Mon, 09 Sep 2024 11:27:42 -0700 (PDT) MIME-Version: 1.0 From: Andy Tai Date: Mon, 9 Sep 2024 11:27:07 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) A question on package definition (likely scope of guix-devel, but anyway posted here first): I have updated the definition of package ddd which has libxft as input. Libxft in turn has freefont as propagated-input. In the definition of ddd I tried to do (this-package-input "freefont") which returns #f. I had to add freefont as input to ddd to make this work. As propagated-input should be propagated, shall the addition of freefont as input to ddd be unneeded? From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] this-package-input vs. propagated-inputs in package definition Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Sep 2024 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andy Tai , help-guix@gnu.org, 73137@debbugs.gnu.org Received: via spool by 73137-submit@debbugs.gnu.org id=B73137.172595736921685 (code B ref 73137); Tue, 10 Sep 2024 08:37:02 +0000 Received: (at 73137) by debbugs.gnu.org; 10 Sep 2024 08:36:09 +0000 Received: from localhost ([127.0.0.1]:34817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snwM5-0005dc-36 for submit@debbugs.gnu.org; Tue, 10 Sep 2024 04:36:09 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:60425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snwM3-0005dN-Dn for 73137@debbugs.gnu.org; Tue, 10 Sep 2024 04:36:08 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42cae4eb026so28870295e9.0 for <73137@debbugs.gnu.org>; Tue, 10 Sep 2024 01:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725957297; x=1726562097; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=HDYtN5xcdT61pN/Ra47oyo1sMC0Fa+5NN7PvFmEEgAA=; b=J4PxWaQAvs99EKwScMuI14fVBwpjX5uDncDRGDctO4kzB62YY0yP6S3vFyY9PGx++z T3Vxp53l4bYZ9xB/RMiRSa2uoZ6QixY5FtHmtjhhjnH5CJ2RVS4W5iFWOAkdt+wz/MNo tb5iAOEGsDi6la5FQ1eLN4Wh+KqH6cP8Wp9yPmz2OgtqoDOify0vBadOowC9JzuVUXoD qJWKGA01sZYQiy2i9rZiSloNzBut09+9HSh5zYxBc213jv0bVGCRc8kWGxb+nlI+Zu4Q grTTnyTuc8vlqzXdflJXbWsR9dyagqR5Z51MpIEG9rV2P6wdHTseGnSI8thdIom1YMfo XTSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725957297; x=1726562097; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=HDYtN5xcdT61pN/Ra47oyo1sMC0Fa+5NN7PvFmEEgAA=; b=vZ+LWQ9fSIE3FBF+MLg6mPzNGAj6ysT8CzxUDhtU4F8P4YvG5JumWG4ozYTNG2cEQK 97hPU3LXJzOBUWQE7e3yuWle2MrACPfSSUEsKDm90iZCb6xopKWoRoHuLBdGyJriTDgl fa2k2N4fx7ST9nQzllnT5TFAsx+bGVPZn0lbxQEqrJIERuDQ4B9P0klQ1JUaQsqY+cc8 hRBq4FhjW+dNO78Rwbbos4VDiy+jk58rajx9aFIfNthOQPhz3nypL8eXSA4HT7aPSU4M 2jQW7yQVB7DWPJTrJ7w4YBw/S2CAbh+3R4AUatRIHqkKHp22hSonIacyfhUkI/iRV3X9 5EYw== X-Forwarded-Encrypted: i=1; AJvYcCW3seXElvrulPnQN2WHczGP7t4FXdFvUBd/2YZ/CbiS7KF7itzuuve5UryDxrjpLooRUxbgxg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyIuXeJG0BnnslhlfkyAeS9XxfykhYuiDCNaTDIYfbpCRThfH4n wQDXLVQ6tDr+foeWehBfRa1JSMfiQKGmvXUSRFYwLdjX1kXh98YbX8uYUA== X-Google-Smtp-Source: AGHT+IGp7x6pwF2FtkWR1LPRSlaDLdB6AG+PT6Q3mwzSsRsBLNePcHY1LbYOyM/5X8WX2RDPuHD6rw== X-Received: by 2002:a05:600c:154d:b0:42c:c080:7954 with SMTP id 5b1f17b1804b1-42cc0807cb9mr10505545e9.30.1725957296422; Tue, 10 Sep 2024 01:34:56 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:5ac1:7013:f8b9:fc1a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42cae117aeesm107427815e9.6.2024.09.10.01.34.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 01:34:55 -0700 (PDT) From: Simon Tournier In-Reply-To: References: Date: Mon, 09 Sep 2024 21:24:56 +0200 Message-ID: <87v7z4r5o7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Hi, On Mon, 09 Sep 2024 at 11:27, Andy Tai wrote: > I have updated the definition of package ddd which has libxft as > input. Libxft in turn has freefont as propagated-input. What do you mean by =E2=80=99freefont=E2=80=99? libxft reads: (propagated-inputs ;; xft.pc refers to all these. (list libxrender freetype fontconfig)) Cheers, simon From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] this-package-input vs. propagated-inputs in package definition Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Sep 2024 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Tournier Cc: help-guix@gnu.org, 73137@debbugs.gnu.org Received: via spool by 73137-submit@debbugs.gnu.org id=B73137.172598462915891 (code B ref 73137); Tue, 10 Sep 2024 16:11:01 +0000 Received: (at 73137) by debbugs.gnu.org; 10 Sep 2024 16:10:29 +0000 Received: from localhost ([127.0.0.1]:36653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so3Rk-00048F-Vz for submit@debbugs.gnu.org; Tue, 10 Sep 2024 12:10:29 -0400 Received: from mail-oo1-f43.google.com ([209.85.161.43]:55300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so3Ri-00047q-Pe for 73137@debbugs.gnu.org; Tue, 10 Sep 2024 12:10:27 -0400 Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-5d5f24d9df8so3133667eaf.2 for <73137@debbugs.gnu.org>; Tue, 10 Sep 2024 09:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail-com.20230601.gappssmtp.com; s=20230601; t=1725984556; x=1726589356; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3bOCjbDx783GWHOTydoA8mgWNtPbv+k/Y73b/l3amaw=; b=d8gv0/zACIH7rF1Vv24ZE+0Ifl0mlViDCid5eksb2Jqr+04ziXA7EuPi+HH4iQIwiy 0gDgWJW8UIJ3i+F1x/eHd8YaI64ZCiW6wv31q4XTok484Lc+yQyhv789KVdwxbStqc4b oHdpqvnkuBhf/7jPCtdxyNqELCyi+ddcA32qDfkokUifVugb+SUX6zTSPXiDHTF6yfCX dmfiKUCv3tcnGYoZPmGPBai/C+iLHBW56ejrVcyvZg0eUiTxRyQlJ9OTF9JgSJzpcoiy jieUib9Pl9c4Ejdwp/pahXWaCre87tPmovMAjMXGIpklMWnS2n/TWkGrRKc8aB8C3CM3 HHmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725984556; x=1726589356; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3bOCjbDx783GWHOTydoA8mgWNtPbv+k/Y73b/l3amaw=; b=vIRBlcEvEq2t9/v1tWp64z154NIN61EulDMR7/B5k4gXNpz2QEaXifJaO9+hRLiaRR wT1uaJ/i3uqtWuxEO3WePqUfc7fzxy63LKyK0rnTA7g6s0xctDWjOybNPhMxNq9g17XN AE+BW0wMiA9+dwpvcYOZyN+caPQ1ND7VXArpeU0yXIr/KtnQNJZdurFiwlpiKXC4Mw62 BZxHfduycSyhBPGT271H2tttpMVyhTnL9R/U93hGWMaG1iQL5zxiC7oDuRdpcNSNSX8U 3da+JBwZVFAdbcv7DyKzc9Wi8L9+L2TwU6YORywpwNPt7TjDdaJJxH4ydgnebKAsxl/W Lrlw== X-Forwarded-Encrypted: i=1; AJvYcCW0grDC0DHBfVx3gRPqEiyMkg5rSsfpGo7fBzDgqTfMpTESheyuR7XZVCKUGaLuN3ofJtrahw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwAgBGRHsDGfLlNv++nORw88TILpXMVlGlL8xMBES9/5pbs6qCO c8sWYRancSoeBKAgZCb4xcFhfsrzeYCFaHgtH3YUE0gFvS940d0h7YEQQkhnrgnxidqjb7+fAXu ThC8bGyq9EE+RyB3mFXPVYIFJVmQ= X-Google-Smtp-Source: AGHT+IF9GMveuhC3dqOhI/h/cxdTsdUfFXQG6dtJx+vHXqx0BCH2Hxrp0r5WyK3OVrQOsVlZtNsebNOMIWoCmHht5JQ= X-Received: by 2002:a05:6358:29d:b0:1ac:f839:e001 with SMTP id e5c5f4694b2df-1b8386ecfa7mr1029279855d.22.1725984555602; Tue, 10 Sep 2024 09:09:15 -0700 (PDT) MIME-Version: 1.0 References: <87v7z4r5o7.fsf@gmail.com> In-Reply-To: <87v7z4r5o7.fsf@gmail.com> From: Andy Tai Date: Tue, 10 Sep 2024 09:08:39 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Sorry I meant freetype On Tue, Sep 10, 2024 at 1:34=E2=80=AFAM Simon Tournier wrote: > > Hi, > > On Mon, 09 Sep 2024 at 11:27, Andy Tai wrote: > > > I have updated the definition of package ddd which has libxft as > > input. Libxft in turn has freefont as propagated-input. > > What do you mean by =E2=80=99freefont=E2=80=99? libxft reads: > > (propagated-inputs > ;; xft.pc refers to all these. > (list libxrender > freetype > fontconfig)) > > > Cheers, > simon From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] this-package-input vs. propagated-inputs in package definition Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Sep 2024 14:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andy Tai , help-guix@gnu.org, 73137@debbugs.gnu.org Received: via spool by 73137-submit@debbugs.gnu.org id=B73137.17262375327623 (code B ref 73137); Fri, 13 Sep 2024 14:26:01 +0000 Received: (at 73137) by debbugs.gnu.org; 13 Sep 2024 14:25:32 +0000 Received: from localhost ([127.0.0.1]:43923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp7Eq-0001yo-AB for submit@debbugs.gnu.org; Fri, 13 Sep 2024 10:25:32 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:46329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp7Eo-0001yG-5i for 73137@debbugs.gnu.org; Fri, 13 Sep 2024 10:25:31 -0400 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42cb1e623d1so21731095e9.0 for <73137@debbugs.gnu.org>; Fri, 13 Sep 2024 07:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726237455; x=1726842255; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=zDppjU/TuqJujXvsOEt/ivsUHmc2rAXuBasABfIlPw4=; b=Zhi9quIoNhxoAhxPWXr5LcHNmyleCcmlpxWTntxaO/EB4ic681oo04exCug6ZP9sjb AmOrptD6cM33TCokVHmSAUiWdyQ/djkCEaiS8pCTpW3Nfp0iItkaevVpzJ2q8ngEOtpE sNF3L58RNM7c27QcWZJYH0fr0xnc+i6472BM8VPxGrw0p1JFMVDWv0h++dM23vfXsD21 bIF9xBtroRCPkJRBT7HHproewduipSMEXPDeay5jSqouMZD+xwNIr1a+jB3eBK3HWEoG pX8gcCBFBnoXyDTlCt7Im4KYslj29BI/cVyXNu9P0GViM/tj9fHQ5of85qdtgb+DJPy4 wcSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726237455; x=1726842255; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=zDppjU/TuqJujXvsOEt/ivsUHmc2rAXuBasABfIlPw4=; b=cEZXSK9wsWrOeOF/pp0Oc/MMkcBCd4GCJaHL9741k3mNGiv+HI8dZrxwxc1bKNhFob ZaLRy2bIKNaCIfsbu+YFcjdaR1RGPtgl5UuThNCEPCvsZ4V7nI8qzaeZOC3ZWZHOkZNU H3z30b23MJrBRmxUF3er26wRd5xIQFHjlAJKi1dnn5szfR0YoWW3GgpQkL36njfnRPNt FPmyrJ2mJGJGJyYC00rScS/MWM+f3FMapc/v3GhsGqj/NyVSxWb8EsF4CDDgJcSYemPn pmYXa+P0CxPrHMk41RXMOf8ReIeX0PE1RlY42A6NTk24kt9XKNLSWfNeX5g6CITxBdJT 7nQw== X-Forwarded-Encrypted: i=1; AJvYcCV/DBeM8bFHFtYIu3Mw/jF7qZboVWJDTz59vir94AwfG1PIjkGBOq3MMe+dHnexFxdiv/G4RQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzfwIDmg4N8OH0+Yot1gGqiUSfREXmMqGxlBb8wgmeuOK0Fug/s Y113cvrlGdqX3fcmIYJpqUwvSX5Gr+HBarvPPR674/zV0SxDgirTb07v1w== X-Google-Smtp-Source: AGHT+IGLuxWHERvvRwvDPt5NoZIx3E4THMx3/zZ5PUxOwQmdVfomc3Mjf1LVQ3wD0dLPEX+z3dWpjA== X-Received: by 2002:a05:600c:19c8:b0:42c:b187:bde9 with SMTP id 5b1f17b1804b1-42cdb579f3cmr55127155e9.30.1726237455120; Fri, 13 Sep 2024 07:24:15 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-42.net.univ-paris-diderot.fr. [194.254.61.42]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42d9b15abc5sm27396795e9.17.2024.09.13.07.24.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 07:24:14 -0700 (PDT) From: Simon Tournier In-Reply-To: References: Date: Tue, 10 Sep 2024 19:14:44 +0200 Message-ID: <87ed5ra0sb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Mon, 09 Sep 2024 at 11:27, Andy Tai wrote: > A question on package definition (likely scope of guix-devel, but > anyway posted here first): > > I have updated the definition of package ddd which has libxft as > input. Libxft in turn has freefont as propagated-input. In the > definition of ddd I tried to do > > (this-package-input "freefont") > > which returns #f. I think that=E2=80=99s expected. =E2=80=99this-package-input=E2=80=99 sear= ches only in the list of =E2=80=99inputs=E2=80=99 and =E2=80=99propagated-inputs=E2=80=99 of the = package itself and not of the inputs. Somehow, it=E2=80=99s not recursive and =E2=80=9Cfreetype=E2=80=9D= is not an =E2=80=9Cinputs=E2=80=9D of the package ddd. BTW, I am not sure to understand what mean a propagated-inputs in the context of a build. I mean, it sounds at run-time, not build-time. No? Do I miss something? > I had to add freefont as input to ddd to make this work. BTW, for the package ddd, is freetype an input or also a propagated-input ? > As propagated-input should be propagated, shall the addition of > freefont as input to ddd be unneeded? Well, for sure, considering the current implementation, you cannot reach the propagated-inputs of the inputs using this-package-inputs. Cheers, simon From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] this-package-input vs. propagated-inputs in package definition Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Sep 2024 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Tournier Cc: help-guix@gnu.org, 73137@debbugs.gnu.org Received: via spool by 73137-submit@debbugs.gnu.org id=B73137.172651999130393 (code B ref 73137); Mon, 16 Sep 2024 20:54:01 +0000 Received: (at 73137) by debbugs.gnu.org; 16 Sep 2024 20:53:11 +0000 Received: from localhost ([127.0.0.1]:53426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqIid-0007u9-50 for submit@debbugs.gnu.org; Mon, 16 Sep 2024 16:53:11 -0400 Received: from mail-vs1-f54.google.com ([209.85.217.54]:55582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqIib-0007tu-Eb for 73137@debbugs.gnu.org; Mon, 16 Sep 2024 16:53:09 -0400 Received: by mail-vs1-f54.google.com with SMTP id ada2fe7eead31-49bcfbc78a6so1160518137.3 for <73137@debbugs.gnu.org>; Mon, 16 Sep 2024 13:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail-com.20230601.gappssmtp.com; s=20230601; t=1726519910; x=1727124710; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HZViH5HZwbUeL5AE5Qbz4hQfYg3GAdRP0UohgCe+Df0=; b=qRhQFTz34xVgzqp74Dnwk2NH0rC5Juf+qNQWs0IkTEGbHUkncrLhP3YeVNHaOgYxWU gvH5POIMmuRh8p9Ih23nAv5NeyUJW9hCkDJd149HESRDORbCdZWNf0L/7NmXZ7RnMpnv MWslvhzU9eta67Rr4Nr/uIIBqQnXVVBOiq2sHHivGq8n7GYPfszFcjNfjwLirrGbUpGR La8ph+Wl1qWA/r4g1jF9ZLPv3Fw11/AqO2LinVqdab/uyKge+HTEdztqlti6fKPoek1o H8Beo+k8SQOj2tUIXgrlEQhFIaVAG6N4f5mEhfi2Jb4uIMJ4TRip1y3qWEcYHYwfux/N GOtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726519910; x=1727124710; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HZViH5HZwbUeL5AE5Qbz4hQfYg3GAdRP0UohgCe+Df0=; b=o/tkbuoyelYyjDYodpZoHPYlhjF0SfAasQhY8V2FsVy+bZsvU2RasCjljdtt8YzjmW KxY7IZSz6KwfDj2z27j1JjcPjvuBInH1B2euW2u2mwSDZEZn74b8/XIC7pOsgWDeP+fA CcQWL5TjmAhO1C+MH3coqzaHzKCXb++nr6sa4ClZpSdw/hcmdS2zpCaktIVcdV+mfKlz qPYUWPP8Eon4OcV86ipDNBOeE9t+GPlgLLToz567qs6ORZ3D3a2mX1iCJ2vtjnj4HUMS zBszL/UP8ek/f/UsIgHpmnmP5fo2WH/YPJ5S+fanuhBm/lH6oDfpdVjliAIeLe6WG11s o5Bg== X-Forwarded-Encrypted: i=1; AJvYcCX9DiRCE7r3pfvWWhkxIl+ovCQi9Zi3AG7ttQ6P9FQRnOQOVzALaodbA6d/Fo2x4TkUpLBa5w==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyx8xV4G8l7y78M7cUzljQvi9hj+mmRXQfeM6Vd+QnTBAfgJmMP tTcr+AU4yzYsOMPK+rzxhY/Ly7pLoo8EqQNR06Txsbeale4XvsqropP+IKOKc+aPKcM3zAvhFcK JyrGw7uAIA03BIWq/bd4aDZvgql8= X-Google-Smtp-Source: AGHT+IEtLkUEutaxr2Xa2jFvqrye43+Edd0F/QPPBybRWaDc9wB8Np1Z1NaYLAWMOZbWewnod3TIhrvlv3iVfisAyY0= X-Received: by 2002:a05:6102:32c7:b0:492:aaae:835d with SMTP id ada2fe7eead31-49d4f462f96mr10203809137.0.1726519909999; Mon, 16 Sep 2024 13:51:49 -0700 (PDT) MIME-Version: 1.0 References: <87ed5ra0sb.fsf@gmail.com> In-Reply-To: <87ed5ra0sb.fsf@gmail.com> From: Andy Tai Date: Mon, 16 Sep 2024 13:51:13 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) OK I don't know if this is "implementation detail" or a bug, or is as intended, that >considering the current implementation, you cannot reach the propagated-in= puts of the inputs using this-package-inputs. (seems like a bug to me) Also, would the same package be in the input list and the propagated-input list be a problem? On Fri, Sep 13, 2024 at 7:24=E2=80=AFAM Simon Tournier wrote: > > I had to add freefont as input to ddd to make this work. > > BTW, for the package ddd, is freetype an input or also a > propagated-input ? From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] this-package-input vs. propagated-inputs in package definition Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Sep 2024 16:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andy Tai Cc: help-guix@gnu.org, 73137@debbugs.gnu.org Received: via spool by 73137-submit@debbugs.gnu.org id=B73137.172684869015385 (code B ref 73137); Fri, 20 Sep 2024 16:12:03 +0000 Received: (at 73137) by debbugs.gnu.org; 20 Sep 2024 16:11:30 +0000 Received: from localhost ([127.0.0.1]:36139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srgEE-000402-2H for submit@debbugs.gnu.org; Fri, 20 Sep 2024 12:11:30 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:58794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srgEB-0003zO-Bw for 73137@debbugs.gnu.org; Fri, 20 Sep 2024 12:11:28 -0400 Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-42cb2191107so18058655e9.1 for <73137@debbugs.gnu.org>; Fri, 20 Sep 2024 09:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726848602; x=1727453402; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=PLVyHqGuBNiqZJt6cONh9zppLb571hMxqmzhitZ/a9c=; b=Kfwa8l984i0oPFyNBg2XyNSMTxr7q3qdKrtSg/8jhqSMefxqyySVm1P84NZ594Xh21 tToRaQSFyJPenLOKwbqVzL64a8z8q/BebeKUWo7fJEbf0i2QOIVS0RQG2nBuK4nMx2t2 NfPm7G48jEHrIl9wLCJjh1XKOym8dqytTZJaBwhpf1mHE/Yc05GCManox1+kUUdbJ2ne B8dtnt1vaL5R021gd4jiUXeig3JIDj7bY+z2YKSPw9jl/oLbKRltrSjpVUHxcnQDRe5E PeLJAhvn1NGRQtYwVLSF24gw3q/Ein2inMYukEByzKqH/dEDK0fy1ltptJ1SB2ev9v8y kPcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726848602; x=1727453402; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PLVyHqGuBNiqZJt6cONh9zppLb571hMxqmzhitZ/a9c=; b=o5kzqt26Tdwrp4c/hHKtCv7N6YlNgNZiacWEL2fEPgiBU9Ze80DrkRItYoDyEgZf6Q ftejnd/Qn9+XBwfnzOVUo0CDSA3cSnmzuTPYIVVf9dBtGSd+51r9dczy4rxOkTlb/1RL MhV3VByxkTbxggRd21/mh7g+GWirDutFnreGt4yt4bxAIafVWSuaqd+8+MP5z/8giVLx el2bjT+6+nGO/eU/nEBpEgxCVafqf0Z0xPBeRR0Axrf1S0JqnCD/40EW0xdkLx2u4Jih pGcO7nZ/VTasdcTPU5+OKVJRK/s/l218GBEN6vKnZ6ccdecUUKiCz+A1OzT51T2sQDCN v5iw== X-Forwarded-Encrypted: i=1; AJvYcCXaCra/g/PSBQn+cLnB3f0HhoeRg7vjnVLzT7pczY/pNXJrxf9UIArozS0g+5jGpMMpvO5pMA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzg0vmR/f3JX/u56WSmhKRFXAt9OsHQbH1dZhC7o9TTyzlm4EdX OtOijK6mxpnlOUOVgTbuUdrlPgBYlTBNloMU6qV7x8yTnrvp4MDoR9TajA== X-Google-Smtp-Source: AGHT+IG2RwP65X6uQYn8LMnC4LhGSIvOlgHj7hwl7TNgfV8Z7tDP/O/hJgUKBBJ/GOpmDeo9zrQlWQ== X-Received: by 2002:a05:6000:188e:b0:374:c0c5:3c05 with SMTP id ffacd0b85a97d-37a4319ececmr2269984f8f.42.1726848602260; Fri, 20 Sep 2024 09:10:02 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e73e80c5sm17884567f8f.39.2024.09.20.09.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 09:10:01 -0700 (PDT) From: Simon Tournier In-Reply-To: References: <87ed5ra0sb.fsf@gmail.com> Date: Fri, 20 Sep 2024 16:52:22 +0200 Message-ID: <87ldzmtm1l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On lun., 16 sept. 2024 at 13:51, Andy Tai wrote: > OK I don't know if this is "implementation detail" or a bug, or is as > intended, that > >>considering the current implementation, you cannot reach the propagated-i= nputs of the inputs using this-package-inputs. > > (seems like a bug to me) I do not the see the bug. :-) Somehow =E2=80=99propagated-inputs=E2=80=99 i= s a run-time concept, when =E2=80=99this-package-input=E2=80=99 is a build-time concept. Roughly, building a package, seen as a functional view, you have to explicitly list all the inputs of the function. And there is no hidden input implicitly attached to one of these inputs. Somehow, from the point of the package, we list its dependencies and the package =E2=80=9Csees=E2=80=9D these dependencies. > Also, would the same package be in the input list and the > propagated-input list be a problem? Reading the entry for =E2=80=99propagated inputs=E2=80=99 in the Manual: Sometimes packages have =E2=80=9Cpropagated inputs=E2=80=9D: these are= dependencies that automatically get installed along with the required package (*note =E2=80=98propagated-inputs=E2=80=99 in =E2=80=98package=E2=80= =99 objects: package-propagated-inputs, for information about propagated inputs in package definitions). An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP=E2=80=94unless they had also been explicitly installed by the = user. https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-package and following the suggested link: Lastly, =E2=80=98propagated-inputs=E2=80=99 is similar to =E2=80= =98inputs=E2=80=99, but the specified packages will be automatically installed to profiles (*note the role of profiles in Guix: Features.) alongside the package they belong to (*note =E2=80=98guix package=E2=80=99: package-cmd-propagated-inputs, for information on how =E2=80=98gu= ix package=E2=80=99 deals with propagated inputs). For example this is necessary when packaging a C/C++ library that needs headers of another library to compile, or when a pkg-config file refers to another one via its =E2=80=98Requires= =E2=80=99 field. Another example where =E2=80=98propagated-inputs=E2=80=99 is usef= ul is for languages that lack a facility to record the run-time search path akin to the =E2=80=98RUNPATH=E2=80=99 of ELF files; this inc= ludes Guile, Python, Perl, and more. When packaging libraries written in those languages, ensure they can find library code they depend on at run time by listing run-time dependencies in =E2=80=98propagated-inputs=E2=80=99 rather than =E2=80=98inputs= =E2=80=99. https://guix.gnu.org/manual/devel/en/guix.html#package-Reference In other words, you put the package dependency under =E2=80=99inputs=E2=80= =99 and if the internal machinery is unable to correctly set the search path, then you have to manually move the dependency from =E2=80=99inputs=E2=80=99 to =E2=80=99propagated-inputs=E2=80=99. If freefont is required run-time by t= he package =E2=80=99ddd=E2=80=99 and if the machinery is unable to record search patch= , then yes freefont should be listed under propagated-inputs of =E2=80=99ddd=E2=80=99.= =20 Maybe I am missing something. HTH, simon From unknown Sat Jun 21 10:43:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73137] [PATCH v2] gnu: ddd: Update to 3.4.1. References: In-Reply-To: Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Sep 2024 02:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73137 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73137@debbugs.gnu.org Cc: Andy Tai Received: via spool by 73137-submit@debbugs.gnu.org id=B73137.172723172825974 (code B ref 73137); Wed, 25 Sep 2024 02:36:02 +0000 Received: (at 73137) by debbugs.gnu.org; 25 Sep 2024 02:35:28 +0000 Received: from localhost ([127.0.0.1]:33364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stHsF-0006kp-PV for submit@debbugs.gnu.org; Tue, 24 Sep 2024 22:35:28 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:49409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stHsC-0006kH-S7 for 73137@debbugs.gnu.org; Tue, 24 Sep 2024 22:35:26 -0400 Received: by mail-qt1-f171.google.com with SMTP id d75a77b69052e-45816db2939so42517841cf.3 for <73137@debbugs.gnu.org>; Tue, 24 Sep 2024 19:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727231633; x=1727836433; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=qpo4eG/NCU2xKCjdbBKlx+9Il/Xm5qsTloWyQPH9P94=; b=WQxYHzTsHj7yKTH5JymaGYxc3B0gs8c+b3DjG6auKPT61SeyQoONgdh/P0ZcYuw5a6 1faEaEiKjatZ1XJGeyK10NPJ0vn/yTMbBCsvwf+74Y21sfNy28N+haRHowRRXsAq5/WQ l4xBQD/lBovy783JoQrVE11I6/u7QtDr5ARmhKNC0D2PqENYe+odyFOeWKHCavR5m9cg XMIeVCmO4+6VkmPB8MM/NIi725KlDHihMTIeLKRg3/FTHuxxePm+CaHJ+kgADgYdz40P 8PxG3HRV91en0ifgQ+VEagw7pgMD9GRlxs1mskkMdvkPnJPBLNTgqZLHi9S1BXHEJ8kO xnUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727231633; x=1727836433; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qpo4eG/NCU2xKCjdbBKlx+9Il/Xm5qsTloWyQPH9P94=; b=IyrkCDixXDHJLlnxRNbziXJjm1KzZchTho7ymUHjvGrSsx7kdZ00muhjdircpCOZ3B PnPiUzi5nIXlRGlFXqYJEBppCzzqIE6cINYP9lxdAtdlsdp7YtOHQkUCUNo8Z3NwQpvN +WEiF7y534jyCpLTzqx61lqM4uEMDb1WqdSoxEvnjoW5VNgIMzzZQA0rjLDywAfq+pAN gVDnZnxRtefAc6uTXV/EBCF0cGGGeUNcVf5Y8F1GZhFP1/OsO0O0akNcFwXjypQUdPKc tV5y26lId+XvnxgVp2yofbMOM2b5YG/08F2KjKXkf2xeRVf43199gJcVZzeAH0f526If c9jg== X-Gm-Message-State: AOJu0Yy9ZG9us6IM+Vfzn48+FxYUGbJnj5DO+xz1jbBA2gyyPWkB3Y3L m4eG+VNWa2F77ZeDkWTVXVWG2NCgC2H2uSw3759+WcEszdJwv07grbd7lw== X-Google-Smtp-Source: AGHT+IGFnh0+FOB+tuAIGSVbE2aiKSFrvhxjHTr0eQ86G5KTVReLLE+sKxNIBaZHl2UGepY5Mh/nCw== X-Received: by 2002:a05:6a20:c507:b0:1d4:e4c9:99d with SMTP id adf61e73a8af0-1d4e4c909c8mr178319637.7.1727231188066; Tue, 24 Sep 2024 19:26:28 -0700 (PDT) Received: from DEskMiniX300.. ([38.84.157.61]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71afc938e00sm1790497b3a.127.2024.09.24.19.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2024 19:26:27 -0700 (PDT) From: Andy Tai Date: Tue, 24 Sep 2024 19:26:25 -0700 Message-Id: <9adbf31b6d3b528e1ce9286483f77996c221a848.1727231148.git.atai@atai.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) * gnu/packages/debug.scm (ddd): Update to 3.4.1. [source](origin): Add new patch to fix build. [arguments]<#:configure-flags>: Add explicit flag fir freetype include path. [native-inputs]: Add bison, flex and perl. [inputs]: Add freetype, libxaw, and libxft. * gnu/packages/patches/ddd-build.patch: New file. * gnu/local.mk: Register new file. Change-Id: Ic305cc0c7e15d0f0565f2adde514a43497e11f98 --- gnu/local.mk | 1 + gnu/packages/debug.scm | 18 ++++++++++-------- gnu/packages/patches/ddd-build.patch | 24 ++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 gnu/packages/patches/ddd-build.patch diff --git a/gnu/local.mk b/gnu/local.mk index 795ff822a4..29631b0a41 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1129,6 +1129,7 @@ dist_patch_DATA = \ %D%/packages/patches/dbus-c++-gcc-compat.patch \ %D%/packages/patches/dbus-c++-threading-mutex.patch \ %D%/packages/patches/dbxfs-remove-sentry-sdk.patch \ + %D%/packages/patches/ddd-build.patch \ %D%/packages/patches/debops-constants-for-external-program-names.patch \ %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \ %D%/packages/patches/dee-vapi.patch \ diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index b8ddafaba6..526d5d408a 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -52,6 +52,7 @@ (define-module (gnu packages debug) #:use-module (gnu packages code) #:use-module (gnu packages compression) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gcc) #:use-module (gnu packages gdb) #:use-module (gnu packages glib) @@ -1006,23 +1007,24 @@ (define-public seer-gdb (define-public ddd (package (name "ddd") - (version "3.4.0") + (version "3.4.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/ddd/ddd-" version ".tar.gz")) + (patches (search-patches "ddd-build.patch")) (sha256 (base32 - "03sqsfiri5p130cmmzh2wikg0gisql496rvdhr1qaidh1f5bqk2x")))) + "12gfyh139rim49m56lxm36ckdyiiz4n3la3y6ik1aqgrqfk1fxdq")))) (build-system gnu-build-system) (arguments - (list #:tests? #f ;tests require manual intervention - ;; Avoid "friend declaration specifies default arguments and isn’t - ;; a definition" errors. - #:configure-flags #~(list "CXXFLAGS=-fpermissive"))) + (list #:tests? #f ;tests require manual intervention + #:configure-flags + #~(list (string-append "--with-freetype-includes=" + #$(this-package-input "freetype") "/include/freetype2")))) (native-inputs - (list pkg-config)) + (list pkg-config bison flex perl)) (inputs - (list motif ncurses gdb)) + (list libxaw libxft freetype motif ncurses gdb)) (synopsis "Graphical front-end for GDB and other debuggers") (description "GNU DDD, the Data Display Debugger, is a graphical front-end for command-line debuggers. Many back-end debuggers are supported, notably diff --git a/gnu/packages/patches/ddd-build.patch b/gnu/packages/patches/ddd-build.patch new file mode 100644 index 0000000000..d172e47168 --- /dev/null +++ b/gnu/packages/patches/ddd-build.patch @@ -0,0 +1,24 @@ +Index: ddd/Makefile.am +=================================================================== +--- old/ddd/Makefile.am (revision 7508) ++++ new/ddd/Makefile.am (working copy) +@@ -655,7 +655,7 @@ + LIBXFT = @XFT_LIBS@ -lfontconfig + + # Freetype2 headers +-XFTINCLUDE = @XFT_INCLUDE@ ++XFTINCLUDE = -I@XFT_INCLUDE@ + + # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu) + LIBXMU = @XMU_LIBS@ +--- old/ddd/Makefile.in (revision 7508) ++++ new/ddd/Makefile.in (working copy) +@@ -1307,7 +1307,7 @@ + LIBXFT = @XFT_LIBS@ -lfontconfig + + # Freetype2 headers +-XFTINCLUDE = @XFT_INCLUDE@ ++XFTINCLUDE = -I@XFT_INCLUDE@ + + # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu) + LIBXMU = @XMU_LIBS@ base-commit: 3ac69c1a757430d6dfdd37eb948ba1d6967967cc -- 2.34.1 From unknown Sat Jun 21 10:43:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Andy Tai Subject: bug#73137: closed (Re: [bug#73137] [PATCH v2] gnu: ddd: Update to 3.4.1.) Message-ID: References: <87o73zriop.fsf@gnu.org> X-Gnu-PR-Message: they-closed 73137 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 73137@debbugs.gnu.org Date: Fri, 04 Oct 2024 15:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1728055742-16074-1" This is a multi-part message in MIME format... ------------=_1728055742-16074-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73137: [PATCH] gnu: ddd: Update to 3.4.1. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 73137@debbugs.gnu.org. --=20 73137: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73137 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1728055742-16074-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73137-done) by debbugs.gnu.org; 4 Oct 2024 15:28:54 +0000 Received: from localhost ([127.0.0.1]:36247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkEf-0004Ax-Sw for submit@debbugs.gnu.org; Fri, 04 Oct 2024 11:28:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkEd-0004Ag-K9 for 73137-done@debbugs.gnu.org; Fri, 04 Oct 2024 11:28:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swkET-00050r-JP; Fri, 04 Oct 2024 11:28:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=3imsmdw567t2Qpxb79Yq/9bN6OG1OAPZiH0CHrARfFo=; b=jxxveMWqZIK5K7h74IE0 M/XPLkocQw8BkpnHV3TqO1buyCbPDrpHv7XXjsNQJ+hDijZe8ZxPIrt5gM+OR8Gp5bwebr3aSr8Ae jg8ibbyDtY8/CvsDHrAOCknigPaKN88H35Arp2Ec9KBO3V7d4iGzHy7KzYuFMGbMsMaGdRAM9MPyR pnAPiSZ2qkGyvaYiwK+u7qJ5yiBLythavagunKkzWTVcCd7mvG6yejwn34TH/ClnaEw4ITdzZs6qm 9rkSooT9kuf9+m605Tum8ARrp0X8szT259wj/ZXigZeeNs6O8YQ7P/naZu7QjYTGnHI/Q0sOCsCv7 puWg9KlIuNdkCw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andy Tai Subject: Re: [bug#73137] [PATCH v2] gnu: ddd: Update to 3.4.1. In-Reply-To: <9adbf31b6d3b528e1ce9286483f77996c221a848.1727231148.git.atai@atai.org> (Andy Tai's message of "Tue, 24 Sep 2024 19:26:25 -0700") References: <9adbf31b6d3b528e1ce9286483f77996c221a848.1727231148.git.atai@atai.org> Date: Fri, 04 Oct 2024 17:28:38 +0200 Message-ID: <87o73zriop.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73137-done Cc: 73137-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Andy Tai skribis: > * gnu/packages/debug.scm (ddd): Update to 3.4.1. > [source](origin): Add new patch to fix build. > [arguments]<#:configure-flags>: Add explicit flag fir freetype > include path. > [native-inputs]: Add bison, flex and perl. > [inputs]: Add freetype, libxaw, and libxft. > * gnu/packages/patches/ddd-build.patch: New file. > * gnu/local.mk: Register new file. > > Change-Id: Ic305cc0c7e15d0f0565f2adde514a43497e11f98 Applied after adding a comment at the top of the patch (see below), as suggested by =E2=80=98guix lint=E2=80=99. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/patches/ddd-build.patch b/gnu/packages/patches/ddd-build.patch index d172e47168..5db2833504 100644 --- a/gnu/packages/patches/ddd-build.patch +++ b/gnu/packages/patches/ddd-build.patch @@ -1,5 +1,5 @@ -Index: ddd/Makefile.am -=================================================================== +Add missing '-I' flag. + --- old/ddd/Makefile.am (revision 7508) +++ new/ddd/Makefile.am (working copy) @@ -655,7 +655,7 @@ --=-=-=-- ------------=_1728055742-16074-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Sep 2024 06:37:57 +0000 Received: from localhost ([127.0.0.1]:60551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snY28-0000rK-JD for submit@debbugs.gnu.org; Mon, 09 Sep 2024 02:37:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:52234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snY26-0000rB-Hj for submit@debbugs.gnu.org; Mon, 09 Sep 2024 02:37:55 -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 1snY22-0003EM-3y for guix-patches@gnu.org; Mon, 09 Sep 2024 02:37:50 -0400 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1snY1x-0005jq-BT for guix-patches@gnu.org; Mon, 09 Sep 2024 02:37:48 -0400 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-7094641d4e6so1882489a34.3 for ; Sun, 08 Sep 2024 23:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725863864; x=1726468664; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=mbD4IJY5WrPVnNt9h3SDwK3CZ+0mepcfoZRylYLfPAw=; b=gOpNu3cIzGDtpRAC4ijhZjSQ/rOQu+xy4J9KMpONWChkx399XNcgE45etxR8bW9q1f g7PZY6nhWtTqTK0sRk0FgHSxBtyO3IBZhli+LAaQsLGJZTrOL8tyVqNpg+KC7QJVHAUC MTuw+zrIQWmpYFt289W3/vdlBV2f/8Gj5og/R83MyWvwEo1oEyqo9SaDLBvr7DeiuC1N PKbfWedo72A/PEGaZYAwcmgLMBHGQoSu6ReEEPFqjh5g+INeamVMSycsQAkm1ARa7/5z jy7vxUVQ5GHNKk4tygWcI8RgefqrfFhd/Bn43wvSCw2jtX+yPZMHDyGaX4hoX7ghcoUp dpWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725863864; x=1726468664; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mbD4IJY5WrPVnNt9h3SDwK3CZ+0mepcfoZRylYLfPAw=; b=MZrakrgFe5hrmQHXwNUCj5VdN4CrbKzVHVydix3baVg1IkSjP9ssQLLRu7mB83M6Dv 5DNESmkGrR00Enqijn941KSjMojOfMXyRl01dfdMJXsJ/encNIrLj6kBB//gnkIiZHva 1pLSwgWHpoPfacmKgD/ztZAN/xbK7F2x+4P/dCNpKTbMg1w45GANZYKqTuZ1BTq3mQ+N 8rYxgF8Yc9H6asSJvVi++/DjERqSVeEC7pTb109bTpzdB1/fqy87S+C5t4UpabQxVfdr TzHm/c7EVtib91oRgs94dJHVsIhgU7JjdqppsOHylndFzBIvfnlZclv5Jbu18pov43z4 QCQw== X-Gm-Message-State: AOJu0YywfC59/WNR1skZ9Np+7KCP96KfalPvhPpgXGinvOqDwIoCIzGK TYwCfbVLygyRVopJucFnSy2j9K71ClSSwblrAllS5I/OBaQTB8ShTJ86WQ== X-Google-Smtp-Source: AGHT+IEGLkgwEMZgS/NwD7l1NjlASLpZ2q6fVe7/8j510bjjrkZhiqJZaEj750QgoInRuxwcUYsDAA== X-Received: by 2002:a05:6359:7c1f:b0:1b5:ffce:b2a0 with SMTP id e5c5f4694b2df-1b8385b2c19mr1344141455d.6.1725863863423; Sun, 08 Sep 2024 23:37:43 -0700 (PDT) Received: from DEskMiniX300.. ([38.84.157.61]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-718e5991652sm2877140b3a.217.2024.09.08.23.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Sep 2024 23:37:42 -0700 (PDT) From: Andy Tai To: guix-patches@gnu.org Subject: [PATCH] gnu: ddd: Update to 3.4.1. Date: Sun, 8 Sep 2024 23:37:40 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::329; envelope-from=lichengtai@gmail.com; helo=mail-ot1-x329.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Andy Tai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) * gnu/packages/debug.scm (ddd): Update to 3.4.1. [source](origin): Add new patch to fix build. [arguments]<#:configure-flags>: Add explicit flag fir freetype include path. [native-inputs]: Add bison, flex and perl. [inputs]: Add freetype, libxaw, and libxft. * gnu/packages/patches/ddd-build.patch: New file. * gnu/local.mk: Register new file. Change-Id: Ic305cc0c7e15d0f0565f2adde514a43497e11f98 --- gnu/local.mk | 1 + gnu/packages/debug.scm | 18 ++++++++++-------- gnu/packages/patches/ddd-build.patch | 24 ++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 gnu/packages/patches/ddd-build.patch diff --git a/gnu/local.mk b/gnu/local.mk index ed630041ff..dbf8902cd1 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1127,6 +1127,7 @@ dist_patch_DATA = \ %D%/packages/patches/dbus-c++-gcc-compat.patch \ %D%/packages/patches/dbus-c++-threading-mutex.patch \ %D%/packages/patches/dbxfs-remove-sentry-sdk.patch \ + %D%/packages/patches/ddd-build.patch \ %D%/packages/patches/debops-constants-for-external-program-names.patch \ %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \ %D%/packages/patches/dee-vapi.patch \ diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index cc8e05746a..dd559c3faf 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -52,6 +52,7 @@ (define-module (gnu packages debug) #:use-module (gnu packages code) #:use-module (gnu packages compression) #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gcc) #:use-module (gnu packages gdb) #:use-module (gnu packages glib) @@ -1006,23 +1007,24 @@ (define-public seer-gdb (define-public ddd (package (name "ddd") - (version "3.4.0") + (version "3.4.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/ddd/ddd-" version ".tar.gz")) + (patches (search-patches "ddd-build.patch")) (sha256 (base32 - "03sqsfiri5p130cmmzh2wikg0gisql496rvdhr1qaidh1f5bqk2x")))) + "12gfyh139rim49m56lxm36ckdyiiz4n3la3y6ik1aqgrqfk1fxdq")))) (build-system gnu-build-system) (arguments - (list #:tests? #f ;tests require manual intervention - ;; Avoid "friend declaration specifies default arguments and isn’t - ;; a definition" errors. - #:configure-flags #~(list "CXXFLAGS=-fpermissive"))) + (list #:tests? #f ;tests require manual intervention + #:configure-flags + #~(list (string-append "--with-freetype-includes=" + #$(this-package-input "freetype") "/include/freetype2")))) (native-inputs - (list pkg-config)) + (list pkg-config bison flex perl)) (inputs - (list motif ncurses gdb)) + (list libxaw libxft freetype motif ncurses gdb)) (synopsis "Graphical front-end for GDB and other debuggers") (description "GNU DDD, the Data Display Debugger, is a graphical front-end for command-line debuggers. Many back-end debuggers are supported, notably diff --git a/gnu/packages/patches/ddd-build.patch b/gnu/packages/patches/ddd-build.patch new file mode 100644 index 0000000000..d172e47168 --- /dev/null +++ b/gnu/packages/patches/ddd-build.patch @@ -0,0 +1,24 @@ +Index: ddd/Makefile.am +=================================================================== +--- old/ddd/Makefile.am (revision 7508) ++++ new/ddd/Makefile.am (working copy) +@@ -655,7 +655,7 @@ + LIBXFT = @XFT_LIBS@ -lfontconfig + + # Freetype2 headers +-XFTINCLUDE = @XFT_INCLUDE@ ++XFTINCLUDE = -I@XFT_INCLUDE@ + + # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu) + LIBXMU = @XMU_LIBS@ +--- old/ddd/Makefile.in (revision 7508) ++++ new/ddd/Makefile.in (working copy) +@@ -1307,7 +1307,7 @@ + LIBXFT = @XFT_LIBS@ -lfontconfig + + # Freetype2 headers +-XFTINCLUDE = @XFT_INCLUDE@ ++XFTINCLUDE = -I@XFT_INCLUDE@ + + # X Miscellaneous Utilities needed for Athena and Motif >= 2.0 (lXmu) + LIBXMU = @XMU_LIBS@ base-commit: 056910ec864cb7cf3225a0c27679d94405db7dcd -- 2.34.1 ------------=_1728055742-16074-1--