13
0
Commit Graph

88 Commits

Author SHA1 Message Date
813c5f0af9 major rationalization of use of search paths. ardour now has just 4 functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things.
This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required)

git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18 17:24:06 +00:00
6bd097cc35 fix up unexpected situation with fontconfig in our packages
git-svn-id: svn://localhost/ardour2/branches/3.0@12190 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-05 14:16:13 +00:00
7dd9582855 bundle mackie control stuff into the package
git-svn-id: svn://localhost/ardour2/branches/3.0@12187 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 14:35:39 +00:00
6d723920f6 fix a problem with stripping dependent libs
git-svn-id: svn://localhost/ardour2/branches/3.0@12186 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 13:51:32 +00:00
437ed14c45 adjust to new svn revision string format in svn_revision.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@12185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 13:44:27 +00:00
5def537a41 tweak how we find clearlooks when packaging
git-svn-id: svn://localhost/ardour2/branches/3.0@12182 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 13:05:58 +00:00
df1e19f68c re-re-tweak noderun script
git-svn-id: svn://localhost/ardour2/branches/3.0@12179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 03:36:47 +00:00
244b987374 re-tweak noderun script
git-svn-id: svn://localhost/ardour2/branches/3.0@12178 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 03:36:09 +00:00
20fa01097c tweak noderun script
git-svn-id: svn://localhost/ardour2/branches/3.0@12177 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 03:35:30 +00:00
Carl Hetherington
40d57d1c1e Copy for SVN revision from build script.
git-svn-id: svn://localhost/ardour2/branches/3.0@12091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 16:56:15 +00:00
Carl Hetherington
4f29bb6046 A few tweaks to the build script for Ubuntu 11.10
git-svn-id: svn://localhost/ardour2/branches/3.0@12090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 16:55:34 +00:00
Carl Hetherington
b150474b26 Tweak to fix up linux packaging script.
git-svn-id: svn://localhost/ardour2/branches/3.0@12089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 16:19:21 +00:00
Todd Naugle
37117e5c45 fix missing quote in disk space check failure message
git-svn-id: svn://localhost/ardour2/branches/3.0@11785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-03 20:22:12 +00:00
Todd Naugle
a3eaff8fa3 The installer will now create a link to the program in /usr/local/bin to allow starting from the command line. If the installer or uninstaller is not running as root, they will now attempt to use both sudo and su to get root access. This means double click install now works on systems that don't have sudo installed or configured.
git-svn-id: svn://localhost/ardour2/branches/3.0@11553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-29 17:55:13 +00:00
4837b29191 fix GTK_PATH in binary bundle (not fully tested)
git-svn-id: svn://localhost/ardour2/branches/3.0@11229 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-11 17:15:54 +00:00
1b9a9f27a2 put the UI configuration file in the right place(s) in the linux packages
git-svn-id: svn://localhost/ardour2/branches/3.0@10634 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:13:26 +00:00
c0e13ccf8d include step editing and mixer binding files in linux packages
git-svn-id: svn://localhost/ardour2/branches/3.0@10631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 22:37:36 +00:00
f7106a20be minor fix for linux packaging
git-svn-id: svn://localhost/ardour2/branches/3.0@10611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 13:05:02 +00:00
ab53e4d1e3 fix linux packaging script for new waf convention, more
git-svn-id: svn://localhost/ardour2/branches/3.0@10559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-12 23:08:24 +00:00
74e896f5d3 fix linux packaging script for new waf convention
git-svn-id: svn://localhost/ardour2/branches/3.0@10558 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-12 23:07:17 +00:00
Todd Naugle
07ff18db2a Installer now handles i18n of the Desktop folder. Running the installer or uninstaller as root work correctly and does not invalidate the sanity checks. Corrected method used to detect if the installer is already running in a visable terminal.
git-svn-id: svn://localhost/ardour2/branches/3.0@10502 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 18:07:29 +00:00
e09e0035a6 check INSTALL_DEST_BASE exists earlier rather than later
git-svn-id: svn://localhost/ardour2/branches/3.0@10100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-20 20:28:44 +00:00
Todd Naugle
10e12dc287 Add another test to detect a non interactive shell. This may be the best method. Fixes double click install on AVLinux 5
git-svn-id: svn://localhost/ardour2/branches/3.0@9776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-29 18:24:07 +00:00
2dd40def0b build script fix
git-svn-id: svn://localhost/ardour2/branches/3.0@9732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 19:18:28 +00:00
39c30e1747 tweak for recent linux packaging change
git-svn-id: svn://localhost/ardour2/branches/3.0@9728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 00:21:41 +00:00
25b79d5647 search for i18n files in more places and rationalize how that's done
git-svn-id: svn://localhost/ardour2/branches/3.0@9726 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14 00:16:05 +00:00
c5f67d62df copy ALL style RC file into bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 19:39:05 +00:00
Todd Naugle
c3a681b86a Properly handle spaces in filenames along the path to the installer.
git-svn-id: svn://localhost/ardour2/branches/3.0@9613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 19:46:28 +00:00
Todd Naugle
e057436a2b add -P flag to both calls to df
git-svn-id: svn://localhost/ardour2/branches/3.0@9609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-27 15:19:28 +00:00
df96cb6136 add -P to invocation of df(1) to ensure expected output format
git-svn-id: svn://localhost/ardour2/branches/3.0@9604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-26 23:41:33 +00:00
fa42d70b85 remove --nostrip from noderun script, since it was removed from the build script
git-svn-id: svn://localhost/ardour2/branches/3.0@9592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-25 22:13:24 +00:00
Todd Naugle
5711425f18 Fix debug build detection
git-svn-id: svn://localhost/ardour2/branches/3.0@9453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 21:07:47 +00:00
Todd Naugle
83cd8d1a83 Remove unused strip option from package script. Fixed build script to properly detect non-debug builds
git-svn-id: svn://localhost/ardour2/branches/3.0@9447 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28 19:28:22 +00:00
Todd Naugle
72b0911421 install and uninstall can now be run as root (ie su -c) although this is not preferred. Also check for free disk space before installing
git-svn-id: svn://localhost/ardour2/branches/3.0@9308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 19:02:11 +00:00
193762e12a track MIDI map copies for bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 15:29:05 +00:00
c3677cf38d fix typo
git-svn-id: svn://localhost/ardour2/branches/3.0@9265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 14:26:17 +00:00
b3faa154b8 copy pre-defined export presets & formats into the correct location in the bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 14:17:44 +00:00
12c62f0c82 even more potential fixes for partial stripping of a linux bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9255 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-01 19:34:31 +00:00
041fd2ce8c more potential fixes for partial stripping of a linux bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-01 18:56:16 +00:00
1bdc026bcd more potential fixes for partial stripping of a linux bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-01 18:52:59 +00:00
0d0f487686 another potential fix for partial stripping of a linux bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-01 18:49:18 +00:00
22fe07d1c4 potential fix for partial stripping of a linux bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9251 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-01 18:33:40 +00:00
08fddb1217 add call to ./package to noderun script
git-svn-id: svn://localhost/ardour2/branches/3.0@9209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-25 21:49:01 +00:00
7f4318b343 no real point running gzip on the package tarball
git-svn-id: svn://localhost/ardour2/branches/3.0@9208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-25 21:48:12 +00:00
7a970d08ed include MIDI binding maps in packages
git-svn-id: svn://localhost/ardour2/branches/3.0@9204 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-25 21:21:23 +00:00
Todd Naugle
3d51ea0ed2 Allow single architecture packages to be made
git-svn-id: svn://localhost/ardour2/branches/3.0@9200 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-24 21:13:53 +00:00
1d5e55c9f1 get that last commit right
git-svn-id: svn://localhost/ardour2/branches/3.0@9196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 20:55:59 +00:00
2c01b36740 drop need for argument to "noderun" when building binaries on VMs
git-svn-id: svn://localhost/ardour2/branches/3.0@9195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 20:54:54 +00:00
6831fb9622 add light theme to binary package
git-svn-id: svn://localhost/ardour2/branches/3.0@9194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 16:00:24 +00:00
e43b01535c tracking down why alpha binaries don't find control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@9189 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-23 14:09:48 +00:00