Opened 20 years ago
Closed 19 years ago
#1295 closed patch (wontfix)
Patch to allow seperate build directory
| Reported by: | Dibblah | Owned by: | Isaac Richards |
|---|---|---|---|
| Priority: | trivial | Milestone: | 0.21 |
| Component: | mythtv | Version: | head |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
This patch allows the following to work:
mkdir ~/mythbuild cd ~/mythbuild /usr/src/mythtv/configure make make install
- the source directory is completely seperated from the build directory. The source directory is not modified during the build.
It's fairly hacky, but consistently so:
qmake, when it include ( )s a file, changes into the directory of that file first. This means that it's not possible to easily centralise these changes.
Headers do not seem to get pulled in from the VPATH if they're located away from the current build directory - Hence the modifications to the INCLUDEPATHs.
A couple of #include "mythconfig.h" needed changed to #include "config.h" to make picking up the configuration from the build directory easier.
If you are compiling in the same directory as the source, this change has no effect at all.
It has only been tested on x86. I can't see how it'd break other architectures, but it is probably worth mentioning.
Attachments (6)
Change History (10)
by , 20 years ago
| Attachment: | mythseperatebuild.diff added |
|---|
by , 20 years ago
| Attachment: | mythseperatebuild2.diff added |
|---|
by , 20 years ago
| Attachment: | mythseperatebuild3.diff added |
|---|
Updated to SVN 9838, bugfix (don't recurse into created links), make sure all new / less used .pros have been updated
comment:1 by , 20 years ago
| Milestone: | unknown → 0.20 |
|---|---|
| Owner: | changed from to |
comment:2 by , 20 years ago
| Owner: | changed from to |
|---|
Was waiting on an updated patch before applying this..
by , 20 years ago
| Attachment: | mythseperatebuild5.diff added |
|---|
Updated to 10224. Not ready for commit - svn version number doesn't work properly
by , 20 years ago
| Attachment: | mythseperatebuild6.diff added |
|---|
Fixes previous bug with svnversion and themes not being installed
comment:3 by , 20 years ago
| Milestone: | 0.20 → 0.21 |
|---|
comment:4 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Closed at the request of the ticket reporter.

Remove debug echo. No other changes.