Added a man page taken from the Debian packaging system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Resolve issues that occurred during CMake conversion.
Concatenate the commands for generating pixmaps.h with CMake
so that there is no need to use the GNU specific sed option -i.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit d0c03cc9a9
)
r14.0.x
parent
443bb972fa
commit
cd1471858e
@ -0,0 +1,87 @@
|
|||||||
|
############################################
|
||||||
|
# #
|
||||||
|
# Improvements and feedbacks are welcome #
|
||||||
|
# #
|
||||||
|
# This file is released under GPL >= 3 #
|
||||||
|
# #
|
||||||
|
############################################
|
||||||
|
|
||||||
|
|
||||||
|
cmake_minimum_required( VERSION 2.8 )
|
||||||
|
|
||||||
|
|
||||||
|
#### general package setup
|
||||||
|
|
||||||
|
project( tde-style-baghira )
|
||||||
|
set( VERSION R14.1.0 )
|
||||||
|
|
||||||
|
|
||||||
|
#### include essential cmake modules
|
||||||
|
|
||||||
|
include( FindPkgConfig )
|
||||||
|
include( CheckFunctionExists )
|
||||||
|
include( CheckSymbolExists )
|
||||||
|
include( CheckIncludeFile )
|
||||||
|
include( CheckLibraryExists )
|
||||||
|
include( CheckCSourceCompiles )
|
||||||
|
include( CheckCXXSourceCompiles )
|
||||||
|
|
||||||
|
|
||||||
|
#### include our cmake modules
|
||||||
|
|
||||||
|
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
|
||||||
|
include( TDEMacros )
|
||||||
|
|
||||||
|
|
||||||
|
##### setup install paths
|
||||||
|
|
||||||
|
include( TDESetupPaths )
|
||||||
|
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} )
|
||||||
|
|
||||||
|
|
||||||
|
##### user requested modules
|
||||||
|
|
||||||
|
option( BUILD_ALL "Build all" ON )
|
||||||
|
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||||
|
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||||
|
|
||||||
|
|
||||||
|
##### configure checks
|
||||||
|
|
||||||
|
include( ConfigureChecks.cmake )
|
||||||
|
|
||||||
|
|
||||||
|
###### global compiler settings
|
||||||
|
|
||||||
|
add_definitions( -DHAVE_CONFIG_H )
|
||||||
|
|
||||||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||||
|
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||||
|
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||||
|
|
||||||
|
|
||||||
|
##### directories
|
||||||
|
|
||||||
|
add_subdirectory( bab )
|
||||||
|
add_subdirectory( deco )
|
||||||
|
add_subdirectory( icons )
|
||||||
|
add_subdirectory( style )
|
||||||
|
add_subdirectory( config )
|
||||||
|
add_subdirectory( starter )
|
||||||
|
add_subdirectory( kickermenu )
|
||||||
|
add_subdirectory( colorscheme )
|
||||||
|
add_subdirectory( sessionapplet )
|
||||||
|
tde_conditional_add_subdirectory( BUILD_DOC doc )
|
||||||
|
|
||||||
|
#tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
|
||||||
|
|
||||||
|
|
||||||
|
##### write configure files
|
||||||
|
|
||||||
|
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,56 @@
|
|||||||
|
###########################################
|
||||||
|
# #
|
||||||
|
# Improvements and feedback are welcome #
|
||||||
|
# #
|
||||||
|
# This file is released under GPL >= 3 #
|
||||||
|
# #
|
||||||
|
###########################################
|
||||||
|
|
||||||
|
# required stuff
|
||||||
|
find_package( TQt )
|
||||||
|
find_package( TDE )
|
||||||
|
|
||||||
|
tde_setup_architecture_flags( )
|
||||||
|
|
||||||
|
include(TestBigEndian)
|
||||||
|
test_big_endian(WORDS_BIGENDIAN)
|
||||||
|
|
||||||
|
tde_setup_largefiles( )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for gcc visibility support
|
||||||
|
|
||||||
|
if( WITH_GCC_VISIBILITY )
|
||||||
|
tde_setup_gcc_visibility( )
|
||||||
|
endif( WITH_GCC_VISIBILITY )
|
||||||
|
|
||||||
|
##### check for X11
|
||||||
|
|
||||||
|
find_package( X11 )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for Xext
|
||||||
|
|
||||||
|
pkg_search_module( XEXT xext )
|
||||||
|
|
||||||
|
if( NOT XEXT_FOUND )
|
||||||
|
tde_message_fatal( "Xext is required, but was not found on your system." )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
##### check for sed
|
||||||
|
|
||||||
|
find_program( SED_EXECUTABLE sed )
|
||||||
|
|
||||||
|
if( NOT SED_EXECUTABLE )
|
||||||
|
tde_message_fatal( "Sed unix tool is required, but was not found on your system." )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
##### check for XTest
|
||||||
|
|
||||||
|
pkg_search_module( X11_XTEST xtst )
|
||||||
|
|
||||||
|
if( NOT X11_XTest_FOUND )
|
||||||
|
tde_message_fatal( "XTest is required, but xtest was not found on your system." )
|
||||||
|
endif()
|
@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${X11_INCLUDE_DIR}
|
||||||
|
${XEXT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
${X11_LIBRARY_DIRS}
|
||||||
|
${XEXT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### bab (executable)
|
||||||
|
|
||||||
|
tde_add_executable( bab AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
main.cpp
|
||||||
|
styleconfdialog.cpp
|
||||||
|
bab_iface.skel
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
${X11_LIBRARIES}
|
||||||
|
${XEXT_LIBRARIES}
|
||||||
|
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,11 @@
|
|||||||
|
##### other data
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES AquaBlue.kcsrc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES AquaGraphite.kcsrc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
|
||||||
|
)
|
@ -0,0 +1,8 @@
|
|||||||
|
#define VERSION "@VERSION@"
|
||||||
|
|
||||||
|
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||||
|
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
|
||||||
|
|
||||||
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||||
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||||
|
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
@ -0,0 +1,61 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${X11_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
${X11_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### pixmaps.h (header)
|
||||||
|
|
||||||
|
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/button-base
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button-shadow
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/brush-me
|
||||||
|
)
|
||||||
|
|
||||||
|
set( _header pixmaps.h )
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${_header}
|
||||||
|
COMMAND
|
||||||
|
${UIC_EXECUTABLE} -embed baghira ${_pics} |
|
||||||
|
${SED_EXECUTABLE}
|
||||||
|
-e 's|void qInitImages_baghira|static void qInitImages_baghira|'
|
||||||
|
-e 's|void qCleanupImages_baghira|static void qCleanupImages_baghira|'
|
||||||
|
> ${_header}
|
||||||
|
DEPENDS ${_pics}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### tdestyle_baghira_config (kpart)
|
||||||
|
|
||||||
|
set_source_files_properties(
|
||||||
|
tdestyle_baghira_config.cpp colordialog.cpp
|
||||||
|
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
tde_add_kpart( tdestyle_baghira_config AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
configdialog.ui
|
||||||
|
help.ui about.ui
|
||||||
|
tdestyle_baghira_config.cpp
|
||||||
|
colordialog.cpp
|
||||||
|
colorpicker.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
tdeio-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,84 @@
|
|||||||
|
tde_import( twin )
|
||||||
|
|
||||||
|
add_subdirectory( config )
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${X11_INCLUDE_DIR}
|
||||||
|
${XEXT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
${X11_LIBRARY_DIRS}
|
||||||
|
${XEXT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### pixmaps.h (header)
|
||||||
|
|
||||||
|
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/brushed-gradient
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/brushed-tile
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_down
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_menu
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_menu_down
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_milk_down
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_milk_menu
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_milk_menu_down
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_panther
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button_panther_menu
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/deco_glossy
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_above
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_behind
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_close
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_help
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_maximize
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_minimize
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_shade
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/icon_sticky
|
||||||
|
)
|
||||||
|
|
||||||
|
set( _header pixmaps.h )
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${_header}
|
||||||
|
COMMAND ${UIC_EXECUTABLE}
|
||||||
|
ARGS -o ${_header} -embed baghira ${_pics}
|
||||||
|
DEPENDS ${_pics}
|
||||||
|
)
|
||||||
|
|
||||||
|
##### twin3_baghira (kpart)
|
||||||
|
|
||||||
|
set_source_files_properties(
|
||||||
|
baghiraclient.cc
|
||||||
|
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_kpart( twin3_baghira AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
baghiraclient.cc
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
tdecorations-shared
|
||||||
|
${X11_LIBRARIES}
|
||||||
|
${XEXT_LIBRARIES}
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE baghira.desktop
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/twin
|
||||||
|
)
|
@ -0,0 +1,51 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### pixmaps.h (header)
|
||||||
|
|
||||||
|
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/icon_help
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/preview
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/preview-menu
|
||||||
|
)
|
||||||
|
|
||||||
|
set( _header pixmaps.h )
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${_header}
|
||||||
|
COMMAND ${UIC_EXECUTABLE}
|
||||||
|
ARGS -o ${_header} -embed baghira ${_pics}
|
||||||
|
DEPENDS ${_pics}
|
||||||
|
)
|
||||||
|
|
||||||
|
##### twin_baghira_config (kpart)
|
||||||
|
|
||||||
|
set_source_files_properties(
|
||||||
|
baghiraconfig.cc
|
||||||
|
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_kpart( twin_baghira_config AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
configdialog.ui
|
||||||
|
baghiraconfig.cc
|
||||||
|
aquariusbutton.cc
|
||||||
|
colorpicker.cc
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,14 @@
|
|||||||
|
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
||||||
|
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
|
||||||
|
|
||||||
|
foreach( _dir ${_dirs} )
|
||||||
|
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND
|
||||||
|
EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt )
|
||||||
|
if( "${_dir}" STREQUAL "en" OR
|
||||||
|
"${_dir}" STREQUAL "man" OR
|
||||||
|
"${_linguas}" MATCHES "^;*$" OR
|
||||||
|
";${_linguas};" MATCHES ";${_dir};" )
|
||||||
|
add_subdirectory( ${_dir} )
|
||||||
|
endif( )
|
||||||
|
endif()
|
||||||
|
endforeach()
|
@ -0,0 +1,5 @@
|
|||||||
|
INSTALL(
|
||||||
|
FILES bab.1
|
||||||
|
DESTINATION ${MAN_INSTALL_DIR}/man1
|
||||||
|
COMPONENT doc
|
||||||
|
)
|
@ -0,0 +1,36 @@
|
|||||||
|
.\" Author: Jose Luis Tallon <jltallon@adv-solutions.net>
|
||||||
|
.\"
|
||||||
|
.\" This is free software; you may redistribute it and/or modify
|
||||||
|
.\" it under the terms of the GNU General Public License as
|
||||||
|
.\" published by the Free Software Foundation; either version 2,
|
||||||
|
.\" or (at your option) any later version.
|
||||||
|
.\"
|
||||||
|
.\" This is distributed in the hope that it will be useful, but
|
||||||
|
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
.\" GNU General Public License for more details.
|
||||||
|
.\"
|
||||||
|
.\" You should have received a copy of the GNU General Public License
|
||||||
|
.\" along with the Debian GNU/Linux system; if not, write to the Free
|
||||||
|
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
|
.\" 02111-1307 USA
|
||||||
|
.TH bab "1" "October 2004"
|
||||||
|
.SH NAME
|
||||||
|
bab \- Baghira's config tray applet
|
||||||
|
.SH SYNOPSIS
|
||||||
|
bab
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.B bab
|
||||||
|
is a simple systray application, which enables you to dinamically
|
||||||
|
change some aspects of Baghira's configuration without accesing
|
||||||
|
Trinity Control Center
|
||||||
|
.PP
|
||||||
|
Complete documentation can be found in docbook format in
|
||||||
|
/opt/trinity/share/doc/kde/HTML/<lang>/baghira/ on this system.
|
||||||
|
.SH AUTHOR
|
||||||
|
Thomas L\[:u]bking <baghira-style@users.sourceforge.net>
|
||||||
|
.PP
|
||||||
|
This manual page was written by Jose Luis Tallon
|
||||||
|
.nh
|
||||||
|
<jltallon@adv\-solutions.net>
|
||||||
|
for the \fBDebian\fP system (but may be used by others).
|
@ -0,0 +1,3 @@
|
|||||||
|
##### icons
|
||||||
|
|
||||||
|
tde_install_icons()
|
@ -0,0 +1,38 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${X11_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
${X11_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### b_menu_panelapplet (kpart)
|
||||||
|
|
||||||
|
tde_add_kpart( b_menu_panelapplet AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
menuapplet.cpp
|
||||||
|
menuapplet.skel
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE b_menuapplet.desktop
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
|
||||||
|
)
|
@ -0,0 +1,28 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### b_menu_panelapplet (kpart)
|
||||||
|
|
||||||
|
tde_add_kpart( b_menu_panelapplet AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
menuapplet.cpp
|
||||||
|
menuapplet.skel
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### usermanager_panelapplet (shared)
|
||||||
|
|
||||||
|
tde_add_library( usermanager_panelapplet MODULE AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
usermanager.cpp
|
||||||
|
dmctl.cpp
|
||||||
|
LINK
|
||||||
|
tdeui-shared
|
||||||
|
tdecore-shared
|
||||||
|
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE usermanager.desktop
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
|
||||||
|
)
|
@ -0,0 +1,54 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### konqsidebar_baghirasidebar (kpart)
|
||||||
|
|
||||||
|
tde_add_kpart( konqsidebar_baghirasidebar AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
linkconfig.ui
|
||||||
|
baghirasidebariface.skel
|
||||||
|
../starter/baghiralinkdrag.cpp
|
||||||
|
baghirasidebar.cpp
|
||||||
|
linkview.cpp
|
||||||
|
listboxlink.cpp
|
||||||
|
dndlistbox.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
tdeio-shared
|
||||||
|
tdeparts-shared
|
||||||
|
konqsidebarplugin-shared
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE baghirasidebar_add.desktop
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE baghirasidebar.desktop
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES ../imagebase/poof.png
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/baghira
|
||||||
|
)
|
@ -0,0 +1,58 @@
|
|||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${X11_INCLUDE_DIR}
|
||||||
|
${X11_XTEST_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
${X11_LIBRARY_DIRS}
|
||||||
|
${X11_XTEST_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### baghirastarter (shared)
|
||||||
|
|
||||||
|
tde_add_library( baghirastarter SHARED AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
starterconfig.ui
|
||||||
|
starterhelp.ui
|
||||||
|
configdialog.ui
|
||||||
|
help.ui
|
||||||
|
linkconfig.ui
|
||||||
|
starteriface.skel
|
||||||
|
baghiralinkdrag.cpp
|
||||||
|
menu.cpp starter.cpp
|
||||||
|
LINK
|
||||||
|
tdeui-shared
|
||||||
|
tdecore-shared
|
||||||
|
tdeio-shared
|
||||||
|
${X11_XTEST_LIBRARIES}
|
||||||
|
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### icons
|
||||||
|
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES ../imagebase/poof.png
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/baghira
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE starter.desktop
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
|
||||||
|
)
|
@ -0,0 +1,103 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${X11_INCLUDE_DIR}
|
||||||
|
${X11_XTEST_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIBRARY_DIRS}
|
||||||
|
${X11_LIBRARY_DIRS}
|
||||||
|
${X11_XTEST_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### pixmaps.h (header)
|
||||||
|
|
||||||
|
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/brushed-gradient
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/brushed-tile
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button-base
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button-glow
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button-jaguar
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/button-shadow
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/checkbox
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/checkboxdown
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/checkbox-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/checkboxdown-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/combo
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/combo-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/combo-jaguar
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/combo-shadow
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/progress
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/progress2
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/radio
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/radio_down
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/radio-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/radio_down-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/rectbutton
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/roundFrame
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbgroove_btm
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbgroove_mid
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbgroove_top
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbIslider_mid
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_btm
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_btm_shd
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_mid
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_top
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_top_shd
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sb_subadd
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sliderarrow
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbgroove_btm-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbgroove_mid-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbgroove_top-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_btm-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_mid-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sbslider_top-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sb_subadd-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/sliderarrow-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/tab
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/tab-milk
|
||||||
|
${CMAKE_SOURCE_DIR}/imagebase/tab-jaguar
|
||||||
|
)
|
||||||
|
|
||||||
|
set( _header pixmaps.h )
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${_header}
|
||||||
|
COMMAND ${UIC_EXECUTABLE}
|
||||||
|
ARGS -o ${_header} -embed baghira ${_pics}
|
||||||
|
DEPENDS ${_pics}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### baghira (kpart)
|
||||||
|
|
||||||
|
set_source_files_properties(
|
||||||
|
baghira.cpp
|
||||||
|
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_kpart( baghira AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
baghira.cpp
|
||||||
|
optionHandler.cpp
|
||||||
|
polish.cpp utils.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
${X11_XTEST_LIBRARIES}
|
||||||
|
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES baghira.themerc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
|
||||||
|
)
|
Loading…
Reference in new issue