all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yoav Marco <yoavm448@gmail.com>
To: 47082@debbugs.gnu.org
Cc: Yoav Marco <yoavm448@gmail.com>
Subject: [bug#47082] [PATCH] gnu: Add dragon-drop
Date: Fri, 12 Mar 2021 03:26:20 +0200	[thread overview]
Message-ID: <20210312012620.3255-1-yoavm448@gmail.com> (raw)

* gnu/packages/gtk.scm (dragon-drop): New variable.
---

I didn't manage to test the Guix repo even without my changes, but the package
works when adding "dragon-drop" at the end of the file and installing with
"guix package -f".

 gnu/packages/gtk.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index b9e81c9..33345e8 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2063,6 +2063,47 @@ shell scripts.  Example of how to use @code{yad} can be consulted at
 @url{https://sourceforge.net/p/yad-dialog/wiki/browse_pages/}.")
     (license license:gpl3+)))
 
+(define-public dragon-drop
+  (package
+   (name "dragon-drop")
+   (version "1.1.1")
+   (source
+    (origin
+     (method git-fetch)
+     (uri
+      (git-reference
+       (url "https://github.com/mwh/dragon.git")
+       (commit (string-append "v" version))))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32
+       "0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra"))))
+   (build-system gnu-build-system)
+   (inputs `(("gtk+" ,gtk+)))
+   (native-inputs `(("pkg-config" ,pkg-config)))
+   (arguments
+    `(#:tests? #f                       ; no check
+      #:make-flags
+      (list (string-append "CC=" ,(cc-for-target))
+            ;; makefile uses PREFIX for the binary location
+            (string-append "PREFIX="
+                           (assoc-ref %outputs "out")
+                           "/bin"))
+      #:phases
+      (modify-phases %standard-phases
+                     (delete 'configure)))) ; no configure script
+   (synopsis "Drag and drop source/target for X")
+   (description
+    "dragon is a lightweight drag-and-drop source for X where you can run:
+  dragon file.tar.gz
+to get a window with just that file in it, ready to be dragged where you need it.
+What if you need to drag into something? Using:
+  dragon --target
+you get a window you can drag files and text into.  Dropped items are
+printed to standard output.")
+   (home-page "https://github.com/mwh/dragon")
+   (license license:gpl3+)))
+
 (define-public libdbusmenu
   (package
     (name "libdbusmenu")
-- 
2.29.2





             reply	other threads:[~2021-03-12  1:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12  1:26 Yoav Marco [this message]
2021-03-19 12:58 ` bug#47082: [PATCH] gnu: Add dragon-drop 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

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

  git send-email \
    --in-reply-to=20210312012620.3255-1-yoavm448@gmail.com \
    --to=yoavm448@gmail.com \
    --cc=47082@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 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.