Hi, As discussed on IRC, I got tired of passing the --resourcePath variable all the time when working on the code, and fixed src/configobject.cpp to detect and use ../res and res/ as resource paths, if found from same directory or level above from mixxx binary path. With this patch, you can just run ./mixxx from build directory (./foo_build/mixxx) or ./mixxx and resources are found from current tree.
The patch also: - Checks the detected resource directory has file schema.xml and directories skins, controllers, keyboard - Honors 'Path' setting in config on all platforms instead of only linux - Changed all path writing from string manipulations to QFIleInfo and QDir object calls, using absolute paths - This patch does NOT handle setting --pluginPath to current directory. It could be easily handled with similar code if required The patch is only tested on OS/X and since it's only relevant for developers, I would not add it to 1.11 at this point. However, I would like to see this in trunk to make 1.12 development easier (and I guess any bugs related to releases would be fixed here before 1.12 anyway). Feedback testing this on linux and windows is appreciated (well only tell me if it does not work :) *hile*
mixxx-configobject-resourcepath.diff
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel