all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Ton <tonton@riseup.net>
Cc: 30971-done@debbugs.gnu.org
Subject: bug#30971: Add package definition for fpm2
Date: Thu, 29 Mar 2018 18:44:38 +0200	[thread overview]
Message-ID: <87a7uqn85l.fsf@fastmail.com> (raw)
In-Reply-To: <20180329121325.5a428b6a@merlin.browniehive.net>


[-- Attachment #1.1: Type: text/plain, Size: 361 bytes --]

Ton <tonton@riseup.net> writes:

> Here is new patch changed as requested for fpm2.
> From 02298195711674089ce5904c3aae71f7f74f1ccd Mon Sep 17 00:00:00 2001
> From: Tonton <tonton@riseup.net>
> Date: Thu, 29 Mar 2018 12:11:31 +0200
> Subject: [PATCH] * gnu/packages/password-utils.scm (fpm2): New variable

Thank you!  Applied with the cosmetic changes below.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: fpm2.diff --]
[-- Type: text/x-patch, Size: 1571 bytes --]

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 54369851b..eb2c276b3 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -664,14 +664,13 @@ by GnuPG's symmetrical encryption.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-before
-             'configure 'pre-configure
+         (add-before 'configure 'pre-configure
            ;; The file po/POTFILES.in ends up missing for some reason in
            ;; both nix and guix builds. Adding the file with contents
            ;; found during troubleshooting.
            (lambda _
-             (let* ((port (open-output-file "po/POTFILES.in")))
-               (begin
+             (call-with-output-file "po/POTFILES.in"
+               (lambda (port)
                  (format port "data/fpm2.desktop.in
 data/fpm2.desktop.in.in
 fpm2.glade
@@ -681,13 +680,13 @@ src/fpm_file.c
 src/interface.c
 src/support.c
 fpm2.glade
-")
-                 (close-port port))))))))
+")))
+             #t)))))
     (synopsis "Manage, generate and store passwords encrypted")
     (description "FPM2 is GTK2 port from Figaro's Password Manager
 originally developed by John Conneely, with some new enhancements.
 
 Upstream development seems to have stopped.  It is therefore recommended
-to use a different password manager.  ")
+to use a different password manager.")
     (home-page "https://als.regnet.cz/fpm2/")
-     (license license:gpl2)))
+     (license license:gpl2+)))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      reply	other threads:[~2018-03-29 16:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-28 14:09 [bug#30971] Add package definition for fpm2 Ton
2018-03-28 20:03 ` Marius Bakke
2018-03-29 10:13   ` Ton
2018-03-29 16:44     ` Marius Bakke [this message]

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

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

  git send-email \
    --in-reply-to=87a7uqn85l.fsf@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=30971-done@debbugs.gnu.org \
    --cc=tonton@riseup.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.