unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: philippe.brochard <hocwp@free.fr>
To: Leo Prikler <leo.prikler@student.tugraz.at>, mail@ambrevar.xyz
Cc: guix-devel@gnu.org
Subject: Re: Lightweight Emacs (or "GTK+ minimal)
Date: Mon, 08 Jun 2020 18:45:06 +0200	[thread overview]
Message-ID: <87sgf5wlpp.fsf@free.fr> (raw)
In-Reply-To: <91a0739fc4f7e2984db315b4787b64025a0fb464.camel@student.tugraz.at>

Leo Prikler <leo.prikler@student.tugraz.at> writes:

> Hello, Pierre
>
Hi,

>> Also I wonder why guile is in there.
> According to guix graph, guile is pulled by gnutls.
>
>> 1. Does anyone have a recipe for Emacs without GTK+ (that can also
>>    display pictures)?
> Not directly, but you could try building it with motif (package
> lesstif) or Lucid/Athena (requires at least libxaw, not sure if all
> dependencies for that are packaged).
>
I managed to build Emacs with Lucid with the following definition:

---8<-----------------------------------------------------------------------
(define-module (gnu packages emacs-lucid)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system glib-or-gtk)
  #:use-module (gnu packages)
  #:use-module (gnu packages acl)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages base)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages fribidi)
  #:use-module (gnu packages gd)
  #:use-module (gnu packages gettext)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gnome) ; for librsvg
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages guile)
  #:use-module (gnu packages image)
  #:use-module (gnu packages imagemagick)
  #:use-module (gnu packages linux) ; alsa-lib
  #:use-module (gnu packages ncurses)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages texinfo)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages webkit)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages xorg)
  #:use-module (guix utils)
  #:use-module (srfi srfi-1)
  #:use-module (gnu packages emacs))

(define-public emacs-lucid
  (package
    (inherit emacs)
    (name "emacs-lucid")
    (synopsis "The extensible, customizable, self-documenting text
editor (with lucid support)")
    (build-system gnu-build-system)
    (arguments
     (substitute-keyword-arguments (package-arguments emacs)
       ((#:configure-flags flags ''())
        `(cons "--with-x-toolkit=lucid" ,flags))))
    (inputs
     `(("libxaw" ,libxaw)
	   ,@(package-inputs emacs)))))

emacs-lucid
---8<-----------------------------------------------------------------------

Surely need more work to be polished.

Best regards,

Philippe


  reply	other threads:[~2020-06-08 17:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-08 15:59 Lightweight Emacs (or "GTK+ minimal) Leo Prikler
2020-06-08 16:45 ` philippe.brochard [this message]
2020-06-08 17:25   ` Pierre Neidhardt
2020-06-08 17:54     ` Pierre Neidhardt
2020-06-08 18:02       ` zimoun
2020-06-08 18:17         ` Pierre Neidhardt
  -- strict thread matches above, loose matches on Subject: below --
2020-06-08  9:45 Pierre Neidhardt

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=87sgf5wlpp.fsf@free.fr \
    --to=hocwp@free.fr \
    --cc=guix-devel@gnu.org \
    --cc=leo.prikler@student.tugraz.at \
    --cc=mail@ambrevar.xyz \
    /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).