Closed Jambola77 closed 2 weeks ago
The Problem with libjsoncpp1 can be solved according to https://bugs.launchpad.net/ubuntu/+source/libjsoncpp/+bug/1928695:
In package/CMakeLists.txt the entry libjsoncpp1 must be replaced by libjsoncpp-dev and libwxgtk3.0-gtk3-0v5 replaced with libwxgtk3.2-1.
Here is the output of my Linux Mint 22 lsb_release -a: Distributor ID: Linuxmint Description: Linux Mint 22 Release: 22 Codename: wilma
It would be great if @ebruck could include this in the CMakeLists.
Thanks a lot!
@Jambola77 could you please try this patch?
--- a/package/CMakeLists.txt +++ b/package/CMakeLists.txt @@ -55,7 +55,7 @@ if (LSB_RELEASE_EXECUTABLE) string(REPLACE "libjsoncpp1" "libjsoncpp24" CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS}) endif()
- if (${RELEASE} STREQUAL "22.04" OR ${RELEASE} STREQUAL "23.04" OR ${RELEASE} STREQUAL "23.10" OR ${RELEASE} STREQUAL "21.3") + if (${RELEASE} STREQUAL "22.04" OR ${RELEASE} STREQUAL "23.04" OR ${RELEASE} STREQUAL "23.10" OR ${RELEASE} STREQUAL "21.3" OR ${RELEASE} STREQUAL "22") string(REPLACE "libjsoncpp1" "libjsoncpp25" CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS}) string(REPLACE "libappindicator3-1" "libayatana-appindicator3-1" CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS}) endif() @@ -86,7 +86,7 @@ if (LSB_RELEASE_EXECUTABLE) endif()
- if (${RELEASE} STREQUAL "23.04" OR ${RELEASE} STREQUAL "23.10") + if (${RELEASE} STREQUAL "23.04" OR ${RELEASE} STREQUAL "23.10" OR ${RELEASE} STREQUAL "22") message(STATUS "Official packaging assumes gtk3 dependency for 'rtng-bookmark-editor'") string(REPLACE "libwxgtk3.0-gtk3-0v5" "libwxgtk3.2-1" CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS}) endif()
After making the package the installer raises some errors:
I cannot find libjsoncpp1, it seems to be deprecated. I use latest Linux Mint.