Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171684 - app-office/openoffice-2.1.0 needs >=gtk+-2.10
Summary: app-office/openoffice-2.1.0 needs >=gtk+-2.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 175123 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-21 14:27 UTC by kusi
Modified: 2007-04-24 21:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openoffice-2.1.0-r1.ebuild patch (openoffice-2.1.0-r1.ebuild.patch,542 bytes, patch)
2007-04-18 20:19 UTC, Hopeless
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kusi 2007-03-21 14:27:50 UTC
ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.1.0-r1/work/ooo/build/OOE680_m6/psprint/source/fontmanager

searching for the error in the buildlog shows
error: 'gdk_screen_get_font_options' was not declared in this scope

according to http://developer.gnome.org/doc/API/2.0/gdk/GdkScreen.html#id2547826 the function gdk_screen_get_font_options is defined only in gtk 2.10. I had gkt 2.8 installed. Updating gtk to 2.10 solves the problem

- please update gtk 2.10 dependency for the openoffice ebuild
- why do I need gtk at all? I disabled gnome/gtk in the useflags for oo2


my setup: (after updating to gtk 2.10!!)
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

emerge --info
Portage 2.1.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-suspend
2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.12.5
Timestamp of tree: Sun, 18 Mar 2007 19:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.0-r2, 2.0.31-r5
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -ftracer -momit-leaf-frame-pointer -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/shar
e/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -ftracer -momit-leaf-frame-pointer -msse -f
visibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch
 sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di
stfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts berkdb bitmap-fonts cdr cli cracklib crypt cup
s dri dvd eds emboss encode esd exif foomaticdb fortran gdbm gif gpm gstreamer g
tk gtk2 hal iconv imagemagick imlib ipv6 isdnlog jpeg kde kdeenablefinal kdehidd
envisibility kipi libg++ libwww mad midi mikmod mmx mp3 mpeg ncurses nls nptl np
tlonly ogg opengl oss pam pcmcia pcre perl pic png pppd python qt qt3 qt4 quickt
ime readline reflection sdl session spell spl sse sse2 ssl subversion tcpd truet
ype truetype-fonts type1-fonts unicode vorbis x86 xinerama xml xorg xv zlib" ALS
A_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1
x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trid
ent usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym co
py dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linea
r meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_
DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz6
33 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU"
 VIDEO_CARDS="fbdev nvidia vesa nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PO
RTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
build oo2.1 with gtk2.8
Comment 1 Hopeless 2007-04-18 20:19:30 UTC
Created attachment 116670 [details, diff]
openoffice-2.1.0-r1.ebuild patch
Comment 2 Hopeless 2007-04-18 20:26:24 UTC
I hope no one minds, but I'm raising the severity of this to normal, as it is still an issue after been reported almost a month ago, and is a very simple fix.

Edit: apparently I can't raise the severity, nevermind that part.

I've included a patch against openoffice-2.1.0-r1.ebuild, in case you're feeling lazy. ;p

Also, the openoffice-2.2.0.ebuild which has just gone into portage has the same dependency on gtk 2.4, and while I didn't test it I'm fairly sure it would have at least the same gtk dependency as OOo 2.1.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2007-04-19 05:42:11 UTC
*** Bug 175123 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2007-04-19 06:03:14 UTC
I've raised the dep for gtk+ now, both in 2.1.0-r1 and 2.2.0, sorry for taking so long...

Besides that: Do you still get this build problem, when not using gtk/gnome/cairo?
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2007-04-24 21:01:26 UTC
Ok, original bug solved, if the build problem is still there, reopen (and rename) the bug