[chrome-gnome-shell/feature/connector-update-check] cmake: install desktop file, DBus service file and icons
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell/feature/connector-update-check] cmake: install desktop file, DBus service file and icons
- Date: Mon, 19 Dec 2016 11:58:20 +0000 (UTC)
commit c32faaecce83644c741d4983a09204ae0ee68923
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Mon Dec 19 15:57:34 2016 +0400
cmake: install desktop file, DBus service file and icons
Desktop file is mandatory for GNotification.
CMakeLists.txt | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index de0abcf..324d0fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,6 +148,8 @@ if(BUILD_CONNECTOR)
"${CMAKE_BINARY_DIR}/")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/connector/org.gnome.chrome_gnome_shell.json"
"${CMAKE_BINARY_DIR}/")
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/connector/org.gnome.ChromeGnomeShell.service.in"
+ "${CMAKE_BINARY_DIR}/org.gnome.ChromeGnomeShell.service")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/policies/chrome-gnome-shell.json"
"${CMAKE_BINARY_DIR}/")
@@ -175,6 +177,19 @@ if(BUILD_CONNECTOR)
install(FILES "${CMAKE_BINARY_DIR}/chrome-gnome-shell.json" DESTINATION
"/etc/opt/chrome/policies/managed/")
install(FILES "${CMAKE_BINARY_DIR}/chrome-gnome-shell.json" DESTINATION
"/etc/chromium/policies/managed/")
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/connector/org.gnome.ChromeGnomeShell.desktop" DESTINATION
"${CMAKE_INSTALL_DATADIR}/applications/")
+ install(FILES "${CMAKE_BINARY_DIR}/org.gnome.ChromeGnomeShell.service" DESTINATION
"${CMAKE_INSTALL_DATADIR}/dbus-1/services/")
+
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/extension/icons/GnomeLogo-16.png"
+ DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/gnome/16x16/apps/"
+ RENAME org.gnome.ChromeGnomeShell.png)
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/extension/icons/GnomeLogo-48.png"
+ DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/gnome/48x48/apps/"
+ RENAME org.gnome.ChromeGnomeShell.png)
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/extension/icons/GnomeLogo-128.png"
+ DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/gnome/128x128/apps/"
+ RENAME org.gnome.ChromeGnomeShell.png)
+
# There is wrong patch in FreeBSD that forces Chromium to look into
# /usr/local/etc/chrome/native-messaging-hosts for native messaging host manifest.
# https://svn0.us-east.freebsd.org/ports/head/www/chromium/files/patch-chrome_common_chrome__paths.cc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]