From: Kei Kebreau <kkebreau@posteo.net>
To: 35252@debbugs.gnu.org
Cc: Kei Kebreau <kkebreau@posteo.net>
Subject: [bug#35252] [PATCH] gnu: Add mousepad.
Date: Fri, 12 Apr 2019 19:50:24 -0400 [thread overview]
Message-ID: <20190412235024.5108-1-kkebreau@posteo.net> (raw)
* gnu/packages/xfce.scm (mousepad): New variable.
---
gnu/packages/xfce.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 8543dcffed..6cabd9b902 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -990,3 +990,45 @@ the libburnia libraries. It can blank CD/DVD/BD(-RW)s, burn and
create iso images, audio CDs, as well as burn personal compositions
of data to either CD/DVD/BD.")
(license gpl2+)))
+
+(define-public mousepad
+ (package
+ (name "mousepad")
+ (version "0.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://archive.xfce.org/src/apps/mousepad/"
+ (version-major+minor version) "/mousepad-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "12si6fvhp68wz4scr339c23jxqq5ywn5nf4w55jld5lxjadkg9rr"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:configure-flags '("--enable-gtk3"
+ ;; Use the GSettings keyfile backend rather than
+ ;; DConf.
+ "--enable-keyfile-settings")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (gtksourceview (assoc-ref inputs "gtksourceview")))
+ (wrap-program (string-append out "/bin/mousepad")
+ ;; For language-specs.
+ `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
+ "/share")))))
+ #t)))))
+ (native-inputs
+ `(("intltool" ,intltool)
+ ("glib" ,glib "bin") ; for glib-compile-schemas.
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("gtksourceview" ,gtksourceview)))
+ (home-page "https://git.xfce.org/apps/mousepad/")
+ (synopsis "Simple text editor for Xfce")
+ (description
+ "Mousepad is a graphical text editor for Xfce based on Leafpad.")
+ (license gpl2+)))
--
2.21.0
next reply other threads:[~2019-04-12 23:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-12 23:50 Kei Kebreau [this message]
2019-06-01 1:23 ` bug#35252: [PATCH] gnu: Add mousepad Kei Kebreau
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190412235024.5108-1-kkebreau@posteo.net \
--to=kkebreau@posteo.net \
--cc=35252@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 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).