Interest in mingw wxWidgets

Max Jonathan Spaulding maxj at groff.net
Mon Jun 22 14:50:09 UTC 2009


On Monday 22 June 2009 08:27:11 Kevin Kofler wrote:
> Max Jonathan Spaulding wrote:
> > Sorry, you lost me here.  I get that Fedora doesn't currently have a W32
> > wxWidgets package, thats why I was asking if anyone had an interest in my
> > making such a package.  What do you see as making it not so easy?  The wx
> > sources cross build very nicely with mingw, I've been doing it for years
> > with a hand built mingw.  The .spec for wxGTK with very few changes
> > should work pretty much out the door with no patches or anything.
> >
> > I'm new to packaging so maybe I am being naive?  But getting a cross
> > built wx for win32 is no problem with mingw.
>
> I'm saying it'll need more changes compared to the native Fedora package
> than most other libs because you'll be building a different wxWidgets
> backend than for the native Fedora package, whereas for most other libs,
> you just have to mingw-ize the specfile.

I'm sorry, not trying to be argumentative, but I really don't get the 
difference?  Getting wx to cross build entails setting a few environment 
variables and pointing it at the right compiler.  Its already setup to have 
multiple versions, builds installed on the same system.

I'm just not understanding, what is different between it and some other 
library?

I also am not understanding what you mean by "a different wxWidgets backend"?  
I no little of packaging or if fedora does anything "special" with wxWidgets, 
but wxWidgets itself was made for just this thing.  You cross build it by 
setting some env vars and making sure it finds the right compiler, you get a 
second set of include files that can go in their own build specific directory as 
well as the libraries.

What about wx makes it trickier than other libraries.  Again not being 
facetious, I suspect I must be missing something on the packaging side.  I 
downloaded the .spec's for FC10 and FC11 this weekend and it didn't look like 
that many changes, I am no expert on spec files (not even a novice) and I have 
no frame of reference for what other libraries needed but it seemed pretty 
straightforward.  I was going to take a stab at it later in the week.

-Max

> I haven't checked how many changes are needed exactly.
>
>         Kevin Kofler
>
> _______________________________________________
> fedora-mingw mailing list
> fedora-mingw at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw

-- 
Max Jonathan Spaulding - MC2 Research, LLC
3658 Shoshone St. Denver, Co 80211
email: maxj at groff.net - phone: (720) 854-5434
linkedin: http://www.linkedin.com/in/maxjspaulding



More information about the mingw mailing list