From 1580d64912a91b508ca48dfd14379aed5ff20693 Mon Sep 17 00:00:00 2001 From: Kirill Rekhov Date: Sat, 8 Nov 2025 19:43:06 +0300 Subject: [PATCH 1/2] Fix Lintian warning for manual --- documentation/manpages/man.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/manpages/man.1 b/documentation/manpages/man.1 index 06c5c5038..266a1e8b9 100644 --- a/documentation/manpages/man.1 +++ b/documentation/manpages/man.1 @@ -1,8 +1,9 @@ .\" Automatically generated by Pandoc 2.9.2.1 .\" -.TH "" "" "" "" "" +.TH "cb" "1" "" "" "" .hy -.SH cb(1) \[en] cut, copy, and paste anything in the terminal +.SH NAME +cb \- cut, copy, and paste anything in the terminal .SS SYNOPSIS .PP \f[B]cb\f[R] [--](add|copy|cut)[(num)|_(id)] (file) files From d8c8989c4f0ce96e8db9e03e472817122fb236c1 Mon Sep 17 00:00:00 2001 From: Kirill Rekhov Date: Sat, 8 Nov 2025 19:51:58 +0300 Subject: [PATCH 2/2] Fix Lintian builds warnings for libs, add versions and sonames --- src/cbwayland/CMakeLists.txt | 7 ++++++- src/cbx11/CMakeLists.txt | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/cbwayland/CMakeLists.txt b/src/cbwayland/CMakeLists.txt index 93957d8da..86fd0a52f 100644 --- a/src/cbwayland/CMakeLists.txt +++ b/src/cbwayland/CMakeLists.txt @@ -36,7 +36,7 @@ add_custom_target(cbwayland_generatedheaders DEPENDS "${GENERATED_XDG_SHELL_HEADER}" ) -add_library(cbwayland MODULE +add_library(cbwayland SHARED src/fd.cpp src/wayland.cpp @@ -71,4 +71,9 @@ target_include_directories(cbwayland PRIVATE ${GENERATED_INCLUDE_DIR} ) +set_target_properties(cbwayland PROPERTIES + VERSION 1.0 + SOVERSION 1 +) + install(TARGETS cbwayland LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/src/cbx11/CMakeLists.txt b/src/cbx11/CMakeLists.txt index 4c2a41b2a..a6c9ae361 100644 --- a/src/cbx11/CMakeLists.txt +++ b/src/cbx11/CMakeLists.txt @@ -1,7 +1,12 @@ -add_library(cbx11 MODULE +add_library(cbx11 SHARED src/x11.cpp ) +set_target_properties(cbx11 PROPERTIES + VERSION 1.0 + SOVERSION 1 +) + target_link_libraries(cbx11 ${X11_LIBRARIES} gui