unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: gtk: Add clipit.
@ 2016-09-01  1:26 doncatnip
  2016-09-04  7:12 ` 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: doncatnip @ 2016-09-01  1:26 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Hey Guix,

This patch adds ClipIt (clipit) to the repository. Tested with lint,
build rounds=2 and actual usability.

[-- Attachment #2: 0001-gnu-gtk-Add-clipit.patch --]
[-- Type: text/x-patch, Size: 2049 bytes --]

From 82051a27d1ca6131ad6295fad95e0bc19cc22bfa Mon Sep 17 00:00:00 2001
From: doncatnip <gnopap@gmail.com>
Date: Thu, 1 Sep 2016 03:15:01 +0200
Subject: [PATCH] gnu: gtk: Add clipit.

* gnu/packages/gtk.scm (clipit): New variable.
---
 gnu/packages/gtk.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 8feac11..c47a763 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1331,3 +1331,39 @@ glass artworks done by Venicians glass blowers.")
      "GtkSpell provides word-processor-style highlighting and replacement of
 misspelled words in a GtkTextView widget.")
     (license license:gpl2+)))
+
+(define-public clipit
+  (package
+    (name "clipit")
+    (version "1.4.2")
+    (source (origin
+      (method url-fetch)
+      (file-name (string-append name "-" version ".tar.gz"))
+      (uri (string-append
+            "https://github.com/CristianHenzel/ClipIt/archive/"
+            version ".tar.gz"))
+      (sha256
+        (base32 "0ni1xrzabs8685wv3fgranrw49bf6bjmrqmqpp6vjm70br7bm1h6"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases (alist-cons-after
+                 'unpack 'autogen
+                 (lambda _
+                   (zero? (system* "sh" "autogen.sh")))
+                 %standard-phases)))
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)
+       ("autoconf", autoconf)
+       ("automake", automake)
+       ("libtool", libtool)))
+    (inputs
+     `(("gtk+" ,gtk+-2)))
+    (home-page "https://github.com/CristianHenzel/ClipIt")
+    (synopsis "Lightweight GTK+ clipboard manager")
+    (description
+     "Clipboard manager with features such as a history, search thereof, global
+hotkeys and clipboard item actions.  ClipIt was forked from Parcellite and adds
+many bugfixes and features to the project.  For a full list of changes see
+https://github.com/CristianHenzel/ClipIt/blob/master/ChangeLog")
+    (license license:gpl2+)))
-- 
2.9.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: gtk: Add clipit.
  2016-09-01  1:26 [PATCH] gnu: gtk: Add clipit doncatnip
@ 2016-09-04  7:12 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2016-09-04  7:12 UTC (permalink / raw)
  To: doncatnip; +Cc: guix-devel

doncatnip <gnopap@gmail.com> writes:

> Hey Guix,
>
> This patch adds ClipIt (clipit) to the repository. Tested with lint,
> build rounds=2 and actual usability.

Thanks for the patch!  I applied it with modifications of:

- use a release tarball and remove the autogen phase.
- adjust the description to include the subject and remove the last
  sentence for changes.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-04  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-01  1:26 [PATCH] gnu: gtk: Add clipit doncatnip
2016-09-04  7:12 ` 宋文武

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