maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   work in progress: simple vertical sms app: vertsms (https://talk.maemo.org/showthread.php?t=51635)

ossipena 2010-05-20 15:40

Re: work in progress: simple vertical sms app: vertsms
 
I quess the PDU string creation must be modified in addition to ui. the PDU is as low as it can get and every SMS in the world uses it so I see no technical blockers...

MohammadAG 2010-05-20 15:42

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by gri (Post 667845)
Can you tell me what you actually changed for the russian version? Only some strings or more?
Qt supports translations as well as Right-To-Left support, so it should be possible to make a version containing latin, russian and arabic languages?

Hebrew is also RTL.
Anyways, VertSMS is programmed in GTK not Qt, it should be possible to create .pot files and load translations accordingly.
http://en.wikipedia.org/wiki/GNU_gettext#Translating

Oh, v0.4 pushed to -devel,
2010-05-20 15:20 UTC
It should've been imported between 15:35 and 15:40, but *sigh*
The importer should run again at 16:05, so expect the package to show up around that time.

gri 2010-05-20 15:55

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by MohammadAG (Post 667885)
Anyways, VertSMS is programmed in GTK not Qt ....

Ups, sorry. It's confusing to always remember which project was Qt and which is GTK :)

InoHacker 2010-05-20 19:15

Re: work in progress: simple vertical sms app: vertsms
 
delete ...

InoHacker 2010-05-20 19:16

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by gri (Post 667845)
Can you tell me what you actually changed for the russian version? Only some strings or more?
Qt supports translations as well as Right-To-Left support, so it should be possible to make a version containing latin, russian and arabic languages?

For PDU-string in Russian (for example) it is used two bytes on the character, against one byte in a Latin.
Therefore maximum length of one message of only 70 characters, against 160.
Plus should be translated a message text in the coding utf-8.

I'am very sorry for my bad english :(

MohammadAG 2010-05-21 17:49

Re: work in progress: simple vertical sms app: vertsms
 
@ ossipena

Were any more dependecies needed for this release?
Code:

python /opt/vertsms/vertsms_gui.pyc
Traceback (most recent call last):
 *  File "/home/opt/vertsms/vertsms_gui.py", line 19, in <module>
 * * *  from vertsms import config, sms, pygobject
 *  File "/home/opt/vertsms/vertsms/sms.py", line 5, in <module>
 * * *  import ctypes, uuid, glib, gobject
ImportError: No module named glib

Got that via email btw.

aspidites 2010-05-21 19:08

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by MohammadAG (Post 669647)
@ ossipena

Were any more dependecies needed for this release?
Code:

python /opt/vertsms/vertsms_gui.pyc
Traceback (most recent call last):
 *  File "/home/opt/vertsms/vertsms_gui.py", line 19, in <module>
 * * *  from vertsms import config, sms, pygobject
 *  File "/home/opt/vertsms/vertsms/sms.py", line 5, in <module>
 * * *  import ctypes, uuid, glib, gobject
ImportError: No module named glib

Got that via email btw.

No. Mine works just fine. Make sure their python installation went through without a hithc. Here's what I have installed

Code:

dpkg -l | grep python
ii  python                                              2.5.2-3maemo3                    An interactive high-level object-oriented la
ii  python-all                                          2.5.2-3maemo3                    Package depending on all supported Python ru
ii  python-cairo                                        1.4.12-1.2maemo1                Python bindings for the Cairo vector graphic
ii  python-central                                      0.6.11.1maemo2                  register and build utility for Python packag
ii  python-conic                                        0.1-5                            Python bindings for Internet Connectivity li
ii  python-dbus                                        0.83.0-1maemo3                  simple interprocess messaging system (Python
ii  python-evolution                                    0.0.4-maemo2                    Python bindings for Evolution Data Server.
ii  python-gconf                                        2.26.1-1maemo1                  Python bindings for the GConf configuration
ii  python-gobject                                      2.16.1-1maemo1                  Python bindings for the GObject library
ii  python-gst0.10                                      0.10.14-2maemo5                  generic media-playing framework (Python bind
ii  python-gtk2                                        2.12.1-6maemo10                  Python bindings for the GTK+ widget set
ii  python-hildon                                      0.9.0-1maemo15                  Python bindings for Hildon Framework.
ii  python-imaging                                      1.1.6-3maemo2                    Python Imaging Library
ii  python-minimal                                      2.5.2-3maemo3                    A minimal subset of the Python language (def
ii  python-notify                                      0.1.1-2maemo1                    Python bindings for libnotify
ii  python-numeric                                      24.2-9maemo4                    Numerical (matrix-oriented) Mathematics for
ii  python-osso                                        0.4-0maemo3                      Python bindings for libosso library
ii  python-support                                      1.0.6maemo1                      automated rebuilding support for Python modu
ii  python2.5                                          2.5.4-1maemo5                    An interactive high-level object-oriented la
ii  python2.5-minimal                                  2.5.4-1maemo5                    A minimal subset of the Python language (ver
ii  python2.5-py2deb                                    0.5.3-4                          Generate simple deb(/rpm) from python
ii  python2.5-qt4                                      4.7.3-maemo2                    Complete Python binding set for Qt4
ii  python2.5-qt4-common                                4.7.3-maemo2                    Shared files for PyQt4
ii  python2.5-qt4-core                                  4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-dbus                                  4.7.3-maemo2                    Python bindings for Qt dbus mainloop.
ii  python2.5-qt4-gl                                    4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-gui                                  4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-maemo5                                4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-multimedia                            4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-network                              4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-phonon                                4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-script                                4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-sql                                  4.7.3-maemo2                    Python bindings for PyQt4's SQL module
ii  python2.5-qt4-svg                                  4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-test                                  4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-webkit                                4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-xml                                  4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-qt4-xmlpatterns                          4.7.3-maemo2                    Python bindings for Qt4 Core components.
ii  python2.5-sip4                                      4.10.2-maemo0                    Python/C++ bindings generator runtime librar

Of course the qt4 related packages aren't neccessary. The only other python-base program I have is aptly which pulls nohting but python itself and fmms.

frals 2010-05-22 22:20

Re: work in progress: simple vertical sms app: vertsms
 
bah, git merge requests seems to be rocket surgery, not sure if i managed to do it correctly.. :P

http://gitorious.org/vertsms/vertsms/merge_requests/9 anyway, qwerty keyboard which seems to be working fine here at least

rofo1000 2010-05-23 16:42

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by frals (Post 670940)
bah, git merge requests seems to be rocket surgery, not sure if i managed to do it correctly.. :P

http://gitorious.org/vertsms/vertsms/merge_requests/9 anyway, qwerty keyboard which seems to be working fine here at least

When sending a text written with your qwerty-keyboard, å,ä, and ö looks good when its written in vertsms. But it is just a bunch of symbols on the receivers phone.
What could be the problem?
It would be great to add åäö to original vertsms, you know: abcåä2, mnoö6.
For us swedes that is ;)

Joorin 2010-05-23 18:49

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by rofo1000 (Post 671865)
When sending a text written with your qwerty-keyboard, å,ä, and ö looks good when its written in vertsms. But it is just a bunch of symbols on the receivers phone.
What could be the problem?
It would be great to add åäö to original vertsms, you know: abcåä2, mnoö6.
For us swedes that is ;)

What symbols do you get? It helps a lot with debugging.

One reason for the problem might be that Python is unicode clean and produces UTF-8 somewhere along the way.


All times are GMT. The time now is 08:17.

vBulletin® Version 3.8.8