mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 15:43:55 +00:00
use a snapshot to fix few issues update SRC_URI's songs (redirect) add xdg to update cache deps : add gtest for testsuite add [blas] for aubio (target patched to cblas instead of openblas) add [cxx] for portaudio ad dev-cpp/nlohmann_json for json support add dev-libs/spdlog add dev-libs/libfmt (used for log with spdlog) add virtual/pkgconfig for detection remove locale per lang update compile definitions to avoid 3rd party and bundle CED (not in tree) patches : use cblas instead of openblas for aubio. It seems to work fine as it. avoid gzip for manpages Closes: https://bugs.gentoo.org/942642 Closes: https://bugs.gentoo.org/956689 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43255 Closes: https://github.com/gentoo/gentoo/pull/43255 Signed-off-by: Sam James <sam@gentoo.org>
53 lines
2 KiB
Diff
53 lines
2 KiB
Diff
don't compress manpages
|
|
fix mandir for man.6
|
|
--- a/docs/man/CMakeLists.txt
|
|
+++ b/docs/man/CMakeLists.txt
|
|
@@ -1,24 +1,20 @@
|
|
find_program(HELP2MAN help2man DOC "Location of the help2man program")
|
|
-find_program(GZIP gzip DOC "Location of the gzip program")
|
|
mark_as_advanced(HELP2MAN)
|
|
-mark_as_advanced(GZIP)
|
|
-if(HELP2MAN AND GZIP)
|
|
- set(MANFILE ${CMAKE_CURRENT_BINARY_DIR}/performous.6.gz)
|
|
+if(HELP2MAN)
|
|
+ set(MANFILE ${CMAKE_CURRENT_BINARY_DIR}/performous.6)
|
|
set(H2MFILE ${CMAKE_CURRENT_SOURCE_DIR}/performous.h2m)
|
|
add_custom_command(
|
|
OUTPUT ${MANFILE}
|
|
- COMMAND ${HELP2MAN} "$<TARGET_FILE:performous>" -s 6 -i ${H2MFILE} -N | ${GZIP} > ${MANFILE}
|
|
+ COMMAND ${HELP2MAN} "$<TARGET_FILE:performous>" -s 6 -i ${H2MFILE} -N > ${MANFILE}
|
|
MAIN_DEPENDENCY ${H2MFILE}
|
|
DEPENDS performous
|
|
COMMENT "Building Performous man page"
|
|
VERBATIM
|
|
)
|
|
add_custom_target(manpage ALL DEPENDS ${MANFILE})
|
|
- install(FILES ${MANFILE} TYPE MAN)
|
|
-else(HELP2MAN AND GZIP)
|
|
- message("WARNING: One of the following is missing: help2man, gzip; performous man page will not be generated")
|
|
-endif(HELP2MAN AND GZIP)
|
|
-if(ENABLE_TOOLS AND GZIP)
|
|
+ install(FILES ${MANFILE} DESTINATION share/man/man6)
|
|
+endif(HELP2MAN)
|
|
+if(ENABLE_TOOLS)
|
|
set(TOOLS
|
|
"ss_pak_extract" "ss_extract" "ss_cover_conv"
|
|
"ss_adpcm_decode" "ss_ipu_conv" "ss_chc_decode"
|
|
@@ -26,15 +22,7 @@ if(ENABLE_TOOLS AND GZIP)
|
|
set(MAN_SECTION "1")
|
|
foreach(TOOL ${TOOLS})
|
|
set(TOOL_MANFILE ${CMAKE_CURRENT_SOURCE_DIR}/${TOOL}.${MAN_SECTION})
|
|
- set(TOOL_MANFILE_GZ ${CMAKE_CURRENT_BINARY_DIR}/${TOOL}.${MAN_SECTION}.gz)
|
|
- add_custom_command(
|
|
- OUTPUT ${TOOL_MANFILE_GZ}
|
|
- COMMAND ${GZIP} -c ${TOOL_MANFILE} > ${TOOL_MANFILE_GZ}
|
|
- MAIN_DEPENDENCY ${TOOL_MANFILE}
|
|
- COMMENT "Building ${TOOL} man page"
|
|
- VERBATIM
|
|
- )
|
|
add_custom_target(${TOOL}.${MAN_SECTION} ALL DEPENDS ${TOOL_MANFILE_GZ})
|
|
- install(FILES ${TOOL_MANFILE_GZ} DESTINATION share/man/man${MAN_SECTION})
|
|
+ install(FILES ${TOOL_MANFILE} DESTINATION share/man/man${MAN_SECTION})
|
|
endforeach(TOOL)
|
|
-endif(ENABLE_TOOLS AND GZIP)
|
|
+endif(ENABLE_TOOLS)
|