Fix 64-bit compilation issues

Substitute raw integer to/from pointer casts with glib macros
GPOINTER_TO_INT and GINT_TO_POINTER.

Modify sort_comparator() to be fully qualified GCompareFunc
that returns negative/zero/positive instead of just 0/1.

Fix possible numeric overflow in msg_comparator().

Fix printf-style format string in dummy_bme test utility.

[dsme] Fix 64-bit compilation issues
Apply a less strict version check for the spec file

Consider "0.62.13+devel.681.6.g2230479" = "0.62.13" to ease
making test builds in the OBS.

[verify_version] Apply a less strict version check for the spec file
Merge pull request #11 from spiiroin/allow_obs_test_builds

Apply a less strict version check for the spec file
Merge pull request #13 from mkosola/master

Fix tests.xml typo
Merge pull request #12 from spiiroin/fix_64bit_issues

Fix 64-bit compilation issues
Bump dsme version to 0.62.14
[shutdown] If charger state is unknown then do shutdown, not actdead JB#8000

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
Pump up version to 0.62.15
Merge pull request #14 from plundstr/master

 	[shutdown] If charger state is unknown then do shutdown, not actdead
DSME: Track "charger" connection with the usbtracker module

Based on the connection state we decide if a charger is connected or not.
When a USB cable is connected we should be charging (except for error conditions).

Fixes: JB#6580

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
'Fix' indentation

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
usbtracker: * track dedicated charger, not only cable
            * only send signals when the connection status changes

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Fix typo in variable name
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
logic fixes

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Add usb_moded query on start-up to know charger state

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Do not block while making usb_moded mode_request over D-Bus

DSME should not block while waiting for usb_moded to reply, using
pending call takes care of that.

Also uses mode != "undefined" as charger connected instead of
mode == "dedicated_charger".

[dsme] Do not block while making usb_moded mode_request over D-Bus

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
Merge pull request #1 from spiiroin/async_usb_mode_query

usb mode query
[usbtracker] Fine tune usb detection. Fixes JB#8253

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
[state] Fix direct boot to ACTDEAD. Fixes JB#8307

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
[init] dsme must be started after usb-moded

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>