Michal Čihař - Blog Archives for Gammu

Wammu can handle SMS recipient lists

I just added to Wammu support for SMS recipient lists. For now there is no interaction with possible lists in phone, but you can create and save your own lists.

Lists are saved in plain text files, one phone per line. I guess such list will be easy to create from any application.

PS: I hope this feature won't be used for SMS spamming :-).

What do users want?

Now I'm in state when I'm deciding what to put to next Wammu version. This is always hard, because I don't get any feedback from most of users. I sometimes find note in random forum, that user wants dock icon.

Anyway I'd really appreciate some feedback in bug tracking system. Write there features you would like to see or post comments to existing reports, that you want to see this feature.

This will help me to choose which one to implement in upcoming Wammu version. You can see what I've chosen for now in bug #252.

Gammu stable version 1.10.0

I just released new version of Gammu, you can download it from download server. Changes to latest testing version are relatively small:

  • Added include paths to MSVC configuration files.
  • Support for sending file to phone (--sendfile).
  • Russian translation update (Acid Jack).
  • Fixed possible uninitialised value in date decoding (Stanislav Brabec).
  • Fixed reading of contacts from Samsung.
  • Fixed vCard handling for Siemens (bug #72).

Stay tuned, release weekend will continue ;-).

Version control system for Gammu and others

I still more and more think, that I should move out of Bazaar to some more maintained piece of software for version control. The biggest problem I currently see, that I was not able to convert by Bazaar repositories to some other format. I tried to convert to Bazaar-NG by booth BzrTools and Tailor, but none of them succeeded, then I tried conversion to Git, but Tailor failed also on this task.

Maybe I will try Subversion, which is now very widely used software, although it has some annoyances. I originally wanted distributed VCS, because I was often offline at home, but this is not the case anymore, so using centralised VCS on my own server should not be a big problem.

Wammu call for testing

Yesterday, I hacked last part migration to new Wammu configuration scheme (Wammu now does not have separate configuration to Gammu, but shares it) together with brand new [configuration wizard].

Before I release all those major changes as 0.18, I'd like to have some feedback what this change breaks. There is lot of new code within this release and I'd really like to avoid releasing 0.19 shortly after this just because some stupid error.

So if you have time, please download snapshot and try to work with it for a while. Report found problems to bug tracker. Thanks!

Feedback from Wammu

Wammu now finally has initial support for Gammu Phone Database. I talked a lot about this and now I finally wrote some code for it. It allows you to fill in values in program, all basic information (phone manufacturer and model, connection type), are automatically prefilled from what Wammu already knows. The dialog itself is more or less a copy of same web page, as you can see on following image:

Talkback screenshot

Gammu test version 1.09.19

I just released new version of Gammu, you can download it from download server. There is quite a lot of changes:

  • Do not ship make-release in tarball.
  • Fixed wrong encoding of text to vCard when last field was missing.
  • Fix crash when deleting entry from OBEX using LUIDs.
  • Improve detection of invalid config file (bug #68).
  • Support for MinGW cross compilation including Bluetooth and IrDA.
  • Support for generating installer using CPack.
  • Add Nokia 6030b ID.
  • Full support for enconding recurrency in vCard.

This release first comes with precompiled Windows binaries and Windows installer!

python-gammu for Windows

After some playing with distutils to make cross compilation using them possible, I finally gave up. Maybe I did not understand some part of guide, but resulting library only crashes Python.

So I googled once more and I found another approach to cross compile Python extensions for Windows on Linux.

And it was quite simple to do it. First you need Windows installer for Python. Now you need to get dll and includes out of this. I decided to leave hard work on Wine and hoped it will work:

/usr/bin/msiexec /i /tmp/python-2.5.msi

Now you have installed Python somewhere in ~/.wine/drive_c. All what is remaining is tuning of makefiles from original howto. You can also look on code for python-gammu which deals this issue.

Thanks to Matthew Mueller for great howto! BTW: I tested it with Python 2.5 and MinGW 3.4.5.

Installer for Gammu on Windows

Thanks to CMake, it's part CPack and a bit of my hacking, I can now easily produce installers for Gammu on Windows. I haven't much tested result, but it installs and uninstalls fine and Gammu seems to be working.

How it is done? Eveything on Linux. All you need is small patch on CPack to allow using NSIS also on Linux. If you have this one, just download Gammu, cross compile it and start CPack. Everything is so easy:

mkdir build-mingw
cd build-mingw

And you will get Gammu installer for Windows (please note that this is not even testing release, it's more some kind of snapshot of my development tree, so it does not have to be release quality).

Thanks again to CMake and NSIS to allow me to do such thing. This is way I can support Windows :-).