summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2023-10-06 17:58:58 +0200
committerLuke from DC <[email protected]>2023-10-09 16:22:23 +0000
commitebb3a795a351ca600eb539ed2bba013a6533d749 (patch)
treeccb81d6ffc6ed20b744560a8c83b71dcda8e6e12 /.build.yml
parenta6ea51bbaf4b9edf3bab3fea5daf0d0bb30b5d7a (diff)
downloadmate-panel-ebb3a795a351ca600eb539ed2bba013a6533d749.tar.bz2
mate-panel-ebb3a795a351ca600eb539ed2bba013a6533d749.tar.xz
replace deprecated gtk-image-menu-item*
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 502ae737..212cf511 100644
--- a/.build.yml
+++ b/.build.yml
@@ -22,6 +22,9 @@ requires:
- meson
- which
- yelp-tools
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
@@ -57,6 +60,10 @@ requires:
- mate-common
- meson
- yelp-tools
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
+ - libgirepository1.0-dev
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-panel.git
@@ -80,6 +87,9 @@ requires:
- meson
- redhat-rpm-config
- yelp-tools
+ # mate-desktop dependencies
+ - iso-codes-devel
+ - gobject-introspection-devel
ubuntu:
- autoconf-archive
@@ -112,6 +122,10 @@ requires:
- mate-common
- meson
- yelp-tools
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
+ - libgirepository1.0-dev
variables:
- 'CHECKERS="
@@ -130,10 +144,29 @@ 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:
build_scripts:
+ - cd ${START_DIR}
+ - 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
+ - ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
+ - else
+ - ./autogen.sh --prefix=/usr
+ - fi
+ - if [ ${TRAVIS} == "false" ]; then
+ - make clean
+ - fi
+ - make
+ - make install
+
+ - cd ${START_DIR}
- if [ ${DISTRO_NAME} == "debian" ];then
- export CFLAGS+=" -Wsign-compare"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'gtk-layer-shell-build' .