Page 9 of 11 FirstFirst ... 7891011 LastLast
Results 81 to 90 of 103

Thread: HOWTO: Install GNU Emacs with antialiasing

  1. #81
    Join Date
    Feb 2006
    Location
    Vancouver
    Beans
    53
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    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:
    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.

  2. #82
    Join Date
    Feb 2006
    Location
    Vancouver
    Beans
    53
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    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:
    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

  3. #83
    Join Date
    Feb 2006
    Location
    Sweden
    Beans
    1
    Distro
    Dapper Drake Testing/

    Re: HOWTO: Install GNU Emacs with antialiasing

    Hi
    I followed this:
    Quote Originally Posted by Zed View Post
    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

  4. #84
    Join Date
    Feb 2006
    Location
    Vancouver
    Beans
    53
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    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!

  5. #85
    Join Date
    Oct 2006
    Beans
    24

    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

  6. #86
    Join Date
    Aug 2006
    Beans
    9

    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

  7. #87
    Join Date
    Sep 2006
    Beans
    1

    Re: HOWTO: Install GNU Emacs with antialiasing

    Quote Originally Posted by blastura View Post
    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?

  8. #88
    Join Date
    Dec 2005
    Location
    Netherlands, Groningen
    Beans
    46
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Install GNU Emacs with antialiasing

    Im getting this error:

    cas@cas-desktop:~/emacs$ tla register-archive jerome@debian.org--2005 http://people.debian.org/~jerome/arc...ian.org--2005/
    cas@cas-desktop:~/emacs$ tla get -A jerome@debian.org--2005 emacs-snapshot-debian--main
    webdav error: 404 Not Found

  9. #89
    Join Date
    Jan 2006
    Beans
    13

    Re: HOWTO: Install GNU Emacs with antialiasing

    Quote Originally Posted by WhizCas View Post
    Im getting this error:
    I'm getting the same error...is this snapshot no longer available?

  10. #90
    Join Date
    Jun 2005
    Location
    /world/OldEurope
    Beans
    184
    Distro
    Ubuntu 12.04 Precise Pangolin

    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?

Page 9 of 11 FirstFirst ... 7891011 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •