Remove Profile Build Dependency 85/101385/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 1 Dec 2016 05:16:24 +0000 (14:16 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 1 Dec 2016 05:16:24 +0000 (14:16 +0900)
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 <myungjoo.ham@samsung.com>
gio/gdbusconnection.c
packaging/glib2.spec

index 933a091..628cef8 100755 (executable)
@@ -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);
index b953100..65768bd 100644 (file)
@@ -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}