RPM Packaging Tips
From Granular Linux Documentation
This page contains the tips to successfully build all the major packages that Team Granular has built.
Contents |
kdelibs-3.5.9
- The recent version of unsermake gives certain errors during the initial phase of kdelibs compilation. This is due to some bugs arising from the incompatibilities between unsermake and cups. To solve this issue, remove unsermake from your system and then edit the kdelibs spec file to modify the following code:
%if %mdkversion >= 1020
%define umake 1
#%define usepch 1
%{?_without_unsermake: %global umake 0}
%else
%define umake 0
#%define usepch 0
%{?_with_unsermake: %global umake 1}
%endif
to look like:
%if %mdkversion >= 1020
%define umake 0
#%define usepch 1
%{?_without_unsermake: %global umake 0}
%else
%define umake 0
#%define usepch 0
%{?_with_unsermake: %global umake 1}
%endif
What this will do is tell the compiler that unsermake is not present on your system. So, the compiler will use the alternative tool, automake, to compile kdelibs.
- When compiling kdelibs, two dependencies are not included in the "BuildRequires" section of spec file, but are needed for a successful build. These provide the support for "help://" protocol in Konqueror (that is, probably the KDE Handbook). The deps are:
- libxslt-devel
- libbzip2-devel
k3d
- In order to build k-3d you will also need to build & or upgrade aqsis, boost-jam, python, emacs, and libboost.
metabar
- To build metabar that will actually be building kdeaddons. (unless you package .8 as a plugin by itself).
kdeaddons
- In order to build kdeaddons, you are going to need to build kdemultimedia.

