[Pkg-owncloud-commits] [owncloud-client] 203/219: OS X: write a qt.conf file

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 1d8900dc196e419d775b840d8c8c041e577f69cd
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Wed Oct 1 23:56:54 2014 +0200

    OS X: write a qt.conf file
---
 admin/osx/macdeployqt.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/admin/osx/macdeployqt.py b/admin/osx/macdeployqt.py
index fe2c9c2..ca826aa 100755
--- a/admin/osx/macdeployqt.py
+++ b/admin/osx/macdeployqt.py
@@ -93,6 +93,12 @@ binaries = [i for i in glob(os.path.join(bundle_dir, 'Contents', 'MacOS', "*"))
 fixed_libraries = []
 fixed_frameworks = []
 
+def WriteQtConf():
+  print "Writing qt.conf..."
+  with open(os.path.join(resources_dir, 'qt.conf'), 'w') as f:
+    f.write("[Paths]\nPlugins = PlugIns\n");
+    f.close()
+
 def GetBrokenLibraries(binary):
   #print "Checking libs for binary: %s" % binary
   output = subprocess.Popen(['otool', '-L', binary], stdout=subprocess.PIPE).communicate()[0]
@@ -321,3 +327,4 @@ for command in commands:
   p = subprocess.Popen(command)
   os.waitpid(p.pid, 0)
 
+WriteQtConf()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list