Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: HOWTO Build Awesome 3

  1. #1
    Join Date
    Oct 2008
    Beans
    4

    Wink HOWTO Build Awesome 3

    This how-to purpose is to help you build Awesome 3 on Ubuntu Intrepid Ibex.

    Table of contents:

    1. What is Awesome 3
    2. Why building?
    3. Building
    4. Troubleshooting
    5. Infos and References



    1. What is Awesome 3

    Awesome is a dynamic window manager for the X Window System. Its development began in September 2007 as a fork of dwm. It aims at being extremely small and fast and supports multiple layouts such as floating, tiling, and maximized. Like many other tiling window managers, it strives to make it possible for the user to productively manage windows without the use of the mouse.

    [From Wikipedia]

    Awesome 3 is very speedful, uses XCB and Lua for configuration, and provide pipes for which you can build widgets to enhance your experience.

    2. Why building?

    At the time of writing Awesome version in Intrepid is 2.3.2-1 while the last release version is 3.x.

    3. Building

    Get utilities for building

    Code:
    $ sudo apt-get install build-essential autoconf automake libtool gperf xmlto git git-core cmake

    Get dependencies for awesome


    Code:
    $ sudo apt-get install libx11-dev libxinerama-dev libxrandr-dev libpango1.0-dev libimlib2-dev libgtk2.0-dev libxcb-shm0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-shape0-dev libcairo2-dev libxcb-xinerama0-dev liblua5.1-filesystem0 liblua5.1-logging libdirectfb-dev libxt-dev libx11-xcb-dev libev3 libev-dev libxcb-aux0
    Get lua

    Code:
    $ sudo apt-get install lua5.1 liblua5.1-0-dev
    Get Xcb utils and compile (Version in Intrepid Ibex is too old)

    Code:
    $ git clone git://anongit.freedesktop.org/git/xcb/util
    $ cd util && ./autogen.sh && make && sudo make install
    Get Awesome and compile

    Code:
    $ wget http://awesome.naquadah.org/download/awesome-3.1.tar.gz && tar xzf awesome-3.1.tar.gz
    $ cd awesome-3.1 && make && sudo make install
    [Partially from Awesome Wiki]


    Finally, create an entry in GDM

    Create a new .desktop file in /usr/share/xsessions, for example awesome.desktop
    And copy paste :

    Code:
       [Desktop Entry]
       Encoding=UTF-8
       Name=Awesome!
       Comment=This session starts Awesome 3
       Exec=/usr/local/bin/awesome
       Type=Application
    Log out, choose your Awesome session, enjoy.
    See 5 for configuration and extras.

    4. Troubleshooting

    1. If cmake complains about cairo-xcb :

    Get Cairo and compile


    Code:
    $ wget http://www.cairographics.org/releases/cairo-1.8.0.tar.gz && tar xzf cairo-1.8.0.tar.gz && cd cairo* && ./configure --enable-xcb && make && sudo make install
    You are not supposed to update Cairo with .deb at this point unless they are built with XCB support

    Please tell me if you have any problem so I can update this how to.

    5. Infos and References


    1. Awesome webpage
    2. Wikipedia Article
    3. Awesome Wiki
    4. Configure Awesome 3
    5. Contributed Widgets for Awesome
    Last edited by Shinuza; December 19th, 2008 at 05:15 AM.

  2. #2
    Join Date
    Jan 2008
    Beans
    150
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO Build Awesome 3

    everything seems to work until i get to compiling awesome

    Code:
    $ git clone git://git.naquadah.org/awesome.git && cd awesome.git && make && sudo make install
    Initialized empty Git repository in /home/clockwork/awesome/.git/
    remote: Counting objects: 17242, done.
    remote: Compressing objects: 100% (5609/5609), done.
    remote: Total 17242 (delta 13052), reused 15144 (delta 11613)
    Receiving objects: 100% (17242/17242), 3.05 MiB | 89 KiB/s, done.
    Resolving deltas: 100% (13052/13052), done.
    bash: cd: awesome.git: No such file or directory
    Intel Pentium IV Northwood@2.4 GHz, 1 GiB RAM, 22" Samsung Monitor Ubuntu 9.04 Jaunty Jackalope
    AMD Turion 64 X2 Mobile technology @2.2GHz, 2 GiB RAM, 320 GiB HDD Windows 7 Ultimate RC1

    please remember to thank those that helped you

  3. #3
    Join Date
    Oct 2008
    Beans
    4

    Re: HOWTO Build Awesome 3

    Quote Originally Posted by cl0ckwork View Post
    everything seems to work until i get to compiling awesome

    Code:
    $ git clone git://git.naquadah.org/awesome.git && cd awesome.git && make && sudo make install
    Initialized empty Git repository in /home/clockwork/awesome/.git/
    remote: Counting objects: 17242, done.
    remote: Compressing objects: 100% (5609/5609), done.
    remote: Total 17242 (delta 13052), reused 15144 (delta 11613)
    Receiving objects: 100% (17242/17242), 3.05 MiB | 89 KiB/s, done.
    Resolving deltas: 100% (13052/13052), done.
    bash: cd: awesome.git: No such file or directory
    That's odd, apprently git creates awesome/.git instead of awesome.git

    From your home try
    Code:
    $ mv awesome/.git ~/awesome.git
    and then

    Code:
    $ cd awesome.git && make && sudo make install

  4. #4
    Join Date
    Dec 2007
    Beans
    80

    Re: HOWTO Build Awesome 3

    (04:49 PM)[vinno@vinno:~/awesome/.git]$ ls
    branches config description HEAD hooks index info logs objects refs
    (04:50 PM)[vinno@vinno:~/awesome/.git]$ make
    make: *** No targets specified and no makefile found. Stop.
    (04:50 PM)[vinno@vinno:~/awesome/.git]$

    Lost now.
    www.Vinno.net Linux Desktops / Server Guides / Application & Security Articles

  5. #5
    Join Date
    Apr 2008
    Beans
    2

    Re: HOWTO Build Awesome 3

    can anyone provide a .deb for awesome3 ?

    thanx...

  6. #6
    Join Date
    Nov 2008
    Beans
    1

    Re: HOWTO Build Awesome 3

    Shinuza, i experienced a problem with your provided dependency package list:
    Code:
    libgtk2.0-devlibxcb-shm0-dev
    could not be found. But the following did the job for me:
    Code:
    libxcb-shm0-dev
    Also i would suggest to also install the following:
    Code:
    doxygen, luadoc, asciidoc
    . That should be needed for the useful man-pages...
    Also
    Code:
    libdbus-1-dev
    could be installed if needed....

    EDIT:
    Also you missed to include
    Code:
    libxcb-aux0-dev
    So here is the corrected, full list to copy-and-paste:
    Code:
    apt-get install build-essential autoconf automake libtool gperf xmlto git git-core cmake libx11-dev libxinerama-dev libxrandr-dev libpango1.0-dev libimlib2-dev libxcb-aux0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-shape0-dev libcairo2-dev libxcb-xinerama0-dev liblua5.1-filesystem0 liblua5.1-logging libdirectfb-dev libxt-dev libx11-xcb-dev libev3 libev-dev lua5.1 liblua5.1-0-dev doxygen luadoc asciidoc libdbus-1-dev
    Greetings
    jo_hann
    Last edited by jo_hann; November 3rd, 2008 at 10:14 PM.

  7. #7
    Join Date
    Mar 2005
    Location
    Washington, DC
    Beans
    12
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: HOWTO Build Awesome 3

    Quote Originally Posted by Shinuza View Post
    That's odd, apprently git creates awesome/.git instead of awesome.git

    From your home try
    Code:
    $ mv awesome/.git ~/awesome.git
    and then

    Code:
    $ cd awesome.git && make && sudo make install

    you shouldn't actually do the mv, simply
    Code:
     # cd awesome && make && sudo make install

  8. #8
    Join Date
    Mar 2007
    Beans
    458

    Re: HOWTO Build Awesome 3

    Had same problem as cl0ckwork jo_hann but installed libxcb-shm0-dev and had to use the command jtp2433 posted and all worked perfectly.
    Thanks for the howto, been wanting to check out awesome 3 for a while now

    EDIT: Tried it and now removing it, don't get on with tiling window managers at all. If i want a window manager I think I'll stick to openbox
    Last edited by super.rad; November 5th, 2008 at 02:56 PM.

  9. #9
    Join Date
    Nov 2008
    Location
    New York, NY
    Beans
    2

    Re: HOWTO Build Awesome 3

    Quote Originally Posted by cl0ckwork View Post
    everything seems to work until i get to compiling awesome

    Code:
    $ git clone git://git.naquadah.org/awesome.git && cd awesome.git && make && sudo make install
    You just do:

    Code:
    git clone git://git.naquadah.org/awesome.git && cd awesome && make && sudo make install
    git takes the last directory on the clone url and creates it without the .git part


  10. #10
    Join Date
    Oct 2008
    Beans
    4

    Re: HOWTO Build Awesome 3

    Quote Originally Posted by jo_hann View Post
    Shinuza, i experienced a problem with your provided dependency package list:
    Code:
    libgtk2.0-devlibxcb-shm0-dev
    could not be found. But the following did the job for me:
    Code:
    libxcb-shm0-dev
    Greetings
    jo_hann
    Typo, updated.

    Quote Originally Posted by jpt2433 View Post
    you shouldn't actually do the mv, simply
    Code:
     # cd awesome && make && sudo make install
    Please see below
    Quote Originally Posted by damog View Post
    You just do:

    Code:
    git clone git://git.naquadah.org/awesome.git && cd awesome && make && sudo make install
    git takes the last directory on the clone url and creates it without the .git part

    Thanks for the reply, my version of git left .git at the end of the directory name, updated.

Page 1 of 3 123 LastLast

Tags for this Thread

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
  •