Re: HOWTO: Install GNU Emacs with antialiasing
I had this installed previously, using the deb packages. I migrated to beryl, so removed the compiz packages, and now it's pretty well broken.
The deb packages indeed depend on compiz, which in turn seems to depend on csm, which I can't find anywhere.
The error I get when I try to run ./configure --with-gtk --with-xft
is the follwing:
Quote:
checking for gtk+-2.0 >= 2.0.1 glib-2.0 >= 2.0.1... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.1 glib-2.0 >= 2.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Re: HOWTO: Install GNU Emacs with antialiasing
After a bit of poking at this and some Googling, I found that many people recommend installing libgtk2.0-dev
Unfortunately this fails with unmet dependencies.
A bit more work, and I tracked it down to libcairo2-dev, which is giving me:
Quote:
The following packages have unmet dependencies:
libcairo2-dev: Depends: libcairo2 (= 1.0.4-0ubuntu1) but 1.2.2-0ubuntu2 is to be installedE: Broken packages
I'm officially stumped now ](*,)
Re: HOWTO: Install GNU Emacs with antialiasing
Hi
I followed this:
Quote:
Originally Posted by
Zed
As of
April the XFT branch in Emacs' CVS works without patching. This is what I did in Dapper for anti-aliased goodness (I'd guess it works in Breezy too, but I haven't tested it.)
Code:
sudo apt-get install emacs-snapshot-gtk
cd /opt
sudo cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/emacs co emacs
cd emacs
sudo cvs up -Pd -r XFT_JHD_BRANCH
sudo ./configure --with-x-toolkit=gtk --with-xft=yes --prefix=/usr
sudo make bootstrap && make
sudo rm /etc/alternatives/emacs
sudo ln -s /opt/emacs/src/emacs /etc/alternatives/emacs
This follows
thermans' suggestion of installing the emacs-snapshot to be sure of getting all the right dependencies and building the right directory structure under /usr/ such that you can install emacs libraries conventionally and your emacs will find them. But instead of overwriting the binary, I just relink /etc/alternatives/emacs, which is what /usr/bin/emacs links to.
and it works. I have emacs running and it sure do looks good now, but I get random crashes
Code:
Fatal error (11)Segmentation fault
I run Ubuntu Dapper with XGL Beryl(compiz)
/ Thanks for any help, I really can't live without emacs, and I don't like ugly fonts
Re: HOWTO: Install GNU Emacs with antialiasing
Well after updating to Edgy, I was now able to install libgtk2.0-dev, and then followed the steps in the above post. Works great!
Re: HOWTO: Install GNU Emacs with antialiasing
Emacs-gtk + antialiasing compiled nicely for me. Two issues though. First, the toolbar icons are flat greyscale instead of the nice 3d colored icons. Second, the Emacs status bar is often overwritten by the last line in my text buffer.
Any idea how to solve either of these problems?
Thanks.
TexLogic
Re: HOWTO: Install GNU Emacs with antialiasing
This worked for me in edgy, but I also had to apply the patch from here:
http://www.forcix.cx/work_environment/emacscvs.html
to get the resulting emacs to run like "debian" emacs, i.e., running startup files from /etc/emacs
Re: HOWTO: Install GNU Emacs with antialiasing
Quote:
Originally Posted by
blastura
Hi
I followed this:
and it works. I have emacs running and it sure do looks good now, but I get random crashes
Code:
Fatal error (11)Segmentation fault
I run Ubuntu Dapper with XGL Beryl(compiz)
Dito, but I run Ubuntu Edgy without compiz.
Maybe it works with an older cvs snapshot?
Re: HOWTO: Install GNU Emacs with antialiasing
Re: HOWTO: Install GNU Emacs with antialiasing
Quote:
Originally Posted by
WhizCas
Im getting this error:
I'm getting the same error...is this snapshot no longer available?
Re: HOWTO: Install GNU Emacs with antialiasing
I also tried it Zed's way:
Code:
sudo apt-get install emacs-snapshot-gtk
cd /opt
sudo cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/emacs co emacs
cd emacs
sudo cvs up -Pd -r XFT_JHD_BRANCH
sudo ./configure --with-x-toolkit=gtk --with-xft=yes --prefix=/usr
sudo make bootstrap && make
sudo rm /etc/alternatives/emacs
sudo ln -s /opt/emacs/src/emacs /etc/alternatives/emacs
Now I got two emacs on my system. One is /usr/bin/emacs-snapshot-gtk. This is from the Ubuntu repository, it's version is 22.0.50.1. Then I have /opt/emacs/src/emacs from cvs, version 22.0.50.2. Doesn't seem to make a big difference version number wise. The latter has a much uglier gui than the 'official' one. What's going on here? Do I somehow have to configure it's looks?