Commit Graph

1534 Commits (6123b789dd4d07cb00e77ea5af2005525b6b5690)
 

Author SHA1 Message Date
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.
5 years ago
nick black be2be9442a
better colors on notcurses-input plot 5 years ago
nick black f08bbf83a7
notcurses-input: join ticker thread on exit 5 years ago
nick black b04a37c433
plots: always start from the right #457 5 years ago
nick black cfdd8c4c5c
plot: remove unused windowbase field 5 years ago
nick black bdfcdf4086
get pydemo working again #459 5 years ago
nick black 9cc185e98a
fedora: USE_TESTS in specfile, not USE_TEST, ugh 5 years ago
nick black 6d366380ed prep for 1.2.6 5 years ago
nick black 039d955cd6
debian: update symbols for 1.2.6 5 years ago
nick black b9462bcda6
drop notcurses-keyplot from specfile 5 years ago
nick black cb7e844db1 unify notcurses-input+notcurses-keyplot #455 5 years ago
nick black c717673458 drop keyplot man page/cmake #455 5 years ago
nick black 2c2da61c72
ncdirect: add relative move functions #419 5 years ago
nick black 3649cd1a92
notcurses_resize(): fix bug, reclaim 10% perf loss 5 years ago
nick black a7e6e83711
notcurses_resize(): purge from public API #367 5 years ago
nick black 78142bcddc Tetris: import version.h for USE_FFMPEG 5 years ago
nick black a54cc6c85f fix rgbbg PoC for scrolling era 5 years ago
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
5 years ago
nick black e276a36264 Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black b320c6c0e2 debian: dep notcurses-bin on python3-notcurses 5 years ago
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
5 years ago
nick black c2d7983afc
rust: merge up from colloquy branch 5 years ago
nick black fffc1ee850
Extract colloquy; it's gone to its new home #320 5 years ago
nick black eccb24a391 c++ plot shouldn't allow negative samples #447 5 years ago
nick black 9dc81f0b64 c++ wrappers for ncplot #441 5 years ago
nick black 312d15d0f9
mathtext poc: enable scrolling 5 years ago
nick black 2852ff736c
tetris: factor out MoveLateral() 5 years ago
nick black 37b5564722
man page for colloquy 5 years ago
nick black b12ec8d555
note ncplot changes in CHANGELOG 5 years ago
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).
5 years ago
nick black 0a8e5ef70d
notcurses_keyplot: error out on null ncplot 5 years ago
nick black 77dd998b05
ncplot uses exclusively non-negative samples #447 5 years ago
nick black 85c568b3a4
ncplot: redraw upon creation so axis labels are visible 5 years ago
nick black 5c44416426
export ncplane_putstr_yx() as static inline 5 years ago
nick black 5bfae54b04 note about scrolling in CHANGELOG 5 years ago
nick black e3b3719a97 python: pull ncplane_putsimple_yx() 5 years ago
nick black 4a6ab358ba inline ncplane_putsimple_yx() 5 years ago
nick black 37b4d96794 whiteout: update for scrolling semantics #323 5 years ago
nick black dc14483878 implement scrolling #323 5 years ago
nick black a7f17040ce another scrolling unit test 5 years ago
nick black 6138ff2832 xray: fix up for scrolling 5 years ago
nick black 32c590ea64 document details of scrolling #323 5 years ago
nick black 601e84df83 another scrolling unit test #323 5 years ago
nick black 0ee1779e82 ncplane_putstr_yx(): kill useless cell prep and FIXME 5 years ago
nick black 0f12bcdb4c add 2 scrolling unit tests, both currently fail #323 5 years ago
nick black b3710bd87e drop _locked() from ncplane_cursor_move_yx() 5 years ago
nick black 0ddb3c0002 implement ncplane_set_scrolling() #323 5 years ago
nick black fcd7e19e4c Add ncplane_set_scrolling() #323 5 years ago
nick black 3d75f67465
changelog: fix up formatting 5 years ago
nick black 7a2d2a9659
drone: use ubuntu focal 2020-04-05a 5 years ago