Commit 58aeae13605a44fdce974fd3a1711fc1e62666a9
Committed by
Rafael Manzo
1 parent
e4ad556b
Exists in
master
and in
29 other branches
quick-start updated
Showing
2 changed files
with
26 additions
and
19 deletions
Show diff stats
debian/control
@@ -6,14 +6,12 @@ Uploaders: Antonio Terceiro <terceiro@colivre.coop.br> | @@ -6,14 +6,12 @@ Uploaders: Antonio Terceiro <terceiro@colivre.coop.br> | ||
6 | Build-Depends: | 6 | Build-Depends: |
7 | debhelper (>= 7.0.50~), | 7 | debhelper (>= 7.0.50~), |
8 | po4a, | 8 | po4a, |
9 | - libgettext-ruby-util, | ||
10 | - libgettext-ruby1.8, | ||
11 | - libsqlite3-ruby1.8, | 9 | + ruby-gettext, |
10 | + ruby-sqlite3, | ||
12 | rake, | 11 | rake, |
13 | - rails (>= 2.3.5-1~), | ||
14 | - rails-ruby1.8 (>= 2.3.5-1~), | 12 | + rails3 (>= 3.2.6-1~), |
15 | openjdk-6-jre, | 13 | openjdk-6-jre, |
16 | - libwill-paginate-ruby, | 14 | + ruby-will-paginate, |
17 | tango-icon-theme, | 15 | tango-icon-theme, |
18 | rcov | 16 | rcov |
19 | Standards-Version: 3.8.4 | 17 | Standards-Version: 3.8.4 |
@@ -24,26 +22,25 @@ Vcs-Browser: http://git.colivre.coop.br/?p=noosfero.git | @@ -24,26 +22,25 @@ Vcs-Browser: http://git.colivre.coop.br/?p=noosfero.git | ||
24 | Package: noosfero | 22 | Package: noosfero |
25 | Architecture: all | 23 | Architecture: all |
26 | Depends: | 24 | Depends: |
27 | - rails (>= 2.3.5-1~), | ||
28 | - rails-ruby1.8 (>= 2.3.5-1~), | ||
29 | - ruby1.8, | 25 | + rails3 (>= 3.2.6-1~), |
30 | ruby, | 26 | ruby, |
27 | + ruby1.9.3, | ||
31 | rake, | 28 | rake, |
32 | - libgettext-rails-ruby1.8, | ||
33 | - libsqlite3-ruby, | ||
34 | - libpgsql-ruby, | ||
35 | - libmysql-ruby, | ||
36 | - librmagick-ruby, | ||
37 | - libredcloth-ruby, | ||
38 | - libwill-paginate-ruby (>= 2.3.12-1~), | 29 | + ruby-gettext-rails, |
30 | + ruby-sqlite3, | ||
31 | + ruby-pg, | ||
32 | + ruby-mysql, | ||
33 | + ruby-rmagick, | ||
34 | + ruby-redcloth, | ||
35 | + ruby-will-paginate (>= 2.3.12-1~), | ||
39 | iso-codes, | 36 | iso-codes, |
40 | - libfeedparser-ruby, | 37 | + ruby-feedparser, |
41 | openjdk-6-jre, | 38 | openjdk-6-jre, |
42 | - libdaemons-ruby, | 39 | + ruby-daemons, |
43 | rcov, | 40 | rcov, |
44 | thin, | 41 | thin, |
45 | tango-icon-theme, | 42 | tango-icon-theme, |
46 | - libhpricot-ruby, | 43 | + ruby-hpricot, |
47 | memcached, | 44 | memcached, |
48 | debconf, | 45 | debconf, |
49 | dbconfig-common, | 46 | dbconfig-common, |
@@ -0,0 +1,10 @@ | @@ -0,0 +1,10 @@ | ||
1 | +# needed to run noosfero | ||
2 | +runtime_dependencies=$(sed -e '1,/^Depends:/d; /^Recommends:/,$ d; s/([^)]*)//g; s/,\s*/\n/g' debian/control | grep -v 'memcached\|debconf\|dbconfig-common\|postgresql\|misc:Depends\|adduser\|mail-transport-agent') | ||
3 | +run sudo apt-get -y install $runtime_dependencies | ||
4 | +sudo apt-get -y install iceweasel || sudo apt-get -y install firefox | ||
5 | + | ||
6 | +# needed for development | ||
7 | +run sudo apt-get -y install ruby-tidy ruby-mocha imagemagick po4a xvfb libxml2-dev libxslt1-dev | ||
8 | +gem which bundler >/dev/null 2>&1 || gem_install bundler | ||
9 | +setup_rubygems_path | ||
10 | +run bundle install |