1) Added option for gcc visibility

2) Added man page from Debian packaging repo
3) Added application icon
4) Installed xpm icons

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 5 years ago
parent 88fbf7e81a
commit 64509425b3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -15,6 +15,7 @@ cmake_minimum_required( VERSION 2.8 )
##### general package setup #####################
project( tdedocker )
set( VERSION R14.1.0 )
##### include essential cmake modules ###########
@ -43,12 +44,15 @@ tde_setup_paths( )
##### optional stuff ############################
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
option( WITH_TRACING "Enable code tracing" OFF )
##### user requested modules ####################
option( BUILD_ALL "Build all" OFF )
option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
@ -66,13 +70,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### source directories ########################
add_subdirectory( src )
add_subdirectory( icons )
add_subdirectory( src )
tde_conditional_add_subdirectory( BUILD_DOC man )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
##### other data ################################
INSTALL(FILES tdedocker.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})

@ -27,11 +27,13 @@ if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY )
##### enable code tracing
if( WITH_TRACING )
add_definitions( -DENABLE_TRACING )
endif ( )
# check required packages
pkg_search_module( XMU xmu )
if( NOT XMU_FOUND )

@ -9,5 +9,7 @@
#
#################################################
install ( FILES tdedocker.png question.png
tde_install_icons( )
install ( FILES question.png question.xpm tdedocker.xpm
DESTINATION ${DATA_INSTALL_DIR}/tdedocker/icons )

@ -1,45 +0,0 @@
/* XPM */
static char *tdedocker_xpm[]={
"27 24 18 1",
". c None",
"b c #6e6e6e",
"g c #727272",
"h c #777777",
"i c #7a7a7a",
"e c #7b7b7b",
"f c #7c7c7c",
"# c #7d7d7d",
"d c #7e7e7e",
"c c #7f7f7f",
"j c #808080",
"n c #818181",
"a c #828282",
"l c #838383",
"m c #848484",
"k c #858585",
"o c #868686",
"p c #898989",
"...........................",
"...###.....a...............",
"..##b##...aaa..............",
"..##.c#..ada...............",
"..##e###afc................",
"...gh#f###a...........dda..",
"......ei###..........dddda.",
".....aafc###.........dddda.",
"....aaja.e###.........daa..",
"....aaa...####........daa..",
"...aaa.....###a.......daa..",
"....a.......d##k......cca..",
".............##al.....dca..",
"..............#aac....fca..",
"...............jaaj..#fma..",
"................naanaa#aa..",
".................kaaaana...",
"..................aaaao....",
".................aajamp....",
"..........a....aaaaaaco....",
".........aaaaaaaaaaa.......",
"........aaammlalaa.........",
".........aaaaaa............",
"..........a................"};

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

@ -0,0 +1,5 @@
INSTALL(
FILES ${PROJECT_NAME}.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)

@ -0,0 +1,68 @@
.TH TDEDOCKER 1
.SH NAME
tdedocker \- puts everything to traybar
.SH SYNOPSIS
.B tdedocker
.RI [ options ]
.br
.SH DESCRIPTION
This manual page documents briefly the
.B tdedocker
command.
.PP
\fBtdedocker\fP is a program that puts every application to the system tray.
.SH OPTIONS
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
.B \-a
Show author information. Yup, about me.
.TP
.B \-b
Suppress the warning dialog when docking non-normal windows (blind mode)
.TP
.B \-d
Disable session management. TDEDocker will not attempt to redock this application when you relogin.
.TP
.B \-e
Enable session management. TDEDocker will attempt to redock this application when you relogin. .B[default]
.TP
.B \-f
Dock window that has the focus(active window).
.TP
.B \-i "icon"
Custom dock icon.
.TP
.B \-h
Show summary of options.
.TP
.B \-l
Launch on startup
.TP
.B \-m
Keep application window mapped (dont hide on dock)
.TP
.B \-o
Dock when obscured
.TP
.B \-p "secs"
By default, when the title of the application changes, it is ballooned from the system tray for 4 seconds. Works excellently with xmms
.TP
.B \-q
Disable ballooning title changes (quiet)
.TP
.B \-t
Remove this application from the task bar
.TP
.B \-v, \-\-version
Show version of program.
.TP
.B \-w "wid"
Window id of the application to dock
.br
.SH AUTHOR
tdedocker was written by Girish Ramakrishnan (gramakri@uiuc.edu).
.PP
This manual page was written by Lorenzo Villani <arbiter@arbiterlab.net>,
for the Ubuntu project (but may be used by others).

@ -42,4 +42,3 @@ tde_add_executable( tdedocker AUTOMOC
DESTINATION
${BIN_INSTALL_DIR}
)

Loading…
Cancel
Save