YaST Build Environment
From openSUSE
YaST Build Environment
First, install yast2-devtools. Then you have some scripts that can help you set up your development machine:
check_buildrequires checkall_buildrequires
check_buildrequires checks if you have all packages installed you need to build one specific YaST2 package. It checks the "BuildRequires" lines of the .spec.in file (our .spec file are generated from them) in the current directory.
Go to the directory where you checked out the sources of that one YaST2 package from SVN and invoke it from there:
...yast2/source/network 15 % check_buildrequires pkgconfig-0.20-12 perl-XML-Writer-0.600-11 update-desktop-files-10.1-40.11 yast2-devtools-2.13.18-2 yast2-testsuite-2.13.1-8 yast2-2.13.64.3-0.2 yast2-country-2.13.23-5 yast2-installation-2.13.132.9-0.2
If you are missing something, it will report something like
package yast2-very-important is not installed
checkall_buildrequires does the same for all YaST2 packages below the
current directory (for all */*.spec.in files) in case you want to be able to
build all YaST2 packages.
CAVEAT: It might report bogus errors for ">=" relations like (BuildRequires: foo >= 42.1).

