unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* gnu: add leafpad
@ 2017-04-08  4:16 Feng Shu
  2017-04-09  1:34 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Feng Shu @ 2017-04-08  4:16 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu

[-- Attachment #1: 0001-gnu-add-leafpad.patch --]
[-- Type: text/x-patch, Size: 2982 bytes --]

From 54c338b9bfe96cead2663506b55493d156e816dc Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Sat, 8 Apr 2017 12:13:41 +0800
Subject: [PATCH] gnu: add leafpad

* gnu/packages/leafpad.scm (gnu): Add leafpad.scm file
---
 gnu/packages/leafpad.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
 create mode 100644 gnu/packages/leafpad.scm

diff --git a/gnu/packages/leafpad.scm b/gnu/packages/leafpad.scm
new file mode 100644
index 000000000..b9e14fe16
--- /dev/null
+++ b/gnu/packages/leafpad.scm
@@ -0,0 +1,56 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2017 Feng Shu <tumashu@163.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages leafpad)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils))
+
+(define-public leafpad
+  (package
+    (name "leafpad")
+    (version "0.8.18.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://http.debian.net/debian/pool/main/l/"
+                                  name "/" name "_" version ".orig.tar.gz"))
+              (sha256
+               (base32
+                "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gtk+" ,gtk+-2)))
+    (home-page "https://wiki.gnome.org/Apps/Gedit")
+    (synopsis "GTK+ based simple text editor ")
+    (description "Leafpad is a simple GTK+ text editor that emphasizes simplicity.
+As development focuses on keeping weight down to a minimum, only the most essential
+features are implemented in the editor. Leafpad is simple to use, is easily compiled,
+requires few libraries, and starts up quickly. ")
+    (license license:gpl2+)))
-- 
2.12.2


[-- Attachment #2: Type: text/plain, Size: 5 bytes --]


-- 

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

* Re: gnu: add leafpad
  2017-04-08  4:16 gnu: add leafpad Feng Shu
@ 2017-04-09  1:34 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2017-04-09  1:34 UTC (permalink / raw)
  To: Feng Shu; +Cc: guix-devel

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

On Sat, Apr 08, 2017 at 12:16:40PM +0800, Feng Shu wrote:
> From 54c338b9bfe96cead2663506b55493d156e816dc Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Sat, 8 Apr 2017 12:13:41 +0800
> Subject: [PATCH] gnu: add leafpad

Thanks! Pushed as 0bf11648fc90cf0689fdc674f4aee4592694b341 with the
following changes:

> * gnu/packages/leafpad.scm (gnu): Add leafpad.scm file

I moved it to gnu/packages/text-editors.scm.

> +              (uri (string-append "http://http.debian.net/debian/pool/main/l/"
> +                                  name "/" name "_" version ".orig.tar.gz"))

I used the upstream source URL instead of fetching the source from
Debian.

> +    (home-page "https://wiki.gnome.org/Apps/Gedit")

I fixed this URL in a subsequent commit (I missed it at first, or I
would have made the change in the original commit.

> +    (synopsis "GTK+ based simple text editor ")
> +    (description "Leafpad is a simple GTK+ text editor that emphasizes simplicity.
> +As development focuses on keeping weight down to a minimum, only the most essential
> +features are implemented in the editor. Leafpad is simple to use, is easily compiled,
> +requires few libraries, and starts up quickly. ")

Minor changes here.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-04-09  1:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-08  4:16 gnu: add leafpad Feng Shu
2017-04-09  1:34 ` Leo Famulari

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