Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 113598

Summary: OpenOffice2.org ebuild could have "cairo" USE flag.
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: VERIFIED LATER    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Samuli Suominen (RETIRED) gentoo-dev 2005-11-25 17:08:09 UTC
Look at the bottom for --enable-cairo=no. OpenOffice ebuild doesn't have USE 
flag "cairo" to enable this. Using cairo allready, with Clearlooks GTK2 theme,
and have both "cairo" and "glitz" in USE flags. So I wish such configure
option would be available. 

Thanks, Samuli Suominen

>>> emerge (4 of 4) app-office/openoffice-2.0.0 to /
>>> md5 files   ;-) openoffice-1.1.4-r1.ebuild
>>> md5 files   ;-) openoffice-2.0.0.ebuild
>>> md5 files   ;-) openoffice-1.1.5.ebuild
>>> md5 files   ;-) files/digest-openoffice-1.1.5
>>> md5 files   ;-) files/digest-openoffice-2.0.0
>>> md5 files   ;-) files/digest-openoffice-1.1.4-r1
>>> md5 files   ;-) files/1.1.4/gcc34.patch.bz2
>>> md5 files   ;-) files/1.1.4/pyunolink-fix.patch
>>> md5 files   ;-) files/1.1.4/ooffice-wrapper-1.3
>>> md5 files   ;-) files/1.1.4/gcc-instlib.patch
>>> md5 files   ;-) files/1.1.4/openoffice-java.patch
>>> md5 files   ;-) files/1.1.4/javafix.patch
>>> md5 files   ;-) files/1.1.4/hardened-link.patch
>>> md5 files   ;-) files/1.1.4/getcompver.awk.patch
>>> md5 files   ;-) files/1.1.4/cws-heapbug_CAN-2005-0941.diff
>>> md5 files   ;-) files/1.1.4/gcc34-nojava-fix.patch
>>> md5 files   ;-) files/1.1.4/pthreadlink-fix.patch
>>> md5 files   ;-) files/1.1.4/freetype-217.patch
>>> md5 files   ;-) files/1.1.4/nptl.patch
>>> md5 files   ;-) files/1.1.4/build-new-xslt.diff
>>> md5 files   ;-) files/1.1.4/gcc34-sal-link-to-libsupc++.diff
>>> md5 files   ;-) files/1.1.4/STLport-vector.patch
>>> md5 files   ;-) files/1.1.4/newstlportfix.patch
>>> md5 files   ;-) files/1.1.5/gcc34.patch.bz2
>>> md5 files   ;-) files/1.1.5/pyunolink-fix.patch
>>> md5 files   ;-) files/1.1.5/ooffice-wrapper-1.3
>>> md5 files   ;-) files/1.1.5/gcc-instlib.patch
>>> md5 files   ;-) files/1.1.5/openoffice-java.patch
>>> md5 files   ;-) files/1.1.5/javafix.patch
>>> md5 files   ;-) files/1.1.5/hardened-link.patch
>>> md5 files   ;-) files/1.1.5/getcompver.awk.patch
>>> md5 files   ;-) files/1.1.5/gcc34-nojava-fix.patch
>>> md5 files   ;-) files/1.1.5/pthreadlink-fix.patch
>>> md5 files   ;-) files/1.1.5/freetype-217.patch
>>> md5 files   ;-) files/1.1.5/nptl.patch
>>> md5 files   ;-) files/1.1.5/build-new-xslt.diff
>>> md5 files   ;-) files/1.1.5/gcc34-sal-link-to-libsupc++.diff
>>> md5 files   ;-) files/1.1.5/STLport-vector.patch
>>> md5 files   ;-) files/1.1.5/newstlportfix.patch
>>> md5 files   ;-) files/2.0.0/buildfix-new-xslt.diff
>>> md5 files   ;-) files/2.0.0/gentoo-2.0.0.diff
>>> md5 files   ;-) files/2.0.0/nojava-fix-stringparam.diff
>>> md5 src_uri ;-) OOO_2_0_0-core.tar.bz2
>>> md5 src_uri ;-) OOO_2_0_0-system.tar.bz2
>>> md5 src_uri ;-) OOO_2_0_0-lang.tar.bz2
>>> md5 src_uri ;-) ooo-build-2.0.0.1.tar.gz
>>> md5 src_uri ;-) libwpd-0.8.3.tar.gz
>>> md5 src_uri ;-) extras-2.tar.bz2
 *
 *  It is important to note that OpenOffice.org is a very fragile
 *  build when it comes to CFLAGS.  A number of flags have already
 *  been filtered out.  If you experience difficulty merging this
 *  package and use agressive CFLAGS, lower the CFLAGS and try to
 *  merge again. Also note that building OOo takes a lot of time and
 *  hardware ressources: 4-6 GB free diskspace and 256 MB RAM are
 *  the minimum requirements. If you have less, use openoffice-bin
 *  instead.
 *
 *  To get a localized build, set the according LINGUAS variable(s).
 *
 *  You are building with java-support disabled, this results in some
 *  of the OpenOffice.org functionality (i.e. help) being disabled.
 *  If something you need does not work for you, rebuild with
 *  java in your USE-flags. Also the xml2 use-flag is disabled with
 *  -java to prevent build breakage.
 *
>>> Unpacking source...
>>> Unpacking ooo-build-2.0.0.1.tar.gz to /var/tmp/portage/openoffice-2.0.0/work 
* Applying gentoo-2.0.0.diff ...                                         [ ok ]
>>> Source unpacked.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FOO_COMMON... yes
checking for FOO_OPTIONAL... yes
found OOO_2_0_0, using /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/
patches/OOO_2_0/apply
checking for directory where to download sources ... /usr/portage/distfiles
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for autoconf... yes
checking for flex... yes
checking for bison... yes
checking for ccache... no
checking for widget sets... checking for FOO_GTK... yes
--enable-gtk
checking whether Hunspell UNO is enabled... no
checking for libhunspell... no needed
checking for broken aliases... ok
checking for Open Clip Art Library... no
checking for ooo-version... 2.0
checking for binsuffix... 2
checking for requested localizations... en-US
checking whether to enable Mono bindings... no
checking whether to enable Access import... no
checking whether to enable debugging code... configure: creating ./config.
statusconfig.status: creating download
config.status: creating scratch/place
config.status: creating intltool-extract
config.status: creating intltool-merge
config.status: creating intltool-update
config.status: creating Makefile
config.status: creating ooo1.1.spec
config.status: creating bin/setup
config.status: creating bin/Makefile
config.status: creating desktop/Makefile
config.status: creating distro-configs/Makefile
config.status: creating distro-configs/Ark.conf
config.status: creating distro-configs/Common.conf
config.status: creating distro-configs/Debian.conf
config.status: creating distro-configs/Debian64.conf
config.status: creating distro-configs/Ubuntu.conf
config.status: creating distro-configs/Ubuntu64.conf
config.status: creating distro-configs/NLD.conf
config.status: creating distro-configs/NLD64.conf
config.status: creating distro-configs/SUSE.conf
config.status: creating distro-configs/Mandriva.conf
config.status: creating distro-configs/Mandriva64.conf
config.status: creating distro-configs/Gentoo.conf
config.status: creating fonts/Makefile
config.status: creating patches/Makefile
config.status: creating patches/a11y/Makefile
config.status: creating patches/cairo/Makefile
config.status: creating patches/evo2/Makefile
config.status: creating patches/vba/Makefile
config.status: creating patches/mono/Makefile
config.status: creating patches/src680/Makefile
config.status: creating patches/OOO_2_0/Makefile
config.status: creating patches/64bit/Makefile
config.status: creating po/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating stamp/Makefile
config.status: creating man/Makefile
config.status: creating www/Makefile
config.status: creating www/images/Makefile
config.status: creating www/tinder-scripts/Makefile
config.status: executing depfiles commands

Building openoffice
        tag:                OOO_2_0_0
        apply rules:        /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/OOO_2_0/apply
        build dir:          /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/build/OOO_2_0_0
        tools dir:          /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1
        src package dir:    /usr/portage/distfiles
        distro:             Gentoo
        widget sets:        gtk
        icons:              industrial hicontrast
        gcc to use:         from system
        hunspell-uno:       no
        hunspell-lib:       no needed
        openclipart:        no
        mono bindings:      no
        mdbtools/access:    no
        java:               yes
        ooo-install-dir:    openoffice
        force gcc33:        no
        ccache:             no
        icecream:           no
        cairo:              no
        build type:         product build
        download mirror:    http://go-ooo.org/packages

To build run:
        ./download
        make
        bin/ooinstall <path-to-install>

        This is ooo-build-2-0 - the stable branch for 2.0 release.
        If you want to build something cool, unstable, and risky, use HEAD.


 * Building OpenOffice.org...
Making all in po
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/po'
Making all in desktop
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/desktop'
../intltool-merge ../po database.desktop.in database.desktop -d -u -c ../po/.
intltool-merge-cache
Generating and caching the translation database
Merging translations into database.desktop.
../intltool-merge ../po drawing.desktop.in drawing.desktop -d -u -c ../po/.
intltool-merge-cache
Found cached translation database
Merging translations into drawing.desktop.
../intltool-merge ../po formula.desktop.in formula.desktop -d -u -c ../po/.
intltool-merge-cache
Found cached translation database
Merging translations into formula.desktop.
../intltool-merge ../po presentation.desktop.in presentation.desktop -d -u -c ..
/po/.intltool-merge-cache
Found cached translation database
Merging translations into presentation.desktop.
../intltool-merge ../po spreadsheet.desktop.in spreadsheet.desktop -d -u -c ../
po/.intltool-merge-cache
Found cached translation database
Merging translations into spreadsheet.desktop.
../intltool-merge ../po textdoc.desktop.in textdoc.desktop -d -u -c ../po/.
intltool-merge-cache
Found cached translation database
Merging translations into textdoc.desktop.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/desktop'
Making all in distro-configs
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/distro-configs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/distro-configs'
Making all in bin
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/bin'
Making all in patches
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches'
Making all in 64bit
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/64bit'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/64bit'
Making all in OOO_2_0
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/OOO_2_0'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/OOO_2_0'
Making all in a11y
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/a11y'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/a11y'
Making all in cairo
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/cairo'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/cairo'
Making all in evo2
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/evo2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/evo2'
Making all in mono
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/mono'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/mono'
Making all in src680
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/src680'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/src680'
Making all in vba
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/vba'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches/vba'
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches'
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/patches'
Making all in man
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/man'
Making all in doc
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/doc'
Making all in fonts
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/fonts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/fonts'
Making all in stamp
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/stamp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/stamp'
Making all in src
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/src'
Making all in www
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www'
Making all in images
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www/images'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www/images'
Making all in tinder-scripts
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www/tinder-scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www/tinder-scripts'
make[2]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www'
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/www'
make[1]: Entering directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1'
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/bin/transform --revert 
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1 /var/tmp/portage/
openoffice-2.0.0/work/ooo-build-2.0.0.1/build/OOO_2_0_0
Revert font mapping munging ...
if test -d /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/build/
OOO_2_0_0/applied_patches ; then \
        FLAGS="--distro=Gentoo"; \
        if test -d /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/
build/OOO_2_0_0/binfilter ; then \
                FLAGS="$FLAGS --distro=Binfilter"; \
        fi ; \
        if test -d /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/
build/OOO_2_0_0/hunspell ; then \
                FLAGS="--distro=Hunspell $FLAGS"; \
        fi ; \
        if grep localize.sdf /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.
0.0.1/build/OOO_2_0_0/sw/source/ui/app/localize.sdf > /dev/null 2>&1 ; then \
                FLAGS="$FLAGS --distro=Localize"; \
        fi ; \
        /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/patches/apply.
pl /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/patches/OOO_2_0 /
var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/build/OOO_2_0_0 $FLAGS -
f -R ; \
fi
cd ./bin ; ./unpack
Using configure options from the environment
Setup:
 Tag:        'OOO_2_0_0'
 Apply:      '/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/patches/
OOO_2_0/apply'
 Flags:      ''
 Suffix:     '2'
 Dir:        '/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/build'
 DestDir:    ''
 Path:       '/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/build/
bin:/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-
linux-gnu/gcc-bin/3.4.4:/opt/sun-jre-bin-1.5.0.05/bin:/opt/sun-jre-bin-1.5.0.05/
javaws:/usr/qt/3/bin:/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.1/
bin'
 Prefix:     '/usr'
 Mandir:     '/usr/share/man'
 Docdir:     '/usr/share/doc/packages/OpenOffice.org'
 Sysconf:    '/usr/etc'
 OOInBase:   '/usr/lib/openoffice'
 OOInstall:  '/usr/lib/openoffice'
 OODestDir:  ''
 Config:     --disable-binfilter --disable-crashdump --disable-epm --enable-
crashdump=no --enable-openldap --with-build-version="Build 2.0.0.1" --with-
lang="en-US" --without-fonts --without-gpc --with-system-freetype --with-system-
gcc --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-
python --with-system-zlib --enable-evolution2 --enable-cairo=no --disable-
fontooo --disable-odk --enable-libsn --with-system-expat --with-system-stdlibs -
-with-system-xrender-headers --without-system-jpeg --without-java --with-system-
curl --without-system-nas --with-system-libxml --with-system-zlib --without-
system-mozilla --disable-mozilla --disable-openldap --disable-evolution2 --
disable-gnome-vfs --disable-lockdown --enable-gtk  --with-images='industrial 
hicontrast' --with-system-stdlibs  '--with-distro=Gentoo' '--with-vendor=Gentoo' 
'--with-arch=x86' '--with-srcdir=/usr/portage/distfiles' '--with-lang=en-US' '--
with-num-cpus=' '--with-binsuffix=2' '--with-installed-ooo-dirname=openoffice' 
'--enable-gtk' '--disable-kde' '--disable-access' '--disable-mono' '--disable-
cairo' '--disable-post-install-scripts' '--mandir=/usr/share/man' 'CFLAGS=-
march=athlon-xp -O2 -pipe -fomit-frame-pointer'


Reproducible: Always
Steps to Reproduce:
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-11-26 06:04:41 UTC
Cairo-support is not finished (and buggy) atm, as it replaces the old drawing
code, this will have to wait until it is more mature
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2006-08-23 07:49:46 UTC
This has been long integrated now, so just changing to the correc status