Commit Graph

1737 Commits

Author SHA1 Message Date
nick black
114cb1d680 debian: make notcurses-bin safely binNMUable 2020-04-10 11:27:48 -04:00
nick black
e005940acf
ncplot: fix unit tests following #457 (#464) 2020-04-10 11:22:26 -04:00
nick black
89809d5b59 prep for 1.2.7 2020-04-09 20:21:33 -04:00
David Cantrell
6123b789dd Change notcurses.spec to follow Fedora Packaging Policy
More or less.  Here's a list of things I changed:
* Single line BuildRequires which is more of a convention than a
  requirement.
* Drop make from BuildRequires.  That's one we do actually provide.
* Use pkgconfig(ncurses) to get the ncurses-devel BuildRequires.
* Add a 'devel' subject and move development files there.
* Add a 'static' package for the .a libraries which is common
  for other packages that provide static libraries.
* Add doc files using %doc
* -DUSE_TEST=off -> -DUSE_TESTS=off
* Use %autosetup in %setup which covers adding patches in the future
  for downstream packaging.
* Use path macros in %files
* Correct the date format in the %changelog entry
* Use the 1.2.6 release as an example

Things that could use more consideration:
* The release artifacts don't match what GitHub provides.  Their
  automated download link gives you notcurses-1.2.6.tar.gz but the URL
  calls it v1.2.6.tar.gz.
* There is no signature file uploaded.
* notcurses-tester and notcurses-viewer do not build.
* Should the demo programs go in the main package or devel.  I felt
  devel was more appropriate.
* Should the packaging be further refined to split out the C++ runtime
  and static libraries to separate subpackages?

I did some local test runs using mock.  I ran the SRPM through rpmlint
which would happen when the package is submitted for inclusion.

For the download archive and signature, I create new release posts on
my github projects and create a separate tarball and sign that and
upload them there.  It is separate from the GitHub automated
make-me-a-tarball download link.  That might be what you're planning
on doing.
2020-04-08 21:36:30 -04:00
nick black
be2be9442a
better colors on notcurses-input plot 2020-04-08 21:32:41 -04:00
nick black
f08bbf83a7
notcurses-input: join ticker thread on exit 2020-04-08 21:29:24 -04:00
nick black
b04a37c433
plots: always start from the right #457 2020-04-08 21:26:15 -04:00
nick black
cfdd8c4c5c
plot: remove unused windowbase field 2020-04-08 18:32:36 -04:00
nick black
bdfcdf4086
get pydemo working again #459 2020-04-08 14:37:10 -04:00
nick black
9cc185e98a
fedora: USE_TESTS in specfile, not USE_TEST, ugh 2020-04-08 11:46:33 -04:00
nick black
6d366380ed prep for 1.2.6 2020-04-08 10:10:47 -04:00
nick black
039d955cd6
debian: update symbols for 1.2.6 2020-04-08 10:10:34 -04:00
nick black
b9462bcda6
drop notcurses-keyplot from specfile 2020-04-08 09:41:12 -04:00
nick black
cb7e844db1 unify notcurses-input+notcurses-keyplot #455 2020-04-08 09:39:10 -04:00
nick black
c717673458 drop keyplot man page/cmake #455 2020-04-08 09:39:10 -04:00
nick black
2c2da61c72
ncdirect: add relative move functions #419 2020-04-08 09:07:49 -04:00
nick black
3649cd1a92
notcurses_resize(): fix bug, reclaim 10% perf loss 2020-04-08 08:14:15 -04:00
nick black
a7e6e83711
notcurses_resize(): purge from public API #367 2020-04-08 07:38:42 -04:00
nick black
78142bcddc Tetris: import version.h for USE_FFMPEG 2020-04-08 05:54:03 -04:00
nick black
a54cc6c85f fix rgbbg PoC for scrolling era 2020-04-08 05:48:51 -04:00
Nick Black
c2a645e9af
Rust wrapper work (#454)
* packaging: s/libtinfo/Terminfo/g
* rust: add stddim_yx()
* rust: check for valid init in unit tests
* rust: serialize up tests
* constify notcurses_term_dim_yx()
* rust: add dim wrappers
* remove notcurses_resize() from public API #367
* call notcurses_resize() from notcurses_refresh() #367
2020-04-08 05:39:41 -04:00
nick black
e276a36264 Merge branch 'master' of github.com:dankamongmen/notcurses 2020-04-08 04:04:43 -04:00
nick black
b320c6c0e2 debian: dep notcurses-bin on python3-notcurses 2020-04-08 04:04:38 -04:00
Nick Black
d66549d362
Prep for Fedora packaging (#452)
* jungle demo should be available outside of DFSG builds
* libav: blitters don't need FFMpeg
* CMake: threads independent of ffmpeg
* CMake: add USE_TESTS option to disable tests #450
* tetris: work without ffmpeg
* fedora: flesh out specfile #328
* menu poc: don't use ffmpeg at all
* compile PoCs with binary/include
* multiselect PoC: work without ffmpeg
2020-04-08 02:12:46 -04:00
nick black
c2d7983afc
rust: merge up from colloquy branch 2020-04-08 01:21:34 -04:00
nick black
fffc1ee850
Extract colloquy; it's gone to its new home #320 2020-04-08 00:12:35 -04:00
nick black
eccb24a391 c++ plot shouldn't allow negative samples #447 2020-04-07 23:43:12 -04:00
nick black
9dc81f0b64 c++ wrappers for ncplot #441 2020-04-07 23:43:12 -04:00
nick black
312d15d0f9
mathtext poc: enable scrolling 2020-04-07 16:20:08 -04:00
nick black
2852ff736c
tetris: factor out MoveLateral() 2020-04-07 16:00:32 -04:00
nick black
37b5564722
man page for colloquy 2020-04-06 05:19:22 -04:00
nick black
b12ec8d555
note ncplot changes in CHANGELOG 2020-04-06 03:39:48 -04:00
nick black
c38981ee59
ncplot work #445 #448
Tighten up interval arithmetic. Render the plot immediately upon
creation so that the labels are visible. Properly perform domain
detection on miny by initializing it to 2^64-1. Handle plotting
when miny > maxy, as it now will be upon creation when using
domain detection (#448). Add spaces as the first element of each
glyph cycle (#445).
2020-04-06 03:32:40 -04:00
nick black
0a8e5ef70d
notcurses_keyplot: error out on null ncplot 2020-04-06 02:59:35 -04:00
nick black
77dd998b05
ncplot uses exclusively non-negative samples #447 2020-04-06 02:39:56 -04:00
nick black
85c568b3a4
ncplot: redraw upon creation so axis labels are visible 2020-04-06 02:20:21 -04:00
nick black
5c44416426
export ncplane_putstr_yx() as static inline 2020-04-06 01:15:20 -04:00
nick black
5bfae54b04 note about scrolling in CHANGELOG 2020-04-05 23:54:38 -04:00
nick black
e3b3719a97 python: pull ncplane_putsimple_yx() 2020-04-05 23:54:38 -04:00
nick black
4a6ab358ba inline ncplane_putsimple_yx() 2020-04-05 23:54:38 -04:00
nick black
37b4d96794 whiteout: update for scrolling semantics #323 2020-04-05 23:54:38 -04:00
nick black
dc14483878 implement scrolling #323 2020-04-05 23:54:38 -04:00
nick black
a7f17040ce another scrolling unit test 2020-04-05 23:54:38 -04:00
nick black
6138ff2832 xray: fix up for scrolling 2020-04-05 23:54:38 -04:00
nick black
32c590ea64 document details of scrolling #323 2020-04-05 23:54:38 -04:00
nick black
601e84df83 another scrolling unit test #323 2020-04-05 23:54:38 -04:00
nick black
0ee1779e82 ncplane_putstr_yx(): kill useless cell prep and FIXME 2020-04-05 23:54:38 -04:00
nick black
0f12bcdb4c add 2 scrolling unit tests, both currently fail #323 2020-04-05 23:54:38 -04:00
nick black
b3710bd87e drop _locked() from ncplane_cursor_move_yx() 2020-04-05 23:54:38 -04:00
nick black
0ddb3c0002 implement ncplane_set_scrolling() #323 2020-04-05 23:54:38 -04:00