From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YFQHA/qbrF5wEgAA0tVLHw (envelope-from ) for ; Fri, 01 May 2020 22:00:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cGpsBAOcrF4tBAAAB5/wlQ (envelope-from ) for ; Fri, 01 May 2020 22:00:35 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 3875F942D7B for ; Fri, 1 May 2020 22:00:34 +0000 (UTC) Received: from localhost ([::1]:54784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUdhy-0002Su-8V for larch@yhetil.org; Fri, 01 May 2020 18:00:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUdhV-0002PH-LK for guix-patches@gnu.org; Fri, 01 May 2020 18:00:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUdhT-00076Y-Aj for guix-patches@gnu.org; Fri, 01 May 2020 18:00:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUdhS-000761-Sb for guix-patches@gnu.org; Fri, 01 May 2020 18:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUdhS-00005F-Pi for guix-patches@gnu.org; Fri, 01 May 2020 18:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41013] [PATCH] Add gccmakedep util Resent-From: Jean-Baptiste Note Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 May 2020 22:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41013@debbugs.gnu.org X-Debbugs-Original-To: guixpatch Received: via spool by submit@debbugs.gnu.org id=B.158837036832692 (code B ref -1); Fri, 01 May 2020 22:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 May 2020 21:59:28 +0000 Received: from localhost ([127.0.0.1]:50828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUdgs-0008VA-NT for submit@debbugs.gnu.org; Fri, 01 May 2020 17:59:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:38444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUcfG-0006k0-4r for submit@debbugs.gnu.org; Fri, 01 May 2020 16:53:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUcfD-0002DT-M6 for guix-patches@gnu.org; Fri, 01 May 2020 16:53:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUcfB-0005VH-CH for guix-patches@gnu.org; Fri, 01 May 2020 16:53:39 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:52005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUcfA-0005V4-UJ for guix-patches@gnu.org; Fri, 01 May 2020 16:53:37 -0400 Received: by mail-wm1-x335.google.com with SMTP id x4so1029752wmj.1 for ; Fri, 01 May 2020 13:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:user-agent:mime-version; bh=cg/G4OB1gPhoRASJNVwUpAquc+O170cW1J+zV4CSqXY=; b=BExdNvIWg2Ko+c9OnC07KYzOACKYJx7F2NNXbB49/ghd/QvUYBnCC1hLc45AC8PV56 ynNlWYTU7EDwwUfQiK5uiIba+7l6BYwU+/ce2PL9xRSVxSGKBtA5LfJsxMCnH7uvGcIF ywlVDgBlXvz+uyMnJMXn96qK+aqHHSZU6tPUIoTJ1NQ2mCgP3rkqSCi5PL/9Ht61Jr5y tuuWumkfQ7VL1VmBOQQwtwP4eLm2Jr86ics1CzVgkQ/z05McAZt8SEA/QtooNSmbAmHt +Rnjd99h+Ll9Ro2wWEk9XZTrtGS+YTwbbjhziFp0gMAH87AuTOk2RqxWe67nAHv5oHO5 xcXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :user-agent:mime-version; bh=cg/G4OB1gPhoRASJNVwUpAquc+O170cW1J+zV4CSqXY=; b=TrxIqplhzQbXDCY3V3Zb6ZLt5mrT04QJRYxDkRw4lUqX9kvQdnzQN0HnEndYAYsO6F lGngLf87Qx0BBtt3KsafQU3uQvxhCBQCwTcqEtIh71p2vpxA74gAovcTUgNrsuTPkhdr dl40AYPg00kyFsbUXmBayw0/ty49hLRKPNVuMl1w1WQiQSJneApn5xKdZ6x7PNypNN7f Wj4Gbij4wpCjfA5YnEEyBqS5o312bv6H1NeGpyGhe+cMebFf9zZbsfiZ2lwbQZpGOLGX jNYXxinGXQOVNFtMrXYdZQJdLSZTPEBVAr/zXZPxQgz5u8hGa9PTnxOvSzmFhtAZieeh 6q1g== X-Gm-Message-State: AGi0PuYO//u45a0nFGB0Vi+jGbTZKp20ZvDi/JkMfUvRtVDazyqRMvmi mHrA0bfEJ7+DgMCaYgGW+HC9A2bRegQ= X-Google-Smtp-Source: APiQypIE8CK3yYPCvmzP0HqKLIA3b/tMfm3Ex6usXKm0BWUsHSwUXDAl4xkhYEOcFlX8WAk3iFSXaQ== X-Received: by 2002:a1c:3985:: with SMTP id g127mr1345479wma.102.1588366414573; Fri, 01 May 2020 13:53:34 -0700 (PDT) Received: from guixrules ([2a01:e35:2e0b:a6b0:e2ce:c3ff:fe74:cec8]) by smtp.gmail.com with ESMTPSA id y10sm1001274wma.5.2020.05.01.13.53.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 May 2020 13:53:33 -0700 (PDT) From: Jean-Baptiste Note Date: Fri, 01 May 2020 20:53:25 +0000 Message-ID: <87d07nbcmy.fsf@m4x.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=jbnote@gmail.com; helo=mail-wm1-x335.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Mailman-Approved-At: Fri, 01 May 2020 17:59:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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" X-Scanner: scn0 X-Spam-Score: -2.11 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=BExdNvIW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-2.11 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49541192171535]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_TWELVE(0.00)[13]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.16), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DKIM_TRACE(0.00)[gmail.com:-]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:+,5:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[jean-baptiste.note@m4x.org,guix-patches-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[gitlab.freedesktop.org:url,m4x.org:email]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain,text/x-patch]; DMARC_NA(0.00)[m4x.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: q2i66lU5nP2z --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Dear Guix maintainers, I'm attempting to package x2go, and gccmakedep from the xorg utils is required for the build. This is therefore an attempt to package it -- so as to be able to use it as native-input -- even though it is a deprecated tool. There are two flavors of the patch: - a -tar version which relies on a standard xorg mirror for download, and does not need the maintainer tools to build. Unfortunately guix lint reports a problem in that the tarball is not mirrored on software heritage. - a -git version which is a bit more convoluted to build (requires maintainer tools as native-inputs: autoconf, automake, xorg macros), but with no failure in guix lint. Please also note that /some/ elements from this xorg subdirectory are prefixed with util- -- i've chosen not to include it here. Please pick your choose, and let me know how to proceed! Kind regards, Jean-Baptiste --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-xorg-Add-gccmakedep-git.patch Content-Transfer-Encoding: quoted-printable Content-Description: gccmakedep git version From=20900a831cc775ab35b1d728da2a06d69c5c03b838 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Fri, 1 May 2020 14:15:07 +0000 Subject: [PATCH] xorg: Add gccmakedep. * gnu/packages/xorg.scm (gccmakedep): New variable. =2D-- gnu/packages/xorg.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 80158b1cab..7ef09aca51 100644 =2D-- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -6562,3 +6562,37 @@ Thai).") a configuration file reusable by xcursorgen.") (home-page "https://github.com/eworm-de/xcur2png") (license license:gpl3+))) + +(define-public gccmakedep + (let ((commit "5787c2f5459e19bb7206c98116dbdec54da7bcc0") + (revision "1")) + (package + (name "gccmakedep") + (version (git-version "1.0.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/xorg/util/gccmakedep.g= it") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "034gp7b1f625gr1991ynkf2fj6lrg0k4980fpq655i3rzhdnjznm"))= )) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ + (setenv "NOCONFIGURE" "t") + (invoke "sh" "autogen.sh")))))) + (native-inputs + `(("util-macros" ,util-macros) + ("autoconf" ,autoconf) + ("automake" ,automake))) + (synopsis "Create dependencies in makefiles using 'gcc -M'") + (description + "The gccmakedep program calls 'gcc -M' to output makefile rules +describing the dependencies of each sourcefile, so that make knows which +object files must be recompiled when a dependency has changed.") + (home-page "https://gitlab.freedesktop.org/xorg/util/gccmakedep") + (license license:x11)))) =2D-=20 2.26.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-xorg-Add-gccmakedep-tar.patch Content-Transfer-Encoding: quoted-printable Content-Description: gccmakedep tarball version From=2092a05aa14cd74f2d5a4faa62cc34b29c5cc79c18 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Fri, 1 May 2020 14:15:07 +0000 Subject: [PATCH] xorg: Add gccmakedep. * gnu/packages/xorg.scm (gccmakedep): New variable. =2D-- gnu/packages/xorg.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 80158b1cab..738e98164e 100644 =2D-- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -6562,3 +6562,23 @@ Thai).") a configuration file reusable by xcursorgen.") (home-page "https://github.com/eworm-de/xcur2png") (license license:gpl3+))) + +(define-public gccmakedep + (package + (name "gccmakedep") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://xorg/individual/util/gccmakedep-" + version ".tar.bz2")) + (sha256 + (base32 "1r1fpy5ni8chbgx7j5sz0008fpb6vbazpy1nifgdhgijyzqxqxdj")))) + (build-system gnu-build-system) + (synopsis "Create dependencies in makefiles using 'gcc -M'") + (description + "The gccmakedep is a deprecated program which calls 'gcc -M' to output +makefile rules describing the dependencies of each sourcefile, so that make +knows which object files must be recompiled when a dependency has changed.= ") + (home-page "https://gitlab.freedesktop.org/xorg/util/gccmakedep") + (license license:x11))) =2D-=20 2.26.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPxcq3dp4FVY5UpckkC0pVsuz75YFAl6sjEUACgkQkC0pVsuz 75YVZw//YpQNLCLfd2YDkl+iRV9qElCAmkh92Do+W0CRHMmr99zLVL5092aajT1S wAviCGpbI1agjBrRxnMcWtk6vKhqQIfR0LI2eugoR2AUfNY6S4MlN9vDAZIHBvvb b3AsgFjruvTKTd92OVHmlpFjFd40xthEx05DYSJgBHeGNB04vcB57rxDB3bWhJcQ K3zOKUeSoP3+Aynd1hDbmHc+3RHd56w0THSH/WhnQMoIlCQ9AIKjyMEvv5fPSp0S QWiDEnT1f4jZ2v3GogDtWFdffh1WVoP7ztlTmcWyMDol/OAQfPucLwp5V4Cowwva 2FYO7rVFkTvl0a4+bsummK587uJKaGU5fp5FgdY9sQ4HhFbS2lbHes6/Z97Oe+aZ xVfYZYoFK95bbfjrZ/XJpd5WNUZCABt+MdekE6kh+NQebzCSHjbC+BUQt87+F9Of BNrrtfXbQNqBwnkz12QAzg5+Zuktdv6Xi7lsX+tl1ixIDolR45S9PKbIF7I3jNZQ 6sVncrprJIWNjuSsS2ZlUaIcztT/THNG/nNVgK9BNJdY/7NQQ5JquwbxkSwycSof YEgTuD/DH75ikuqdrasFYn2zXyppAaPiuSix1wxj5vdSaPL5+k+Aft86ZZU4SrOf 20pZXbL0me6a3ZYFDwtgLK/Gigc4iE5r51IfNLNroQSJWSsAjcc= =zFR1 -----END PGP SIGNATURE----- --==-=-=--