unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35252] [PATCH] gnu: Add mousepad.
@ 2019-04-12 23:50 Kei Kebreau
  2019-06-01  1:23 ` bug#35252: " Kei Kebreau
  0 siblings, 1 reply; 2+ messages in thread
From: Kei Kebreau @ 2019-04-12 23:50 UTC (permalink / raw)
  To: 35252; +Cc: Kei Kebreau

* 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

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

* bug#35252: [PATCH] gnu: Add mousepad.
  2019-04-12 23:50 [bug#35252] [PATCH] gnu: Add mousepad Kei Kebreau
@ 2019-06-01  1:23 ` Kei Kebreau
  0 siblings, 0 replies; 2+ messages in thread
From: Kei Kebreau @ 2019-06-01  1:23 UTC (permalink / raw)
  To: 35252-done

Committed to master after changing the input gtksourceview to gtksourceview-3.

Kei Kebreau <kkebreau@posteo.net> writes:

> * 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
...
> +       ("gtksourceview" ,gtksourceview)))

Changed to gtksourceview to gtksourceview-3.

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

end of thread, other threads:[~2019-06-01  1:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-12 23:50 [bug#35252] [PATCH] gnu: Add mousepad Kei Kebreau
2019-06-01  1:23 ` bug#35252: " Kei Kebreau

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