2015-08-12 23:36:07 +10:00
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
2015-11-20 11:35:41 +11:00
|
|
|
|
2016-03-02 10:38:16 +11:00
|
|
|
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
|
|
sudo add-apt-repository 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' -y
|
|
|
|
|
2015-08-12 23:36:07 +10:00
|
|
|
sudo add-apt-repository ppa:ubuntugis/ppa -y
|
|
|
|
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y # For postgresql-9.1-postgis-2.1
|
|
|
|
sudo add-apt-repository ppa:smspillaz/cmake-3.0.2 -y
|
|
|
|
sudo add-apt-repository ppa:kedazo/doxygen-updates-precise -y # For doxygen 1.8.8
|
2016-03-02 10:38:16 +11:00
|
|
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
2015-08-12 23:36:07 +10:00
|
|
|
sudo apt-get update -qq
|
2015-10-07 09:28:40 +02:00
|
|
|
sudo apt-get install --force-yes --no-install-recommends --no-install-suggests \
|
2015-10-07 09:27:35 +02:00
|
|
|
bison \
|
|
|
|
cmake \
|
|
|
|
cmake-data \
|
|
|
|
doxygen \
|
|
|
|
flex \
|
2016-02-23 11:08:45 +01:00
|
|
|
gdal-bin \
|
2015-10-07 09:27:35 +02:00
|
|
|
git \
|
|
|
|
graphviz \
|
|
|
|
grass-dev \
|
|
|
|
libexpat1-dev \
|
|
|
|
libfcgi-dev \
|
|
|
|
libgdal1-dev \
|
|
|
|
libgeos-dev \
|
|
|
|
libgsl0-dev \
|
|
|
|
libpq-dev \
|
|
|
|
libproj-dev \
|
|
|
|
libqca2-dev \
|
|
|
|
libqca2-plugin-ossl \
|
|
|
|
libqscintilla2-dev \
|
|
|
|
libqt4-dev \
|
|
|
|
libqt4-opengl-dev \
|
|
|
|
libqt4-sql-sqlite \
|
|
|
|
libqtwebkit-dev \
|
|
|
|
libqwt-dev \
|
|
|
|
libspatialindex-dev \
|
|
|
|
libspatialite-dev \
|
|
|
|
libsqlite3-dev \
|
|
|
|
lighttpd \
|
|
|
|
pkg-config \
|
|
|
|
poppler-utils \
|
|
|
|
pyqt4-dev-tools \
|
|
|
|
python \
|
|
|
|
python-dev \
|
|
|
|
python-qt4 \
|
|
|
|
python-qt4-dev \
|
|
|
|
python-qt4-sql \
|
2015-11-29 18:42:10 -06:00
|
|
|
python-qscintilla2 \
|
2015-10-07 09:27:35 +02:00
|
|
|
python-sip \
|
|
|
|
python-sip-dev \
|
2015-11-29 18:42:10 -06:00
|
|
|
python-psycopg2 \
|
|
|
|
python-numpy \
|
The plugin define the following methods:
* layerFilterExpression
Return an additional filter, used in
WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature to filter the features
* layerFilterSubsetString
Return an additional the subset string (typically SQL) filter.
Faster than the layerFilterExpression but not supported on all the
type of layer
* layerPermissions
Change the rights on the layer per user (known by the plugin)
Concern rights: publish, insert, update, delete.
Mostly used in WFS/Transaction, and the publish in all requests.
* authorizedLayerAttributes
Be able to show some attributes only for a subset of user
Used in: WMS/GetFeatureInfo, WFS/GetFeature
* allowToEdit
Be able to don't allow to edit a particular feature, in our case base
on the Geometry
Used in: WFS/Transaction
* cacheKey
Cache key to used to create the capabilities cache, "" for no cache,
shouldn't contains any "-", default to ""
2015-05-19 15:53:51 +02:00
|
|
|
python-gdal \
|
2015-10-07 09:27:35 +02:00
|
|
|
spawn-fcgi \
|
|
|
|
txt2tags \
|
|
|
|
xauth \
|
|
|
|
xfonts-100dpi \
|
|
|
|
xfonts-75dpi \
|
|
|
|
xfonts-base \
|
|
|
|
xfonts-scalable \
|
|
|
|
xvfb \
|
2015-12-03 20:49:14 +01:00
|
|
|
python-pip \
|
|
|
|
flip \
|
2015-12-25 04:28:33 +01:00
|
|
|
jq \
|
2015-10-07 09:27:35 +02:00
|
|
|
postgresql-9.1-postgis-2.1/precise # from ubuntugis-unstable, not pgdg
|
2015-11-20 11:35:41 +11:00
|
|
|
|
2015-12-03 20:49:14 +01:00
|
|
|
sudo -H pip install autopep8 # TODO when switching to trusty or above: replace python-pip with python-autopep8
|
2016-01-06 13:44:29 +01:00
|
|
|
sudo -H pip install nose2 pyyaml mock
|
2016-03-02 10:38:16 +11:00
|
|
|
|
|
|
|
#update clang
|
|
|
|
sudo apt-get install --force-yes llvm-3.8 llvm-3.8-dev clang-3.8 libstdc++-4.9-dev
|
|
|
|
|