IPS - ligher-weight emacs?

  • Follow


Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
I just want text-mode emacs.
0
Reply phil178 (85) 5/22/2012 3:12:44 PM

Philip Brown <phil@bolthole.com> writes:

> Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
> I just want text-mode emacs.

What's wrong with the choice between emacs-gtk, emacs-nox and emacs-x,
with the corresponding packages editor/gnu-emacs/gnu-emacs-{gtk, no-x11,
x11}?

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
0
Reply ro1144 (2) 5/22/2012 3:22:03 PM


On Tuesday, May 22, 2012 8:22:03 AM UTC-7, Rainer Orth wrote:
> Philip Brown 
>  writes:
> 
> > Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
> > I just want text-mode emacs.
> 
> What's wrong with the choice between emacs-gtk, emacs-nox and emacs-x,
> with the corresponding packages editor/gnu-emacs/gnu-emacs-{gtk, no-x11,
> x11}?
> 


That sounds very promising. I just didnt see it when I did a pkg search, for some reason.

Probably because "pkg search emacs" gives too many results, and 
pkg search basename:emacs
only shows up 
pkg:/editor/gnu-emacs@23.1-0.175.0.0.0.2.537
as something that looks useful

But now that I go back and recheck a different way, with,

pkg list -a '*emacs*'

does indeed show
editor/gnu-emacs/gnu-emacs-no-x11

Thanks a bunch!

Side note to the IPS guys who may or may probably be not be reading this:


pkg search basename:emacs yields
pkg:/editor/gnu-emacs -> usr/bin/emacs

It should really belong to something named similar to
"editor/gnu-emacs/common"

or something like that.
It's confusing to have separate "nested" packages,
pkg:/editor/gnu-emacs  which seems to delivers binaries, AND
pkg:/editor/gnu-emacs/gnu-emacs-no-x11, which also delivers binaries.
They should be at the same level

0
Reply phil178 (85) 5/22/2012 4:56:34 PM

followup question:

Now that I have the knowledge of this "no-x11" version of gnu-emacs... anyone know how can I get rid of the 60+ packages that got pulled in for the x version?
Sadly, removing the culprit that triggered their installation, does not seem to have triggered their UNinstallation :(

Basically, I'd like a way to cleanly and efficiently remove all the X related packages.

sadly, neither 
pkg uninstall consolidation/desktop/desktop-incorporation
nor
pkg uninstall consolidation/desktop/gnome-incorporation

works. I think those things are "install only" type objects :(


Side comment:
 pkg uninstall desktop-incorporation
[cannot remove due to following pkgs that depend on it]

  pkg://solaris/library/ncurses@5.7,5.11-0.175.0.0.0.0.0:20110927T105727Z


WTH??? !?? What moron decided to make ncurses, depend on "desktop-incorporation" ?
or "groff-core", for that matter?
How do those things break, if a "desktop", aka GUI, is not present???


0
Reply phil178 (85) 5/22/2012 5:51:12 PM

Philip Brown <phil@bolthole.com> writes:

>followup question:

>Now that I have the knowledge of this "no-x11" version of gnu-emacs... anyone know how can I get rid of the 60+ packages that got pulled in for the x version?
>Sadly, removing the culprit that triggered their installation, does not seem to have triggered their UNinstallation :(

>Basically, I'd like a way to cleanly and efficiently remove all the X related packages.

Use pkg history with the proper option; this will give you all the newly installed
packages.  Then you should be able to remove them.

But really you should have made a new be or a backupbe and revert to that :-)

Casper
0
Reply Casper.Dik2 (264) 5/22/2012 6:07:13 PM

On Tuesday, May 22, 2012 11:07:13 AM UTC-7, Casper H. S. Dik wrote:
> Philip Brown 
>  writes:
> 
> >Basically, I'd like a way to cleanly and efficiently remove all the X related packages. [that were pulled in by installing emacs]
> 
> Use pkg history with the proper option; this will give you all the newly installed
> packages.  Then you should be able to remove them.


Ooo, interesting. I had forgotten about "pkg history". but even if I remmebered, I did not realize it kept an operations history, not just a "what you typed" history. Nice!  Thanks, Casper

And for the benefit of other folks, the option is "-l"
ALthough it is advisable to use "pkg history" first, to pick a timestamp, an then use
pkg history -l -t timestamp
to avoid getting flooded TOO bady.

0
Reply phil178 (85) 5/22/2012 7:57:04 PM

Philip Brown <phil@bolthole.com> wrote:
> Is there some IPS 'pkg' invokation, that gets me an emacs binary, without pulling in all the gtk stuff?
> I just want text-mode emacs.

jed?
0
Reply presence (537) 5/24/2012 2:25:10 AM

6 Replies
75 Views

(page loaded in 0.117 seconds)


Reply: