From 677b6d8e2142b9e99aaac0f1f757244936070cfc Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Thu, 1 Dec 2016 14:16:24 +0900 Subject: [PATCH] Remove Profile Build Dependency Apply Tizen-TV profile optimization for ALL Tizen profiles because it would not have side effects on the correctness. (simply ref/unref a Tizen-wide "dbus") Change-Id: I209f9bf798b02f674a95dfc38142b4a44e194883 Signed-off-by: MyungJoo Ham --- gio/gdbusconnection.c | 2 +- packaging/glib2.spec | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c index 933a091..628cef8 100755 --- a/gio/gdbusconnection.c +++ b/gio/gdbusconnection.c @@ -8101,7 +8101,7 @@ g_bus_get_finish (GAsyncResult *res, } /* ---------------------------------------------------------------------------------------------------- */ -#ifdef _TV_PROFILE +#ifdef _TIZEN_DBUS_TOUCH static void __attribute__((constructor)) glib_type_dbus_connection_gc( void ) { GObject* temp = g_type_class_ref(G_TYPE_DBUS_CONNECTION); diff --git a/packaging/glib2.spec b/packaging/glib2.spec index b953100..65768bd 100644 --- a/packaging/glib2.spec +++ b/packaging/glib2.spec @@ -186,9 +186,7 @@ fi %build NOCONFIGURE=1 ./autogen.sh -%if "%{?profile}" == "tv" -export CFLAGS+=" -D_TV_PROFILE" -%endif +export CFLAGS+=" -D_TIZEN_DBUS_TOUCH" %configure \ --enable-static \ %if 0%{?with_systemtap} -- 2.7.4