From 7d16f615214827d4265730d9f7bbd7fee9abcfc7 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 12 Nov 2020 14:11:39 +0100 Subject: Remove all references to url-dispatcher --- CMakeLists.txt | 7 ------- debian/control | 1 - src/CMakeLists.txt | 6 +----- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7802cfd..39bbe56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,13 +37,6 @@ pkg_check_modules(SERVICE_DEPS REQUIRED include_directories (SYSTEM ${SERVICE_DEPS_INCLUDE_DIRS}) -set(URL_DISPATCHER_1_REQUIRED_VERSION 1) -pkg_check_modules( - URLDISPATCHER - url-dispatcher-1>=${URL_DISPATCHER_1_REQUIRED_VERSION} -) -include_directories(${URLDISPATCHER_INCLUDE_DIRS}) - ## ## custom targets ## diff --git a/debian/control b/debian/control index b35a063..1567a65 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,6 @@ Build-Depends: cmake, lcov, libnotify-dev (>= 0.7.6), libglib2.0-dev (>= 2.36), - liburl-dispatcher1-dev | hello, # for packaging debhelper (>= 9), dpkg-dev (>= 1.16.1.1), diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eaebc58..9a19244 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,10 +3,6 @@ set (SERVICE_EXEC "ayatana-indicator-notifications-service") add_definitions(-DG_LOG_DOMAIN="ayatana-indicator-notifications") -if(URLDISPATCHER_FOUND) - add_definitions( -DHAS_URLDISPATCHER ) -endif() - # handwritten sources set(SERVICE_MANUAL_SOURCES urlregex.c @@ -37,5 +33,5 @@ link_directories(${SERVICE_DEPS_LIBRARY_DIRS}) # the executable: lib + main() add_executable (${SERVICE_EXEC} main.c) set_source_files_properties(${SERVICE_SOURCES} main.c PROPERTIES COMPILE_FLAGS "${C_WARNING_ARGS} -std=c99") -target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${URLDISPATCHER_LIBRARIES}) +target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES}) install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}) -- cgit v1.2.3