Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92690 - media-libs/openvrml-0.15.9 is available
Summary: media-libs/openvrml-0.15.9 is available
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo TreeCleaner Project
URL: http://www.openvrml.org/
Whiteboard:
Keywords:
Depends on:
Blocks: 137775
  Show dependency tree
 
Reported: 2005-05-15 04:33 UTC by Maciej Zieba
Modified: 2007-11-04 12:35 UTC (History)
4 users (show)

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


Attachments
Patch to compile openvrml-0.15.10 on gentoo (openvrml-0.15.10-gentoo.patch,2.39 KB, patch)
2006-05-12 03:36 UTC, Honza Macháček
Details | Diff
Ebuild for openvrml-0.15.10 (openvrml-0.15.10.ebuild,2.18 KB, text/plain)
2006-05-12 03:43 UTC, Honza Macháček
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Zieba 2005-05-15 04:33:29 UTC
Hi :)

The newest version in portage is 0.14.3 while the latest on homepage is 0.15.7

It would be great if someone could add the latter to portage :)

Best regards,
Maciej

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-16 03:43:57 UTC
can't get it built here, it hangs on browser.cpp
Comment 2 Julien Enche 2005-05-20 08:17:55 UTC
Compile successfully here but only with :

--disable-script-node-java (without that, configure gives me this error : "The
Java Native Interface is required for Script node Java support.")

--disable-mozilla-plugin (without, error : "xpidl is required to build the
Mozilla plug-in").
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 05:38:03 UTC
did that as well, same problem here on amd64 
Comment 4 unz.snu 2005-06-26 06:57:00 UTC
I couldn't emerge 0.14.3, -java -mozilla-plugin didn't help me.

I tried to modify a little 0.14.3 ebuild to compile 0.15.8, i setted 

XPIDL="/usr/bin/xpidl" XPIDLFLAGS="-I /usr/lib/mozilla/include/idl" 

before ./configure ... now xpidl is found ... but the real problem is not here.
Openvrml searches mozilla's libraries in others paths. locate reveals libraries'
existence. Now i can't manage to include /usr/lib/mozilla/include/dom in it. 

 g++ "-DPACKAGE_NAME=\"OpenVRML Mozilla Plugin\""
-DPACKAGE_TARNAME=\"openvrml-mozilla-plugin\" -DPACKAGE_VERSION=\"0.15.8\"
"-DPACKAGE_STRING=\"OpenVRML Mozilla Plugin 0.15.8\""
-DPACKAGE_BUGREPORT=\"openvrml-develop@lists.sourceforge.net\"
-DPACKAGE=\"openvrml-mozilla-plugin\" -DVERSION=\"0.15.8\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_PTHREAD=1 -I. -I. -I
-DGTK_DISABLE_DEPRECATED -DOPENVRML_LIBEXECDIR_=\"/usr/libexec\"
-I/usr/lib/mozilla/include/java -I/usr/lib/mozilla/include/plugin
-I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/xpcom
-I/usr/lib/mozilla/include/string -I/usr/lib/mozilla/include/nspr -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Os -march=athlon-xp -pipe -MT openvrml.lo -MD -MP
-MF .deps/openvrml.Tpo -c openvrml.cpp  -fPIC -DPIC -o .libs/openvrml.o
openvrml.cpp:38:27: nsIDOMWindow.h: No such file or directory
make[5]: *** [openvrml.lo] Error 1
make[5]: Leaving directory
`/var/tmp/portage/openvrml-0.15.8/work/openvrml-0.15.8/mozilla-plugin/src'
make[4]: *** [all-recursive] Error 1

I think java support is build correctly instead [reading lines during compiling].
Maybe we have to include dev-libs/boost among dependancies too.
Comment 5 unz.snu 2005-06-28 10:40:38 UTC
At least i could emerge 0.15.8 ... with some tricks


#1 emerge dev-util/boost-jam dev-util/boost [~x86 ones, other version dont'work]
#2 unpack sources and edit -> openvrml-0.15.8/mozilla-plugin/src/openvrml.cpp
i changed 
include <nsIDOMWindow.h> to <dom/nsIDOMWindow.h> [line ~ #6/7]
#3 added XPIDL="/usr/bin/xpidl" XPIDLFLAGS="-I /usr/lib/mozilla/include/idl"
CPPFLAGS="-I /usr/lib/mozilla/include" before ./configure
#4 added mozilla USE to install mozilla-plugin

now lookat works, but i can't get the plugin correctly loaded in mozilla/firefox
... it's been installed but won't load ... both browser crashed.
Comment 6 Thomas Matthijs (RETIRED) gentoo-dev 2005-10-17 12:45:15 UTC
0.15.9 is out
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2006-02-20 02:16:10 UTC
could you get 0.15.9 working? if please post an ebuild patch
Comment 8 Honza Macháček 2006-05-12 03:36:08 UTC
Created attachment 86640 [details, diff]
Patch to compile openvrml-0.15.10 on gentoo

Hopefully solves problems with mozilla plugin compilation. Correct location of mozilla includes is introduced, clash of None #defined by X libraries with None typedefed by boost libraries is resolved by an ugly hack, and one include directive is corrected to contain dom/ part of path. Should it be broken to three patches addressing one issue at a time?
Comment 9 Honza Macháček 2006-05-12 03:43:22 UTC
Created attachment 86641 [details]
Ebuild for openvrml-0.15.10

Probably done totally wrong, excuse, please, my lack of experience. Works at least for me at x86 (Athlon XP 2500+, default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r4) Slightly modified ebuild of openvrml-0.14.3: patch applied and dependency on dev-libs/boost introduced. Should some USE flag like mozilla be added to trigger mozilla plugin build?
Comment 10 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-03 15:21:37 UTC
This package is being removed