From 85cb430bd147719fed43f4ccf04b9d22cad33bfc Mon Sep 17 00:00:00 2001 From: Renato Araujo Oliveira Filho Date: Thu, 28 Apr 2016 11:56:11 -0300 Subject: Detect desktop to launch applications. --- .build.yml | 2 -- 1 file changed, 2 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index e590320..aff4f03 100644 --- a/.build.yml +++ b/.build.yml @@ -41,7 +41,6 @@ requires: - libecal2.0-dev - libical-dev - libedataserver1.2-dev - - liblomiri-url-dispatcher-dev - libproperties-cpp-dev # for the test harness: - libgtest-dev @@ -74,7 +73,6 @@ requires: - libecal2.0-dev - libical-dev - libedataserver1.2-dev - - liblomiri-url-dispatcher-dev - libproperties-cpp-dev ubuntu:focal: -- cgit v1.2.3 From 1a7789f8c1d77f0e433b3af2303592cd319a6f7d Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 15 Jul 2021 01:53:01 +0200 Subject: .build.yml: add ayatana-indicator-messages build dependency --- .build.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index aff4f03..ee79826 100644 --- a/.build.yml +++ b/.build.yml @@ -21,6 +21,7 @@ requires: - evolution-data-server - gsettings-desktop-schemas - properties-cpp + - ayatana-indicator-messages debian: # Useful URL: https://salsa.debian.org/debian-ayatana-team/ayatana-ido @@ -42,6 +43,7 @@ requires: - libical-dev - libedataserver1.2-dev - libproperties-cpp-dev + - libmessaging-menu-dev # for the test harness: - libgtest-dev - libdbustest1-dev @@ -74,6 +76,7 @@ requires: - libical-dev - libedataserver1.2-dev - libproperties-cpp-dev + - libmessaging-menu-dev ubuntu:focal: - autopoint @@ -93,6 +96,7 @@ requires: - libical-dev - libedataserver1.2-dev - libproperties-cpp-dev + - libmessaging-menu-dev variables: - 'CHECKERS=" -- cgit v1.2.3 From 217b48352a2591150413c77ca85b6a1ef158e6d5 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 16 Jul 2021 21:52:08 +0200 Subject: Fix failing tests - include/actions-mock.h: Set return value to std::string and return an empty string - include/actions.h: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - include/actions-live.h: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - src/actions-live.cpp: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - tests/test-live-actions.cpp: Drop last_cmd and last_url variables + use return values of actions-live functions for testing + test phone functions on lomiri only - tests/test-live-actions.cpp: test phone functions after setting XDG_CURRENT_DESKTOP - tests/test-settings.cpp: Use SETTINGS_NOTIFY_SCHEMA_ID only if it exists - tests/run-eds-ics-test.sh: Remove return statement - tests/CMakeLists.txt: Enable the timezone unit tests - tests/CMakeLists.txt: Catch race condition while attempting to copy schemas - tests/CMakeLists.txt: Exclude blocking tests on Travis for now - tests/tests-timezones.cpp: Use MockTimezone to construct LiveTimezones + drop section expecting changes after /timezone is modified (not monitored) - tests/test-formater: Change warning to plain message otherwise it can crash the test - .build.yml: Replace libmessaging-menu-dev with ayatana-indicator-messages Git build --- .build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index ee79826..e38f4ae 100644 --- a/.build.yml +++ b/.build.yml @@ -159,14 +159,14 @@ build_scripts: - scan-build $CHECKERS --keep-cc -o html-report make - fi -#after_scripts: -# - if [ ${BUILD_TYPE} == "scripts" ];then -# - XVFB_RUN="$(which xvfb-run || true)" -# - if [ ${DISTRO_NAME} == "debian" ];then -# - if [ -e ./autogen.sh ]; then -# - ${XVFB_RUN} make check -# - elif [ -e ./CMakeLists.txt ]; then -# - ${XVFB_RUN} make test -# - fi -# - fi -# - fi +after_scripts: + - if [ ${BUILD_TYPE} == "scripts" ];then + - XVFB_RUN="$(which xvfb-run || true)" + - if [ ${DISTRO_NAME} == "debian" ];then + - if [ -e ./autogen.sh ]; then + - ${XVFB_RUN} make check + - elif [ -e ./CMakeLists.txt ]; then + - ${XVFB_RUN} make test + - fi + - fi + - fi -- cgit v1.2.3 From 1a1d7d80670cfcc4374abc8702ed0695145ddec6 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 28 Aug 2021 14:57:28 +0200 Subject: .build.yml: Assure that all build requirements for libayatana-common are available in CI build chroots. --- .build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index e38f4ae..d9ee9a5 100644 --- a/.build.yml +++ b/.build.yml @@ -14,6 +14,10 @@ requires: - mate-common - dbus - intltool +# - libayatana-common + - gobject-introspection +# - liblomiri-url-dispatcher + - vala - glib2 - libnotify - gstreamer @@ -36,6 +40,11 @@ requires: - mate-common - intltool - libaccounts-glib-dev +# - libayatana-common-dev + - gobject-introspection + - libgirepository1.0-dev + - liblomiri-url-dispatcher-dev + - valac - libglib2.0-dev - libnotify-dev - libgstreamer1.0-dev @@ -69,6 +78,11 @@ requires: - mate-common - intltool - libaccounts-glib-dev +# - libayatana-common-dev + - gobject-introspection + - libgirepository1.0-dev + - liblomiri-url-dispatcher-dev + - valac - libglib2.0-dev - libnotify-dev - libgstreamer1.0-dev @@ -89,6 +103,11 @@ requires: - mate-common - intltool - libaccounts-glib-dev +# - libayatana-common-dev + - gobject-introspection + - libgirepository1.0-dev +# - liblomiri-url-dispatcher-dev + - valac - libglib2.0-dev - libnotify-dev - libgstreamer1.0-dev -- cgit v1.2.3 From 1297caa82d05f0bfa2b1dd64f0bb56c4a4aca85e Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 28 Jul 2021 21:53:06 +0200 Subject: Some fixes in UBports patches after a review - debian/control: Add liblomiri-url-dispatcher-dev as optional - .build.yml: Add liblomiri-url-dispatcher-dev dependency - CMakeLists.txt: Remove duplicate enable_testing() - include/datetime/actions-live.h: Remove lomiri_open_appointment --- .build.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index d9ee9a5..a126486 100644 --- a/.build.yml +++ b/.build.yml @@ -53,6 +53,7 @@ requires: - libedataserver1.2-dev - libproperties-cpp-dev - libmessaging-menu-dev + - liblomiri-url-dispatcher-dev # for the test harness: - libgtest-dev - libdbustest1-dev -- cgit v1.2.3 From ed0e4ccfed7cd7e7f9a6202a2b159b3c703bce5e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 29 Aug 2021 13:36:29 +0200 Subject: .build.yml: Build libmessaging-menu from source instead of using the distro version. --- .build.yml | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index a126486..d190818 100644 --- a/.build.yml +++ b/.build.yml @@ -25,7 +25,9 @@ requires: - evolution-data-server - gsettings-desktop-schemas - properties-cpp - - ayatana-indicator-messages +# - ayatana-indicator-messages + - gtk-doc-tools + - libaccountsservice debian: # Useful URL: https://salsa.debian.org/debian-ayatana-team/ayatana-ido @@ -52,7 +54,9 @@ requires: - libical-dev - libedataserver1.2-dev - libproperties-cpp-dev - - libmessaging-menu-dev +# - libmessaging-menu-dev + - gtk-doc-tools + - libaccountsservice-dev - liblomiri-url-dispatcher-dev # for the test harness: - libgtest-dev @@ -91,7 +95,9 @@ requires: - libical-dev - libedataserver1.2-dev - libproperties-cpp-dev - - libmessaging-menu-dev +# - libmessaging-menu-dev + - gtk-doc-tools + - libaccountsservice-dev ubuntu:focal: - autopoint @@ -116,7 +122,9 @@ requires: - libical-dev - libedataserver1.2-dev - libproperties-cpp-dev - - libmessaging-menu-dev +# - libmessaging-menu-dev + - gtk-doc-tools + - libaccountsservice-dev variables: - 'CHECKERS=" @@ -145,6 +153,15 @@ before_scripts: - cmake . -DCMAKE_INSTALL_PREFIX=/usr - make - make install + - cd ${START_DIR} + - if [ ! -d ayatana-indicator-messages-build ]; then + - git clone --depth 1 https://github.com/AyatanaIndicators/ayatana-indicator-messages.git ayatana-indicator-messages-build + - fi + - cd ayatana-indicator-messages-build + - NOCONFIGURE=1 ./autogen.sh + - ./configure --disable-tests --prefix=/usr + - make + - make install build_scripts: - if [ ${DISTRO_NAME} == "debian" ];then -- cgit v1.2.3