summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/common/deploy-rbutil.py (renamed from rbutil/rbutilqt/deploy-rbutil.py)0
-rwxr-xr-xutils/common/deploy-themeeditor.py51
-rwxr-xr-xutils/common/deploy.py (renamed from rbutil/rbutilqt/deploy.py)0
3 files changed, 51 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/deploy-rbutil.py b/utils/common/deploy-rbutil.py
index 10c3159fe2..10c3159fe2 100755
--- a/rbutil/rbutilqt/deploy-rbutil.py
+++ b/utils/common/deploy-rbutil.py
diff --git a/utils/common/deploy-themeeditor.py b/utils/common/deploy-themeeditor.py
new file mode 100755
index 0000000000..527976616c
--- /dev/null
+++ b/utils/common/deploy-themeeditor.py
@@ -0,0 +1,51 @@
1#!/usr/bin/python
2# __________ __ ___.
3# Open \______ \ ____ ____ | | _\_ |__ _______ ___
4# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7# \/ \/ \/ \/ \/
8# $Id$
9#
10# Copyright (c) 2010 Dominik Riebeling
11#
12# All files in this archive are subject to the GNU General Public License.
13# See the file COPYING in the source tree root for full license agreement.
14#
15# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16# KIND, either express or implied.
17#
18
19import deploy
20import sys
21
22deploy.program = "rbthemeeditor"
23deploy.project = "utils/themeeditor/themeeditor.pro"
24deploy.svnserver = "svn://svn.rockbox.org/rockbox/"
25deploy.svnpaths = \
26 [ "utils/themeeditor/",
27 "lib/skin_parser/" ]
28deploy.useupx = False
29deploy.bundlecopy = {
30 "resources/windowicon.icns" : "Contents/Resources/",
31 "Info.plist" : "Contents/"
32}
33# Windows nees some special treatment. Differentiate between program name
34# and executable filename.
35if sys.platform == "win32":
36 deploy.progexe = "Release/" + deploy.program + ".exe"
37 deploy.make = "mingw32-make"
38elif sys.platform == "darwin":
39 deploy.progexe = deploy.program + ".app"
40 # OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
41 # compatible with 10.4 requires using gcc-4.0.
42 if not "QMAKESPEC" in deploy.environment:
43 deploy.environment["QMAKESPEC"] = "macx-g++40"
44else:
45 deploy.progexe = deploy.program
46# all files of the program. Will get put into an archive after building
47# (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg.
48deploy.programfiles = [ deploy.progexe ]
49
50deploy.deploy()
51
diff --git a/rbutil/rbutilqt/deploy.py b/utils/common/deploy.py
index f4f3fac786..f4f3fac786 100755
--- a/rbutil/rbutilqt/deploy.py
+++ b/utils/common/deploy.py