[maemo-commits] [maemo-commits] r18211 - in projects/haf/trunk/libosso: . debian src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon May 4 11:25:12 EEST 2009
- Next message: [maemo-commits] r18212 - in projects/haf/trunk/libmatchbox2: . matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala Date: 2009-05-04 11:24:59 +0300 (Mon, 04 May 2009) New Revision: 18211 Removed: projects/haf/trunk/libosso/config.h.in Modified: projects/haf/trunk/libosso/debian/changelog projects/haf/trunk/libosso/src/osso-hw.c Log: fix receiving of DSME signals Deleted: projects/haf/trunk/libosso/config.h.in =================================================================== --- projects/haf/trunk/libosso/config.h.in 2009-04-30 13:49:26 UTC (rev 18210) +++ projects/haf/trunk/libosso/config.h.in 2009-05-04 08:24:59 UTC (rev 18211) @@ -1,207 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have the `closedir' function. */ -#undef HAVE_CLOSEDIR - -/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you - don't. */ -#undef HAVE_DECL_STRERROR_R - -/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. - */ -#undef HAVE_DIRENT_H - -/* Define to 1 if you have the <dlfcn.h> header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ -#undef HAVE_DOPRNT - -/* Define to 1 if you have the <fcntl.h> header file. */ -#undef HAVE_FCNTL_H - -/* Define to 1 if you have the `fork' function. */ -#undef HAVE_FORK - -/* Define to 1 if you have the <inttypes.h> header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and - to 0 otherwise. */ -#undef HAVE_MALLOC - -/* Define to 1 if you have the <malloc.h> header file. */ -#undef HAVE_MALLOC_H - -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `memset' function. */ -#undef HAVE_MEMSET - -/* Define to 1 if you have the `mkdir' function. */ -#undef HAVE_MKDIR - -/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ -#undef HAVE_NDIR_H - -/* Define to 1 if you have the `opendir' function. */ -#undef HAVE_OPENDIR - -/* Define to 1 if your system has a GNU libc compatible `realloc' function, - and to 0 otherwise. */ -#undef HAVE_REALLOC - -/* Define to 1 if you have the `rmdir' function. */ -#undef HAVE_RMDIR - -/* Define to 1 if `stat' has the bug that it succeeds when given the - zero-length file name argument. */ -#undef HAVE_STAT_EMPTY_STRING_BUG - -/* Define to 1 if you have the <stdint.h> header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the `strchr' function. */ -#undef HAVE_STRCHR - -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - -/* Define to 1 if you have the `strerror' function. */ -#undef HAVE_STRERROR - -/* Define to 1 if you have the `strerror_r' function. */ -#undef HAVE_STRERROR_R - -/* Define to 1 if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `strncasecmp' function. */ -#undef HAVE_STRNCASECMP - -/* Define to 1 if you have the `strstr' function. */ -#undef HAVE_STRSTR - -/* Define to 1 if you have the `strtol' function. */ -#undef HAVE_STRTOL - -/* Define to 1 if you have the `strtoul' function. */ -#undef HAVE_STRTOUL - -/* Define to 1 if you have the <syslog.h> header file. */ -#undef HAVE_SYSLOG_H - -/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_DIR_H - -/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_NDIR_H - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ -#undef HAVE_SYS_WAIT_H - -/* Define to 1 if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the `vfork' function. */ -#undef HAVE_VFORK - -/* Define to 1 if you have the <vfork.h> header file. */ -#undef HAVE_VFORK_H - -/* Define to 1 if you have the `vprintf' function. */ -#undef HAVE_VPRINTF - -/* Define to 1 if `fork' works. */ -#undef HAVE_WORKING_FORK - -/* Define to 1 if `vfork' works. */ -#undef HAVE_WORKING_VFORK - -/* Build extra debug code */ -#undef LIBOSSO_DEBUG - -/* Define to 1 if `lstat' dereferences a symlink specified with a trailing - slash. */ -#undef LSTAT_FOLLOWS_SLASHED_SYMLINK - -/* Compile OSSO logging macros */ -#undef OSSOLOG_COMPILE - -/* Log to the stderr */ -#undef OSSOLOG_STDERR - -/* Log to the syslog */ -#undef OSSOLOG_SYSLOG - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define to 1 if strerror_r returns char *. */ -#undef STRERROR_R_CHAR_P - -/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#undef TIME_WITH_SYS_TIME - -/* Version number of package */ -#undef VERSION - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif - -/* Define to rpl_malloc if the replacement function should be used. */ -#undef malloc - -/* Define to `int' if <sys/types.h> does not define. */ -#undef pid_t - -/* Define to rpl_realloc if the replacement function should be used. */ -#undef realloc - -/* Define to `unsigned' if <sys/types.h> does not define. */ -#undef size_t - -/* Define as `fork' if `vfork' does not work. */ -#undef vfork Modified: projects/haf/trunk/libosso/debian/changelog =================================================================== --- projects/haf/trunk/libosso/debian/changelog 2009-04-30 13:49:26 UTC (rev 18210) +++ projects/haf/trunk/libosso/debian/changelog 2009-05-04 08:24:59 UTC (rev 18211) @@ -1,6 +1,8 @@ libosso (2.20-1~unreleased) unstable; urgency=low * Fix test-hw-prog.c test program. + * Add signal handler for DSME signals, so that they are received. + * Remove autogenerated config.h.in from SVN. -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> Wed, 29 Apr 2009 11:00:49 +0300 Modified: projects/haf/trunk/libosso/src/osso-hw.c =================================================================== --- projects/haf/trunk/libosso/src/osso-hw.c 2009-04-30 13:49:26 UTC (rev 18210) +++ projects/haf/trunk/libosso/src/osso-hw.c 2009-05-04 08:24:59 UTC (rev 18211) @@ -42,6 +42,10 @@ #define USER_LOWMEM_ON_SIGNAL_NAME "user_lowmem_on" /* Fremantle brings these signal changes */ +#define DSME_SIGNAL_SVC "com.nokia.dsme" +#define DSME_SIGNAL_IF "com.nokia.dsme.signal" +#define DSME_SIGNAL_OP "/com/nokia/dsme/signal" + #define SHUTDOWN_SIGNAL_IF "com.nokia.dsme.signal" #define SHUTDOWN_SIGNAL_NAME "shutdown_ind" #define DATASAVE_SIGNAL_IF "com.nokia.dsme.signal" @@ -275,6 +279,12 @@ MCE_SIGNAL_IF, signal_handler, NULL, FALSE); + _msg_handler_set_cb_f(osso, + DSME_SIGNAL_SVC, + DSME_SIGNAL_OP, + DSME_SIGNAL_IF, + signal_handler, + NULL, FALSE); } first_hw_set_cb_call = FALSE; /* set before calling callbacks */ if (call_cb) { @@ -338,6 +348,10 @@ MCE_SIGNAL_PATH, MCE_SIGNAL_IF, (const _osso_handler_f*)signal_handler, NULL, FALSE); + _msg_handler_rm_cb_f(osso, DSME_SIGNAL_SVC, + DSME_SIGNAL_OP, DSME_SIGNAL_IF, + (const _osso_handler_f*)signal_handler, + NULL, FALSE); } return OSSO_OK; }
- Next message: [maemo-commits] r18212 - in projects/haf/trunk/libmatchbox2: . matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]