Re: Installing awesome from git under Ubuntu precise?

2012-06-09 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/06/12 21:28, Nicolas G. Querol wrote:
 2012/6/8 Rainer M Krug r.m.k...@gmail.com mailto:r.m.k...@gmail.com
 
 Hi
 
 I would like to use bashlets, and as it seems, I have to use awesome from 
 git. In principal not
 a problem - but I would like to install it using a .deb, preferably one which 
 just updates the 
 official ubuntu one. Is there a ppa which has the git versions of awesome? Or 
 how can I create
 the .bed for Ubuntu precise?
 
 If not possible, how can I install from source (I am a little bit reluctant 
 to use sudo make 
 install as I have bad experiences with other packeges (no uninstall!).
 
 Thanks a lot,
 
 Rainer
 
 
 -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org 
 mailto:awesome-unsubscr...@naquadah.org.
 
 
 Hello! As far as I know, you can uninstall manually compiled software: you 
 just have to do a
 sudo make uninstall from the directory where you compiled it in the first 
 place.

True - this works in many cases, but unfortunately not in all. As far as I 
know, for this to work,
a target uninstall has to be defined in the make file, which, at a glance, 
does not exist in the
awsome make file.

 Cloning awesome from git periodically and compiling it locally seems a better 
 solution, as you 
 otherwise will have to build a deb package each time you want to include new 
 commits from
 awesome's git repo.

True - but creating a deb can be as easy as checkinstall instead of  make 
install or using a
specific build target.

 For instructions on installing  building from git, refer to the wiki: 
 http://awesome.naquadah.org/wiki/Building_awesome

Thanks - wasn't aware of those.

Cheers,

Rainer

 
 -- Nicolas Gaulard Querol nicolas.gque...@gmail.com 
 mailto:nicolas.gque...@gmail.com
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/THm4ACgkQoYgNqgF2egqpwACeLgzP3M9529P+YgFxvxg2yjuT
y9kAnAjJa3wWKiW7k+xwGkC7q9W9VgMR
=K7fB
-END PGP SIGNATURE-


-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Installing awesome from git under Ubuntu precise?

2012-06-09 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/06/12 11:59, Rainer M Krug wrote:
 On 08/06/12 21:28, Nicolas G. Querol wrote:
 2012/6/8 Rainer M Krug r.m.k...@gmail.com mailto:r.m.k...@gmail.com
 
 Hi
 
 I would like to use bashlets, and as it seems, I have to use awesome from 
 git. In principal 
 not a problem - but I would like to install it using a .deb, preferably one 
 which just 
 updates the official ubuntu one. Is there a ppa which has the git versions 
 of awesome? Or
 how can I create the .bed for Ubuntu precise?
 
 If not possible, how can I install from source (I am a little bit reluctant 
 to use sudo
 make install as I have bad experiences with other packeges (no uninstall!).
 
 Thanks a lot,
 
 Rainer
 
 
 -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org 
 mailto:awesome-unsubscr...@naquadah.org.
 
 
 Hello! As far as I know, you can uninstall manually compiled software: you 
 just have to do a
  sudo make uninstall from the directory where you compiled it in the first 
 place.
 
 True - this works in many cases, but unfortunately not in all. As far as I 
 know, for this to 
 work, a target uninstall has to be defined in the make file, which, at a 
 glance, does not 
 exist in the awsome make file.
 
 Cloning awesome from git periodically and compiling it locally seems a 
 better solution, as 
 you otherwise will have to build a deb package each time you want to include 
 new commits from
 awesome's git repo.
 
 True - but creating a deb can be as easy as checkinstall instead of  make 
 install or using 
 a specific build target.
 
 For instructions on installing  building from git, refer to the wiki: 
 http://awesome.naquadah.org/wiki/Building_awesome
 
 Thanks - wasn't aware of those.

OK - I installed awesome in a non-standard location by using

cmake -DCMAKE_INSTALL_PREFIX=/home/rkrug/inst/awesome/
make
make install

which looks fine for me, as I can easily delete th directory 
/home/rkrug/inst/awesome/ and it is
gone. In addition, it does not interfere with my Ubuntu stable awesome install, 
and the debian
menu is still there.

So: But how can I use my new installation? I could specify the path to the new 
awesome in the
xsessions file to start it, but I assume that awesome-client will then be the 
one installed system
wide?

Is there an easy way, of using my git awesone installation, but still having 
the stable one
installed via ubuntu available?

I am a little reluctant to remove the ubuntu one, as then the debian menu would 
be removed and
possibly other features as well.

Any suggestions?

Rainer

 
 Cheers,
 
 Rainer
 
 
 -- Nicolas Gaulard Querol nicolas.gque...@gmail.com 
 mailto:nicolas.gque...@gmail.com
 
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/TgjgACgkQoYgNqgF2egrlPgCggLNLXBVzt8RBnaZ948mJdb9Y
BpUAn2T4JI6zG5HJphvridBtV8vAvA7g
=Tqj2
-END PGP SIGNATURE-


-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Installing awesome from git under Ubuntu precise?

2012-06-09 Thread Uli Schlachter
On 09.06.2012 19:04, Rainer M Krug wrote:
[...]
 OK - I installed awesome in a non-standard location by using
 
 cmake -DCMAKE_INSTALL_PREFIX=/home/rkrug/inst/awesome/
 make
 make install
 
 which looks fine for me, as I can easily delete th directory 
 /home/rkrug/inst/awesome/ and it is
 gone. In addition, it does not interfere with my Ubuntu stable awesome 
 install, and the debian
 menu is still there.
 
 So: But how can I use my new installation? I could specify the path to the 
 new awesome in the
 xsessions file to start it, but I assume that awesome-client will then be the 
 one installed system
 wide?

awesome-client should be identical between both versions. It's just a shell
script, so you could use diff to check for differences.

 Is there an easy way, of using my git awesone installation, but still having 
 the stable one
 installed via ubuntu available?

I guess I'd just add that path to $PATH:

PATH=/home/rkrug/inst/awesome/bin:$PATH

Since it comes before /usr/bin in $PATH, the apps in there would be found first.

 I am a little reluctant to remove the ubuntu one, as then the debian menu 
 would be removed and
 possibly other features as well.
[...]

Uli
-- 
For saving the Earth.. and eating cheesecake!

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Installing awesome from git under Ubuntu precise?

2012-06-09 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/06/12 20:37, Rainer M Krug wrote:
 On 09/06/12 19:18, Uli Schlachter wrote:
 On 09.06.2012 19:04, Rainer M Krug wrote: [...]
 OK - I installed awesome in a non-standard location by using
 
 cmake -DCMAKE_INSTALL_PREFIX=/home/rkrug/inst/awesome/ make make install
 
 which looks fine for me, as I can easily delete th directory 
 /home/rkrug/inst/awesome/ and
 it is gone. In addition, it does not interfere with my Ubuntu stable 
 awesome install, and
 the debian menu is still there.
 
 So: But how can I use my new installation? I could specify the path to the 
 new awesome in 
 the xsessions file to start it, but I assume that awesome-client will then 
 be the one 
 installed system wide?
 
 awesome-client should be identical between both versions. It's just a shell 
 script, so you 
 could use diff to check for differences.
 
 Makes sense - I'll check. And if I modyfy PATH as you suggest below, the new 
 awesome-client
 would be used anyway.
 
 
 Is there an easy way, of using my git awesone installation, but still 
 having the stable one
  installed via ubuntu available?
 
 I guess I'd just add that path to $PATH:
 
 PATH=/home/rkrug/inst/awesome/bin:$PATH
 
 Since it comes before /usr/bin in $PATH, the apps in there would be found 
 first.
 
 Modifying the PATH would certainly acommodate that the new version would be 
 used, but what
 about the lua libraries? What are the seach paths for these?
 
 If I modify PATH and start awesome, will it first look for lua libraries in 
 /home/rkrug/inst/awesome/lib ?

OK - next problem: lgi:

/inst/awesome/share/awesome/lib/gears/surface.lua:13: lgi too old, need at 
least version 0.7 (not
yet released?) or recent git

Ubuntu is 0.5.1

Is there an easy way to solve this?

Rainer

 
 Rainer
 
 
 
 I am a little reluctant to remove the ubuntu one, as then the debian menu 
 would be removed 
 and possibly other features as well.
 [...]
 
 Uli
 
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/TnY8ACgkQoYgNqgF2egoiYwCeLTXGx1dgtrEWhr1kx/KfFPyo
7ugAn2/6+bK4plvSqOinXHBwLYwM+XgS
=aR2J
-END PGP SIGNATURE-


-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


RE: Installing awesome from git under Ubuntu precise?

2012-06-09 Thread David Sorkovsky

 

So: But how can I use my new installation? I could specify the path to the
new awesome in the xsessions file to start it, but I assume that
awesome-client will then be the one installed system wide?

If you want to switch between different versions, you could simply place
links in the default directory...

  To use V1, insert links to the V1 directory. 
  To use V2, replace V1 links with V2 links. 

  Script the swapping of the links so you have a quick  easy changeover



-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Installing awesome from git under Ubuntu precise?

2012-06-08 Thread Nicolas G. Querol
2012/6/8 Rainer M Krug r.m.k...@gmail.com

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi

 I would like to use bashlets, and as it seems, I have to use awesome from
 git. In principal not a
 problem - but I would like to install it using a .deb, preferably one
 which just updates the
 official ubuntu one. Is there a ppa which has the git versions of awesome?
 Or how can I create the
 .bed for Ubuntu precise?

 If not possible, how can I install from source (I am a little bit
 reluctant to use sudo make
 install as I have bad experiences with other packeges (no uninstall!).

 Thanks a lot,

 Rainer
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk/SQ2YACgkQoYgNqgF2egrONACfWBQwruNeunU9v4BA99vZvWUj
 RaMAnjDz5LW//y03aL/sRQlm4d5VuZlX
 =XnFa
 -END PGP SIGNATURE-


 --
 To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Hello!
As far as I know, you can uninstall manually compiled software: you just
have to do a sudo make uninstall
from the directory where you compiled it in the first place.
Cloning awesome from git periodically and compiling it locally seems a
better solution, as you otherwise will have to build a deb package each
time you want to include new commits from awesome's git repo.
For instructions on installing  building from git, refer to the wiki:
http://awesome.naquadah.org/wiki/Building_awesome

-- 
Nicolas Gaulard Querol nicolas.gque...@gmail.com