Merge lp:~compiz-team/compiz/fix-1051595 into lp:compiz/0.9.8

Proposed by Sam Spilsbury
Status: Rejected
Rejected by: Daniel van Vugt
Proposed branch: lp:~compiz-team/compiz/fix-1051595
Merge into: lp:compiz/0.9.8
Diff against target: 38 lines (+5/-14)
1 file modified
cmake/base.cmake (+5/-14)
To merge this branch: bzr merge lp:~compiz-team/compiz/fix-1051595
Reviewer Review Type Date Requested Status
Daniel van Vugt Needs Fixing
jenkins (community) continuous-integration Needs Fixing
Review via email: mp+124977@code.launchpad.net

This proposal supersedes a proposal from 2012-09-18.

Commit message

Some problems with make findcompiz_install and make findcompizconfig_install
- make findcompiz_install errors since r3320
- in r3219 installs the findcompiz*.cmake-files with a normal make install,
but not in the Modules directory. This is a) wrong and b) not according to
the message that findcompiz* must be installed with make findcompiz_install.
Patch fixes this, by removing the extra file install with make install, and
cleaning up the building of the findcompiz-target.
(LP: #1051595)

Description of the change

Some problems with make findcompiz_install and make findcompizconfig_install
- make findcompiz_install errors since r3320
- in r3219 installs the findcompiz*.cmake-files with a normal make install,
but not in the Modules directory. This is a) wrong and b) not according to
the message that findcompiz* must be installed with make findcompiz_install.
Patch fixes this, by removing the extra file install with make install, and
cleaning up the building of the findcompiz-target.
(LP: #1051595)

To post a comment you must log in.
Revision history for this message
jenkins (martin-mrazik+qa) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Try again jenkins

Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Martin Mrazik (mrazik) wrote :

Do you think this is a problem on jenkins side? TBH I don't see anything obvious.

Revision history for this message
Martin Mrazik (mrazik) wrote :

I think this is the line which makes it fail:

dh_install: compiz-dev missing files (debian/tmp/usr/share/cmake*/FindCompiz.cmake), aborting

Revision history for this message
Martin Mrazik (mrazik) wrote :

Looks like a packaging/installing issue to me (see also the comment in debian/rules for override_dh_install). Ping me if you still think its a jenkins problem.

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Ah, you're right. I wasn't looking at the right link. We'll need to fix the packaging to handle that I guess

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Not installing share/cmake-2.8/FindCompiz.cmake
will break builds of Unity which needs it for:
  find_package (Compiz REQUIRED)

Or am I missing something?

review: Needs Information
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed, this breaks Unity builds.

review: Needs Fixing
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Rejecting this because it needs fixing and needs to be resubmitted targeting lp:compiz

Unmerged revisions

3378. By erikjanp

Some problems with make findcompiz_install and make findcompizconfig_install
- make findcompiz_install errors since r3320
- in r3219 installs the findcompiz*.cmake-files with a normal make install,
but not in the Modules directory. This is a) wrong and b) not according to
the message that findcompiz* must be installed with make findcompiz_install.
Patch fixes this, by removing the extra file install with make install, and
cleaning up the building of the findcompiz-target.
(LP: #1051595)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'cmake/base.cmake'
--- cmake/base.cmake 2012-05-26 10:52:26 +0000
+++ cmake/base.cmake 2012-09-18 16:30:46 +0000
@@ -49,15 +49,10 @@
49 message ("Call \"sudo make findcompiz_install\" to install it.\n")49 message ("Call \"sudo make findcompiz_install\" to install it.\n")
50 compiz_print_configure_footer ()50 compiz_print_configure_footer ()
51 endif ()51 endif ()
52 install (FILES
53 ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindCompiz.cmake
54 ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindOpenGLES2.cmake
55 DESTINATION
56 ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/)
57 add_custom_target (findcompiz_install52 add_custom_target (findcompiz_install
58 ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules &&53 COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules
59 ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindCompiz.cmake ${CMAKE_ROOT}/Modules54 COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindCompiz.cmake ${CMAKE_ROOT}/Modules
60 ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindOpenGLES2.cmake ${CMAKE_ROOT}/Modules55 COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindOpenGLES2.cmake ${CMAKE_ROOT}/Modules
61 )56 )
62 find_file (_find_compizconfig FindCompizConfig.cmake PATHS ${CMAKE_ROOT}/Modules ${ARGN})57 find_file (_find_compizconfig FindCompizConfig.cmake PATHS ${CMAKE_ROOT}/Modules ${ARGN})
63 if (NOT _find_compizconfig)58 if (NOT _find_compizconfig)
@@ -67,14 +62,10 @@
67 message ("Call \"sudo make findcompiz_install\" to install it.\n")62 message ("Call \"sudo make findcompiz_install\" to install it.\n")
68 compiz_print_configure_footer ()63 compiz_print_configure_footer ()
69 endif (NOT _find_compizconfig)64 endif (NOT _find_compizconfig)
70 install (FILES
71 ${CMAKE_CURRENT_SOURCE_DIR}/compizconfig/libcompizconfig/cmake/FindCompizConfig.cmake
72 DESTINATION
73 ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/)
74 add_custom_target (65 add_custom_target (
75 findcompizconfig_install66 findcompizconfig_install
76 ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules &&67 COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules
77 ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/compizconfig/libcompizconfig/cmake/FindCompizConfig.cmake ${CMAKE_ROOT}/Modules68 COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/compizconfig/libcompizconfig/cmake/FindCompizConfig.cmake ${CMAKE_ROOT}/Modules
78 )69 )
79endfunction ()70endfunction ()
8071

Subscribers

People subscribed via source and target branches