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

Bug 46942

Summary: ebuild file for wxActiveX extension to wxWidgets library cross-compiled to win32 using xmingw (new)
Product: Gentoo Linux Reporter: Adrian Smarzewski <adrian>
Component: New packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED WONTFIX    
Severity: normal CC: radek, vapier
Priority: High Keywords: PMASKED
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 46420, 46886    
Bug Blocks:    
Attachments: wxActiveX ebuild file
wxActiveX patch fixing mingw compiling and linking
updated ebuild
updated xmingw-wxactivex ebuild
new ebuild - wxWidgets 2.6, debug flag added

Description Adrian Smarzewski 2004-04-06 04:05:12 UTC
this is an ebuild file for wxActiveX/wxIE extension to wxWidgets library cross-compiled to win32 using xmingw. Now you can easly build win32
applications with ActiveX support and Internet Explorer embedded on gentoo
host). It requires my previously send cross-compiled wxWidgets library
ebuild (bug 46420), and a patch fixing ole headers in xmingw-win32api
package (bug 46886). wxActiveX library needs a non-trivial patch to compile
using mingw. The patch is attached and ebuild is applying it. I will send it
to library author too.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Adrian Smarzewski 2004-04-06 04:08:06 UTC
Created attachment 28777 [details]
wxActiveX ebuild file
Comment 2 Adrian Smarzewski 2004-04-06 04:09:02 UTC
Created attachment 28778 [details, diff]
wxActiveX patch fixing mingw compiling and linking
Comment 3 Mateusz Klatt 2005-02-04 07:40:12 UTC
Created attachment 50339 [details]
updated ebuild

Wit this ranlib is working
Comment 4 Adrian Smarzewski 2005-05-17 23:38:42 UTC
Created attachment 59184 [details]
updated xmingw-wxactivex ebuild
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2005-05-18 16:43:26 UTC
Adrian, this compiles fine, I just need to test wxIE.exe on a Windows machine
and I can add it. I'll have to change the copyright header like on wx-xmingw too
of course.
Comment 6 Rob Cakebread (RETIRED) gentoo-dev 2005-05-18 18:43:45 UTC
Added to CVS.
Thanks again Adrian!
Comment 7 devplanete 2005-06-25 05:09:28 UTC
Hello,
I'm using dev-cpp 4.9.9.2 with mingw 3.4.2 and WxWidgets 2.6

I have download wxactivex_1.0.zip and apply the patch "wxActiveX patch fixing 
mingw compiling and linking"

It's compiling and linking fine with 1 warning :
SetTransparent();
on void wxActiveX::CreateActiveX(REFCLSID clsid)
in the file wxactivex.cpp line 300

SetTransparent function is deprecated in wxwidgets 2.6 so I have comment the 
line.

The problem is when I execute the .EXE compiled whith dev-cpp, nothing appears 
on the screen and in the windows task manager.
(I'm on Windows XP home SP2)

Have you any idea...

I need to embedded IE control in my wx application so it's my problem.

Thank you for your help.
Comment 8 Adrian Smarzewski 2006-05-03 08:39:41 UTC
Created attachment 86074 [details]
new ebuild - wxWidgets 2.6, debug flag added

News:

- changes in makefile to make it compatible with wxWidgets 2.6 - see http://bugs.gentoo.org/show_bug.cgi?id=46420
- changes in makefile - always compile with ansi build of wxWidgets (can not compile wxActiveX with unicode version)
- debug flag to choose build od wxWidgets that will be used - debug or release.

Ebuild was prepared as SILVERCODERS (http://silvercoders.com) company
contribution to Gentoo project.
Comment 9 Adrian Smarzewski 2006-05-03 08:42:48 UTC
Reopening because of new ebuild (see attachment above).
Comment 10 SpanKY gentoo-dev 2006-09-16 22:29:09 UTC
dev-libs/wx-xmingw needs to be punted, not updated
Comment 11 Adrian Smarzewski 2006-09-17 02:45:13 UTC
Any reason?
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-10-31 05:08:22 UTC
# Mike Frysinger <vapier@gentoo.org> (23 Sep 2006)
# Use `emerge crossdev && crossdev mingw32`
dev-libs/wx-xmingw
dev-util/xmingw-binutils
dev-util/xmingw-gcc
dev-util/xmingw-runtime
dev-util/xmingw-w32api
dev-libs/wxactivex

Ebuild p.masked as it depends on deprecated package. Closing this bug.