From 8d347d14bb281d10bb18cbff69e4dd80217c9902 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 28 Sep 2020 07:20:16 -0400 Subject: [PATCH] move ncreel to PoCs, don't install #1033 --- CMakeLists.txt | 14 ----------- doc/man/index.html | 1 - doc/man/man1/notcurses-ncreel.1.md | 34 --------------------------- doc/testing-checklist.md | 1 - src/{ncreel/main.cpp => poc/reel.cpp} | 0 5 files changed, 50 deletions(-) delete mode 100644 doc/man/man1/notcurses-ncreel.1.md rename src/{ncreel/main.cpp => poc/reel.cpp} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index be4496352..bd0e80e3a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -495,19 +495,6 @@ target_link_libraries(notcurses-input notcurses++ ) -# notcurses-ncreel -file(GLOB NCREELSRCS CONFIGURE_DEPENDS src/ncreel/*.cpp) -add_executable(notcurses-ncreel ${NCREELSRCS}) -target_include_directories(notcurses-ncreel - PRIVATE - include - "${PROJECT_BINARY_DIR}/include" -) -target_link_libraries(notcurses-ncreel - PRIVATE - notcurses++ -) - # notcurses-tetris file(GLOB TETRISSRC CONFIGURE_DEPENDS src/tetris/*.cpp) add_executable(notcurses-tetris ${TETRISSRC}) @@ -642,7 +629,6 @@ install(FILES ${MARKDOWN} DESTINATION ${CMAKE_INSTALL_DOCDIR}) install(TARGETS notcurses-demo DESTINATION bin) install(TARGETS notcurses-input DESTINATION bin) -install(TARGETS notcurses-ncreel DESTINATION bin) install(TARGETS ncneofetch DESTINATION bin) install(TARGETS notcurses-tetris DESTINATION bin) if(${USE_FFMPEG} OR ${USE_OIIO}) diff --git a/doc/man/index.html b/doc/man/index.html index db9afccf7..9976ba134 100644 --- a/doc/man/index.html +++ b/doc/man/index.html @@ -34,7 +34,6 @@ notcurses-demo—shows off some notcurses features
notcurses-direct-pydemo—validates the Python direct-mode wrappers
notcurses-input—reads and decodes input events
- notcurses-ncreel—experiments with ncreels
notcurses-pydemo—validates the Python wrappers
notcurses-tester—unit test driver
notcurses-tetris—Tetris in a terminal
diff --git a/doc/man/man1/notcurses-ncreel.1.md b/doc/man/man1/notcurses-ncreel.1.md deleted file mode 100644 index b4deb533f..000000000 --- a/doc/man/man1/notcurses-ncreel.1.md +++ /dev/null @@ -1,34 +0,0 @@ -% notcurses-ncreel(1) -% nick black -% v1.7.4 - -# NAME - -notcurses-ncreel - Experiment with ncreels - -# SYNOPSIS - -**notcurses-ncreel** [**-t tabletbordermask**] [**-b bordermask**] [**-ob bottomoffset**] [**-ot topoffset**] [**-ol leftoffset**] [**-or rightoffset**] [**-ln**] - -# DESCRIPTION - -**notcurses-ncreel** generates an ncreel to experiment with. With the -program open, press 'a' to create a new tablet, or 'd' to delete the focused -tablet (if one exists). 'q' quits at any time. - -# OPTIONS - -**-l loglevel**: Log everything (log level 8) or nothing (log level 0) to stderr. - -# NOTES - -Optimal display requires a terminal advertising the **rgb** terminfo(5) -capability, or that the environment variable **COLORTERM** is defined to -**24bit** (and that the terminal honors RGB escapes), along with a good -monospaced font supporting the Unicode Block Drawing Characters. - -# SEE ALSO - -**notcurses(3)**, -**notcurses_reel(3)**, -**terminfo(5)** diff --git a/doc/testing-checklist.md b/doc/testing-checklist.md index 4e6ee8035..fdba06a3a 100644 --- a/doc/testing-checklist.md +++ b/doc/testing-checklist.md @@ -14,7 +14,6 @@ Run, using `valgrind --tool=memcheck --leak-check=full`: * `notcurses-demo` in each of the three multimedia configurations * `notcurses-demo` with `USE_QRCODEGEN=off` * `notcurses-demo` in ASCII mode (`export LANG=C`) -* `notcurses-ncreel` * `notcurses-input` * `notcurses-view` with each scaling mode and an image + video, in three terminal geometries: square, tall, wide diff --git a/src/ncreel/main.cpp b/src/poc/reel.cpp similarity index 100% rename from src/ncreel/main.cpp rename to src/poc/reel.cpp