Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > a457c7d6472bcd329b09ea2ec09804c3 > files > 3

kdeplasma-addons-4.10.2-1.mga3.src.rpm

--- kdeplasma-addons-4.9.2/applets/kimpanel/backend/ibus/CMakeLists.txt~	2012-09-28 08:39:43.000000000 +0800
+++ kdeplasma-addons-4.9.2/applets/kimpanel/backend/ibus/CMakeLists.txt	2012-10-16 10:29:46.779228285 +0800
@@ -9,7 +9,9 @@
     include_directories(${GOBJECT_INCLUDE_DIR})
     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
     set(kimpanel_ibus_panel_SRCS panel.c main.c)
+    configure_file(kdepanel.xml.in kdepanel.xml)
     add_executable(kimpanel-ibus-panel ${kimpanel_ibus_panel_SRCS})
     target_link_libraries(kimpanel-ibus-panel ${IBUS_LIBRARIES} ${GLIB2_LIBRARIES} ${GIO_LIBRARIES} ${GOBJECT_LIBRARIES})
     install(TARGETS kimpanel-ibus-panel DESTINATION ${LIBEXEC_INSTALL_DIR})
+    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdepanel.xml DESTINATION share/ibus/component)
 endif(IBUS_FOUND AND GLIB2_FOUND AND GIO_FOUND AND GOBJECT_FOUND)
--- kdeplasma-addons-4.9.2/applets/kimpanel/backend/ibus/kdepanel.xml.in~	2012-10-16 10:24:06.200065562 +0800
+++ kdeplasma-addons-4.9.2/applets/kimpanel/backend/ibus/kdepanel.xml.in	2012-10-16 10:24:10.370178297 +0800
@@ -0,0 +1,10 @@
+<?xml version=1.0 encoding=utf-8?>
+<!-- filename: kdepanel.xml -->
+<component>
+        <name>org.freedesktop.IBus.PanelKDE</name>
+        <description>KDE4 Panel Component</description>
+        <exec>@LIBEXEC_INSTALL_DIR@/kimpanel-ibus-panel</exec>
+        <author>Ni Hui &lt;shuizhuyuanluo@126.com&gt;</author>
+        <license>GPL</license>
+        <textdomain>ibus</textdomain>
+</component>