Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283004 - [app-office/libreoffice] nsplugin does not work without gtk+
Summary: [app-office/libreoffice] nsplugin does not work without gtk+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 08:01 UTC by François DORIN
Modified: 2011-10-18 07:34 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.bz2,613.96 KB, application/octet-stream)
2009-08-28 08:02 UTC, François DORIN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François DORIN 2009-08-28 08:01:16 UTC
Hello,

I'm trying to integrate OpenOffice via the openoffice plugin. I could do it on my laptop and my personal computer, but not on my professional one.

The problem is the libnpsoplugin.so is not build and I don't know why.

Of course, I'm using the "nsplugin" USE flag.



Reproducible: Always



Expected Results:  
I'm expecting to have the library "libnpsoplugin.so" in the "/usr/lib/openoffice/program" directory but it is not the case.

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 28 Aug 2009 07:30:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa arts bash-completion berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd fortran gdbm gif gpm graphviz gs hal iconv isdnlog java java5 java6 jpeg jpeg2k kde mng mono mudflap mysql ncurses nls nptl nptlonly nsplugin odk opengl openmp pam pcre perl png ppds pppd python qt3 qt4 readline reflection samba session spl sqlite ssl svg sysfs tcpd templates threads tiff truetype unicode wmf x86 xine xinerama xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="fbdev vga vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 François DORIN 2009-08-28 08:02:32 UTC
Created attachment 202451 [details]
build.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-08-28 18:24:23 UTC
Please provide emerge -vp app-office/openoffice
Comment 3 François DORIN 2009-08-29 10:36:08 UTC
(In reply to comment #2)
> Please provide emerge -vp app-office/openoffice
I can't do it before ten days, because I'm currently in business trip. I will put the exact command as soon as possible.

By the way, I can assure the presence of the "nsplugin" use flag when executing "emerge -pv openoffice" command, because it was the first check I performed.
Comment 4 François DORIN 2009-09-04 07:16:46 UTC
Hi,

here is the result of the "emerge -pv openoffice" command : 

[ebuild   R   ] app-office/openoffice-3.1.0-r1  USE="bash-completion cups dbus j                                                                           ava kde mono nsplugin odk opengl pam templates -binfilter -debug -eds -gnome -gs                                                                           treamer -gtk -ldap" LINGUAS="en fr -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -c                                                                           a -cs -cy -da -de -dgo -dz -el -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -ga                                                                            -gl -gu -he -hi_IN -hr -hu -id -it -ja -ka -kk -km -kn_IN -ko -kok -ks -ku -lt -                                                                           mai -mk -ml_IN -mn -mni -mr_IN -nb -ne -nl -nn -nr -ns -oc -or_IN -pa_IN -pl -pt                                                                            -pt_BR -ru -rw -sa_IN -sat -sd -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta -ta_IN -t                                                                           e_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0                                                                            kB
Comment 5 François DORIN 2009-09-21 06:21:45 UTC
Hi everybody

After upgrading to openoffice-3.1.1, I have still this bug. I cheched the differences between a working configuration and the break one. I found only the gtk flag.

So, I tested to build openoffice with USE="gtk". And the plugin is here ! 

So, the "nsplugin" flag needs "gtk" flag to work properly. Can anybody confirm this bug ?
Comment 6 François DORIN 2009-09-23 09:56:29 UTC
I build openoffice without the gtk flag on my laptop: no plugin.

So, I think there is really a bug about nsplugin flag, which needs gtk flag to work properly.

If someone else can confirm this bug...
Comment 7 Hanno Zysik (geki) 2009-11-28 03:54:56 UTC
I wonder if this bug fits in my idea..?

François, I see that you have kde on your laptop.
I wonder if the OOo Firefox plugin could be written against Qt4 instead, where there is kde and no gtk+.

I will ask the kde4 porter to check Firefox/Qt4 and OOo plugin code.
Maybe, I get his attention. ;)
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-26 22:37:05 UTC
This bug is ALMOST fixed (not bad for 2 years don't you think?).

We are now avaiting for python.eclass to support eapi4 so we can use REQUIRED_USE constrains that are currently commented in the ebuild.
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-18 07:34:52 UTC
eapi4 is now in use for both live ebuilds, so with next version bump it will get propagated to them.