summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2023-10-01 20:58:55 +0200
committerraveit65 <[email protected]>2023-10-05 10:18:03 +0200
commitee84552160f9c22ad696969e837793f53c975d46 (patch)
tree3d499a4555975c84c9541d10bbcb1ed96b09ba6b /.build.yml
parent5867bb2694f7a7d7cb72e50be0a61239321e46d3 (diff)
downloadmarco-ee84552160f9c22ad696969e837793f53c975d46.tar.bz2
marco-ee84552160f9c22ad696969e837793f53c975d46.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 55457e5d..9cb913c9 100644
--- a/.build.yml
+++ b/.build.yml
@@ -22,6 +22,9 @@ requires:
- which
- yelp-tools
- zenity
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
@@ -39,6 +42,7 @@ requires:
- libgtk-3-dev
- libgtop2-dev
- libice-dev
+ - libmate-desktop-dev
- libpango1.0-dev
- libsm-dev
- libstartup-notification0-dev
@@ -60,6 +64,10 @@ requires:
- x11proto-present-dev
- yelp-tools
- zenity
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
+ - libgirepository1.0-dev
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/marco.git
@@ -86,6 +94,9 @@ requires:
- startup-notification-devel
- yelp-tools
- zenity
+ # mate-desktop dependencies
+ - iso-codes-devel
+ - gobject-introspection-devel
ubuntu:
- autoconf-archive
@@ -100,6 +111,7 @@ requires:
- libgtk-3-dev
- libgtop2-dev
- libice-dev
+ - libmate-desktop-dev
- libpango1.0-dev
- libsm-dev
- libstartup-notification0-dev
@@ -121,6 +133,10 @@ requires:
- x11proto-present-dev
- yelp-tools
- zenity
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
+ - libgirepository1.0-dev
variables:
- 'CHECKERS="
@@ -139,8 +155,25 @@ 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:
+ - 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
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then