AwesomeWM on Opensuse 11.4

Hi there,

How do I install AwesomWM on OpenSUSE 11.4?

It’s not in the Window Managers Repo for 11.4, but it is for 11.3?

Best Regards

On 05/27/2011 01:36 PM, Eax wrote:
>
> How do I install AwesomWM on OpenSUSE 11.4?

never heard of it, but google has:
https://awesome.naquadah.org/wiki/Main_Page


dd CAVEAT: http://is.gd/bpoMD
[NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
Dual booting with Sluggish Loser7 on Acer Aspire One D255

It doesn’t cover how to actually install it :S Only how to install it through the package manager in OpenSUSE, but the 11.4 repo doesn’t contain Awesome :S

Hi there,

If you take a look here https://awesome.naquadah.org/wiki/Building_awesome it doesn’t in fact list OpenSUSE, however you could always try and build it from source, shouldn’t be too hard, it would also mean you’d get the most up to date build.

Also could be a bit of fun :slight_smile:

Eax wrote:

>
> It doesn’t cover how to actually install it :S Only how to install it
> through the package manager in OpenSUSE, but the 11.4 repo doesn’t
> contain Awesome :S
>
>
You can fetch the src rpm for 11.3 and try to rebuild it on your 11.4
(with rpm --rebuild <packagename>).
http://download.opensuse.org/repositories/X11:/windowmanagers/openSUSE_11.3/src/awesome-3.4.9-1.1.src.rpm


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

martin_helm wrote:

> You can fetch the src rpm for 11.3 and try to rebuild it on your 11.4
> (with rpm --rebuild <packagename>).

sorry a typo of course “rpmbuild --rebuild …”


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

I’m trying to do just that from the Git clone, but there’s no makefile and no configure, so I don’t really know how to proceed

Their download page DOES list opensuse ><

Thank you, I will try just that :slight_smile:

Eax wrote:
> Thank you, I will try just that :slight_smile:
>
I cannot tell you if it works, I guess you will have to install some
dependencies (rpmbuild should tell you which), but I think its worth a try.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

martin_helm wrote:

> Eax wrote:
>> Thank you, I will try just that :slight_smile:
>>
> I cannot tell you if it works, I guess you will have to install some
> dependencies (rpmbuild should tell you which), but I think its worth a
> try.
>
I just noticed that the binary rpm from 11.3 (awesome-3.4.9-1.1.x86_64.rpm
in my case) can be installed in 11.4 (I cannot test right now if it works)
without complaints.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

I get the error:

– package ‘cairo-xcb’ not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
awesomeConfig.cmake:132 (pkg_check_modules)
CMakeLists.txt:15 (include)

CMake Error at awesomeConfig.cmake:154 (message):
Call Stack (most recent call first):
CMakeLists.txt:15 (include)

– Configuring incomplete, errors occurred!
error: Bad exit status from /var/tmp/rpm-tmp.l0zIKQ (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.l0zIKQ (%build)

But I can’t seem to find a package/rpm for cairo-xcb?

Hi
Same reason it fails on OBS…
https://build.opensuse.org/package/live_build_log?arch=i586&package=awesome&project=X11%3Awindowmanagers&repository=openSUSE_11.4

I see there is and Awesome2, but that also has issues…
https://build.opensuse.org/package/show?package=awesome2&project=X11%3Awindowmanagers

malcolmlewis wrote:

>
> Hi
> Same reason it fails on OBS…
> http://tinyurl.com/3h236nw
>
> I see there is and Awesome2, but that also has issues…
> http://tinyurl.com/43bng3q
>
From what I understand the cairo-xcb mentioned by cmake is not a missing rpm
package but comes from the way cairo is compiled (there is a configure
switch for cairo which enables that, but it seems to be incompatible with
the other switches which are used for cairo in openSUSE).
I will later look if it is possible to compile the newer awesome 3.4.10
directly from source without too much trouble.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

Ok you need to rebuild cairo. The description for rpm is given at this page
(it is for fedora but the tools are the same in openSUSE to rebuild it with
the --enable-xcb switch).

https://awesome.naquadah.org/wiki/Awesome-3-fedora

src rpm is fetched with “zypper si cairo”.

I will report back when I know more.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

Thank you very much :slight_smile:

I wanted to start on that now, but before I did I checked again the OBS and
found that several users already built awesome for 11.4 in their home
rpositories.
I would say have a look at it.
http://tinyurl.com/3kwerac


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

On 05/27/2011 04:36 AM, Eax wrote:
>
> Hi there,
>
> How do I install AwesomWM on OpenSUSE 11.4?
>
> It’s not in the Window Managers Repo for 11.4, but it is for 11.3?
>
> Best Regards
>
>

I’ve tried to build ‘awesome’ from the tarball, but I’ve failed to
compile: issues with ‘cairo’, in particular. You are unlikely to succeed
with this approach.

If you don’t mind using an unofficial repo, the following is the one
from which I downloaded:

http://download.opensuse.org/repositories/home:/eugeneus:/awesome/openSUSE_11.4/

I am using ‘awesome’ now. From the above repo, I have:

awesome 3.49
awesome-opensuse
awesome-vicious
cairo-devel
cairo-tools
libcairo-gobject2
libcairo-script-interpreter2
libcairo2

I don’t know if all of these packages are needed to run ‘awesome’; but,
with 1-click install (from the Package Search page, ‘Search option’
“Include users’ home project” ticked), I got booted out to KDM
immediately and could not get into ‘awesome’. So, I installed
likely-needed packages.

You need also ‘xdg’ packages. I don’t know which are actually required
merely to use ‘awesome’. As I said, I had been trying to compile from
the ‘awesome’ tarball; all sorts of -devel packages are installed.

The configuration file is ~/.config/awesome/rc.lua.

Thank you very much! I’m trying this As we speak! :slight_smile: