View Single Post
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#612
Originally Posted by v13 View Post
Hello,

I've not tried smscon, but I'm installing it right now. However, I noticed the versioning scheme you're using for smscon. While the following are not mandatory for maemo, I guess it would be better to consider them just to be more correct.

The versioning of debian packages is in the form XXX-Y. For example, smscon's version is 0.7-2. This means that the actual version of smscon is 0.7 and that there were two different packagings of that version. 0.7-1 was the first packaging and 0.7-2 the second.

As a rule of thumb: If you change the code of your program then modify the first part (the program's version). If you change anything under debian/, repackage it and re-upload it then change the second number.

IOW, the first number if the version that the developer keeps while the second number is the version that the packager keeps. If you're packaging someone else's program then you'd download their program (let's say version 1.2.2) and add your own versioning (1.2.2-1, 1.2.2-2, etc) whenever you modified the debian scripts.
Geia sou Stefane,

Thanks for the very detailed explanation.
I know you are are strong as a programmer; will appreciate if you check also parts of the code if you find time.

Christos