User:Matt1/sandbox/compilation mandriva
From Wiki.ooo4kids.org
Now on Mageia
Contents |
necessary rpm
urpmi task-c++-devel perl-Archive-Zip libpam-dev libpython2.6-devel libcurl-dev libxaw-devel rpm-build ccache gperf libcups-devel libGConf2-devel libgstreamer-plugins-base0.10-devel libxorg-x11-devel libxslt libpython-devel libboost-devel icu
Be careful! For 64 bits version, there are differents package:
urpmi task-c++-devel perl-Archive-Zip lib64pam-dev lib64python2.6-devel lib64curl-dev libxaw-devel rpm-build gperf lib64GConf2-devel lib64gstreamer-plugins-base0.10-devel lib64cups2-devel lib64xorg-x11-devel ccache
synchro from OOo4Kids repository
- dev branch
svn checkout svn://svn.adullact.net/svnroot/ooo4kids1/trunk OOo4kids
- to update without replace modified files
svn update
Compilationt
- Go to source folder
export CC="ccache gcc"
export CXX="ccache g++"
- do not build with Cairo
./configure --with-lang="de es fi fr it nl pt zh-CN" --disable-neon --disable-crashdump --disable-fontconfig --with-epm=internal --disable-gnome-vfs --with-system-curl --with-stlport=no --disable-build-mozilla --disable-binfilter --disable-odk --disable-vba --disable-mozilla --with-java=no --enable-crashdump=no --with-OOo4Kids --with-use-shell=bash --with-system-python --disable-gtk
new: ./configure --with-package-format=installed --with-lang=ALL --with-OOo4Kids -without-fonts --disable-gnome-vfs --disable-gtk --with-system-icu --with-system-libxml --with-system-boost --with-system-python --enable-opengl --enable-gstreamer
- bootstrap
./bootstrap
- adapt for your environment
source LinuxX86-64Env.Set.sh
or
source LinuxX86Env.Set.sh
- choose your build
export PKGFORMAT=installed
or
export PKGFORMAT="deb rpm"
- go to instsetoo_native
cd instsetoo_native
- time is not installed so run
build --all -P2 -- -P2
Follow steps by Benbois: User:Benbois/Sandbox#Compilation_checklist
build rpm
To be integrated, we must to propose a SRPM.It is a package with sources and a global spec file who permit an automatic build. We have only a local spec for menus: sysui/desktop/mandriva/OOo4Kids-mandriva-menus.spec
An example is the OpenOffice.org.spec http://pastebin.com/D6m8dbqn