maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   News (https://talk.maemo.org/forumdisplay.php?f=2)
-   -   wxGTK slouching toward Maemo (https://talk.maemo.org/showthread.php?t=13096)

RogerS 2007-12-12 23:14

wxGTK slouching toward Maemo
 
Quote:

Nice post at wxBlog about Hildonizing wxGTK. Obviously, apps won't be as small as using GTK natively, but it should make some ports more likely.

Since XML Copy Editor, the open-source XML editor I am fanatic about, is built with wxWidgets, this might be a way to bring that fabulous app to the Nokia Internet Tablet.

I don't want to make the N8x0 my primary device, but being able to edit when I need to without lugging around the laptop is one of the NIT's selling points.

I'll post more about this as events develop with wxGTK.
Read the full article.

gsagers 2007-12-13 14:39

Re: wxGTK slouching toward Maemo
 
That'll be nice. I can think of several apps that I'd like that need wxGTK.

yerga 2007-12-13 16:01

Re: wxGTK slouching toward Maemo
 
For 10¢, applications that need wxGTK: aMule

:)

lintweaker 2007-12-13 20:52

Re: wxGTK slouching toward Maemo
 
Quote:

Originally Posted by yerga (Post 108208)
For 10¢, applications that need wxGTK: aMule

:)

Auch, running aMule on the Nokia :D

RogerS 2007-12-16 03:12

Re: wxGTK slouching toward Maemo
 
See Maemo Geek's test, maemogeek.blogspot.com/2007/12/wxgtk-working-on-maemo.html

http://www.internettablettalk.com/wp...hildon-500.jpg

fpp 2007-12-16 11:13

Re: wxGTK slouching toward Maemo
 
Now we're going to need wxPython too :-)

pinoverclock 2011-01-03 16:20

Re: wxGTK slouching toward Maemo
 
Hi, everyone and happy new year!!!

I,ve been triying to compile WxWidgets (wxGTK) for maemo5/N900, following this link:

http://maemogeek.blogspot.com/2007/1...-on-maemo.html

So i open scratchbox and download wxWidgets trunk:

svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk

I renamed the folder to wxwidgets-2.9

I configured it this way:
--prefix=/opt/usr so it create its folders at /opt/usr/include/wx-2.9 /opt/usr/lib
--bindir=/usr/bin so it create wx-config wx wx-2.9 at /usr/bin/
--enable-compat26 to have retro compatibility with wxwidgets 2.6
--with-hildon to be able to use Hildon framework for Nokia 770/800/810 (and hopelly maemo5/N900)

So here is my configuration string:
./configure --prefix=/opt/usr --bindir=/usr/bin --with-hildon --enable-compat26

Here is the result:
Configured wxWidgets 2.9.2 for `arm-unknown-linux-gnu'

Which GUI toolkit should wxWidgets use? GTK+ 2 with support for GTK+ printing
Should wxWidgets be compiled into single library? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets support Unicode? yes (using UTF-8)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.6 yes
wxWidgets 2.8 yes
Which libraries should wxWidgets use?
STL no
jpeg sys
png sys
regex builtin
tiff sys
zlib sys
expat sys
libmspack no
sdl no



Its compiles without any problem
And it install aguain with no errors:

------------------------------------------------------

The installation of wxWidgets is finished. On certain
platforms (e.g. Linux) you'll now have to run ldconfig
if you installed a shared library and also modify the
LD_LIBRARY_PATH (or equivalent) environment variable.

wxWidgets comes with no guarantees and doesn't claim
to be suitable for any purpose.

Read the wxWindows Licence on licencing conditions.

------------------------------------------------------


It creates folders:
/opt/usr/include/wx-2.9
/opt/usr/lib/wx

And a bunch of libraries at: /opt/usr/lib/libwx_*
And 1 executable and to sympolic linfiles wx-config wx wx-2.9 at /usr/bin/
wxrc-2.9
wxrc -> wxrc-2.9
wx-config -> /opt/usr/lib/wx/config/gtk2-unicode-2.9

I create some simbolic links from /opt... to /usr...
ln -s /opt/usr/lib/* /usr/lib/
ln -s /opt/usr/include/wx-2.9 /usr/include/wx-2.9


So every thing seems to be ok, then i try to compile and run the example in the link.
g++ hworld.cpp `wx-config --libs` `wx-config --cxxflags` -o hworld

Compiles without problems, but when i try to run it i get:

[sbox-FREMANTLE_ARMEL: /usr/src] > run-standalone.sh ./hworld
/usr/bin/run-standalone.sh: line 2: qemu:: command not found
/usr/bin/run-standalone.sh: line 3: Cannot: command not found
04:46:10 pm: Error: Unable to initialize Hildon program


Could someone please tell me what im doing wrong?
Thanxs in advance

theonelaw 2011-01-19 14:36

Re: wxGTK slouching toward Maemo
 
Quote:

Originally Posted by pinoverclock (Post 910674)
...
Which GUI toolkit should wxWidgets use? GTK+ 2 with support for GTK+ printing

If this can help establish a printing dialogue count me in.
I have cups working now just need applications that can print :D

thanks


All times are GMT. The time now is 06:34.

vBulletin® Version 3.8.8