From patchwork Fri Mar 12 01:26:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoav Marco X-Patchwork-Id: 27670 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1D1A527BC52; Fri, 12 Mar 2021 01:54:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4BD9027BC51 for ; Fri, 12 Mar 2021 01:53:59 +0000 (GMT) Received: from localhost ([::1]:38924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKX02-00029G-BH for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 20:53:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKWax-0003TT-1A for guix-patches@gnu.org; Thu, 11 Mar 2021 20:28:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKWaw-0002eO-QJ for guix-patches@gnu.org; Thu, 11 Mar 2021 20:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKWaw-0002Bs-Mn for guix-patches@gnu.org; Thu, 11 Mar 2021 20:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47082] [PATCH] gnu: Add dragon-drop Resent-From: Yoav Marco Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Mar 2021 01:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47082 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47082@debbugs.gnu.org Cc: Yoav Marco X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16155124348362 (code B ref -1); Fri, 12 Mar 2021 01:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2021 01:27:14 +0000 Received: from localhost ([127.0.0.1]:55543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKWa9-0002Ao-Ri for submit@debbugs.gnu.org; Thu, 11 Mar 2021 20:27:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:44850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKWXG-00026Z-S5 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 20:24:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKWXG-0001wa-MQ for guix-patches@gnu.org; Thu, 11 Mar 2021 20:24:14 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:44294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKWXE-0000vM-Lu for guix-patches@gnu.org; Thu, 11 Mar 2021 20:24:14 -0500 Received: by mail-ej1-x634.google.com with SMTP id ox4so34624146ejb.11 for ; Thu, 11 Mar 2021 17:24:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZfLg+Ai3b3YeI5m3BimopTeTMrpCPH3bxmQgVguZ85k=; b=r/Tw0BdfyvSx5b1l5nwruq+3qEqx/rvYodB/qkdNpOg2AqZ/7bsploYSf82R9TH8Gw MNChfbIlP2cCAvGdiYKc+o4AUN99DHT8q+dWQuBRYUmlSTfNesvAK+u6cww2AT4txPxO A9FvGA2EhSvbiBVFn6hl4BVi0lnKHRYY1HFtidaDKrn6ILr0MUH0RzdtQrtW4LT/dv2u VDKMK/nyKMgtV9KDTOPZPGgZ46ovtICbo0ikJlaEcHmMkMximPqQSNMaKmhUQtX6apQu U9T1SJaousXIdQ7j4GAfTh5K7RTxundnncnjzBlhmqFn6Ylt4CD9rIwljQpljUpsA1io WaYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZfLg+Ai3b3YeI5m3BimopTeTMrpCPH3bxmQgVguZ85k=; b=lpNAxteqM3PiNtcO118hJzDG9lOb2mtwykH4dYxptlsTN5lVRDcA037M/IiW5G1+Q/ d0JBz1OhCnhbQW7KWjB8hDK7vsnfnqXCUhO9ggVgG4R8VVkt5mF2HAbblmFiJOBjRCDK IKS5NOUt9NkcHDfSDLVx5K0EgURyDfk2V45RzA/saGwrkVIKRqylaVGYzwas1DM6hP/B Gq6FibWExoBAxoZWHofAIcczL1l2vLQ2bxYxuBfF9dmdpmkcua1J+EXx3YEl5YqNKkhG FhTTDoJ8Qigm/sdyYlcxTQhGeCDfToQYzM33hf3504lWS22dAJHKvf86Zd7wW4nlGesS r6rQ== X-Gm-Message-State: AOAM530+3qx4/E+m3gwMmLqu6cRnuTKHe+i2TcH4/CIQAgq9Ed3zN/ZK H6Zg5MlR9m4kmfrU8XeTnN+owJ3D5/0= X-Google-Smtp-Source: ABdhPJwRV+DL04ydGKqB9iNKvy6ACoGQ1HiL2tIOkefaKnFw9eZ8XW+pKivNY/U4/EPncYGeuC5q8A== X-Received: by 2002:a17:906:81c9:: with SMTP id e9mr5791697ejx.456.1615512249992; Thu, 11 Mar 2021 17:24:09 -0800 (PST) Received: from localhost.lan ([77.124.81.99]) by smtp.gmail.com with ESMTPSA id t15sm2207441edw.84.2021.03.11.17.24.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 17:24:09 -0800 (PST) From: Yoav Marco Date: Fri, 12 Mar 2021 03:26:20 +0200 Message-Id: <20210312012620.3255-1-yoavm448@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=yoavm448@gmail.com; helo=mail-ej1-x634.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 11 Mar 2021 20:27:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 11 Mar 2021 20:53:30 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")