From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id pgDtIGxMUmH/9QAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 00:57:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aEHqG2xMUmF6YgAAbx9fmQ (envelope-from ) for ; Mon, 27 Sep 2021 22:57:48 +0000 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 0BB792E642 for ; Tue, 28 Sep 2021 00:57:48 +0200 (CEST) Received: from localhost ([::1]:55990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUzZD-0004Na-7s for larch@yhetil.org; Mon, 27 Sep 2021 18:57:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUzYq-0004Lh-2u for help-guix@gnu.org; Mon, 27 Sep 2021 18:57:24 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:36233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUzYl-0001O3-SH for help-guix@gnu.org; Mon, 27 Sep 2021 18:57:23 -0400 Date: Mon, 27 Sep 2021 22:57:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1632783437; bh=mQYmbO0JhO26fJhWO9V/LivlVt1LP+49kq+s8MWsD+c=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=W+i10b3gjCxC4RDxanPS8W2GpPiwCnpOS6hMcJR7goj8L3JhMny1LLt+ZQBmAJxcB LEW/PrnDv0wPOqfIvsA0UDb+r4BLbke3KYNV7RCMPQcZdHgRi/5RIuA3oMAAi1aYwR j5Nnvqt3+EpAbULtQ0GxtglPrHT9Pb3ncLmNmjXk= To: Guillaume Le Vaillant From: phodina Cc: help-guix@gnu.org Subject: Re: Apply patch to read-only file Message-ID: In-Reply-To: <87mto07sl0.fsf@kitej> References: <87mto07sl0.fsf@kitej> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=phodina@protonmail.com; helo=mail2.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632783468; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mQYmbO0JhO26fJhWO9V/LivlVt1LP+49kq+s8MWsD+c=; b=Q6TOaT92ho7dsQ5qUxb12XcLaUJAHhg1JvP6BK8E3L1eQDlvrei8y3iEwWh00RuVfRFmbB 6hFzCQ2UauJMc37yuEtBye7q1pcVicLR38/yI2K8vNs8sPndOuNsxA+l2+3HvvSgZRt57+ 1O9LXBYqqMYCW2E0R35/nmDLRVNz4XvLJpugDaH/7gUsJRuSLRblKGAJGtnlJu/UQwgn72 QycoOni+qYjEcs5BHDU3pkBF1hV0yogzictOiAt2Kxz+FTG0fA6j0j27owtnZ+cf10Xx6P ONum0/C+k+/FOITPOpYHMmBc4zdR2aWsoHgwP5xOJB/Zad7Bnj2NJACZsAi83g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632783468; a=rsa-sha256; cv=none; b=Xx1/BHk3Jv6iKVEya0wrhr3Mq7Va0pYURERUqo+RcmhN2oANIyjKNFaQ168O2qgg7Z00hI eTELNO0DXORGqY9GacFPW1R9j2IghMflMHQ1kkd1P8DYdNwAfX+Sz3CFb9WCBEbqIiSE/g AmuI/Ha9U09X0jHqL6AiXX8Bs6eaPMrp4G21BN1sbmSqA1MQZZexVqw+ixO+LKHi6XVGvY DWvxbFs5kCy59NQYD9t8Ntla9k0g9PAtHvEm+VBbcwF/uHkWmmb9GXLmiurxtz7TM5mUbX unJRO1ELwhTK0PGEwmANvZXtDdEUYD5oWE3dBQraazOfsOv6Pp+YLnGoThUJxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=W+i10b3g; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=W+i10b3g; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 0BB792E642 X-Spam-Score: -3.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2M6DwKCR8AsV Hi Guillaume, Sure, here's the formatted file. My appology for the issue with the mail cl= ient. --8<---------------cut here---------------start------------->8--- (define-module (realmd) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages image) #:use-module (gnu packages glib) #:use-module (gnu packages autotools) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module ((guix licenses) #:prefix license:)) (define-public realmd (package (name "realmd") (version "0.17.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/freedesktop/realmd") (commit version))) (file-name (git-file-name name version)) (modules '((guix build utils))) (snippet '(begin (delete-file "configure.ac") ;(make-file-writable "configure.ac") #t)) (patches '("endgame/packages/patches/realmd-guixsd-support.patc= h")) (sha256 (base32 "1c6q2a86kk2f1akzc36nh52hfwsmmc0mbp6ayyjxj4zsyk9zx5bf")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases =09=09 (add-after 'unpack 'make-git-checkout-writable =09=09=09=09(lambda* (#:key inputs #:allow-other-keys) =09=09=09=09 (make-file-writable "configure.ac")) =09=09 (add-after 'unpack 'apply-patches =09=09=09=09=09 (for-each =09=09=09=09=09 (lambda (file) =09=09=09=09=09 (invoke "patch" "--force" "-p1" "-input" "endgame/packa= ges/patches/realmd-guixsd-support.patch")))) =09=09 )))) =09=09 ; gnuzilla.scm =09=09=09=09=09=09 ; jami.scm (native-inputs `(("pkg-config" ,pkg-config) ("autoconf" ,autoconf) ("intltool" ,intltool) ("automake" ,automake))) (inputs `(("glib" ,glib) ("polkit" ,polkit))) (synopsis "DBus service for configuring kerberos and other online identit= ies") (description "Dbus system service that manages discovery and enrollment in realms/domains like Active Directory or IPA.") (home-page "https://www.freedesktop.org/software/realmd/") (license license:lgpl2.1)))