Notes |
|
(0018964)
|
David Cole
|
2009-12-21 15:27
|
|
The whole concept of fixup_bundle is based on the assumption that you have a bundle containing some set of executable files (*.exes and *.dll/dylib/so) to begin with.
And that you then want to copy in some extra libraries (pluigns).
And then fixup all the binaries inside the bundle so that it's self-contained by pulling in any copies of necessary/required 3rd-party non-system libraries...
I think I let us get off track of that vision by allowing a previous patch that classified "dlls" as non-executables. (Because the corresponding files on Linux/Mac were "not executables") -- but they *all* are executables with respect to fixup_bundle.
I think rather than change this 1 to 0 as recommended by this bug... that we should have two inputs to fixup_bundle: a set of files to copy-in first and a separate set of files to just do the fixups on.
Does this make sense...? |
|
|
(0018965)
|
Clinton Stimpson
|
2009-12-21 15:38
|
|
I don't think BundleUtilities can know enough about how to deal with plugins. For example, they aren't always in the bin folder or in the Contents/MacOS folder. For Qt plugins, they are actually in Contents/plugins on Mac and bin/plugins on Linux/Windows. But that can be changed from defaults to custom paths by modifying a qt.conf file that gets put into the bundle. So I thought the burden of installing plugins was on the user, not BundleUtilties.
With that understanding, I had always assumed that the first argument to fixup_bundle was a list of executables to copy prerequisites for, and that the second argument was a list of plugins to copy prerequisites for (because they wouldn't get picked up any other way). |
|
|
(0018967)
|
Clinton Stimpson
|
2009-12-21 15:41
|
|
And one more about the Qt plugins, the path to Qt plugins is actually the root folder containing more sub folders with plugins. So it would never work to have Qt plugins copied into a flat executable/library directory. |
|
|
(0020215)
|
Clinton Stimpson
|
2010-04-16 10:25
|
|
What's the benefit of a parameter to copy-in files instead of using the install() command? I've been using install() commands because that's the only way I can get the level of control I need. |
|
|
(0021731)
|
Mike McQuaid
|
2010-08-12 09:15
|
|
In this case, would it not make more sense to try and fix BundleUtilities so it works when installing Qt plugins? It seems quite a few people are using this with Qt so even some special casing might be nice here. |
|
|
(0021799)
|
Mike McQuaid
|
2010-08-18 04:55
|
|
|
|
(0022121)
|
David Cole
|
2010-09-07 22:29
|
|
|