unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jovany Leandro G.C" <bit4bit@riseup.net>
To: 31334@debbugs.gnu.org
Subject: [bug#31334] [PATCH] gnome: add ghex
Date: Tue, 1 May 2018 09:53:55 -0500	[thread overview]
Message-ID: <20180501095355.251d430d@riseup.net> (raw)

From 476080edc1a77de4380b3c08d3d82b6d06b5107b Mon Sep 17 00:00:00 2001
From: "Jovany Leandro G.C" <bit4bit@riseup.net>
Date: Tue, 1 May 2018 09:50:57 -0500
Subject: [PATCH] gnome: add ghex

---
 gnu/packages/gnome.scm | 44 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index beaf9aa8f..83cb23b46 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7259,3 +7259,47 @@ mp3, Ogg Vorbis and FLAC")
  you to take micro-pauses, rest breaks and restricts you to your daily limit")
       (home-page "http://www.workrave.org")
       (license gpl3+))))
+
+(define-public ghex
+  (let ((commit "6615481532da7d378ef79b0f498ecc43dd0e1d40"))
+    (package
+      (name "ghex")
+      (version "3.18.3")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "git://git.gnome.org/ghex")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1j0sp9wsrx9d4qfisqzjsgvsfhc3q0zp6211kjx7y2kiv9vi8s2v"))))
+      (build-system glib-or-gtk-build-system)
+      (arguments
+       `(#:phases (modify-phases %standard-phases
+                    (add-after 'unpack 'autogen
+                      (lambda _
+                        (setenv "NOCONFIGURE" "1")
+                        (zero? (system* "sh" "autogen.sh"))))
+                    (replace 'check
+                      (lambda _ #t)))))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)
+         ("gnome-common" ,gnome-common)
+         ("which" ,which)
+         ("automake" ,automake)
+         ("libtool" ,libtool)
+         ("autoconf" ,autoconf-wrapper)
+         ("intltool" ,intltool)
+         ("yelp-tools" ,yelp-tools)
+         ("gettext" ,gettext-minimal)
+         ("file" ,file)))
+      (inputs
+       `(("atk" ,atk)
+         ("gtk" ,gtk+)))
+      (synopsis "GNOME Hex editor for files")
+      (description "GNOME Hex editor for files
+ The GHex program can view and edit files in two ways, hex or ascii.  Good
+ for editing saved game files.")
+      (home-page "https://wiki.gnome.org/Apps/Ghex")
+      (license license:gpl2))))
-- 
2.17.0

             reply	other threads:[~2018-05-01 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-01 14:53 Jovany Leandro G.C [this message]
2018-05-05 20:54 ` bug#31334: [PATCH] gnome: add ghex Ludovic Courtès

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=20180501095355.251d430d@riseup.net \
    --to=bit4bit@riseup.net \
    --cc=31334@debbugs.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.
Code repositories for project(s) associated with this public inbox

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

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).