Re: [maemo-developers] python + osso_browser does work.

2006-12-15 Thread Jack Jansen


On  12-Dec-2006, at 17:15 , Osvaldo Santana wrote:

Would it be possible to package readline.so separately so that
Python developers can apt-get install python-readline, while regular
users can save half a meg?


It's possible to make another package with the readline.so module, but
the Python interactive mode will not use it.


Why is this? This isn't a problem on other platforms. For instance,  
on the Mac readline used to be a separate distribution because of  
licensing issues.

--
Jack Jansen, <[EMAIL PROTECTED]>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman





smime.p7s
Description: S/MIME cryptographic signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: Avoiding loopback local IP address mode in WIFI connections using Internet Tablet OS 2006

2006-10-30 Thread Jack Jansen


On 27-okt-2006, at 12:21, Sebastian Spaeth wrote:
The Powerbook is setting up the WLAN (via Internet sharing->ON), no  
AP involved here. It does not create an ad-hoc mode WLAN but  
provides an AP that others connect to in managed mode.


I have exactly the same problem, and I did fine one extra bit of  
information, in system.log ( Applications->Utilities->Console- 
>system.log through the GUI):
Oct 30 09:49:15 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 
Oct 30 09:49:19 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 
Oct 30 09:49:22 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 
Oct 30 09:49:25 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 
Oct 30 09:50:27 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 
Oct 30 09:50:30 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 
Oct 30 09:50:33 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 
Oct 30 09:50:37 schil-sen-cwi-nl bootpd[321]: DHCP DISCOVER [en1]:  
1,0:14:a7:fa:46:17 


So, the DHCP requests are coming in, but nothing is going out.

I've tried to start bootpd in debug mode but that isn't enough to  
create a managed network. And if the driver program /usr/libexec/ 
InternetSharing has a debug mode it isn't documented. And if there's  
a way to enable debugging by setting
a flag in its preference file (/Library/Preferences/ 
SystemConfiguration/com.apple.nat.plist) it's also not documented:-(

--
Jack Jansen, <[EMAIL PROTECTED]>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman





smime.p7s
Description: S/MIME cryptographic signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Python extension of C++ in Maemo

2006-09-18 Thread Jack Jansen


On 18-sep-2006, at 8:38, Winston Wu wrote:


Hi all,
I'm wondering if any has a good pointer for how to write Python  
extension of C++ in Maemo.  What I want to do is pretty similar to  
what's described in this discussion: http://www.velocityreviews.com/ 
forums/t353864-calling-c-function-from-python-script.html. The  
problem for me is that it requires SWIG wrapper library, which I  
don't know how to make it work with Maemo.  Is there another  
wrapper that works with Maemo?


I think you can pre-generate the wrappers on any platform, then you  
only need to compile them for Maemo. The same is probably true for  
other wrapper generators such as sip. I know it's true for my own  
bgen wrapper generator, but as the C++ support isn't ready for prime  
time yet I won't offer it as an alternative:-)

--
Jack Jansen, <[EMAIL PROTECTED]>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman





smime.p7s
Description: S/MIME cryptographic signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: python Re: [maemo-developers] Maemo 2.0 final release available

2006-07-11 Thread Jack Jansen


On 10-Jul-2006, at 16:20 , Gustavo Sverzut Barbieri wrote:

Or, assuming that 95% of the time python on 770 would be used for GUI
applications (rather than daemons, scripts or such) linking pygtk and
pyhildon statically with python might be wortwhile optimization.
Licenses permitting, of course.


That's my idea and it's in my TODO :-)


On the Python side this shouldn't be a problem, license-wise.
--
Jack Jansen, <[EMAIL PROTECTED]>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman





smime.p7s
Description: S/MIME cryptographic signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Gesture recognition

2006-06-07 Thread Jack Jansen
We want to do some simple gesture recognition on the 770, but either  
we're looking in the wrong places for more information or the whole  
gesture stuff is only available in the virtual keyboard popup.


Does anyone have any pointers to where we should be looking?  
Initially we don't need anything fancy, simple strokes and maybe ">"- 
like arrows and a circle should be fine, but we'd rather stick with a  
standard solution than grow our own because of future extensibility.


Thanks,
--
Jack Jansen, <[EMAIL PROTECTED]>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman





smime.p7s
Description: S/MIME cryptographic signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers