Skip to content

libpaper: switch from 1.1.24 to 2.3.0 and rebuild packages for it - #63811

Open
Lolzen wants to merge 11 commits into
void-linux:masterfrom
Lolzen:libpaper
Open

Lolzen wants to merge 11 commits into
void-linux:masterfrom
Lolzen:libpaper

Conversation

@Lolzen

@Lolzen Lolzen commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES
for p in a2ps cups ghostscript libgs paperjam paps ted texlive-dvi tuxpaint tuxpaint-config xpdf; do printf '%-16s ' $p; xbps-query -i --repository=hostdir/binpkgs/libpaper -p pkgver,shlib-requires $p 2>/dev/null | grep -oE '^[a-z0-9-]+-[0-9][^ ]*_[0-9]+$|libpaper\.so\.[0-9]+' | tr '\n' ' '; echo; done
a2ps             a2ps-4.15.6_2 libpaper.so.2 
cups             cups-2.4.20_2 libpaper.so.2 
ghostscript      ghostscript-10.08.0_2 libpaper.so.2 
libgs            libgs-10.08.0_2 libpaper.so.2 
paperjam         paperjam-1.2.2_2 libpaper.so.2 
paps             paps-0.8.1_2 libpaper.so.2 
ted              ted-2.23_5 libpaper.so.2 
texlive-dvi      texlive-dvi-20260301_4 libpaper.so.2 
tuxpaint         tuxpaint-0.9.35_2 libpaper.so.2 
tuxpaint-config  tuxpaint-config-0.0.21_2 libpaper.so.2 
xpdf             xpdf-4.06_2 libpaper.so.2 

libpaper 2.x dropped 6 symbols: defaultpapersizefile, paperlast, paperprev, psdimension, systempapersizefile, unitfactor
None of these functions were used by any packages, those functions used by libpaper 1.x are available in 2.x

Local build testing

  • I built this PR locally for my native architecture, (x86_64)

@Lolzen
Lolzen marked this pull request as draft November 24, 2026 22:50
@Lolzen

Lolzen commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

armv6l failed due to an a2ps error, an update is available and PR opened which will build against libpaper.so.1: #63818
x86_64-glibc, i686 failed because of depency ordering; libgs was built in ci against libpaper.so.1 , on local machine it worked, as described in the opening message.
x86_64-musl fails because of a cups test, which is expected

@Lolzen

Lolzen commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

#63852 perhaps related

@Lolzen
Lolzen force-pushed the libpaper branch 2 times, most recently from 15e8ff7 to 4e02275 Compare November 26, 2026 08:42
@Lolzen
Lolzen marked this pull request as ready for review November 26, 2026 12:25
@Lolzen

Lolzen commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

armv6l failed because of a fetch error, was successful the run before

ERROR: xbps-fetch: failed to fetch: https://ftp.gnu.org/gnu/a2ps/a2ps-4.15.8.tar.gz: Operation timed out
=> ERROR: a2ps-4.15.8_2: failed to fetch 'a2ps-4.15.8.tar.gz'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant