Commit graph

247 commits

Author SHA1 Message Date
Eelco Dolstra
40f7b0f9df Another attempt to eradicate ensureDir
See c556a6ea46.
2014-06-30 14:56:10 +02:00
Charles Strahan
af479a67b7 Fix xpwn on Darwin and other case-insensitive file systems 2014-06-06 18:06:03 -04:00
Cillian de Róiste
aa5c229223 androidsdk: upgrade 22.3 -> 22.6.2 2014-05-08 00:49:19 +02:00
Sander van der Burg
281126d7ee Merge pull request #2346 from cpages/android
Add android ndk support
2014-04-21 23:27:10 +02:00
aszlig
625d7b9043
Merge pull request #1928 from 'cross-win-osx'.
This includes a lot of fixes for cross-building to Windows and Mac OS X
and could possibly fix things even for non-cross-builds, like for
example OpenSSL on Windows.

The main reason for merging this in 14.04 already is that we already
have runInWindowsVM in master and it doesn't work until we actually
cross-build Cygwin's setup binary as the upstream version is a fast
moving target which gets _overwritten_ on every new release.

Conflicts:
	pkgs/top-level/all-packages.nix
2014-04-21 10:00:35 +02:00
Carles Pagès
8267fa4694 androidndk: add v9d
I also updated the buildApp expression so it can build ndk based apps, when
setting useNDK to true.
2014-04-20 11:29:10 +02:00
Sander van der Burg
e9a1b1e18c Add allowUnfree parameter to allow Java builds to work 2014-04-18 20:05:39 +02:00
Sander van der Burg
2cb2be8161 titaniumsdk: Bump version to 3.2.2 2014-03-12 12:04:38 +01:00
aszlig
5e565754ab
Add new package "xpwn" from @dborca's fork.
This really hase some nice utilities for coping with HFS+ and DMG
format. We're going to use it for extracting the xcode DMG, but it could
be used for more, even generating DMGs.

The reason I'm using the fork instead of the repository from
@planetbeing is thet the fork contains a few fixes, especially for
dealing with symlinks in HFS+ images.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:43 +01:00
Eelco Dolstra
4c2d1184fa flashtool: Fix evaluation 2014-02-28 16:18:31 +01:00
Peter Simons
893fc5e2f3 flashtool: add a license tag 2014-02-28 12:13:46 +01:00
Peter Simons
88078e4379 flashtool: clean up the build some more 2014-02-28 12:13:46 +01:00
Peter Simons
21234d5f1a flashtool: add version 0.9.14.0 2014-02-28 11:02:31 +01:00
Sander van der Burg
70449b220d androidsdk: fix activity launching 2014-02-27 23:08:13 +01:00
Sander van der Burg
9d7b1dca8f androidsdk: only create AVD if needed + some fixes 2014-02-27 19:26:18 +01:00
Sander van der Burg
416db1de92 androidsdk: Make AVD storage dir configurable and make activation step optional 2014-02-27 18:46:06 +01:00
Sander van der Burg
fc4e653167 titaniumsdk: Fix issue with APK with spaces in them 2014-02-21 16:20:27 +01:00
Sander van der Burg
f5a9e5188d titaniumsdk: remove some obsolete debugging stuff 2014-02-20 14:19:32 +01:00
Sander van der Burg
70798243a2 titaniumsdk: Add 3.2 SDK option 2014-02-18 16:34:34 +01:00
Sander van der Burg
1f42b02624 androidenv: also allow references to individual apk files 2014-01-28 19:09:08 +01:00
Sander van der Burg
b25529a4ad titaniumsdk: colored output makes a web server think that logs are in raw format. So disable it 2014-01-23 17:11:16 +01:00
Sander van der Burg
1a24278161 titaniumsdk: Add additional login simulation for the ipa target 2014-01-23 15:11:46 +01:00
Sander van der Burg
eb85038518 titaniumsdk: Replace deprecated python build tools by the new NodeJS based tool 2014-01-21 17:19:26 +01:00
Sander van der Burg
8faebb5323 Make iphone SDK 7.0 the default 2014-01-15 21:52:43 +01:00
Sander van der Burg
b9cbab922e Fix building with recent openjdk 2014-01-15 16:32:40 +01:00
Sander van der Burg
512a3a4e46 Set JAVA_HOME while building 2014-01-15 15:25:50 +01:00
Sander van der Burg
0a3fcd502e Add missing build dependency for Android 2014-01-15 14:55:35 +01:00
Sander van der Burg
abf6896aaf Added testcases for signed Android and iOS apps 2014-01-15 13:37:40 +01:00
Sander van der Burg
b15578ac60 iOS keyfile means provisioning profile 2014-01-13 15:22:11 +01:00
Sander van der Burg
c8bf65d253 Minor android version fix 2014-01-13 15:06:04 +01:00
Sander van der Burg
4fd601d9ed Fix emulate android job 2014-01-13 14:58:25 +01:00
Sander van der Burg
0583cb37e6 Make xcode version configurable + fix android emulator tests 2014-01-13 14:34:46 +01:00
Sander van der Burg
25bd160ca8 Make xcode version configurable 2014-01-13 14:24:48 +01:00
Sander van der Burg
dca1c4afb0 Removed old SDK version support and updated kitchensink version 2014-01-13 14:15:05 +01:00
Sander van der Burg
10a6618d60 Removed titanium SDK 2.1, since it's deprecated long ago and no longer works with the new Android SDK 2014-01-13 13:52:43 +01:00
Sander van der Burg
e998a1c729 Add two additional API level compositions 2014-01-13 13:25:12 +01:00
Sander van der Burg
2f624cd1fa Make xcode detection a bit more robust and configurable 2013-12-24 14:34:56 +01:00
Shea Levy
4a1a28faeb Revert android build tools update
https://code.google.com/p/android/issues/detail?id=61710
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-02 21:41:40 -05:00
Shea Levy
35e47a4a47 Update android sdks
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-02 20:27:53 -05:00
Sander van der Burg
521ea15f14 We need to use ... to allow other parameters 2013-10-15 16:48:42 +02:00
Sander van der Burg
f24e20f1e3 Support Xcode 5.0 2013-10-15 16:32:38 +02:00
Sander van der Burg
ce7f235a09 Make arbitrary arguments to the generic builder possible 2013-10-15 16:32:16 +02:00
Sander van der Burg
bb69f658ea Bump titaniumsdk to 3.1.4 2013-09-27 17:56:01 +02:00
Mathijs Kwik
5eeb02f67c android-sdk: upgrade to latests versions 2013-09-18 14:37:38 +02:00
Sander van der Burg
370db596b9 Bumped Android SDK to version 22.2 and updated its addons 2013-09-18 12:05:14 +02:00
Sander van der Burg
bf1c37494e Moved reference to iPhone SDKs to the wrapper that proxies to Xcode 2013-08-16 13:20:59 +02:00
Sander van der Burg
0e91a58bbe The android GUI does not work if Oracle's JDK is installed. This patch forces it to use OpenJDK 2013-08-08 10:40:09 +02:00
Sander van der Burg
a9b4851b74 The android utility's GUI should work and wrapper scripts in bin/ are replaced by symlinks 2013-08-07 22:12:44 +02:00
Sander van der Burg
d435b39201 Make AVD creating configurable at runtime 2013-08-06 14:11:34 +02:00
Sander van der Burg
dbcb178ef2 Added extraAVDFiles parameter to support custom system images 2013-08-06 11:16:51 +02:00
Sander van der Burg
ed70cc9830 We must also take Android's ABI version into account 2013-08-06 10:41:13 +02:00
Sander van der Burg
f5f5f69ef0 The emulator needs file in its PATH and alsaLib 2013-08-05 22:18:56 +02:00
Sander van der Burg
7019b685de Make the emulator flags configurable at runtime and unimportant messages should go the stderr 2013-08-05 19:08:58 +02:00
Sander van der Burg
a82fcea437 Make iPhone simulator SDKs configurable 2013-08-05 12:47:57 +02:00
Sander van der Burg
9a2b9ba6b3 Turn LD_LIBRARY_PATH into a suffix to allow NVIDIA's OpenGL driver to be used 2013-08-01 12:43:33 +02:00
Sander van der Burg
c81e70fc30 Shut up annoying question to configure hardware profiles 2013-08-01 11:32:57 +02:00
Sander van der Burg
77dd343e1e - System images are not required for building. Disabling them makes building faster.
- Make ant flags configurable
2013-08-01 11:21:54 +02:00
Sander van der Burg
1c8b4c8950 Now x86 and mips images from external repositories are supported + added GPU option to the emulate function 2013-07-31 18:56:27 +02:00
Sander van der Burg
c324091a77 Fixed incorrect platform-tools sha1 value 2013-07-31 16:14:47 +02:00
Sander van der Burg
ab9be1b809 Updated Android SDK to version 22.05, updated all plugins, and added mesa to the search path of the emulators to enable OpenGL acceleration 2013-07-31 16:00:57 +02:00
Sander van der Burg
41932dd135 Do not make assumptions on the scheme name, but let xcodebuild decide about it 2013-07-15 11:32:12 +02:00
Sander van der Burg
e5c7533b6c titaniumsdk: Bump to version 3.1.1 2013-06-13 13:58:32 +02:00
Sander van der Burg
2b1eff8e17 Override the KitchenSink's appName 2013-05-29 15:17:37 +02:00
Sander van der Burg
c30eed4b44 Allow one to override the app's name through the appName parameter 2013-05-29 15:16:21 +02:00
Sander van der Burg
a2b8fb3776 It's impossible to guess the name so we add an extra optional parameter to override it 2013-05-29 15:01:55 +02:00
Sander van der Burg
a7895de1fc Use double quotes to expand wildcards 2013-05-29 14:50:24 +02:00
Sander van der Burg
cf512cf5c2 Use wildcard for the appname 2013-05-29 14:18:35 +02:00
Sander van der Burg
dde4a92c5c Generate unique derivation names so that we can easily install them from a Nix channel 2013-05-29 13:50:53 +02:00
Sander van der Burg
3f0ee819e2 titaniumsdk: Updated KitchenSink example + fix native libraries 2013-04-17 13:52:42 +02:00
Sander van der Burg
92e089187d titaniumsdk: Removed obsolete src parameter 2013-04-16 16:23:20 +02:00
Sander van der Burg
1d255f9ab3 titaniumsdk: Added version 3.1 next to version 2.1, and make it configurable 2013-04-16 14:08:37 +02:00
Sander van der Burg
770741b5b4 androidenv: fix error with obsolete quotation 2013-03-21 14:21:20 +01:00
Sander van der Burg
647bca444c Allow appnames with spaces everywhere 2013-03-21 14:11:58 +01:00
Sander van der Burg
eacb6c1506 xcodeenv: Add IPA file to Hydra build products 2013-03-15 16:18:45 +01:00
Sander van der Burg
89a802d82b androidsdk: Small fix in generating the build product 2013-03-15 10:31:17 +01:00
Sander van der Burg
0f0e4b856a Make system identifier configurable (except for iphone targets) 2013-03-13 15:09:13 +01:00
Sander van der Burg
15e1daf0c3 Make iOS SDK version configurable 2013-03-13 13:02:19 +01:00
Sander van der Burg
9ec69c077e Make xcode version configurable 2013-03-12 17:23:03 +01:00
Eelco Dolstra
674c51af3c Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-03-07 19:33:52 +01:00
Sander van der Burg
f00dc945d2 The iOS test target can/should only be executed on x86_64-darwin, this change enforces that 2013-03-07 10:44:19 +01:00
Sander van der Burg
69a13e4e92 We don't need a reference here to titaniumenv, so remove it 2013-03-05 15:57:54 +01:00
Sander van der Burg
ed6529ea44 - Store resulting APK in hydra build artifacts
- Make nixpkgs configurable in the test examples
2013-03-05 15:39:51 +01:00
Sander van der Burg
31b19d39f3 Use correct hydra type and subtype 2013-03-05 14:33:49 +01:00
Sander van der Burg
ad4ed70128 Add resulting APK to the hydra build products 2013-03-05 12:29:48 +01:00
Eelco Dolstra
2aa6f262cb Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-02-15 13:36:34 +01:00
Sander van der Burg
e2faa26761 titaniumsdk: Build universal versions of debug apps 2013-02-14 17:25:02 +01:00
Sander van der Burg
e8f590c3d9 Make the source of the titanium SDK configurable 2013-02-13 14:36:28 +01:00
Sander van der Burg
5d6ffdb623 xcodeenv: Allow app names with with spaces in them 2013-02-12 11:35:21 +01:00
Eelco Dolstra
0a47a28f1d Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-01-22 23:23:53 +01:00
Sander van der Burg
dcfdd2ef26 Fixed provisioning profile check => We should check for the file, not the dir 2013-01-21 16:30:00 +01:00
Rickard Nilsson
1886d1db6a Merge remote-tracking branch 'upstream/master' into stdenv-updates 2013-01-20 16:53:21 +01:00
Sander van der Burg
bbd049e9d5 Allow App names with spaces 2013-01-18 17:34:01 +01:00
Eelco Dolstra
5bb548d2e4 Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-01-17 14:19:14 +01:00
Sander van der Burg
729a112f72 Implemented iosDistribute flag, that allows someone to build iPhone distribution builds 2013-01-16 17:09:08 +01:00
Peter Simons
b33ad366a1 Merge branch 'master' into stdenv-updates. 2013-01-11 15:46:10 +01:00
Sander van der Burg
c6ff338e27 Added package + build functions for Titanium SDK, a cross-platform mobile development kit 2013-01-07 18:22:10 +01:00
Sander van der Burg
5b0ca88d97 - Added xcodeenv: experimental support to build iOS apps through Nix
- Moved mobile development tools into a separate folder
2013-01-07 16:52:42 +01:00