GNU bug report logs - #57688
[PATCH] gnu: Add wiggle.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Thu, 8 Sep 2022 23:16:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#57688: closed ([PATCH] gnu: Add wiggle.)
Date: Sun, 11 Sep 2022 10:47:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 11 Sep 2022 12:46:29 +0200
with message-id <521cb98fada10c76d12ee8a44ecda178121298f0.camel <at> gmail.com>
and subject line Re: [PATCH v7] gnu: Add wiggle.
has caused the debbugs.gnu.org bug report #57688,
regarding [PATCH] gnu: Add wiggle.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
57688: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57688
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add wiggle.
Date: Thu,  8 Sep 2022 18:15:00 -0500
* gnu/packages/patchutils.scm (wiggle): New variable.

Here's wiggle 

~ jgart

---
 gnu/packages/patchutils.scm | 43 +++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index fdbcb8e1e1..4c2eb4f6cb 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2019 Christopher Baines <mail <at> cbaines.net>
 ;;; Copyright © 2021 Xinglu Chen <public <at> yoctocell.xyz>
+;;; Copyright © 2022 jgart <jgart <at> dismail.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -40,6 +41,7 @@ (define-module (gnu packages patchutils)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages groff)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages less)
   #:use-module (gnu packages mail)
@@ -441,6 +443,47 @@ (define pythonpath
     (home-page "http://jk.ozlabs.org/projects/patchwork/")
     (license gpl2+)))
 
+(define-public wiggle
+    (package
+      (name "wiggle")
+      (version "1.3")
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/neilbrown/wiggle")
+           (commit (string-append "v" version))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "18ilzr9sbal1j8p1d94ilm1j5blac5cngvcvjpdmgmpw6diy2ldf"))))
+      (build-system gnu-build-system)
+      (native-inputs (list groff))
+      (inputs
+        (list ncurses))
+      (arguments
+       `(#:make-flags
+         (list "-I. -O3"
+               (string-append "CC=" ,(cc-for-target))
+               "INSTALL=\"install\""
+               "STRIP=-s"
+               (string-append "BINDIR=" %output "/bin")
+               (string-append "MANDIR=" %output "/share/man")
+               (string-append "CC=" ,(cc-for-target))
+               (string-append "PREFIX=" %output))
+          #:phases
+          (modify-phases %standard-phases
+            (delete 'configure)
+            (replace 'check
+              (lambda* (#:key inputs ouputs #:allow-other-keys)
+                (invoke "./dotest"))))))
+      (home-page "http://neil.brown.name/wiggle/")
+      (synopsis "Tool for applying patches with conflicts")
+      (description
+"@code{wiggle} attempts to apply patches to a file even if the file
+doesn't match the target file perfectly.")
+      (license gpl2+)))
+
 (define-public pwclient
   (package
     (name "pwclient")
-- 
2.37.3



[Message part 3 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: jgart <jgart <at> dismail.de>, 57688-done <at> debbugs.gnu.org
Subject: Re: [PATCH v7] gnu: Add wiggle.
Date: Sun, 11 Sep 2022 12:46:29 +0200
Am Samstag, dem 10.09.2022 um 10:43 -0500 schrieb jgart:
> * gnu/packages/patchutils.scm (wiggle): New variable.
Applied with some wiggling.

Cheers


This bug report was last modified 2 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.