~ubuntu-branches/ubuntu/utopic/cairo-dock-plug-ins/utopic-proposed

« back to all changes in this revision

Viewing changes to CMakeLists.txt

Tags: upstream-3.3.99.beta1.2.really.3.3.2
ImportĀ upstreamĀ versionĀ 3.3.99.beta1.2.really.3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
########### project ###############
12
12
 
13
13
project ("cairo-dock-plugins")
14
 
set (VERSION "3.3.99.beta1")
 
14
set (VERSION "3.3.2")
15
15
 
16
16
add_definitions (-std=c99 -Wall -Werror-implicit-function-declaration) # -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration -Wstrict-prototypes -Wreturn-type -Wparentheses -Warray-bounds)
17
17
if (NOT DEFINED CMAKE_BUILD_TYPE)
382
382
        message (STATUS "  DISTRO_ID: ${DISTRO_ID}, DISTRO_RELEASE: ${DISTRO_RELEASE}")
383
383
endif()
384
384
 
385
 
GET_FILENAME_COMPONENT(DEBIAN_VERSION /etc/debian_version ABSOLUTE)
386
 
if (EXISTS ${DEBIAN_VERSION})
387
 
        set (DEBIAN_PKG_MANAGERS "/usr/bin/apt-get /usr/bin/dpkg /usr/bin/aptitude")
388
 
endif()
389
 
 
390
385
############# SHARED LIBRARIES ###########
391
386
message (STATUS "> Shared Libraries:")
392
387
 
462
457
        endif()
463
458
endif()
464
459
set (GETTEXT_CLOCK ${GETTEXT_PLUGINS})
465
 
set (VERSION_CLOCK "2.3.0")
 
460
set (VERSION_CLOCK "2.2.2")
466
461
set (PACKAGE_CLOCK "cd-clock")
467
462
set (clockuserdirname "clock")
468
463
set (clockdatadir "${pluginsdatadir}/clock")
524
519
                set (PROGRAMS_MISSING "${PROGRAMS_MISSING} python")
525
520
        else()
526
521
                message (STATUS "   Python executable program(s): ${PYTHON2_EXECUTABLE} ; ${PYTHON3_EXECUTABLE}")
 
522
                GET_FILENAME_COMPONENT(DEBIAN_VERSION /etc/debian_version ABSOLUTE)
527
523
                if (EXISTS ${DEBIAN_VERSION})
528
524
                        message (STATUS "   will use '--install-layout deb' with 'python setup.py install'")
529
525
                        set (DEBIAN_INSTALL_LAYOUT "--install-layout deb")
648
644
############# DIALOG_RENDERING #################
649
645
message (STATUS "> Dialog Rendering:")
650
646
set (GETTEXT_DIALOG_RENDERING ${GETTEXT_PLUGINS})
651
 
set (VERSION_DIALOG_RENDERING "0.6.0")
 
647
set (VERSION_DIALOG_RENDERING "0.5.2")
652
648
set (PACKAGE_DIALOG_RENDERING "cd-dialog-rendering")
653
649
set (dialog_renderingdatadir "${pluginsdatadir}/dialog-rendering")
 
650
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/dialog-rendering/data/dialog-rendering.conf.in ${CMAKE_CURRENT_BINARY_DIR}/dialog-rendering/data/dialog-rendering.conf)
654
651
add_subdirectory (dialog-rendering)
655
652
 
656
653
############# DISKS #################
957
954
                set (MODULES_MISSING "${MODULES_MISSING} libxklavier")
958
955
        else()
959
956
                set (GETTEXT_KEYBOARD_INDICATOR ${GETTEXT_PLUGINS})
960
 
                set (VERSION_KEYBOARD_INDICATOR "1.2.0")
 
957
                set (VERSION_KEYBOARD_INDICATOR "1.1.9")
961
958
                set (PACKAGE_KEYBOARD_INDICATOR "cd-keyboard-indicator")
962
959
                set (with_keyboard_indicator yes)
963
960
                set (keyboard_indicatordatadir "${pluginsdatadir}/keyboard-indicator")