Merge branch 'icon' into storageareas

This commit is contained in:
Isaac Connor 2017-04-26 15:58:26 -04:00
commit 20345df3eb
5 changed files with 36 additions and 0 deletions

View File

@ -844,3 +844,6 @@ if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif(CCACHE_FOUND)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/misc/zoneminder.desktop DESTINATION share/applications)
install(DIRECTORY icons DESTINATION "${CMAKE_INSTALL_DATADIR}/zoneminder/")

View File

@ -3,6 +3,7 @@ usr/bin
usr/lib/zoneminder
usr/share/polkit-1
usr/share/zoneminder/db
usr/share/zoneminder/icons
usr/share/zoneminder/www
# libzoneminder-perl files:

View File

@ -0,0 +1,2 @@
?package(zoneminder):needs="x11" section="Applications/Video" title="ZoneMinder" command="/usr/bin/x-www-browser http://localhost/zm" icon="/usr/share/zoneminder/icons/16x16/icon.xpm"

22
icons/16x16/icon.xpm Normal file
View File

@ -0,0 +1,22 @@
/* XPM */
static char * favicon_xpm[] = {
"16 16 3 1",
" c None",
". c #000080",
"+ c #C0C0C0",
"................",
"................",
"++++++++++++++++",
".......+..++++..",
".......+...++...",
"++++...+...++...",
"+++....+........",
"++....++........",
"+....+++........",
"....++++........",
"...+++++..+..+..",
".......+..+..+..",
".......+..++++..",
"++++++++++++++++",
"................",
"................"};

8
misc/zoneminder.desktop Executable file
View File

@ -0,0 +1,8 @@
[Desktop Entry]
Version=1.0
Type=Link
Name=ZoneMinder
Comment=
Icon=/usr/share/zoneminder/www/graphics/favicon.ico
URL=http://localhost/zm/\r
Categories=GNOME;AudioVideo;Video;Recorder;