diff options
author | B. Watson <urchlay@slackware.uk> | 2024-09-27 20:21:57 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-05 08:36:09 +0700 |
commit | 899779cee511c36c16e3230d2377d33d79887e37 (patch) | |
tree | 359f2f99fc71622695d744b84cafa0d59b494387 /office | |
parent | af63943eec09366d77d8022b32e0ccbf9c7fa2b6 (diff) |
office/zathura: Updated for version 0.5.8.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/zathura/man/zathura.1 | 95 | ||||
-rw-r--r-- | office/zathura/man/zathurarc.5 | 496 | ||||
-rw-r--r-- | office/zathura/zathura.SlackBuild | 53 | ||||
-rw-r--r-- | office/zathura/zathura.info | 10 |
4 files changed, 407 insertions, 247 deletions
diff --git a/office/zathura/man/zathura.1 b/office/zathura/man/zathura.1 index dd5b216ebb530..f3f6b2890c755 100644 --- a/office/zathura/man/zathura.1 +++ b/office/zathura/man/zathura.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "ZATHURA" "1" "2022-09-08" "0.5.1" "zathura" +.TH "ZATHURA" "1" "2024-08-04" "0.5.8" "zathura" .SH NAME zathura \- a document viewer .SH SYNOPSIS @@ -179,6 +179,9 @@ Show index and switch to \fBIndex mode\fP .B d Toggle dual page view .TP +.B D +Cycle opening column in dual page view +.TP .B F5 Switch to presentation mode .TP @@ -304,11 +307,21 @@ Scroll up or down .B ^Scroll Zoom in or out .TP -.B Hold Button2 +.B Drag Button2 (middle button drag) Pan the document .TP -.B Button1 +.B Button1 (left click) Follow link +.TP +.B Drag Button1 +Select text +.TP +.B Drag S\-Button1 +Highlight region +.TP +.B Button3 (right click) +Open popup menu to copy/save image +(activates for images recognized by \fBexport\fP command) .UNINDENT .UNINDENT .UNINDENT @@ -316,41 +329,74 @@ Follow link .INDENT 0.0 .TP .B bmark -Save a bookmark +Save a bookmark. .TP .B bdelete -Delete a bookmark +Delete a bookmark. .TP .B blist -List bookmarks +List bookmarks. +.TP +.B bjump +Jump to given bookmark. +.TP +.B jumplist +Show recent jumps in jumplist (by default last 5). Optional argument +specifies number of entries to show. Negative value "\-N" shows all +except the first "N" entries. +.TP +.B mark +Set a quickmark. +.TP +.B delmarks +Delete a quickmark. Abbreviation: \fBdelm\fP\&. .TP .B close -Close document +Close document. +.TP +.B quit +Quit zathura. Abbreviation: \fBq\fP\&. .TP .B exec Execute an external command. \fB$FILE\fP expands to the current document path, -and \fB$PAGE\fP to the current page number +\fB$PAGE\fP to the current page number, and \fB$DBUS\fP to the bus name of the +D\-Bus interface. Alias: \fB!\fP (space is still needed after). .TP .B info -Show document information +Show document information. .TP .B open -Open a document +Open a document. Abbreviation: \fBo\fP\&. .TP .B offset -Set page offset +Set page offset. .TP .B print -Print document +Print document. .TP .B write(!) -Save document (and force overwriting) +Save document (and force overwriting). Alias: \fBsave(!)\fP\&. .TP .B export -Export attachments +Export attachments. First argument specifies the attachment identifier +(use completion with \fBTab\fP), second argument gives the target filename +(relative to current working directory). .TP .B dump Write values, descriptions, etc. of all current settings to a file. +.TP +.B source +Source a configuration file. It is possible to change the config directory +by passing an argument. +.TP +.B hlsearch +Highlight current search results. +.TP +.B nohlsearch +Remove highlights of current search results. Abbreviation: \fBnohl\fP\&. +.TP +.B version +Show version information. .UNINDENT .SH CONFIGURATION .sp @@ -413,6 +459,27 @@ LaTeX for Atom (\fI\%https://atom.io/packages/latex\fP) Path to the directory containing plugins. This directory is only considered if no other directory was specified using \-\-plugins\-dir. .UNINDENT +.SH SANDBOX +.sp +The \fBzathura\-sandbox\fP binary runs \fIzathura\fP with a seccomp and/or landlock +based sandbox enabled. Some features are disabled when using sandbox mode: +.INDENT 0.0 +.IP \(bu 2 +saving/writing files +.IP \(bu 2 +use of input methods like ibus +.IP \(bu 2 +printing +.IP \(bu 2 +bookmarks and history +.IP \(bu 2 +dbus integration +.IP \(bu 2 +synctex support +.UNINDENT +.sp +The sandbox mode is still experimental with some libc implementations. The +current supported and tested libc implementations is glibc. .SH KNOWN BUGS .sp If GDK_NATIVE_WINDOWS is enabled you will experience problems with large diff --git a/office/zathura/man/zathurarc.5 b/office/zathura/man/zathurarc.5 index e165c7cd58a20..a1a0dc7ee7753 100644 --- a/office/zathura/man/zathurarc.5 +++ b/office/zathura/man/zathurarc.5 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "ZATHURARC" "5" "2022-09-08" "0.5.1" "zathura" +.TH "ZATHURARC" "5" "2024-08-04" "0.5.8" "zathura" .SH NAME zathurarc \- zathura configuration file .SH SYNOPSIS @@ -276,9 +276,9 @@ special keys: .ft C Identifier Description -Button1 Mouse button 1 -Button2 Mouse button 2 -Button3 Mouse button 3 +Button1 Mouse button 1 (left) +Button2 Mouse button 2 (right) +Button3 Mouse button 3 (middle) Button4 Mouse button 4 Button5 Mouse button 5 .ft P @@ -332,6 +332,10 @@ Adjust page width. Possible arguments are \fBbest\-fit\fP and \fBwidth\fP\&. .sp Change current mode. Pass the desired mode as argument. .IP \(bu 2 +\fBcycle_first_column\fP +.sp +In multiple page layout, cycle the column in which the first page is displayed. +.IP \(bu 2 \fBdisplay_link\fP: .sp Display link target. @@ -339,7 +343,8 @@ Display link target. \fBexec\fP: .sp Execute an external command. \fB$FILE\fP expands to the current document path, -and \fB$PAGE\fP to the current page number. +\fB$PAGE\fP to the current page number, and \fB$DBUS\fP to the bus name of the +D\-Bus interface. .IP \(bu 2 \fBfocus_inputbar\fP .sp @@ -614,22 +619,22 @@ Value type: String Default value: #232323 .UNINDENT .TP -.B \fIdefault\-fg\fP -Defines the default foreground color +.B \fIdefault\-bg\fP +Defines the default background color .INDENT 7.0 .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #DDDDDD +Default value: #000000 .UNINDENT .TP -.B \fIdefault\-bg\fP -Defines the default background color +.B \fIdefault\-fg\fP +Defines the default foreground color .INDENT 7.0 .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #000000 +Default value: #DDDDDD .UNINDENT .TP .B \fIexec\-command\fP @@ -705,7 +710,7 @@ Defines the background color for an error notification .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #FFFFFF +Default value: #FF1212 .UNINDENT .TP .B \fInotification\-error\-fg\fP @@ -714,7 +719,7 @@ Defines the foreground color for an error notification .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #FF1212 +Default value: #FFFFFF .UNINDENT .TP .B \fInotification\-warning\-bg\fP @@ -723,7 +728,7 @@ Defines the background color for a warning notification .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #FFFFFF +Default value: #FFF712 .UNINDENT .TP .B \fInotification\-warning\-fg\fP @@ -732,7 +737,7 @@ Defines the foreground color for a warning notification .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #FFF712 +Default value: #FFFFFF .UNINDENT .TP .B \fIstatusbar\-bg\fP @@ -846,8 +851,13 @@ Default value: false .TP .B \fIdatabase\fP Defines the database backend to use for bookmarks and input history. Possible -values are "plain", "sqlite" (if built with sqlite support) and "null". If -"null" is used, bookmarks and input history will not be stored. +values are "plain", "sqlite" and "null". If "null" is used, bookmarks and +input history will not be stored. +.sp +Note that the "plain" backend is deprecated. If selected, the "sqlite" backend +will import old history from the "plain" database and operation will continue +with the "sqlite" backend. After the first import, the setting can safely be +changed to "sqlite". The default will change after a release of Debian trixie. .INDENT 7.0 .IP \(bu 2 Value type: String @@ -855,6 +865,16 @@ Value type: String Default value: plain .UNINDENT .TP +.B \fIdbus\-raise\-window\fP +Defines whether zathura\(aqs window should be raised when receiving certain +commands via D\-Bus. +.INDENT 7.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.TP .B \fIdbus\-service\fP En/Disables the D\-Bus service. If the services is disabled, SyncTeX forward synchronization is not available. @@ -865,9 +885,8 @@ Value type: Boolean Default value: true .UNINDENT .TP -.B \fIdbus\-raise\-window\fP -Defines whether zathura\(aqs window should be raised when receiving certain -commands via D\-Bus. +.B \fIdouble\-click\-follow\fP +Defines whether double or single click on a link should trigger follow. .INDENT 7.0 .IP \(bu 2 Value type: Boolean @@ -886,13 +905,32 @@ Value type: String Default value: glib .UNINDENT .TP -.B \fIincremental\-search\fP -En/Disables incremental search (search while typing). +.B \fIfirst\-page\-column\fP +Defines the column in which the first page will be displayed. +This setting is stored separately for every value of pages\-per\-row according to +the following pattern <1 page per row>:[<2 pages per row>[: ...]]. The last +value in the list will be used for all other number of pages per row if not set +explicitly. +.sp +Per default, the first column is set to 2 for double\-page layout, i.e. the value +is set to 1:2. A value of 1:1:3 would put the first page in dual\-page layout in +the first column, and for layouts with more columns the first page would be put +in the 3rd column. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: String .IP \(bu 2 -Default value: true +Default value: 1:2 +.UNINDENT +.TP +.B \fIhighlight\-active\-color\fP +Defines the color that is used to show the current selected highlighted element +(e.g: current search result) +.INDENT 7.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: rgba(0,188,0,0.5) .UNINDENT .TP .B \fIhighlight\-color\fP @@ -902,7 +940,7 @@ show search results) .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #9FBC00 +Default value: rgba(159,251,0,0.5) .UNINDENT .TP .B \fIhighlight\-fg\fP @@ -912,35 +950,109 @@ document (e.g.: number for links). .IP \(bu 2 Value type: String .IP \(bu 2 +Default value: rgba(0,0,0,0.5) +.UNINDENT +.TP +.B \fIhighlighter\-modifier\fP +Defines the modifier that needs to be pressed together with the left mouse button +to draw the highlighter. Possible values are "shift", "ctrl" and "alt". +.INDENT 7.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: shift +.UNINDENT +.TP +.B \fIincremental\-search\fP +En/Disables incremental search (search while typing). +.INDENT 7.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.TP +.B \fIindex\-active\-bg\fP +Define the background color of the selected element in index mode. +.INDENT 7.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 Default value: #9FBC00 .UNINDENT .TP -.B \fIhighlight\-active\-color\fP -Defines the color that is used to show the current selected highlighted element -(e.g: current search result) +.B \fIindex\-active\-fg\fP +Defines the foreground color of the selected element in index mode. .INDENT 7.0 .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: #00BC00 +Default value: #232323 .UNINDENT .TP -.B \fIhighlight\-transparency\fP -Defines the opacity of a highlighted element +.B \fIindex\-bg\fP +Define the background color of the index mode. .INDENT 7.0 .IP \(bu 2 -Value type: Float +Value type: String .IP \(bu 2 -Default value: 0.5 +Default value: #232323 .UNINDENT .TP -.B \fIpage\-padding\fP -The page padding defines the gap in pixels between each rendered page. +.B \fIindex\-fg\fP +Defines the foreground color of the index mode. +.INDENT 7.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #DDDDDD +.UNINDENT +.TP +.B \fIjumplist\-size\fP +Maximum number of positions to remember in the jumplist. .INDENT 7.0 .IP \(bu 2 Value type: Integer .IP \(bu 2 -Default value: 1 +Default value: 2000 +.UNINDENT +.TP +.B \fIlink\-hadjust\fP +En/Disables aligning to the left internal link targets, for example from the +index. +.INDENT 7.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.TP +.B \fIlink\-zoom\fP +En/Disables the ability of changing zoom when following links. +.INDENT 7.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.TP +.B \fInohlsearch\fP +Dis/Enables the highlighting of search results. +.INDENT 7.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.TP +.B \fIopen\-first\-page\fP +Always open documents on the first page. If disabled, zathura will jump to the +last remembered position. +.INDENT 7.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false .UNINDENT .TP .B \fIpage\-cache\-size\fP @@ -956,6 +1068,24 @@ Value type: Integer Default value: 15 .UNINDENT .TP +.B \fIpage\-padding\fP +The page padding defines the gap in pixels between each rendered page. +.INDENT 7.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 1 +.UNINDENT +.TP +.B \fIpage\-right\-to\-left\fP +Defines whether pages in multi\-column view should start from the right side. +.INDENT 7.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.TP .B \fIpage\-thumbnail\-size\fP Defines the maximum size in pixels of the thumbnail that could be kept in the thumbnail cache per page. The thumbnail is scaled for a quick preview during @@ -979,24 +1109,6 @@ Value type: Integer Default value: 1 .UNINDENT .TP -.B \fIfirst\-page\-column\fP -Defines the column in which the first page will be displayed. -This setting is stored separately for every value of pages\-per\-row according to -the following pattern <1 page per row>:[<2 pages per row>[: ...]]. The last -value in the list will be used for all other number of pages per row if not set -explicitly. -.sp -Per default, the first column is set to 2 for double\-page layout, i.e. the value -is set to 1:2. A value of 1:1:3 would put the first page in dual\-page layout in -the first column, and for layouts with more columns the first page would be put -in the 3rd column. -.INDENT 7.0 -.IP \(bu 2 -Value type: String -.IP \(bu 2 -Default value: 1:2 -.UNINDENT -.TP .B \fIrecolor\fP En/Disables recoloring .INDENT 7.0 @@ -1006,22 +1118,22 @@ Value type: Boolean Default value: false .UNINDENT .TP -.B \fIrecolor\-keephue\fP -En/Disables keeping original hue when recoloring +.B \fIrecolor\-darkcolor\fP +Defines the color value that is used to represent dark colors in recoloring mode .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: String .IP \(bu 2 -Default value: false +Default value: #FFFFFF .UNINDENT .TP -.B \fIrecolor\-darkcolor\fP -Defines the color value that is used to represent dark colors in recoloring mode +.B \fIrecolor\-keephue\fP +En/Disables keeping original hue when recoloring .INDENT 7.0 .IP \(bu 2 -Value type: String +Value type: Boolean .IP \(bu 2 -Default value: #FFFFFF +Default value: false .UNINDENT .TP .B \fIrecolor\-lightcolor\fP @@ -1069,6 +1181,16 @@ Value type: String Default value: #000000 .UNINDENT .TP +.B \fIscroll\-full\-overlap\fP +Defines the proportion of the current viewing area that should be +visible after scrolling a full page. +.INDENT 7.0 +.IP \(bu 2 +Value type: Float +.IP \(bu 2 +Default value: 0 +.UNINDENT +.TP .B \fIscroll\-hstep\fP Defines the horizontal step size of scrolling by calling the scroll command once .INDENT 7.0 @@ -1087,14 +1209,13 @@ Value type: Float Default value: 40 .UNINDENT .TP -.B \fIscroll\-full\-overlap\fP -Defines the proportion of the current viewing area that should be -visible after scrolling a full page. +.B \fIscroll\-page\-aware\fP +Defines if scrolling by half or full pages stops at page boundaries. .INDENT 7.0 .IP \(bu 2 -Value type: Float +Value type: Boolean .IP \(bu 2 -Default value: 0 +Default value: false .UNINDENT .TP .B \fIscroll\-wrap\fP @@ -1106,8 +1227,8 @@ Value type: Boolean Default value: false .UNINDENT .TP -.B \fIshow\-directories\fP -Defines if the directories should be displayed in completion. +.B \fIsearch\-hadjust\fP +En/Disables horizontally centered search results. .INDENT 7.0 .IP \(bu 2 Value type: Boolean @@ -1115,56 +1236,60 @@ Value type: Boolean Default value: true .UNINDENT .TP -.B \fIshow\-hidden\fP -Defines if hidden files and directories should be displayed in completion. +.B \fIselection\-clipboard\fP +Defines the X clipboard into which mouse\-selected data will be written. When it +is "clipboard", selected data will be written to the CLIPBOARD clipboard, and +can be pasted using the Ctrl+v key combination. When it is "primary", selected +data will be written to the PRIMARY clipboard, and can be pasted using the +middle mouse button, or the Shift\-Insert key combination. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: String .IP \(bu 2 -Default value: false +Default value: primary .UNINDENT .TP -.B \fIshow\-recent\fP -Defines the number of recent files that should be displayed in completion. -If the value is negative, no upper bounds are applied. If the value is 0, no -recent files are shown. +.B \fIselection\-notification\fP +Defines if a notification should be displayed after selecting text. .INDENT 7.0 .IP \(bu 2 -Value type: Integer +Value type: Boolean .IP \(bu 2 -Default value: 10 +Default value: true .UNINDENT .TP -.B \fIscroll\-page\-aware\fP -Defines if scrolling by half or full pages stops at page boundaries. +.B \fIsignature\-error\-color\fP +Defines the background color when displaying additional information for +signatures with errors. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: String .IP \(bu 2 -Default value: false +Default value: rgba(92%,11%,14%,0.9) .UNINDENT .TP -.B \fIlink\-zoom\fP -En/Disables the ability of changing zoom when following links. +.B \fIsignature\-success\-color\fP +Defines the background color when displaying additional information for valid +signatures. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: String .IP \(bu 2 -Default value: true +Default value: rgba(18%,80%,33%,0.9) .UNINDENT .TP -.B \fIlink\-hadjust\fP -En/Disables aligning to the left internal link targets, for example from the -index. +.B \fIsignature\-warning\-color\fP +Defines the background color when displaying additional information for +signatures with warnings. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: String .IP \(bu 2 -Default value: true +Default value: rgba(100%,84%,0%,0.9) .UNINDENT .TP -.B \fIsearch\-hadjust\fP -En/Disables horizontally centered search results. +.B \fIshow\-directories\fP +Defines if the directories should be displayed in completion. .INDENT 7.0 .IP \(bu 2 Value type: Boolean @@ -1172,8 +1297,8 @@ Value type: Boolean Default value: true .UNINDENT .TP -.B \fIwindow\-title\-basename\fP -Use basename of the file in the window title. +.B \fIshow\-hidden\fP +Defines if hidden files and directories should be displayed in completion. .INDENT 7.0 .IP \(bu 2 Value type: Boolean @@ -1181,22 +1306,25 @@ Value type: Boolean Default value: false .UNINDENT .TP -.B \fIwindow\-title\-home\-tilde\fP -Display a short version of the file path, which replaces $HOME with ~, in the window title. +.B \fIshow\-recent\fP +Defines the number of recent files that should be displayed in completion. +If the value is negative, no upper bounds are applied. If the value is 0, no +recent files are shown. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: Integer .IP \(bu 2 -Default value: false +Default value: 10 .UNINDENT .TP -.B \fIwindow\-title\-page\fP -Display the page number in the window title. +.B \fIshow\-signature\-information\fP +Defines whether additional information on signatures embedded in documents +should be displayed. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +value type: Boolean .IP \(bu 2 -Default value: false +Default value false .UNINDENT .TP .B \fIstatusbar\-basename\fP @@ -1208,15 +1336,6 @@ Value type: Boolean Default value: false .UNINDENT .TP -.B \fIstatusbar\-page\-percent\fP -Display (current page / total pages) as a percent in the statusbar. -.INDENT 7.0 -.IP \(bu 2 -Value type: Boolean -.IP \(bu 2 -Default value: false -.UNINDENT -.TP .B \fIstatusbar\-home\-tilde\fP Display a short version of the file path, which replaces $HOME with ~, in the statusbar. .INDENT 7.0 @@ -1226,8 +1345,8 @@ Value type: Boolean Default value: false .UNINDENT .TP -.B \fIzoom\-center\fP -En/Disables horizontally centered zooming. +.B \fIstatusbar\-page\-percent\fP +Display (current page / total pages) as a percent in the statusbar. .INDENT 7.0 .IP \(bu 2 Value type: Boolean @@ -1235,168 +1354,115 @@ Value type: Boolean Default value: false .UNINDENT .TP -.B \fIvertical\-center\fP -Center the screen at the vertical midpoint of the page by default. +.B \fIsynctex\fP +En/Disables SyncTeX backward synchronization support. .INDENT 7.0 .IP \(bu 2 Value type: Boolean .IP \(bu 2 -Default value: false -.UNINDENT -.TP -.B \fIzoom\-max\fP -Defines the maximum percentage that the zoom level can be. -.INDENT 7.0 -.IP \(bu 2 -Value type: Integer -.IP \(bu 2 -Default value: 1000 -.UNINDENT -.TP -.B \fIzoom\-min\fP -Defines the minimum percentage that the zoom level can be. -.INDENT 7.0 -.IP \(bu 2 -Value type: Integer -.IP \(bu 2 -Default value: 10 +Default value: true .UNINDENT .TP -.B \fIzoom\-step\fP -Defines the amount of percent that is zoomed in or out on each command. +.B \fIsynctex\-edit\-modifier\fP +Defines the modifier that needs to be pressed together with the left mouse button +to trigger the SyncTeX backward synchronization. Possible values are "shift", +"ctrl" and "alt". .INDENT 7.0 .IP \(bu 2 -Value type: Integer +Value type: String .IP \(bu 2 -Default value: 10 +Default value: ctrl .UNINDENT .TP -.B \fIselection\-clipboard\fP -Defines the X clipboard into which mouse\-selected data will be written. When it -is "clipboard", selected data will be written to the CLIPBOARD clipboard, and -can be pasted using the Ctrl+v key combination. When it is "primary", selected -data will be written to the PRIMARY clipboard, and can be pasted using the -middle mouse button, or the Shift\-Insert key combination. +.B \fIsynctex\-editor\-command\fP +Defines the command executed for SyncTeX backward synchronization. .INDENT 7.0 .IP \(bu 2 Value type: String .IP \(bu 2 -Default value: primary +Default value: .UNINDENT .TP -.B \fIselection\-notification\fP -Defines if a notification should be displayed after selecting text. +.B \fIvertical\-center\fP +Center the screen at the vertical midpoint of the page by default. .INDENT 7.0 .IP \(bu 2 Value type: Boolean .IP \(bu 2 -Default value: true +Default value: false .UNINDENT .TP -.B \fIsynctex\fP -En/Disables SyncTeX backward synchronization support. +.B \fIwindow\-icon\-document\fP +Defines whether the window document should be updated based on the first page of +a dcument. .INDENT 7.0 .IP \(bu 2 Value type: Boolean .IP \(bu 2 -Default value: true -.UNINDENT -.TP -.B \fIsynctex\-editor\-command\fP -Defines the command executed for SyncTeX backward synchronization. -.INDENT 7.0 -.IP \(bu 2 -Value type: String -.IP \(bu 2 -Default value: +Default value: false .UNINDENT .TP -.B \fIindex\-fg\fP -Defines the foreground color of the index mode. +.B \fIwindow\-title\-basename\fP +Use basename of the file in the window title. .INDENT 7.0 .IP \(bu 2 -Value type: String +Value type: Boolean .IP \(bu 2 -Default value: #DDDDDD +Default value: false .UNINDENT .TP -.B \fIindex\-bg\fP -Define the background color of the index mode. +.B \fIwindow\-title\-home\-tilde\fP +Display a short version of the file path, which replaces $HOME with ~, in the window title. .INDENT 7.0 .IP \(bu 2 -Value type: String +Value type: Boolean .IP \(bu 2 -Default value: #232323 +Default value: false .UNINDENT .TP -.B \fIindex\-active\-fg\fP -Defines the foreground color of the selected element in index mode. +.B \fIwindow\-title\-page\fP +Display the page number in the window title. .INDENT 7.0 .IP \(bu 2 -Value type: String +Value type: Boolean .IP \(bu 2 -Default value: #232323 +Default value: false .UNINDENT .TP -.B \fIindex\-active\-bg\fP -Define the background color of the selected element in index mode. +.B \fIzoom\-center\fP +En/Disables horizontally centered zooming. .INDENT 7.0 .IP \(bu 2 -Value type: String +Value type: Boolean .IP \(bu 2 -Default value: #9FBC00 +Default value: false .UNINDENT .TP -.B \fIsandbox\fP -Defines the sandbox mode to use for the seccomp syscall filter. Possible -values are "none", "normal" and "strict". If "none" is used, the sandbox -will be disabled. The use of "normal" will provide minimal protection and -allow normal use of zathura with support for all features. The "strict" mode -is a read only sandbox that is intended for viewing documents only. -.INDENT 7.0 -.IP \(bu 2 -Value type: String -.IP \(bu 2 -Default value: normal -.UNINDENT -.sp -Some features are disabled when using strict sandbox mode: +.B \fIzoom\-max\fP +Defines the maximum percentage that the zoom level can be. .INDENT 7.0 .IP \(bu 2 -saving/writing files -.IP \(bu 2 -use of input methods like ibus -.IP \(bu 2 -printing +Value type: Integer .IP \(bu 2 -bookmarks and history +Default value: 1000 .UNINDENT -.sp -The strict sandbox mode is still experimental with some libc implementations. -Currently supported and tested libc implementations: glibc -.sp -No feature regressions are expected when using normal sandbox mode. -.sp -When running under WSL, the default is "none" since seccomp is not supported in -that environment. .TP -.B \fIwindow\-icon\-document\fP -Defines whether the window document should be updated based on the first page of -a dcument. +.B \fIzoom\-min\fP +Defines the minimum percentage that the zoom level can be. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: Integer .IP \(bu 2 -Default value: false +Default value: 10 .UNINDENT .TP -.B \fIpage\-right\-to\-left\fP -Defines whether pages in multi\-column view should start from the right side. +.B \fIzoom\-step\fP +Defines the amount of percent that is zoomed in or out on each command. .INDENT 7.0 .IP \(bu 2 -Value type: Boolean +Value type: Integer .IP \(bu 2 -Default value: false +Default value: 10 .UNINDENT .UNINDENT .SH SEE ALSO diff --git a/office/zathura/zathura.SlackBuild b/office/zathura/zathura.SlackBuild index 4f5130e113b59..941f97bb042e2 100644 --- a/office/zathura/zathura.SlackBuild +++ b/office/zathura/zathura.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for zathura # Copyright 2010 Binh Nguyen <email removed> -# Copyright 2018 B. Watson <urchlay@slackware.uk> +# Copyright 2024 B. Watson <urchlay@slackware.uk> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,6 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Note to self: run with BUILD_MAN=yes *once* per version update to +# regenerate the man pages (requires sphinx). + +# 20240927 bkw: update for v0.5.8. turns out, upstream claims to +# require newer versions of pango, glib2, etc than the code actually +# needs. also, update for zathura-pdf-poppler 0.3.3. + # 20240319 bkw: update for v0.5.4 and zathura-pdf-poppler 0.3.2. # These are the last versions that will build on Slackware 15.0 # due to newer versions needing a newer pango. @@ -46,7 +53,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zathura -VERSION=${VERSION:-0.5.4} +VERSION=${VERSION:-0.5.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,7 +62,7 @@ PKGTYPE=${PKGTYPE:-tgz} # plugins. This build includes the default PDF plugin, without which zathura # is completely useless. PLUGIN=$PRGNAM-pdf-poppler -PLUGINVER=${PLUGINVER:-0.3.2} +PLUGINVER=${PLUGINVER:-0.3.3} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -92,8 +99,8 @@ set -e fixperms() { chown -R root:root . - find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + } rm -rf $PKG @@ -104,9 +111,28 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION fixperms -# 20240319 bkw: upstream decided we needed a newer meson, but this -# builds just fine with our older one. -sed -i '/meson_version/s,>=0\.61,>=0.59,' meson.build +# 20240928 bkw: Fix things up to work with 15.0's old meson +# and glib2 libraries. Upstream never bothers testing on versions +# older than they happen to have installed, for the libs. For +# meson, we're shipping prebuilt man pages anyway, and only +# doc/meson.build uses new meson syntax (install_symlink), so +# just don't use it. +sed -i -e '/meson_version/s,>=0\.61,>=0.59,' \ + -e '/glib-2.0/s,>=2.72,>=2.70,' \ + -e '/gthread-2.0/s,>=2.72,>=2.70,' \ + -e '/gmodule-no-export-2.0/s,>=2.72,>=2.70,' \ + -e '/^subdir(.doc.)/d' \ + meson.build + +# 20240928 bkw: "Secret" maintainer-only mode. You shouldn't need this. +if [ "${BUILD_MAN:-no}" = "yes" ]; then + echo "===> generating man pages in $CWD/man" + mkdir -p $PKG/man + sphinx-build -b man -D version=$VERSION -D release=$VERSION doc/man $CWD/man + rm -rf $CWD/man/.doctrees +else + echo "===> using prebuilt man pages in $CWD/man" +fi # 20221114 bkw: Maik Wagner and Alexander Verbovetsky reported that # fish and bash completion weren't working, due to the symlink I use @@ -131,7 +157,7 @@ cd build cd .. # man pages prebuilt on a Slackware box with Sphinx installed. I did -# this to avoid a dependency on Sphinx (and its tree of 13 deps). +# this to avoid a dependency on Sphinx (and its tree of 21 deps). rm -rf $PKG/usr/man # in case we had Sphinx already... for i in $CWD/man/*.*; do dest="$PKG/usr/man/man$( echo $i | sed 's,.*\.,,' )" @@ -139,14 +165,15 @@ for i in $CWD/man/*.*; do gzip -9c < $i > "$dest/$( basename "$i" )".gz done -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a AUTHORS LICENSE README.md $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild # Include the API docs. Sphinx would be needed to build HTML or PDF docs, but # the doc sources are RST, which are perfectly human-readable already (though # less easy to navigate). -cp -a doc/api $PKG/usr/doc/$PRGNAM-$VERSION +cp -a doc/api $PKGDOC # Now build the plugin, unless the user disabled it. if [ "${POPPLER:-yes}" != "no" ]; then diff --git a/office/zathura/zathura.info b/office/zathura/zathura.info index 93f42cfaf2f0b..437940c46d650 100644 --- a/office/zathura/zathura.info +++ b/office/zathura/zathura.info @@ -1,10 +1,10 @@ PRGNAM="zathura" -VERSION="0.5.4" +VERSION="0.5.8" HOMEPAGE="https://github.com/pwmt/zathura" -DOWNLOAD="https://github.com/pwmt/zathura/archive/0.5.4/zathura-0.5.4.tar.gz \ - https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.2/zathura-pdf-poppler-0.3.2.tar.gz" -MD5SUM="a929f3366a46bb05d623c299276f414b \ - 23422e7606b815e025f3654dc05c0a13" +DOWNLOAD="https://github.com/pwmt/zathura/archive/0.5.8/zathura-0.5.8.tar.gz \ + https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.3/zathura-pdf-poppler-0.3.3.tar.gz" +MD5SUM="f4e9d4296d7f70b49e8603b068767839 \ + 3e429e73c4de8141ccef2c9e67dcfa0b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="girara" |