Opened 4 months ago

Closed 4 months ago

#19046 closed enhancement (fixed)

paps-0.8.0

Reported by: Xi Ruoyao Owned by: Bruce Dubbs
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

Found this new minor version when I was assessing the influence of incoming GCC 14: https://github.com/dov/paps/releases/download/v0.8.0/paps-0.8.0.tar.gz

Currency script needs update.

Change History (6)

comment:1 by Bruce Dubbs, 4 months ago

Currency updated.

comment:2 by Bruce Dubbs, 4 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:3 by Bruce Dubbs, 4 months ago

Overview of changes between 0.7.9 and 0.8.0

  • Fixed minor bugs from 0.7.9
  • Fixed bug when using markup with char mapping and visible wrap marker.
  • Added src-to-paps preprocessor scripts for conversion of source code to paps through GNU Highlight.

Overview of changes between 0.7.0 and 0.7.9

  • Switch to C++17
  • The header and footers are now modifiable by a syntax borrowed from python and the fmt library. E.g. the following command line shows what is possible:

paps --header-left="{now:%Y-%m-%d %H:%M}" --header-center="{path}" --header-right="Page {page_idx:02d}/{num_pages:02d}" --header -o hello.pdf paps.cc

  • Add separation line option

comment:4 by Bruce Dubbs, 4 months ago

This package now wants a library 'fmt' found at https://github.com/fmtlib/fmt/releases

fmt-10.1.1

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr     \
      -DCMAKE_INSTALL_LIBDIR=/usr/lib \
      -DBUILD_SHARED_LIBS=ON          \
      -DFMT_TEST=OFF                  \
      -G Ninja ..
ninja
ninja install

Removing -DFMT_TEST=OFF allows running tests: ninja test

md5sum : 0d41a16f1b3878d44e6fd7ff1f6cc45a  /usr/src/fmt/fmt-10.1.1.tar.gz
832 /usr/src/fmt/fmt-10.1.1.tar.gz SIZE (.812 MB)
5452 kilobytes BUILD SIZE (5.324 MB)
SBU=.026
 
hostname: lfs11
BFLAGS=-j16

comment:5 by Bruce Dubbs, 4 months ago

paps needs --disable-Werror

comment:6 by Bruce Dubbs, 4 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commit 3e9fa03056.

Note: See TracTickets for help on using tickets.