Difference between revisions of "Fedora Build Instructions"
From Apache OpenOffice Wiki
		
		
		
|  (→Fedora 19:  Add perl-LWP-Protocol-https) | |||
| Line 7: | Line 7: | ||
| The [[Building|build procedure]] is the same as for other Linux systems. | The [[Building|build procedure]] is the same as for other Linux systems. | ||
| − | === Fedora 19 === | + | === Fedora 19 (works on Fedora 20 too) === | 
| Required packages: | Required packages: | ||
Revision as of 09:01, 20 February 2016
About Fedora
Build Instructions
The build procedure is the same as for other Linux systems.
Fedora 19 (works on Fedora 20 too)
Required packages:
yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \
            pam-devel java-1.7.0-openjdk-devel gperf freetype-devel \
            gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \
            gnome-vfs2-devel ant make tar rpm-build flex junit4 \
            perl-LWP-UserAgent-Determined perl-XML-Parser \
            perl-Digest-SHA ORBit2-devel perl-LWP-Protocol-https
Build notes:
- The perl-Digest-SHA dependency is not caught until bootstrap
- The ORBit2-devel dependency is not caught until building the "shell" module
- Build breaks in "hsqldb": to build with Java7, you need to apply the patch at https://issues.apache.org/ooo/attachment.cgi?id=80961&action=diff
- Build breaks in "moz": configure with --disable-mozilla to work around it.
Fedora 10 (works on Fedora 14 too)
Required packages:
yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \
            pam-devel java-1.6.0-openjdk-devel gperf freetype-devel \
            gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \
            gnome-vfs2-devel ant make
Quick start guide
Still valid?
yum -y install mono-devel perl-Archive-Zip ant bison \
       flex pam-devel cups-devel gperf libxslt-devel openldap-devel \
       firefox-devel xorg-x11-devel gstreamer-devel \
       gstreamer-plugins-base-devel db4-devel unixODBC-devel \
       xml-commons-jaxp-1.3-apis xalan-j2 boost-devel \
       unixODBC-devel qt-devel subversion autoconf automake \
       gtk2-devel gcc-c++  gnome-vfs2-devel rpm-build \
       expat-devel python-devel curl-devel
./autogen.sh -with-distro=SUSE \
       --with-jdk-home=/usr/lib/jvm/java-1.5.0-gcj \
       --with-ant-home=/usr/share/ant \
        --with-system-mozilla=firefox \
       --disable-Xaw \
       --disable-kde \
       --disable-mono \
       --enable-opengl --enable-ogltrans \
       --disable-neon \
       --enable-debug
Another list
Blog about building ooo-build on Fedora 7
Fedora packaging
Fedora 14
The Fedora 14 spec file can be found at http://koji.fedoraproject.org/koji/buildinfo?buildID=276232 (download the srpm, and uncompress it (rpm2cpio <file> | cpio -idv) ); you'll see the single spec file openoffice.org.spec ; note that it doesn't build cleanly, you need to apply the patch from https://issues.apache.org/ooo/show_bug.cgi?id=114999
Fedora 19
- HSQLDB does not build with Java 7: see https://issues.apache.org/ooo/show_bug.cgi?id=121754 for the relevant patches.
- Spec files for dmake and epm by Fred Ollinger are at https://github.com/fredollinger/aooo-fedora-rawhide
- A note from Ariel about dictionaries: http://mail-archives.apache.org/mod_mbox/openoffice-dev/201303.mbox/%3C20130329145345.GC2969%40localhost%3E

