You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by za...@apache.org on 2014/12/15 14:32:52 UTC

[03/37] cordova-ubuntu git commit: set correct deb dependencies

set correct deb dependencies


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/46a8fa5c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/46a8fa5c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/46a8fa5c

Branch: refs/heads/master
Commit: 46a8fa5c3f634ae90611cfe4973c6d0c8e665918
Parents: 61ff3cf
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Tue Sep 2 04:59:28 2014 +0400
Committer: Maxim Ermilov <ma...@canonical.com>
Committed: Tue Sep 2 04:59:28 2014 +0400

----------------------------------------------------------------------
 bin/build/lib/ubuntu.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/46a8fa5c/bin/build/lib/ubuntu.js
----------------------------------------------------------------------
diff --git a/bin/build/lib/ubuntu.js b/bin/build/lib/ubuntu.js
index fdad05d..400c84a 100644
--- a/bin/build/lib/ubuntu.js
+++ b/bin/build/lib/ubuntu.js
@@ -336,9 +336,16 @@ function buildNative(campoDir, ubuntuDir, nobuild, debug) {
         }
 
 
+        var debControlContent = 'Package: ' + manifest.name
+            + '\nVersion: ' + manifest.version
+            + '\nMaintainer: ' + manifest.maintainer
+            + '\nArchitecture: ' + manifest.architecture
+            + '\nDescription: ' + manifest.description
+            + '\nDepends: ubuntu-sdk-libs\n';
+
         shell.mkdir('-p', path.join(debDir, 'usr', 'share', 'applications'));
         shell.mkdir('-p', path.join(debDir, 'DEBIAN'));
-        fs.writeFileSync(path.join(debDir, 'DEBIAN', 'control'), 'Package: ' + manifest.name + '\nVersion: ' + manifest.version + '\nMaintainer: ' + manifest.maintainer + '\nArchitecture: ' + manifest.architecture + '\nDescription: ' + manifest.description + '\n')
+        fs.writeFileSync(path.join(debDir, 'DEBIAN', 'control'), debControlContent);
         fs.writeFileSync(path.join(debDir, 'usr', 'share', 'applications', manifest.name + '.desktop'), desktopFileContent);
 
         pushd(nativeDir);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org