summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-08-18 11:08:29 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-08-29 18:46:11 +0200
commit2207d522d41af2e79485ad74e29c3dedceafd060 (patch)
treef123053caa0790fc3b63398b45845eed58aa4b5a /gnu
parent7735c4bfef6c4d6d9cc9be55e9baa7b83b9eb40e (diff)
gnu: Add fe.
* gnu/packages/text-editors.scm (fe): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/text-editors.scm53
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 4412d545794..432e79e3500 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -41,6 +41,7 @@
41 #:use-module (gnu packages documentation) 41 #:use-module (gnu packages documentation)
42 #:use-module (gnu packages fontutils) 42 #:use-module (gnu packages fontutils)
43 #:use-module (gnu packages gcc) 43 #:use-module (gnu packages gcc)
44 #:use-module (gnu packages gettext)
44 #:use-module (gnu packages glib) 45 #:use-module (gnu packages glib)
45 #:use-module (gnu packages gtk) 46 #:use-module (gnu packages gtk)
46 #:use-module (gnu packages guile) 47 #:use-module (gnu packages guile)
@@ -567,3 +568,55 @@ The basic features of Geany are:
567@item extensibility through plugins 568@item extensibility through plugins
568@end itemize") 569@end itemize")
569 (license license:gpl2+))) 570 (license license:gpl2+)))
571
572(define-public fe
573 (package
574 (name "fe")
575 ;; Stable release is 1.8. However, this development version
576 ;; introduces support for UTF-8.
577 (version "2.0")
578 (source (origin
579 (method url-fetch)
580 (uri (string-append "http://www.moria.de/~michael/fe/"
581 "fe-" version ".tar.gz"))
582 (sha256
583 (base32
584 "1hwws7si1752z6hp61zxznvgsb6846lp8zl1hn5ddhsbafwalwb9"))))
585 (build-system gnu-build-system)
586 (arguments
587 `(#:tests? #f ;no test
588 ;; Sendmail is only used to send a crash log. Disable the
589 ;; feature since it is (1) undocumented (2) not very useful.
590 #:configure-flags (list "--disable-sendmail")
591 #:phases
592 (modify-phases %standard-phases
593 (add-after 'install 'install-doc
594 (lambda* (#:key outputs #:allow-other-keys)
595 (let* ((out (assoc-ref outputs "out"))
596 (doc (string-append out "/share/doc/" ,name "-" ,version)))
597 (for-each (lambda (f) (install-file f doc))
598 '("fe.doc" "fe.html" "fe.ps" "feref.ps" "README"))
599 #t))))))
600 (native-inputs
601 `(("gettext" ,gettext-minimal)))
602 (inputs
603 `(("ncurses" ,ncurses)))
604 (home-page "http://www.moria.de/~michael/fe/")
605 (synopsis "Small folding editor")
606 (description "Fe is a small folding editor. It allows to fold
607arbitrary text regions; it is not bound to syntactic units.
608
609Fe has no configuration or extension language and requires no setup.
610Its user interface is emacs-like and it has menues for the very most
611important functions to help beginners. Further there is a reference
612card. It offers:
613
614@itemize
615@item Regions and Emacs-like kill ring
616@item Incremental search
617@item Keyboard macros
618@item Editing binary files
619@item Multiple windows and views
620@item Compose function for Latin 1 characters
621@end itemize")
622 (license license:gpl2+)))