Difference between revisions of "Fedora Build Instructions"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Fedora 19)
(Fedora 19)
Line 15: Line 15:
 
             gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \
 
             gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \
 
             gnome-vfs2-devel ant make tar rpm-build flex junit4 \
 
             gnome-vfs2-devel ant make tar rpm-build flex junit4 \
             perl-Digest-SHA
+
             perl-Digest-SHA ORBit2-devel
 +
 
 +
Build notes:
 +
 
 +
* To build with Java7, you need to apply the patch at https://issues.apache.org/ooo/attachment.cgi?id=80961&action=diff
 +
 
 +
* Building Mozilla is broken. Configure with --disable-mozilla to work around it.
  
 
=== Fedora 10 (works on Fedora 14 too) ===
 
=== Fedora 10 (works on Fedora 14 too) ===

Revision as of 15:36, 30 June 2013

About Fedora

http://www.fedoraproject.org

Build Instructions

The build procedure is the same as for other Linux systems.

Fedora 19

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-Digest-SHA ORBit2-devel

Build notes:

  • Building Mozilla is broken. 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

Personal tools