Compare commits
29 Commits
830a744a11
...
v2.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
b4222365c3
|
|||
|
b5e48c29f9
|
|||
|
eaa19be1c8
|
|||
|
dad95ef444
|
|||
|
7e74d1a80a
|
|||
|
8529f24a46
|
|||
|
190e813d49
|
|||
|
9af74259d2
|
|||
|
9a996c8440
|
|||
|
a9d4f86493
|
|||
|
172ceffa9e
|
|||
|
6dad74f3c9
|
|||
|
b196ef4f08
|
|||
|
d82be07807
|
|||
|
2d219f1a4b
|
|||
|
a77d872e7f
|
|||
|
179e0a123b
|
|||
|
da14bdbd39
|
|||
|
24e57872d8
|
|||
|
a20e4c74d8
|
|||
|
d33c17b888
|
|||
|
6033f6a869
|
|||
|
88e86724c3
|
|||
|
92c1bf783f
|
|||
|
435485d145
|
|||
|
d876bbfcd3
|
|||
|
1c37b15253
|
|||
|
2803a8153b
|
|||
|
f1ab0e2d8a
|
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required (VERSION 3.0)
|
||||
project (nncmpp VERSION 1.2.0 LANGUAGES C)
|
||||
project (nncmpp VERSION 2.0.0 LANGUAGES C)
|
||||
|
||||
# Moar warnings
|
||||
if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
|
||||
@@ -58,7 +58,7 @@ if (WITH_PULSE)
|
||||
list (APPEND extra_libraries ${libpulse_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
pkg_check_modules (x11 x11 xkbcommon xrender xft fontconfig)
|
||||
pkg_check_modules (x11 x11 xrender xft fontconfig)
|
||||
option (WITH_X11 "Use FFTW to enable spectrum visualisation" ${x11_FOUND})
|
||||
if (WITH_X11)
|
||||
if (NOT x11_FOUND)
|
||||
@@ -128,20 +128,31 @@ install (DIRECTORY contrib DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
|
||||
|
||||
# Generate documentation from text markup
|
||||
find_program (ASCIIDOCTOR_EXECUTABLE asciidoctor)
|
||||
if (NOT ASCIIDOCTOR_EXECUTABLE)
|
||||
message (FATAL_ERROR "asciidoctor not found")
|
||||
find_program (A2X_EXECUTABLE a2x)
|
||||
if (NOT ASCIIDOCTOR_EXECUTABLE AND NOT A2X_EXECUTABLE)
|
||||
message (FATAL_ERROR "Neither asciidoctor nor a2x were found")
|
||||
endif ()
|
||||
|
||||
foreach (page ${PROJECT_NAME})
|
||||
set (page_output "${PROJECT_BINARY_DIR}/${page}.1")
|
||||
list (APPEND project_MAN_PAGES "${page_output}")
|
||||
add_custom_command (OUTPUT ${page_output}
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} -b manpage
|
||||
-a release-version=${PROJECT_VERSION}
|
||||
"${PROJECT_SOURCE_DIR}/${page}.adoc"
|
||||
-o "${page_output}"
|
||||
DEPENDS ${page}.adoc
|
||||
COMMENT "Generating man page for ${page}" VERBATIM)
|
||||
if (ASCIIDOCTOR_EXECUTABLE)
|
||||
add_custom_command (OUTPUT ${page_output}
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} -b manpage
|
||||
-a release-version=${PROJECT_VERSION}
|
||||
-o "${page_output}"
|
||||
"${PROJECT_SOURCE_DIR}/${page}.adoc"
|
||||
DEPENDS ${page}.adoc
|
||||
COMMENT "Generating man page for ${page}" VERBATIM)
|
||||
elseif (A2X_EXECUTABLE)
|
||||
add_custom_command (OUTPUT ${page_output}
|
||||
COMMAND ${A2X_EXECUTABLE} --doctype manpage --format manpage
|
||||
-a release-version=${PROJECT_VERSION}
|
||||
-D "${PROJECT_BINARY_DIR}"
|
||||
"${PROJECT_SOURCE_DIR}/${page}.adoc"
|
||||
DEPENDS ${page}.adoc
|
||||
COMMENT "Generating man page for ${page}" VERBATIM)
|
||||
endif ()
|
||||
endforeach ()
|
||||
|
||||
add_custom_target (docs ALL DEPENDS ${project_MAN_PAGES})
|
||||
|
||||
12
NEWS
12
NEWS
@@ -1,9 +1,19 @@
|
||||
Unreleased
|
||||
2.0.0 (2022-09-03)
|
||||
|
||||
* Added an optional X11 user interface
|
||||
|
||||
* Implemented mouse drags on the elapsed time gauge and the scrollbar
|
||||
|
||||
* Added Tab and S-Tab bindings to iterate tabs
|
||||
|
||||
* Added a "z" binding to center the view on the selected item
|
||||
|
||||
* Added a "?" binding to describe items in various tabs
|
||||
|
||||
* Made it possible to adjust the spectrum analyzer's FPS limit
|
||||
|
||||
* Moved "Disconnected" and "Connecting..." messages to the status bar
|
||||
|
||||
* Fixed possibility of connection timeouts with PulseAudio integration
|
||||
|
||||
|
||||
|
||||
@@ -37,11 +37,10 @@ The rest of this README will concern itself with externalities.
|
||||
|
||||
Building
|
||||
--------
|
||||
Build dependencies: CMake, pkg-config, asciidoctor,
|
||||
Build dependencies: CMake, pkg-config, asciidoctor or asciidoc,
|
||||
liberty (included), termo (included) +
|
||||
Runtime dependencies: ncursesw, libunistring, cURL,
|
||||
fftw3 (optional), libpulse (optional)
|
||||
Optional X11 dependencies: x11, xkbcommon, xft
|
||||
Runtime dependencies: ncursesw, libunistring, cURL +
|
||||
Optional runtime dependencies: fftw3, libpulse, x11, xft
|
||||
|
||||
$ git clone --recursive https://git.janouch.name/p/nncmpp.git
|
||||
$ mkdir nncmpp/build
|
||||
|
||||
@@ -36,6 +36,7 @@ PULSE_MUTE, Toggle PulseAudio sink mute
|
||||
|
||||
CHOOSE, Choose item
|
||||
DELETE, Delete item
|
||||
DESCRIBE, Describe item
|
||||
UP, Go up a level
|
||||
MULTISELECT, Toggle multiselect
|
||||
INCREMENTAL_SEARCH, Incremental search
|
||||
|
||||
BIN
nncmpp.png
BIN
nncmpp.png
Binary file not shown.
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 35 KiB |
Reference in New Issue
Block a user