Michal Čihař - Blog Archives for English

xfs troubles

On my testing computer lived till today quite outdated Debian Unstable. As I needed to perform some testing with that which required recent version of some tools, I bravely did upgrade using aptitude.

After two hours of downloading, packages started to install, but it crashed while installing linux-kernel-headers. Well as I didn't know in what shape my last tests kept Debian and XFS filesystem it uses for root, I rebooted using live CD and ran xfs_repair.

It found several errors, I rebooted and reran aptitude. To my suprise the problem did not went away, and after another boot using live CD, I saw that xfs_repair still sees those problems.

Fortunately I noticed that live CD contains quite old xfs_repair and I used the one which is currently in unstable. And it seems to finally fix my problem! Now I can finally start my upgrade and it works :-).

Čistá duše - Music club with African music

This time it won't be about food, but only about entertainment. Čistá duše is music club in Prague centre (on Charles square). I think it can be called as meeting point of African culture (well at least it looked as such to me :-)).

Every evening (probably) you can listen there to rhythms of African drums and enjoy dancing on them.

Drinks are for reasonable price for this part of town, but you won't get there anything to eat, so you should choose something else to fill your hungry stomach.

Sonata 1.0 for Debian

I finally forced myself to prepare packages of new Sonata release. I hoped I will be able to upload them myself, but NM process will probably need some more time, so I just sent request for sponsoring to Daniel, who kidly uploaded previous version.

You will probably miss some of new Sonata features in Debian, because some Python modules which are needed for it are not available. Maybe somebody will package them, if not, I will do it on my own sometimes :-).

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
cmake .. -DCROSS_MINGW=ON
make
cpack

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 :-).

Gammu cross compilation using MinGW and CMake

I just implemented in my Gammu tree support for cross compiling for Windows on Linux host using MinGW. The support of CMake for this is quite limited, but implementation was not that hard.

The only tricky part was to include compiler settings from Windows and force setting of library and executable prefixes and suffixes. Then only build time configuration had to be disabled. If you want to do this for other project, see changeset for changes needed for this.

Resulting binary works without problems on Windows, the only problem right now is disabled IrDA and Bluetooth support, but I hope I will resolve this soon.

Translators troubles

While translating CouchSurfing to Czech, I again noticed funny mistake which often repeats in Czech translations of web mails or similar applications.

In English there is "File into folder". Some translators tend to translate this as "File in folder", which changes meaning a bit :-).

I have no idea why this is so popular, but I saw this for first time in Sieve plug-in for Squirellmail and several times since this time.

Restaurant Orlík - fair prices on waterfront

Restaurant Orlík is yet another restaurant in Prague center I will write about. It lays on waterfront just next to Šítek water tower (Czech only), few minutes of walk from National theatre.

You can select from many traditional meals, I guess everybody will find something what will attract him. Everything I tasted there so far was very good, so I can really recommend you this place to have a lunch or dinner.

You can drink Budweiser Beer here, it is not cheap, but also not expensive and it tastes good. They also offer variety of wines, which are good priced.

Orlík is yet another restaurant in Prague center, where you can go without affraiding that you will pay too much for food.

CMake support in Gammu

New version of Gammu I anounced few minutes ago brings among other changes support for building using CMake. So far it should be able to handle without problems situation on Linux hosts, but I don't have environment for testing Windows and MacOS build. So I'd like to receive some feedback, if it will be possible to completely get rid of autoconf in future.

Gammu test version 1.09.17

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

  • First release by Michal Cihar, this changes some URLS, see readme.txt.
  • Experimental CMake build support, so far not completely working (Michal Cihar).
  • Improved vCard RRULE parsing (me, Rene Peters).
  • Added support for location of alarm (Peter Ondraska).
  • Fixed Slovak operator names (Peter Ondraska).
  • Improved battery reporting for SE phones (Michal Cihar).
  • Fixed small c-cedilla decoding (Samuel Adam) (bug #64).
  • Fix memory leak in dll (Petr Stasa - Gord).
  • Add some functions to dll (Petr Stasa - Gord).
  • PostreSQL support for SMSD (Andrea Riciputi).
  • Build fixes for Darwin (Andrea Riciputi).
  • Identify M341i over IrDA (Michal Cihar, flewww, bug #65).
  • Callback functions now take pointer to state machine to allow full identification of used state machine (Michal Cihar, bug #66).
  • Fixed LAC and CID reading for AT phones (Michal Cihar).
  • Update operator list (Michal Cihar).
  • Updated README.
  • Added installation instructions.
  • Change RSS URL to my weblog, where will be posted release announcements.

Time to sleep after evening with Gammu and cMake

Today it was quite busy day, but I managed to push Gammu sources closer to weekend release. I merged various fixed that I collected in last few days. Mostly they are just small fixes, but they could make using Gammu harder.

Besides that I played a lot with cMake and the build system is in very good shape. There is still some parts missing (some header/function detection and installation phase), but these should be pretty easy, the only trouble is to find time to write them :-).