~focus-follows-mouse/ubuntu/precise/compiz/fix-883383

« back to all changes in this revision

Viewing changes to .pc/102_git_fix_load_images.patch/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-03-22 21:45:34 UTC
  • mfrom: (0.168.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110322214534-l6i6ds54os5uoqt1
Tags: 1:0.9.4git20110322-0ubuntu1
* New upstream bug fix snapshot:
  - Application windows can sometimes fail to display and will
    mask regions of the screen (LP: #709461)
  - Compiz switcher Alt-Tab order is not predictable - should
    maintain LIFO ordering in application switcher (LP: #175874)
  - after compiz crashed, gnome-panel isn't mapped again (LP: #711378)
  - invisible windows border problem (LP: #710271)
  - Compiz thinks you are clicking in an edge window when you
    are not (LP: #734250)
  - Add test case for invisible window regressions (LP: #736876)
  - often can't alt-click-dnd to move the focussed dialog (LP: #711911)
  - When windows open for the first time they should not hide (LP: #723878)
  - Unity Grid is broken for multi-monitor setups (LP: #709221)
  - Pixmaps trashed during animations when window is unmapped (LP: #733331)
  - Windows have blank decorations when rapidly closing and
    reopening (LP: #733328)
  - Unity is not restored on unity/compiz crash: compiz doesn't register
    properly with gnome-session (LP: #716462)
* remove the patch taken from upstream
* refresh u-w-d patch with latest upstream work
* debian/compiz-core.install:
  - image move to the final destination
* debian/patches/100_bump_core.h.patch:
  - bump for ABI breakage
* debian/compiz-decorator:
  - use gtk-window-decorator and not unity-window-decorator as it's really
    crashy for now (will probably redo an upload tomorrow with a fixed
    decorator)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
project (compiz)
2
 
 
3
 
set (CMAKE_MODULE_PATH_ORIG ${CMAKE_MODULE_PATH})
4
 
set (COMPIZ_CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
5
 
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${COMPIZ_CMAKE_MODULE_PATH})
6
 
include (CompizCommon)
7
 
include (CompizPackage)
8
 
include (cmake/base.cmake)
9
 
include (CheckFunctionExists)
10
 
 
11
 
 
12
 
set (CMAKE_CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo;MinSizeRe" CACHE INTERNAL "" FORCE)
13
 
if (NOT CMAKE_BUILD_TYPE)
14
 
    set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (Debug/Release/RelWithDebInfo/MinSizeRe)" FORCE)
15
 
endif (NOT CMAKE_BUILD_TYPE)
16
 
 
17
 
# compiz package version number
18
 
# An odd micro number indicates in-progress development.
19
 
# An even micro number indicates a released version.
20
 
set (COMPIZ_VERSION_MAJOR 0)
21
 
set (COMPIZ_VERSION_MINOR 9)
22
 
set (COMPIZ_VERSION_MICRO 4)
23
 
set (COMPIZ_VERSION_MACRO 0)
24
 
set (VERSION ${COMPIZ_VERSION_MAJOR}.${COMPIZ_VERSION_MINOR}.${COMPIZ_VERSION_MICRO}.${COMPIZ_VERSION_MACRO})
25
 
 
26
 
set (DECOR_INTERFACE_VERSION 20110130)
27
 
 
28
 
if (COMPIZ_PACKAGING_ENABLED)
29
 
    set (prefix ${CMAKE_INSTALL_PREFIX}                   CACHE PATH "prefix")
30
 
    set (exec_prefix ${CMAKE_INSTALL_PREFIX}/bin          CACHE PATH "bindir")
31
 
    set (libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}  CACHE PATH "libdir")
32
 
    set (includedir ${CMAKE_INSTALL_PREFIX}/include       CACHE PATH "includedir")
33
 
    set (datadir ${CMAKE_INSTALL_PREFIX}/share            CACHE PATH "datadir")
34
 
else (COMPIZ_PACKAGING_ENABLED)
35
 
    set (prefix ${CMAKE_INSTALL_PREFIX}                 )
36
 
    set (exec_prefix ${CMAKE_INSTALL_PREFIX}/bin        )
37
 
    set (libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
38
 
    set (includedir ${CMAKE_INSTALL_PREFIX}/include     )
39
 
    set (datadir ${CMAKE_INSTALL_PREFIX}/share          )
40
 
endif (COMPIZ_PACKAGING_ENABLED)
41
 
 
42
 
set (compiz_plugindir ${libdir}/compiz)
43
 
set (compiz_imagedir ${datadir}/compiz/images)
44
 
set (compiz_metadatadir ${datadir}/compiz)
45
 
set (COMPIZ_I18N_DIR ${CMAKE_SOURCE_DIR}/po)
46
 
 
47
 
set (ALL_LINGUAS af ar bg bn bn_IN bs ca cs cy da de el en_GB en_US es eu et fi fr gl gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl or pa pl pt pt_BR ro ru sk sl sr sv ta tr uk vi xh zh_CN zh_TW zu)
48
 
set (GETTEXT_PACKAGE compiz)
49
 
 
50
 
find_package (Boost 1.34.0 REQUIRED serialization)
51
 
 
52
 
set (COMPIZ_REQUIRES
53
 
    x11
54
 
    xext
55
 
    xdamage
56
 
    xcomposite
57
 
    x11-xcb
58
 
    xrandr
59
 
    xinerama
60
 
    xext
61
 
    ice
62
 
    sm
63
 
    libxml-2.0
64
 
    libxslt
65
 
    glib-2.0
66
 
    gio-2.0
67
 
    glibmm-2.4
68
 
    "libstartup-notification-1.0 >= 0.7"
69
 
)
70
 
 
71
 
set (DECORATION_REQUIRES xrender)
72
 
 
73
 
compiz_pkg_check_modules (COMPIZ REQUIRED ${COMPIZ_REQUIRES})
74
 
compiz_pkg_check_modules (LIBDECORATION REQUIRED ${DECORATION_REQUIRES})
75
 
 
76
 
list (APPEND COMPIZ_LIBRARIES ${Boost_LIBRARIES})
77
 
 
78
 
include (CompizDefaults)
79
 
 
80
 
set (COMPIZ_CFLAGS "${COMPIZ_CFLAGS} -I${Boost_INCLUDE_DIR}")
81
 
 
82
 
set (_compiz_package_string "Compiz ${VERSION}")
83
 
set (_compiz_package "Compiz")
84
 
 
85
 
compiz_configure_file (${compiz_SOURCE_DIR}/config.h.core.in ${compiz_BINARY_DIR}/generated/config.h)
86
 
 
87
 
compiz_configure_file (
88
 
    ${CMAKE_SOURCE_DIR}/include/compiz-common.h.in
89
 
    ${CMAKE_BINARY_DIR}/generated/compiz-common.h
90
 
)
91
 
 
92
 
install (
93
 
    FILES ${CMAKE_BINARY_DIR}/generated/compiz-common.h
94
 
    DESTINATION ${COMPIZ_DESTDIR}${includedir}/compiz
95
 
)
96
 
 
97
 
compiz_configure_file (
98
 
    ${CMAKE_SOURCE_DIR}/compiz.pc.in
99
 
    ${CMAKE_BINARY_DIR}/compiz.pc
100
 
    COMPIZ_REQUIRES
101
 
    COMPIZ_CFLAGS
102
 
)
103
 
 
104
 
install (
105
 
    FILES ${CMAKE_BINARY_DIR}/compiz.pc
106
 
    DESTINATION ${COMPIZ_DESTDIR}${libdir}/pkgconfig
107
 
)
108
 
 
109
 
add_subdirectory (cmake)
110
 
add_subdirectory (include)
111
 
add_subdirectory (images)
112
 
add_subdirectory (libdecoration)
113
 
add_subdirectory (gtk)
114
 
add_subdirectory (kde)
115
 
add_subdirectory (unity/unity_window_decorator)
116
 
add_subdirectory (po)
117
 
add_subdirectory (metadata)
118
 
add_subdirectory (src)
119
 
add_subdirectory (xslt)
120
 
add_subdirectory (plugins)
121
 
 
122
 
compiz_ensure_linkage ()
123
 
compiz_package_generation ("Compiz")
124
 
compiz_add_uninstall ()
125
 
compiz_add_git_dist ()
126
 
 
127
 
_print_configure_results ()
128
 
 
129
 
_check_compiz_cmake_macro (${CMAKE_MODULE_PATH_ORIG})
130
 
 
131