From: 宋文武 <iyzsong@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] gnu: Add d-feet.
Date: Thu, 20 Aug 2015 16:41:44 +0800 [thread overview]
Message-ID: <1440060104-29551-2-git-send-email-iyzsong@gmail.com> (raw)
In-Reply-To: <1440060104-29551-1-git-send-email-iyzsong@gmail.com>
* gnu/packages/gnome.scm (d-feet): New variable.
---
gnu/packages/gnome.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1c31be2..393e983 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3302,3 +3302,58 @@ work and the interface is well tested.")
"Epiphany is a GNOME web browser targeted at non-technical users. Its
principles are simplicity and standards compliance.")
(license license:gpl2+)))
+
+(define-public d-feet
+ (package
+ (name "d-feet")
+ (version "0.3.10")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0nb31bvwnj7pcpm85g8bvgjc6s5kbqy8g4qp7pzqf8w6rdgxzw48"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ '(#:out-of-source? #f ; tests need to run in the source directory.
+ #:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; The test suite requires a running X server.
+ (system (format #f "~a/bin/Xvfb :1 &"
+ (assco-ref inputs "xorg-server")))
+ (setenv "DISPLAY" ":1")
+ ;; Don't fail on missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ ;; tests.py and window.py don't meet E402:
+ ;; E402 module level import not at top of file
+ (substitute* "src/tests/Makefile"
+ (("--ignore=E123") "--ignore=E123,E402"))))
+ (add-after
+ 'install 'wrap-program
+ (lambda _
+ (wrap-program (string-append %output "/bin/d-feet")
+ `("PYTHONPATH" = (,(getenv "PYTHONPATH")))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
+ (native-inputs
+ `(("intltool" ,intltool)
+ ("itstool" ,itstool)
+ ("pkg-config" ,pkg-config)
+ ("python-pep8" ,python-pep8)
+ ("xmllint" ,libxml2)
+ ("xorg-server" ,xorg-server)))
+ (inputs
+ `(("gobject-introspection" ,gobject-introspection)
+ ("gtk+" ,gtk+)
+ ("python" ,python-wrapper)
+ ("python-pygobject" ,python-pygobject)))
+ (home-page "https://wiki.gnome.org/Apps/DFeet")
+ (synopsis "D-Bus debugger")
+ (description
+ "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces
+of running programs and invoke methods on those interfaces.")
+ (license license:gpl2+)))
--
2.4.3
next prev parent reply other threads:[~2015-08-20 8:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 8:41 [PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH 宋文武
2015-08-20 8:41 ` 宋文武 [this message]
2015-08-22 2:05 ` [PATCH 2/2] gnu: Add d-feet Mark H Weaver
2015-08-22 5:32 ` Mark H Weaver
2015-08-20 8:47 ` [PATCH 1/2] gnu: itstool: Wrap with PTYHONPATH 宋文武
2015-08-22 2:00 ` Mark H Weaver
2015-08-22 5:44 ` 宋文武
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=1440060104-29551-2-git-send-email-iyzsong@gmail.com \
--to=iyzsong@gmail.com \
--cc=guix-devel@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 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.