Merge lp:~cyphermox/compiz/compiz_destdir_for_packaging into lp:~compiz/compiz/ubuntu

Proposed by Mathieu Trudel-Lapierre
Status: Rejected
Rejected by: Sam Spilsbury
Proposed branch: lp:~cyphermox/compiz/compiz_destdir_for_packaging
Merge into: lp:~compiz/compiz/ubuntu
Diff against target: 41 lines (+21/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/088_compiz_packaging_compiz_destdir.patch (+13/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~cyphermox/compiz/compiz_destdir_for_packaging
Reviewer Review Type Date Requested Status
Sam Spilsbury Needs Resubmitting
Didier Roche-Tolomelli Pending
Review via email: mp+49276@code.launchpad.net

Description of the change

I'm not sure how this ties in to plans to remove the use of COMPIZ_DESTDIR and general overhaul of the build system for compiz, but this here disables setting COMPIZ_DESTDIR to the contents of DESTDIR and avoids issues with duplicated paths when building plugins such as unity, when building with compiz in packaging mode.

To post a comment you must log in.
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Hey Mathieu

Can you propose that upstream directly? ping smspillaz when he's around. Thanks :)

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

btw, as you don't have the issue building unity on a new box, maybe it would be worth to see why COMPIZ_DESTDIR is set for you in the bad case as well?
I prefer a real patch, understanding what's wrong, rather than a workaround :/

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

Please resubmit this against lp:compiz/0.9.8

review: Needs Resubmitting

Unmerged revisions

528. By Mathieu Trudel-Lapierre

debian/patches/088_compiz_packaging_compiz_destdir.patch: Don't set
COMPIZ_DESTDIR in packaging mode.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-02-08 09:31:07 +0000
3+++ debian/changelog 2011-02-10 19:32:58 +0000
4@@ -1,3 +1,10 @@
5+compiz (1:0.9.2.1+glibmainloop4-0ubuntu11) UNRELEASED; urgency=low
6+
7+ * debian/patches/088_compiz_packaging_compiz_destdir.patch: Don't set
8+ COMPIZ_DESTDIR in packaging mode.
9+
10+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 09 Feb 2011 12:57:33 -0500
11+
12 compiz (1:0.9.2.1+glibmainloop4-0ubuntu10) natty; urgency=low
13
14 * debian/patches/080_migrate_gconf_from_alpha1.patch
15
16=== added file 'debian/patches/088_compiz_packaging_compiz_destdir.patch'
17--- debian/patches/088_compiz_packaging_compiz_destdir.patch 1970-01-01 00:00:00 +0000
18+++ debian/patches/088_compiz_packaging_compiz_destdir.patch 2011-02-10 19:32:58 +0000
19@@ -0,0 +1,13 @@
20+Index: compiz-0.9.2.1+glibmainloop4/cmake/CompizCommon.cmake
21+===================================================================
22+--- compiz-0.9.2.1+glibmainloop4.orig/cmake/CompizCommon.cmake 2011-02-09 12:56:50.542061878 -0500
23++++ compiz-0.9.2.1+glibmainloop4/cmake/CompizCommon.cmake 2011-02-09 12:57:02.292061878 -0500
24+@@ -20,7 +20,7 @@
25+ option (COMPIZ_PACKAGING_ENABLED "Enable to manually set prefix, exec_prefix, libdir, includedir, datadir" OFF)
26+ set (COMPIZ_DESTDIR "${DESTDIR}" CACHE STRING "Leave blank unless building packages")
27+
28+-if (NOT COMPIZ_DESTDIR)
29++if (NOT COMPIZ_DESTDIR AND NOT COMPIZ_PACKAGING_ENABLED)
30+ set (COMPIZ_DESTDIR $ENV{DESTDIR})
31+ endif ()
32+
33
34=== modified file 'debian/patches/series'
35--- debian/patches/series 2011-02-08 09:31:04 +0000
36+++ debian/patches/series 2011-02-10 19:32:58 +0000
37@@ -23,3 +23,4 @@
38 065_add_bailer_and_detection_plugins.patch
39 085_add_grid_plugin.patch
40 086_fix_unreachable_options_crash.patch
41+088_compiz_packaging_compiz_destdir.patch

Subscribers

People subscribed via source and target branches