1
0
forked from ports/opt

paper: update to 2.0.4

This commit is contained in:
Juergen Daubert 2022-11-17 10:00:07 +01:00
parent 280a481f33
commit 7170086488
6 changed files with 16 additions and 135 deletions

View File

@ -8,16 +8,10 @@ drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libpaper.a
-rwxr-xr-x root/root usr/lib/libpaper.la
lrwxrwxrwx root/root usr/lib/libpaper.so -> libpaper.so.2.0.0
lrwxrwxrwx root/root usr/lib/libpaper.so.2 -> libpaper.so.2.0.0
-rwxr-xr-x root/root usr/lib/libpaper.so.2.0.0
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/paperconfig
lrwxrwxrwx root/root usr/lib/libpaper.so -> libpaper.so.2.0.4
lrwxrwxrwx root/root usr/lib/libpaper.so.2 -> libpaper.so.2.0.4
-rwxr-xr-x root/root usr/lib/libpaper.so.2.0.4
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/paper.1.gz
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/paperspecs.5.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/paperconfig.8.gz

View File

@ -1,8 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/XWXISkGyr5DcVwjxMhi5hbF/ES7OWuLTEtOcNtR2t4WBj5SqqjLbev5SwKMT730mXzQkOoa2l5SzaIRy7l12Ao=
SHA256 (Pkgfile) = 748f8cfbea085f6acf880772bdd4973aff193376f0152af2c1c10f8e75d26c1e
SHA256 (.footprint) = 27944f4864c764881306be55b84bfb41127d1853006ba27af19a9a762a63b265
SHA256 (libpaper-2.0.0.tar.gz) = e774651e9aec554ef81751a0ae345664033e1fddbcf0235348968171b1f2372a
SHA256 (paper.1) = f9ad1a491c132212679b65074ce7e052f20bb36b0708dee6d66c1ac309b44935
SHA256 (paperspecs.5) = 80adcd395819c887f835e03edcca72a8f016f6de090ac79935fe4fe747f34118
SHA256 (paperconfig.8) = 027e1c39eef30f8eb4b64a4a322dc9f9d484d4b00966a650ce3a594e1b549af9
RWSE3ohX2g5d/cH4nfSPYbXDW84th28K/8CKu9N1zrsGCTM+g+fzGLmq5FkoDLE4PJM46Ia1W8zQ7FrHd/S90cadYTaDztqtRQs=
SHA256 (Pkgfile) = 8e083f7ee201649cfdf23c50e2604b923e8e2ef3061712bc1d02a749072b4f45
SHA256 (.footprint) = 7e14bb46a65f10a376b36a2c02b53eb08694f64f0c2fa4ed2a3569cc08097689
SHA256 (libpaper-2.0.4.tar.gz) = eec7b774f610dcba5fe84bea35868d2242058af216d97ca00367ac10e34eeada
SHA256 (paper.1) = b373fcfee2cd6b0d000a51e93d812251659ab6679aa241da251122eb848453c8

View File

@ -3,10 +3,10 @@
# Maintainer: Juergen Daubert, jue at crux dot nu
name=paper
version=2.0.0
version=2.0.4
release=1
source=(https://github.com/rrthomas/libpaper/releases/download/v$version/lib$name-$version.tar.gz
paper.1 paperspecs.5 paperconfig.8)
paper.1)
build () {
cd lib$name-$version
@ -20,10 +20,8 @@ build () {
make
make DESTDIR=$PKG install
install -d $PKG/usr/share/man/man{1,5,8}
install -d $PKG/usr/share/man/man1
install -m 0644 $SRC/paper.1 $PKG/usr/share/man/man1
install -m 0644 $SRC/paperspecs.5 $PKG/usr/share/man/man5
install -m 0644 $SRC/paperconfig.8 $PKG/usr/share/man/man8
rm -r $PKG/usr/share/doc
}

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
.TH PAPER "1" "Oktober 2022" "paper 2.0.0" "User Commands"
.TH PAPER "1" "November 2022" "paper 2.0.4" "User Commands"
.SH NAME
paper - print paper size information
.SH SYNOPSIS
@ -63,12 +63,12 @@ User's default paper size.
.SH AUTHOR
Written by Reuben Thomas.
.SH "REPORTING BUGS"
Report bugs at https://github.com/rrthomas/paper
Report bugs at https://github.com/rrthomas/libpaper
.SH COPYRIGHT
Copyright \(co 2013\-2021 Reuben Thomas <rrt@sc3d.org>.
Copyright \(co 2013\-2022 Reuben Thomas <rrt@sc3d.org>.
paper comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of paper
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
under the terms of the GNU General Public License
version 3, or, at your option, any later version.See <https://www.gnu.org/licenses/gpl\-3.0.html>.
.SH "SEE ALSO"
.BR paperspecs (5)

View File

@ -1,55 +0,0 @@
.\" paperconfig.8, Copyright (C) 1996, Yves Arrouye <arrouye@debian.org>
.TH PAPERCONFIG 8 "10 April 2021"
.SH NAME
.B paperconfig
\- configure the system default paper size
.SH SYNOPSIS
\fBpaperconfig\fR [\fB\-\-version\fR|\fB\-\-help\fR|\fB\-\-paper \fIpapername\fR|\fB\-\-choose]
.SH DESCRIPTION
.B paperconfig
queries the current paper size, and sets the system default paper to
be used by tools using the \fBpapersize\fR file. It can either ask
interactively for the paper to use or be called non-interactively by
scripts.
.PP
When the paper size has been changed,
.B paperconfig
notifies other packages of the change by running the scripts in the
.I /etc/libpaper.d
directory.
.PP
When no paper is specified, \fBpaperconfig\fR prints the
current system paper size.
.SH OPTIONS
.TP
.BR "\-v\fP, \fB\-\-version"
Print the version of
.B paperconfig
and exit.
.TP
.BR "\-h\fP, \fB\-\-help"
Print help about usage and exit.
.TP
.BI "\-p\fP, \fB\-\-paper" " papername"
Use
.I papername
if possible. If
.I papername
is not a valid paper, print an error message and exit.
.TP
.BR "\-c\fP, \fB\-\-choose"
Choose system paper interactively.
.SH FILES
.TP
.I /etc/libpaper.d
Directory of scripts to run after the paper size has been changed.
This package puts no scripts here, but other packages may.
.B run-parts
is used to run the scripts. Therefore their names must comply
with
.BR run-part 's
naming requirements.
.SH AUTHOR
Yves Arrouye <arrouye@debian.org>, Reuben Thomas <rrt@sc3d.org>
.SH SEE ALSO
paper(1), runparts(8)

View File

@ -1,54 +0,0 @@
.\" Copyright (c) 2013-2021 Reuben Thomas <rrt@sc3d.org>
.\"
.\" This file is part of libpaper.
.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License as published by the Free
.\" Software Foundation; either version 3, or (at your option) any later
.\" version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
.\" or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
.\" for more details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, see <https://www.gnu.org/licenses/>.
.TH PAPERSPECS 5 "11 January 2014"
.SH NAME
.B paperspecs
\- paper size specifications
.SH DESCRIPTION
A CSV format list of the paper size specifications used by paper.
Each line contains the following fields:
.TP
NAME,WIDTH,HEIGHT,UNIT
.PP
Valid units are: \fBpt\fR (PostScript points), \fBmm\fR, \fBin\fR.
.PP
A size may be defined more than once. Only the first definition is
normally used. This means that the user's paperspecs file overrides
sizes in the system file (see below).
.PP
Multiple definitions are also used to allow inexact definitions to be
looked up by size. For example, the \fBLC_PAPER\fR mechanism available
on some systems defines paper sizes in whole numbers of millimetres,
which results in a definition for Letter size that does not exactly
match the definition in inches.
.SH FILES
.TP
.B /etc/paperspecs
System list of paper sizes.
.TP
.B $XDG_CONFIG_HOME/paperspecs
User's list of paper sizes. This is prepended to the system list.
.SH BUGS
The CSV format is restricted: quotes are not allowed; hence, fields
cannot be escaped.
.SH CREDITS
The original list of paper names came from Ghostscript 3.68's
gs_stadt.ps.
.SH AUTHOR
Reuben Thomas <rrt@sc3d.org>
.SH SEE ALSO
paper(1)