diff options
author | B. Watson <yalhcru@gmail.com> | 2017-09-21 14:22:28 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-09-23 16:34:55 +0100 |
commit | 594c8bee1720be18cdd560c8edb44d70997340e3 (patch) | |
tree | 6b361e50f96034f094c444cfa5b8f64b186886d3 /graphics/fbida | |
parent | 38a4c9888097534cd8d67b6a0fb9f11f39607398 (diff) | |
download | slackbuilds-594c8bee1720be18cdd560c8edb44d70997340e3.tar.gz |
graphics/fbida: Updated for version 2.14, add fbipdf manpage.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/fbida')
-rw-r--r-- | graphics/fbida/README | 2 | ||||
-rw-r--r-- | graphics/fbida/fbida.SlackBuild | 28 | ||||
-rw-r--r-- | graphics/fbida/fbida.info | 6 | ||||
-rw-r--r-- | graphics/fbida/fbipdf.1 | 116 | ||||
-rw-r--r-- | graphics/fbida/fbipdf.rst | 105 | ||||
-rw-r--r-- | graphics/fbida/slack-desc | 2 |
6 files changed, 248 insertions, 11 deletions
diff --git a/graphics/fbida/README b/graphics/fbida/README index da171cf3f3..c9199b380b 100644 --- a/graphics/fbida/README +++ b/graphics/fbida/README @@ -1,4 +1,4 @@ -fbida (image viewer for framebuffer console) +fbida (image and PDF viewer for framebuffer console) The fbida project contains a few applications for viewing and editing images, with the main focus being photos: diff --git a/graphics/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild index 5dd1af70f7..84c9d05406 100644 --- a/graphics/fbida/fbida.SlackBuild +++ b/graphics/fbida/fbida.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fbida -# (C) 2007 Michael Wagner <lapinours@web.de> +# (C) 2007 Michael Wagner <email removed> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by Luis Henrique <lmello.009@gmail.com> +# Modified by Luis Henrique <email removed> +# Modified and currently maintained by B. Watson <yalhcru@gmail.com> + +# 20170921 bkw: +# - update for v2.14 +# - remove old maintainers' email addresses +# - fix French man page stuff for new version, but allow old version +# to still build via VERSION=2.13 in env. +# - add man page for fbipdf. # 20170703 bkw: # - update for v2.13 @@ -40,11 +48,10 @@ # 20150508 bkw: update for v2.10 -# Modified again on 20140915 by B. Watson <yalhcru@gmail.com> -# - Took over maintenance, minor script cleanup +# 20140915 bkw: take over maintenance, minor script cleanup PRGNAM=fbida -VERSION=${VERSION:-2.13} +VERSION=${VERSION:-2.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -123,11 +130,20 @@ mv $PKG/usr/bin/fbpdf $PKG/usr/bin/fbipdf # converts it back to three periods as Bemer intended! mkdir -p $PKG/usr/man/fr/man1 for i in $FR_MAN; do - LANG=C sed 's,\xe2\x80\xa6,...,g' < $i.man.fr | \ + if [ -e $i.man.fr ]; then + M=$i.man.fr # v2.13 and older + else + M=man/fr/$i.1 # v2.14 and up + fi + LANG=C sed 's,\xe2\x80\xa6,...,g' < $M | \ iconv -c -f UTF-8 -t ISO-8859-1 | \ gzip -9c > $PKG/usr/man/fr/man1/$i.1.gz done +# fbpdf (fbipdf) doesn't have a man page, so I wrote one. English only, +# sorry, I no hablo Franco. +gzip -9c < $CWD/fbipdf.1 > $PKG/usr/man/man1/fbipdf.1.gz + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/graphics/fbida/fbida.info b/graphics/fbida/fbida.info index c20d9c007e..3d085e3e6c 100644 --- a/graphics/fbida/fbida.info +++ b/graphics/fbida/fbida.info @@ -1,8 +1,8 @@ PRGNAM="fbida" -VERSION="2.13" +VERSION="2.14" HOMEPAGE="https://www.kraxel.org/blog/linux/fbida/" -DOWNLOAD="https://www.kraxel.org/releases/fbida/fbida-2.13.tar.gz" -MD5SUM="de4268242e93eb95e220e14e441c1c50" +DOWNLOAD="https://www.kraxel.org/releases/fbida/fbida-2.14.tar.gz" +MD5SUM="f5475b359461d2d995bde59e13cc584f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/graphics/fbida/fbipdf.1 b/graphics/fbida/fbipdf.1 new file mode 100644 index 0000000000..bd32159415 --- /dev/null +++ b/graphics/fbida/fbipdf.1 @@ -0,0 +1,116 @@ +.\" Man page generated from reStructuredText. +. +.TH FBIPDF 1 "2017-09-21" "2.14" "SlackBuilds.org" +.SH NAME +fbipdf \- display PDF files in the Linux console +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.\" RST source for fbipdf(1) man page. Convert with: +. +.\" rst2man.py fbipdf.rst > fbipdf.1 +. +.\" rst2man.py comes from the SBo development/docutils package. +. +.SH SYNOPSIS +.sp +fbipdf [\fI\-i\fP | \fI\-info\fP] +.sp +fbipdf [\fI\-options\fP] \fBpdf\-file\fP +.SH DESCRIPTION +.sp +This program displays PDF files using the Linux fbdev or drm device. +It\(aqs much faster and more user\-friendly than \fBfbgs\fP, but lacks support +for PostScript files. +.sp +\fBfbipdf\fP is part of the \fBfbida\fP suite. Its original name was +\fBfbpdf\fP, but it\(aqs been renamed (for this SlackBuilds.org package) +to \fBfbipdf\fP since there\(aqs another \fBfbpdf\fP in the SBo repo. +.SH OPTIONS +.INDENT 0.0 +.TP +.B \fB\-h\fP, \fB\-help\fP +Print help text and exit. +.TP +.B \fB\-V\fP, \fB\-version\fP +Print version number and exit. +.TP +.B \fB\-i\fP, \fB\-info\fP +Print device info and exit. +.TP +.B \fB\-store\fP +Write command line arguments to config file. +.TP +.B \fB\-w\fP, \fB\-fitwidth\fP +Fit page width to screen [default: on]. +.TP +.B \fB\-nofitwidth\fP +Don\(aqt fit page width on screen. +.TP +.B \fB\-d\fP, \fB\-device\fP \fI<arg>\fP +Use framebuffer/drm device \fI<arg>\fP\&. +.TP +.B \fB\-o\fP, \fB\-output\fP \fI<arg>\fP +Use drm output \fI<arg>\fP (try \fB\-info\fP for a list). +.TP +.B \fB\-pageflip\fP +Use pageflip (drm only). +.TP +.B \fB\-nopageflip\fP +Don\(aqt use pageflip (drm only). +.TP +.B \fB\-g\fP, \fB\-opengl\fP +Use OpenGL (drm only). +.TP +.B \fB\-noopengl\fP +Don\(aqt use OpenGL (drm only). +.TP +.B \fB\-m\fP, \fB\-mode\fP \fI<arg>\fP +Use video mode \fI<arg>\fP (from /etc/fb.modes). +.UNINDENT +.SH FILES +.INDENT 0.0 +.TP +.B \fB~/.fbpdf.rc\fP +Config file created by \fB\-info\fP option. +.UNINDENT +.SH COPYRIGHT +.sp +See the file /usr/doc/fbipdf\-2.14/COPYING for license information. +.SH AUTHORS +.sp +fbipdf was written by Gerd Knorr <\fI\%kraxel@bytesex.org\fP>. +.sp +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. +.SH SEE ALSO +.sp +fbi(1), ida(1), exiftran(1), fbgs(1) +.sp +The fbida homepage: \fI\%https://www.kraxel.org/blog/linux/fbida/\fP +.\" Generated by docutils manpage writer. +. diff --git a/graphics/fbida/fbipdf.rst b/graphics/fbida/fbipdf.rst new file mode 100644 index 0000000000..1716121233 --- /dev/null +++ b/graphics/fbida/fbipdf.rst @@ -0,0 +1,105 @@ +.. RST source for fbipdf(1) man page. Convert with: +.. rst2man.py fbipdf.rst > fbipdf.1 +.. rst2man.py comes from the SBo development/docutils package. + +.. |version| replace:: 2.14 +.. |date| date:: + +====== +fbipdf +====== + +-------------------------------------- +display PDF files in the Linux console +-------------------------------------- + +:Manual section: 1 +:Manual group: SlackBuilds.org +:Date: |date| +:Version: |version| + +SYNOPSIS +======== + +fbipdf [*-i* | *-info*] + +fbipdf [*-options*] **pdf-file** + +DESCRIPTION +=========== + +This program displays PDF files using the Linux fbdev or drm device. +It's much faster and more user-friendly than **fbgs**, but lacks support +for PostScript files. + +**fbipdf** is part of the **fbida** suite. Its original name was +**fbpdf**, but it's been renamed (for this SlackBuilds.org package) +to **fbipdf** since there's another **fbpdf** in the SBo repo. + +OPTIONS +======= + +**-h**, **-help** + Print help text and exit. + +**-V**, **-version** + Print version number and exit. + +**-i**, **-info** + Print device info and exit. + +**-store** + Write command line arguments to config file. + +**-w**, **-fitwidth** + Fit page width to screen [default: on]. + +**-nofitwidth** + Don't fit page width on screen. + +**-d**, **-device** *<arg>* + Use framebuffer/drm device *<arg>*. + +**-o**, **-output** *<arg>* + Use drm output *<arg>* (try **-info** for a list). + +**-pageflip** + Use pageflip (drm only). + +**-nopageflip** + Don't use pageflip (drm only). + +**-g**, **-opengl** + Use OpenGL (drm only). + +**-noopengl** + Don't use OpenGL (drm only). + +**-m**, **-mode** *<arg>* + Use video mode *<arg>* (from /etc/fb.modes). + +FILES +===== + +**~/.fbpdf.rc** + Config file created by **-info** option. + +COPYRIGHT +========= + +See the file /usr/doc/fbipdf-|version|/COPYING for license information. + +AUTHORS +======= + +fbipdf was written by Gerd Knorr <kraxel@bytesex.org>. + +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. + +SEE ALSO +======== + +fbi(1), ida(1), exiftran(1), fbgs(1) + +The fbida homepage: https://www.kraxel.org/blog/linux/fbida/ diff --git a/graphics/fbida/slack-desc b/graphics/fbida/slack-desc index a3d99d3ead..59315935c0 100644 --- a/graphics/fbida/slack-desc +++ b/graphics/fbida/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -fbida: fbida (image viewer for framebuffer console) +fbida: fbida (image and PDF viewer for framebuffer console) fbida: fbida: The fbida project contains a few applications for viewing and fbida: editing images, with the main focus being photos. |