unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: phodina <phodina@protonmail.com>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: help-guix@gnu.org
Subject: Re: Apply patch to read-only file
Date: Mon, 27 Sep 2021 22:57:16 +0000	[thread overview]
Message-ID: <OaZ72KTNmbzluBm9JxK_W4eZW5d1wvSM93B2Ss0EBt2UwBg-T6n9B3D4dxILG_SIqkkTl1RTwz8SOorNiQVIRZVyzjMRkKZ5enzXD3AaSls=@protonmail.com> (raw)
In-Reply-To: <87mto07sl0.fsf@kitej>

Hi Guillaume,

Sure, here's the formatted file. My appology for the issue with the mail client.

--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.patch"))
            (sha256
             (base32
              "1c6q2a86kk2f1akzc36nh52hfwsmmc0mbp6ayyjxj4zsyk9zx5bf"))))
  (build-system gnu-build-system)
  (arguments
    `(#:phases
      (modify-phases %standard-phases
		     (add-after 'unpack 'make-git-checkout-writable
				(lambda* (#:key inputs #:allow-other-keys)
				       (make-file-writable "configure.ac"))
		     (add-after 'unpack 'apply-patches
					 (for-each
					   (lambda (file)
					     (invoke "patch" "--force" "-p1" "-input" "endgame/packages/patches/realmd-guixsd-support.patch"))))
		     ))))

		     ; gnuzilla.scm
						     ; 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 identities")
  (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)))


  reply	other threads:[~2021-09-27 22:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16  7:49 Apply patch to read-only file phodina via
2021-09-25 12:08 ` Guillaume Le Vaillant
2021-09-27 22:57   ` phodina [this message]
2021-09-29  8:42     ` Guillaume Le Vaillant
2021-10-02 19:49       ` phodina
  -- strict thread matches above, loose matches on Subject: below --
2021-09-28  4:47 Sarah Morgensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='OaZ72KTNmbzluBm9JxK_W4eZW5d1wvSM93B2Ss0EBt2UwBg-T6n9B3D4dxILG_SIqkkTl1RTwz8SOorNiQVIRZVyzjMRkKZ5enzXD3AaSls=@protonmail.com' \
    --to=phodina@protonmail.com \
    --cc=glv@posteo.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).