[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/generic/scriptengines/google_gadgets
From:       Tiger Dong <idlecat511 () gmail ! com>
Date:       2009-12-31 8:30:18
Message-ID: 1262248218.308969.29525.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1067998 by tdong:

[GGL] Don't install builtin gadgets with cmake scripts. Gadgets installed in this way \
don't have network access.


 M  +0 -26     CMakeLists.txt  


--- trunk/KDE/kdebase/workspace/plasma/generic/scriptengines/google_gadgets/CMakeLists.txt \
#1067997:1067998 @@ -11,28 +11,6 @@
     OUTPUT_VARIABLE gadgets_path)
 string(REPLACE "\n" "" "gadgets_path" "${gadgets_path}")
 
-macro(install_ggl_gadget _name)
-  find_file(${_name}_path ${_name}.gg ${gadgets_path})
-  if (NOT ${${_name}_path} MATCHES "NOTFOUND")
-    set(gadget_name "ggl_${_name}")
-    set(gadget_readable_name ${_name})
-    set(gadget_comment ${_name})
-    set(gadget_path "${${_name}_path}")
-    set(gadget_options_name "${_name}_builtin")
-    configure_file(plasma-applet-ggl.desktop.tmpl
-      ${CMAKE_CURRENT_BINARY_DIR}/plasma-applet-ggl-${_name}.desktop
-      @only)
-    configure_file(config.txt.tmpl
-      ${CMAKE_CURRENT_BINARY_DIR}/config.txt.${_name}
-      @only)
-    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/plasma-applet-ggl-${_name}.desktop
-      DESTINATION ${SERVICES_INSTALL_DIR})
-    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.txt.${_name}
-      DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/${gadget_name}
-      RENAME config.txt)
-  endif (NOT ${${_name}_path} MATCHES "NOTFOUND")
-endmacro(install_ggl_gadget _name)
-
 # We add our source code here
 set(package_SRCS ggl_package.cpp)
 set(scriptengine_SRCS
@@ -59,7 +37,3 @@
 install(FILES plasma-packagestructure-googlegadgets.desktop DESTINATION \
${SERVICES_INSTALL_DIR})  install(TARGETS plasma_scriptengine_ggl DESTINATION \
${PLUGIN_INSTALL_DIR})  install(FILES plasma-scriptengine-googlegadgets.desktop \
                DESTINATION ${SERVICES_INSTALL_DIR})
-
-install_ggl_gadget(photos)
-install_ggl_gadget(rss)
-install_ggl_gadget(analog-clock)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic