Fix for build break 90/36090/2
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 2 Mar 2015 08:54:24 +0000 (17:54 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 2 Mar 2015 09:01:17 +0000 (18:01 +0900)
add capi-base-common as pc requires.
some error enums are modified but these are still used by other packages.
to prevent build break the below enums are added as definition temporalily.

NOTIFICATION_ERROR_IO
NOTIFICATION_ERROR_INVALID_DATA
NOTIFICATION_ERROR_NO_MEMORY

Change-Id: I581f95b4d568ec8916944aff09d1f35c98507813
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
include/notification_error.h
notification.pc.in

index 932e6ff..214c4ef 100755 (executable)
 
 #include <tizen.h>
 
+/* FIXME: Temporary patch to prevent build break.
+ *    This MUST be removed after packages using the belows are modified. */
+#define NOTIFICATION_ERROR_INVALID_DATA NOTIFICATION_INVALID_PARAMETER
+#define NOTIFICATION_NO_MEMORY NOTIFICATION_OUT_OF_MEMORY
+#define NOTIFICATION_ERROR_IO NOTIFICATION_ERROR_IO_ERROR
+
 /**
  * @file notification_error.h
  */
index e17e700..15e8662 100644 (file)
@@ -6,6 +6,6 @@ includedir=@INCLUDEDIR@
 Name: notification
 Description: Notification Library
 Version: @VERSION@
-Requires: bundle 
+Requires: bundle capi-base-common
 Libs: -L${libdir} -lnotification
 Cflags: -I${includedir}