Skip to content

Commit d432f07

Browse files
committedApr 4, 2012
- Added BUILD.ubuntu with specifics for Ubuntu Oneiric
- Updated libpng with version 1.5.10 (1.5.7 not available anymore)
1 parent 1d038f9 commit d432f07

File tree

4 files changed

+40
-3
lines changed

4 files changed

+40
-3
lines changed
 

‎BUILD.ubuntu

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
To build a WRE on Ubuntu Oneiric Ocelot (11.10). Do the following tasks:
2+
3+
1) Install the following packages:
4+
5+
libncurses5-dev build-essential zlib1g-dev libssl-dev libexpat1-dev libglib2.0-dev wget graphviz graphviz-dev rsync
6+
7+
2) Install MySQL. We recommend the Percona Server version:
8+
9+
Installation is easy via the repository. Add (as root) the key:
10+
# gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
11+
# gpg -a --export CD2EFD2A | sudo apt-key add -
12+
13+
Add the repository to /etc/apt/sources.list:
14+
deb http://repo.percona.com/apt oneiric main
15+
deb-src http://repo.percona.com/apt oneiric main
16+
17+
Install client and server and optionally the toolkit and test.
18+
Note: this wil remove mysql-common.
19+
# apt-get install percona-server-server percona-server-test-5.5 percona-toolkit percona-server-client
20+
21+
3) Install a my.cnf file. A suggested one is in var/setupfiles/my.cnf. It cannot be used without modification. (Need to look into this.)
22+
23+
You will need to add a system user webgui:
24+
# useradd -s /sbin/nologin webgui
25+
26+
4) Import the WRE into your environment:
27+
. wre/sbin/setenvironment.sh
28+
29+
5) Run:
30+
./getsource.sh
31+
32+
6) Run:
33+
./build.sh --all

‎build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ buildImageMagick(){
326326
buildProgram "giflib-4.1.6" "--enable-shared $CFG_CACHE"
327327

328328
# lib png
329-
buildProgram "libpng-1.5.7" "--enable-shared $CFG_CACHE"
329+
buildProgram "libpng-1.5.10" "--enable-shared $CFG_CACHE"
330330

331331
# graphviz
332332
buildProgram "graphviz-2.24.0" "$CFG_CACHE --enable-static --with-libgd=no --with-mylibgd=no --disable-java --disable-swig --disable-perl --disable-python --disable-php --disable-ruby --disable-sharp --disable-python23 --disable-python24 --disable-python25 --disable-r --disable-tcl --disable-guile --disable-io --disable-lua --disable-ocaml"

‎getsource.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ wget -t 4 -nv http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.24.
3434
tar xfz graphviz-2.24.0.tar.gz
3535

3636
# libpng image manipulation http://www.libpng.org/pub/png/libpng.html
37-
wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.7.tar.gz
38-
tar xfz libpng-1.5.7.tar.gz
37+
wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.10.tar.gz
38+
tar xfz libpng-1.5.10.tar.gz
3939

4040
# libgif image manipulation http://sourceforge.net/projects/giflib/
4141
wget -t 4 -nv http://surfnet.dl.sourceforge.net/sourceforge/giflib/giflib-4.1.6.tar.bz2

‎wre/docs/changelog.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
W E B G U I R U N T I M E E N V I R O N M E N T C H A N G E L O G
22
-----------------------------------------------------------------------
3+
0.9.7
4+
- Added BUILD.ubuntu with specifics for Ubuntu Oneiric (Arjan Widlak/United Knowledge)
5+
- Updated libpng with version 1.5.10 (Arjan Widlak/United Knowledge)
6+
37
0.9.6
48
- Almost a complete rewrite, using starman, nginx, Percona mysql and perl 5.14.2.
59
- Includes all perl modules for WebGUI 8.0 beta.

0 commit comments

Comments
 (0)
Please sign in to comment.