User:Matt1/sandbox/compilation mandriva

From Wiki.ooo4kids.org

Jump to: navigation, search

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

svn checkout svn://svn.adullact.net/svnroot/ooo4kids1/trunk OOo4kids
svn update

Compilationt


export CC="ccache gcc"
export CXX="ccache g++"
./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 
source LinuxX86-64Env.Set.sh 

or

source LinuxX86Env.Set.sh


export PKGFORMAT=installed 

or

export PKGFORMAT="deb rpm"
cd instsetoo_native
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

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox