How to verify that the correct dependencies are installed prior to building Sawfish window manager

I need:
gtk+ >=2.12
pango
gdk-pixbuf-xlib
GNU autotools (to compile)

I am using opensuse 12.1 x86_64

Thanks in advance/
larilund

On 08/10/2012 09:26 PM, larilund wrote:
>
> I need:
> gtk+ >=2.12
> pango
> gdk-pixbuf-xlib
> GNU autotools (to compile)
>
> I am using opensuse 12.1 x86_64

it would be nice if you said what you are installing, 'cause maybe you
don’t need to do any verifying of having dependencies (that is to say
that YaST Software Management will normally satisfy all dependencies
while installing packages packed for openSUSE…)

so open YaST Software Management and search on the name of the package
you want to install…and if it is there install it, and let YaST do all
the work of checking for dependencies, etc…

otherwise search on all the names of those dependencies (one at a time)
in the same YaST, and install them if they are available…

or, even easier just right click on the rpm you downloaded and select to
install with YaST…

for that last one “GNU autotools (to compile)” switch from the search
tab to the patterns tab and scroll down to the Development Pattern and
click to install “Base Development” and “C/C++ Development”


dd

Sawfish is available on the OBS, no need to build from source. If you prefer to install from the tarball, though, you’ll need the source packages. Look for packagename-devel in Yast or zypper.

$ **rpm -q --requires  sawfish**
/bin/sh  
/bin/sh  
info  
libICE.so.6()(64bit)  
libSM.so.6()(64bit)  
libX11.so.6()(64bit)  
libXext.so.6()(64bit)  
libXft.so.2()(64bit)  
libXinerama.so.1()(64bit)  
libXrandr.so.2()(64bit)  
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.14)(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.3)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
libgdk_pixbuf-2.0.so.0()(64bit)  
libgdk_pixbuf_xlib-2.0.so.0()(64bit)  
libglib-2.0.so.0()(64bit)  
libgobject-2.0.so.0()(64bit)  
libgtk-x11-2.0.so.0()(64bit)  
libpango-1.0.so.0()(64bit)  
libpangox-1.0.so.0()(64bit)  
libpangoxft-1.0.so.0()(64bit)  
libpthread.so.0()(64bit)  
libpthread.so.0(GLIBC_2.2.5)(64bit)  
librep.so.9()(64bit)  
rep-gtk  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1

$ r**pm -q --provides  sawfish**
client.so()(64bit)  
flippers.so()(64bit)  
gradient.so()(64bit)  
libtool(/usr/lib64/rep/x86_64-suse-linux-gnu/sawfish/client.la)  
libtool(/usr/lib64/sawfish/1.6.1/x86_64-suse-linux-gnu/gradient.la)  
libtool(/usr/lib64/sawfish/1.6.1/x86_64-suse-linux-gnu/sawfish/wm/util/flippers.la)  
libtool(/usr/lib64/sawfish/1.6.1/x86_64-suse-linux-gnu/sawfish/wm/util/gradient.la)  
libtool(/usr/lib64/sawfish/1.6.1/x86_64-suse-linux-gnu/sawfish/wm/util/selection.la)  
libtool(/usr/lib64/sawfish/1.6.1/x86_64-suse-linux-gnu/sawfish/wm/util/x.la)  
libtool(/usr/lib64/sawfish/1.6.1/x86_64-suse-linux-gnu/selection.la)  
libtool(/usr/lib64/sawfish/1.6.1/x86_64-suse-linux-gnu/x.la)  
selection.so()(64bit)  
x.so()(64bit)  
sawfish = 1.6.1-2.167
sawfish(x86-64) = 1.6.1-2.167

$ **zypper info sawfish**
Loading repository data...
Reading installed packages...


Information for package sawfish:

Repository: @System
Name: sawfish
Version: 1.6.1-2.167
Arch: x86_64
Vendor: **obs://build.opensuse.org/openSUSE:Factory:Contrib**
Installed: Yes
Status: up-to-date
Installed Size: 5.2 MiB
Summary: A highly configurable window manager for X11

What you need to do:

$ su -l
# zypper ar [noparse] http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_12.1/[/noparse] factory-contrib
# zypper ref
# zypper in sawfish
# zypper mr -d factory_contrib
 

If you don’t disable this repo afterwards (last command), it might stop working sooner or later after a rep-gtk update.

It works fine otherwise.

On 08/10/2012 10:36 PM, chief sealth wrote:
> Sawfish is available on the OBS

DANG!! i use Thunderbird 14.0here, and it truncates subject lines in the
TB window, where was displayed only “How to verify that the correct
dependencies are”…

missing both important words “building” and “Sawfish”!!


dd

I prefer to install from the tarball, but I can’t find the following dependencies: libreadline-dev, readline-common, libgdbm-dev, libgmp3-dev, libgmp3-doc,libgtk2.0-doc, libgtk2.0-dev, libpango1.0-dev, libpango1.0-doc, lsb-build-desktop3.
I’ve been searching with YaST Install/Remove Software but cannot find them. I am using opensuse 12.1 x86_64.

Thanks in advance/
larilund

Try doing a partial search in Yast, e.g.: gtk, gdm, pango. You’ll find, for example, 'gtk2-devel." All of these listed should be on the standard openSUSE repo.