mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add mousepad.
* gnu/packages/xfce.scm (mousepad): New variable.
This commit is contained in:
parent
7293e3dba1
commit
5c48519204
1 changed files with 42 additions and 0 deletions
|
@ -1023,3 +1023,45 @@ (define-public xfburn
|
|||
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-3)))
|
||||
(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+)))
|
||||
|
|
Loading…
Reference in a new issue