Package Details: digiham-git 0.6.2.r11.g410853c-1

Git Clone URL: https://aur.archlinux.org/digiham-git.git (read-only, click to copy)
Package Base: digiham-git
Description: Tools for decoding digital ham communication.
Upstream URL: https://github.com/jketterl/digiham
Licenses: GPL3
Conflicts: digiham
Provides: digiham
Submitter: ericek111
Maintainer: ericek111
Last Packager: ericek111
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-21 11:07 (UTC)
Last Updated: 2024-07-17 20:08 (UTC)

Required by (2)

Sources (2)

Latest Comments

ericek111 commented on 2024-07-17 20:08 (UTC)

Thanks. I've added a patch to change the CMAKE_CXX_STANDARD to 17, that solved the compilation errors. This package was meant to be used with the jketterl family of owrx-related packages -- csdr-jketterl-git and codecserver-git. If you want to link against csdr-luarvique, I recommend submitting a new package.

das-Iro commented on 2024-07-17 02:21 (UTC) (edited on 2024-07-17 02:32 (UTC) by das-Iro)

The package does not compile for me. I'm using csdr-luarvique, however I tryed it with others too. set(CMAKE_CXX_STANDARD 17) for ICU update

It compiles with:
git diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f443a29..4cc776e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ project (digiham VERSION 0.7.0)
 add_definitions(-DVERSION="${PROJECT_VERSION}-dev")

 enable_language(CXX)
-set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD 17)

 include(GNUInstallDirs)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4e42857..ed3d94a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -41,7 +41,7 @@ add_library(digiham SHARED
     $<TARGET_OBJECTS:digiham_ysf_decoder>
     $<TARGET_OBJECTS:digiham_pocsag>
 )
-target_link_libraries(digiham Csdr::csdr CodecServer::codecserver ICU::uc)
+target_link_libraries(digiham Csdr::csdr++ CodecServer::codecserver ICU::uc)
 set_target_properties(digiham PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION "${PROJECT_VERSION_MAJOR}. ${PROJECT_VERSION_MINOR}")
 file(GLOB DIGIHAM_HEADERS "${PROJECT_SOURCE_DIR}/include/*.hpp" "${PROJECT_SOURCE_DIR}/include/*.h")
 set_target_properties(digiham PROPERTIES PUBLIC_HEADER "${DIGIHAM_HEADERS}")

ericek111 commented on 2022-08-04 10:26 (UTC)

Thank you very much, fixed. I have to set up a reasonably comfortable way to check my packages on barebone systems.

BrainDamage commented on 2022-08-04 10:20 (UTC)

this package lacks dependencies on libsamplerate, csdr and protobuf or it'll fail to build in a clean chroot with:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
    Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR)
    (Required is at least version "3.0")
Call Stack (most recent call first):
    /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake/Modules/FindProtobuf.cmake:650 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
    /usr/lib64/cmake/CodecServer/CodecServerConfig.cmake:40 (find_dependency)
    CMakeLists.txt:15 (find_package)

CMake Error at CMakeLists.txt:17 (find_package):
    By not providing "FindCsdr.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "Csdr", but
    CMake did not find one.

    Could not find a package configuration file provided by "Csdr" (requested
    version 0.18) with any of the following names:

        CsdrConfig.cmake
        csdr-config.cmake

[ 73%] Linking CXX shared library libdigiham.so
/usr/bin/ld: cannot find -lsamplerate: No such file or directory
collect2: error: ld returned 1 exit status