aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 14:32:43 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 14:32:43 +0200
commit56999400b299163de42075c6ffb1835764d1e674 (patch)
tree35ec157e181ed34d319bdac73c4407b743ea0bf2
parent3e827b80bd301e0795d7d91b918c622fd3e00915 (diff)
parent5849ff3dd12b5198b5923b368fa7b7db1ecd4341 (diff)
downloadayatana-indicator-bluetooth-56999400b299163de42075c6ffb1835764d1e674.tar.gz
ayatana-indicator-bluetooth-56999400b299163de42075c6ffb1835764d1e674.tar.bz2
ayatana-indicator-bluetooth-56999400b299163de42075c6ffb1835764d1e674.zip
Merge branch 'tari01-pr/drop-lomiri-url-dispatcher'
Attributes GH PR #29: https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/29/
-rw-r--r--.build.yml23
-rw-r--r--CMakeLists.txt9
-rw-r--r--debian/control1
-rw-r--r--debian/copyright1
-rw-r--r--src/CMakeLists.txt7
5 files changed, 3 insertions, 38 deletions
diff --git a/.build.yml b/.build.yml
index 707a82e..6c7913e 100644
--- a/.build.yml
+++ b/.build.yml
@@ -19,6 +19,7 @@ requires:
- vala
# For building libayatana-common
- gobject-introspection
+# - liblomiri-url-dispatcher
debian:
# Useful URL: https://salsa.debian.org/debian-ayatana-team/ayatana-indicator-bluetooth
@@ -33,30 +34,12 @@ requires:
- mate-common
- intltool
- libglib2.0-dev
- - liblomiri-url-dispatcher-dev
- - systemd
- - valac
- # For building libayatana-common
- - gobject-introspection
- - libgirepository1.0-dev
-
- debian:stable:
- - autopoint
- - clang
- - clang-tools
- - g++
- - cppcheck
- - git
- - cmake
- - cmake-extras
- - mate-common
- - intltool
- - libglib2.0-dev
- systemd
- valac
# For building libayatana-common
- gobject-introspection
- libgirepository1.0-dev
+ - liblomiri-url-dispatcher-dev
ubuntu:
- autopoint
@@ -69,12 +52,12 @@ requires:
- mate-common
- intltool
- libglib2.0-dev
- - liblomiri-url-dispatcher-dev
- systemd
- valac
# For building libayatana-common
- gobject-introspection
- libgirepository1.0-dev
+ - liblomiri-url-dispatcher-dev
ubuntu:focal:
- autopoint
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b526a5..66012c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,16 +51,7 @@ pkg_check_modules(
include_directories(${BLUETOOTHSERVICE_INCLUDE_DIRS})
-set(URL_DISPATCHER_REQUIRED_VERSION 0)
-
-pkg_check_modules(
- URLDISPATCHER
- lomiri-url-dispatcher>=${URL_DISPATCHER_REQUIRED_VERSION}
-)
-include_directories(${URLDISPATCHER_INCLUDE_DIRS})
-
find_package(Vala 0.20)
-
find_package(GObjectIntrospection 0.9.12)
include_directories(${SOURCE_DIR})
diff --git a/debian/control b/debian/control
index ae10337..733b566 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,6 @@ Build-Depends: debhelper (>= 9.0),
cmake-extras (>= 0.10),
intltool,
libglib2.0-dev (>= 2.32.0),
- liblomiri-url-dispatcher-dev | hello,
systemd [linux-any],
valac (>= 0.20),
Standards-Version: 4.1.1
diff --git a/debian/copyright b/debian/copyright
index 24efe7b..1531eb8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -71,7 +71,6 @@ Files: CMakeLists.txt
src/CMakeLists.txt
tests/manual
vapi/config.vapi
- vapi/url-dispatcher.vapi
Copyright: 2013, Canonical Ltd.
License: GPL-3
Comment:
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cb2e717..8770323 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,11 +6,6 @@ set(HEADER_PATH "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-bluetooth-service
set(SYMBOLS_PATH "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-bluetooth-service.def")
set(VAPI_PATH "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-bluetooth-service.vapi")
-if(URLDISPATCHER_FOUND)
- set (VALA_DEFINE_URLDISPATCHER "--define=HAS_URLDISPATCHER")
- set (VALA_PKG_URLDISPATCHER "lomiri-url-dispatcher")
-endif()
-
vala_init(ayatana-indicator-bluetooth-service
DEPENDS
PACKAGES
@@ -25,7 +20,6 @@ vala_init(ayatana-indicator-bluetooth-service
--target-glib=${GLIB_2_0_REQUIRED_VERSION}
--vapidir=${CMAKE_SOURCE_DIR}/vapi/
--vapidir=.
- ${VALA_DEFINE_URLDISPATCHER}
)
vala_add(ayatana-indicator-bluetooth-service
@@ -136,7 +130,6 @@ add_library(
target_link_libraries(
ayatana-indicator-bluetooth-service-lib
${BLUETOOTHSERVICE_LIBRARIES}
- ${URLDISPATCHER_LIBRARIES}
-lm
)