summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml43
1 files changed, 35 insertions, 8 deletions
diff --git a/.build.yml b/.build.yml
index 75e07b89..36a3d405 100644
--- a/.build.yml
+++ b/.build.yml
@@ -18,6 +18,10 @@ requires:
- udisks2
- which
- yelp-tools
+ # mate-desktop dependencies
+ - dconf
+ - gobject-introspection
+ - iso-codes
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
@@ -46,6 +50,11 @@ requires:
- xsltproc
- yelp-tools
- zlib1g-dev
+ # mate-desktop dependencies
+ - gobject-introspection
+ - iso-codes
+ - libdconf-dev
+ - libgirepository1.0-dev
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-utils.git
@@ -72,6 +81,10 @@ requires:
- redhat-rpm-config
- usermode
- yelp-tools
+ # mate-desktop dependencies
+ - dconf-devel
+ - gobject-introspection-devel
+ - iso-codes-devel
ubuntu:
- autoconf-archive
@@ -82,6 +95,7 @@ requires:
- git
- gtk-doc-tools
- libcanberra-gtk3-dev
+ - libdconf-dev
- libglib2.0-dev
- libgtk-3-dev
- libgtop2-dev
@@ -96,6 +110,11 @@ requires:
- xsltproc
- yelp-tools
- zlib1g-dev
+ # mate-desktop dependencies
+ - gobject-introspection
+ - iso-codes
+ - libdconf-dev
+ - libgirepository1.0-dev
variables:
- 'CHECKERS="
@@ -114,25 +133,33 @@ variables:
-enable-checker alpha.unix.cstring.OutOfBounds
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+ - MATE_DESKTOP_VERSION=1.27.1
before_scripts:
- # disable pt language for help in search tool
- - sed -i s/"IGNORE_HELP_LINGUAS ="/"IGNORE_HELP_LINGUAS = pt"/g gsearchtool/help/Makefile.am
- cd ${START_DIR}
- - '[ -f mate-common-1.24.1.tar.xz ] || curl -Ls -o mate-common-1.24.1.tar.xz https://github.com/mate-desktop/mate-common/releases/download/v1.24.1/mate-common-1.24.1.tar.xz'
- - tar xf mate-common-1.24.1.tar.xz
- - cd mate-common-1.24.1
+ - if [ ! -f mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz ];then
+ - curl -Ls -o mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz https://github.com/mate-desktop/mate-desktop/releases/download/v${MATE_DESKTOP_VERSION}/mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz
+ - fi
+ - tar xf mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz
+ - cd mate-desktop-${MATE_DESKTOP_VERSION}
- if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
- - ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
+ - ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
- else
- - ./configure --prefix=/usr
+ - ./autogen.sh --prefix=/usr
+ - fi
+ - if [ ${TRAVIS} == "false" ]; then
+ - make clean
- fi
- make
- make install
+ - cd ${START_DIR}
+ # disable pt language for help in search tool
+ - sed -i s/"IGNORE_HELP_LINGUAS ="/"IGNORE_HELP_LINGUAS = pt"/g gsearchtool/help/Makefile.am
+
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+ - export CFLAGS+=" -Wsign-compare"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi