Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 92690
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Gentoo TreeCleaner Project <treecleaner@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maciej Zieba <krokodylek@tenbit.pl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openvrml-0.15.10-gentoo.patch Patch to compile openvrml-0.15.10 on gentoo patch Honza Macháček 2006-05-12 03:36 0000 2.39 KB Details | Diff
openvrml-0.15.10.ebuild Ebuild for openvrml-0.15.10 text/plain Honza Macháček 2006-05-12 03:43 0000 2.18 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 92690 depends on: Show dependency tree
Bug 92690 blocks: 137775
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-15 04:33 0000
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 From Heinrich Wendel (RETIRED) 2005-05-16 03:43:57 0000 -------
can't get it built here, it hangs on browser.cpp

------- Comment #2 From Julien Enche 2005-05-20 08:17:55 0000 -------
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 From Heinrich Wendel (RETIRED) 2005-06-06 05:38:03 0000 -------
did that as well, same problem here on amd64 

------- Comment #4 From unz.snu 2005-06-26 06:57:00 0000 -------
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 From unz.snu 2005-06-28 10:40:38 0000 -------
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 From Thomas Matthijs (RETIRED) 2005-10-17 12:45:15 0000 -------
0.15.9 is out

------- Comment #7 From Heinrich Wendel (RETIRED) 2006-02-20 02:16:10 0000 -------
could you get 0.15.9 working? if please post an ebuild patch

------- Comment #8 From Honza Macháček 2006-05-12 03:36:08 0000 -------
Created an attachment (id=86640) [details]
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 From Honza Macháček 2006-05-12 03:43:22 0000 -------
Created an attachment (id=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 From Alec Warner 2006-08-03 15:21:37 0000 -------
This package is being removed

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug