- Timestamp:
- 09/26/2023 11:39:07 PM (7 months ago)
- Branches:
- 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
- Children:
- ddb61e9
- Parents:
- 9aa6fdb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/ps/epdfview.xml
r9aa6fdb rb69c81fa 5 5 %general-entities; 6 6 7 <!ENTITY epdfview-download-http "&sources-anduin-http;/epdfview /epdfview-&epdfview-version;.tar.bz2">7 <!ENTITY epdfview-download-http "&sources-anduin-http;/epdfview-gtk3/epdfview-&epdfview-version;.tar.xz"> 8 8 <!ENTITY epdfview-download-ftp " "> 9 <!ENTITY epdfview-md5sum " e50285b01612169b2594fea375f53ae4">10 <!ENTITY epdfview-size " 456KB">11 <!ENTITY epdfview-buildsize " 6MB">12 <!ENTITY epdfview-time "less than 0.1 SBU ">9 <!ENTITY epdfview-md5sum "d222a3dc26c2faf6f862018bb478fb36"> 10 <!ENTITY epdfview-size "184 KB"> 11 <!ENTITY epdfview-buildsize "3.5 MB"> 12 <!ENTITY epdfview-time "less than 0.1 SBU (using parallelism=4)"> 13 13 ]> 14 14 … … 24 24 25 25 <sect2 role="package"> 26 <title>Introduction to ePDFView</title> 27 28 <para> 29 <application>ePDFView</application> is a free standalone lightweight PDF 30 document viewer using <application>Poppler</application> and 31 <application>GTK+</application> libraries. It is a good replacement for 26 <title>Introduction to ePDFView-gtk3</title> 27 28 <para> 29 <application>ePDFView-gtk3</application> is a fork of the old 30 <application>ePDFView</application> program. Although the github repository 31 <ulink url="https://github.com/Flow-It/epdfview_old.git"/> names it as 32 'old' it is indeed the gtk3 fork. It is a lightweight replacement for 32 33 <application>Evince</application> as it does not rely upon 33 <application>GNOME</application> libraries. 34 <application>GNOME</application> libraries and is more capable than 35 <application>MuPDF</application>. 34 36 </para> 35 37 … … 70 72 </itemizedlist> 71 73 72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>73 <itemizedlist spacing='compact'>74 <listitem>75 <para>76 Required patch: <ulink url=77 "&patch-root;/epdfview-&epdfview-version;-fixes-2.patch"/>78 </para>79 </listitem>80 </itemizedlist>81 82 74 <bridgehead renderas="sect3">ePDFView Dependencies</bridgehead> 83 75 84 76 <bridgehead renderas="sect4">Required</bridgehead> 85 77 <para role="required"> 86 <xref linkend="gtk 2"/> and78 <xref linkend="gtk3"/> and 87 79 <xref linkend="poppler"/> 88 80 </para> 89 81 90 <bridgehead renderas="sect4">Recommended (mainly for 91 Desktop Environments)</bridgehead> 82 <bridgehead renderas="sect4">Recommended</bridgehead> 92 83 <para role="Recommended"> 84 <xref linkend="cups"/> (to access print queues) 93 85 <xref linkend="desktop-file-utils"/> and 94 <xref linkend="hicolor-icon-theme"/> 86 <xref linkend="hicolor-icon-theme"/> (both for the icons this installs) 95 87 </para> 96 88 97 89 <bridgehead renderas="sect4">Optional</bridgehead> 98 90 <para role="optional"> 99 <xref linkend="cups"/> 100 </para> 101 91 The home page of the project's repository mentions that there are optional 92 dependencies, enabled by switches, for building the documentation and testsuite, 93 <xref linkend="doxygen"/> and 94 <ulink url='https://freedesktop.org/wiki/Software/cppunit/'>Cppunit</ulink>. 95 Unfortunately <application>doxygen</application> only installs a skeletal 96 page about itself, not any package documentation, and the test code does not 97 compile with tecent versions of C++. 98 </para> 102 99 </sect2> 103 100 104 101 <sect2 role="installation"> 105 <title>Installation of ePDFView </title>106 107 <para> 108 Install <application>ePDFView </application> by running the following102 <title>Installation of ePDFView-gtk3</title> 103 104 <para> 105 Install <application>ePDFView-gtk3</application> by running the following 109 106 commands: 110 107 </para> 111 108 112 <screen><userinput>patch -Np1 -i ../epdfview-&epdfview-version;-fixes-2.patch && 113 ./configure --prefix=/usr && 114 make</userinput></screen> 115 116 <para> 117 This package does not come with a test suite. 109 <screen><userinput> 110 mkdir build && 111 cd build && 112 113 meson setup --prefix=/usr \ 114 --buildtype=release \ 115 --Denable-printing=true \ 116 .. && 117 ninja</userinput></screen> 118 119 <para> 120 This package does not come with a buildable test suite. 118 121 </para> 119 122 … … 122 125 </para> 123 126 124 <screen role="root"><userinput>make install</userinput></screen> 125 126 <para> 127 For Desktop Environment users, further (optional) instructions are necessary for properly displaying <filename>epdfview.desktop</filename> in the menu. As <systemitem class="username">root</systemitem> user: 128 </para> 129 130 <screen role="root"><userinput>for size in 24 32 48; do 131 ln -svf ../../../../epdfview/pixmaps/icon_epdfview-$size.png \ 132 /usr/share/icons/hicolor/${size}x${size}/apps 133 done && 134 unset size && 135 136 update-desktop-database && 127 <screen role="root"><userinput> 128 ninja install && 129 update-desktop-database && 137 130 gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor</userinput></screen> 138 131 … … 141 134 <sect2 role="commands"> 142 135 <title>Command Explanations</title> 143 144 <!-- keep this in case the patch breaks builds without cups 145 <para> 146 <command>sed -i 's#/gmacros##' src/gtk/StockIcons.h</command>: This sed 147 fixes compiling with <application>glib-2.32</application> or greater. 148 </para> --> 149 150 <para> 151 <command>patch -Np1 -i ../epdfview-&epdfview-version;-fixes-2.patch</command> 152 The patch does four things: fixes compiling with 153 <application>glib-2.32</application> or greater, corrects red appearing as 154 blue with recent versions of <application>poppler</application>, allows 155 the application to compile when <xref linkend="cups"/> has been installed, 156 and fixes the display of embedded png images. 157 </para> 136 <para> 137 <command>--Denable-printing=true</command>: build the code to link to the 138 <application>cups</application> print queue(s). Omit this if you have not 139 installed <application>cups</application>. 140 </para> 141 </sect2> 142 143 <sect2 role="configuration"> 144 <title>Configuring ePDFView-gtk3</title> 145 146 <para> 147 ePDFView-gtk3 has several toggles for optional features, most are 148 'off' by default, including the toolbar, and if it has been closed with 149 the menu disabled the program can start with all options not visible 150 until the relevant function-key toggles are pressed. 151 <itemizedlist> 152 <listitem> 153 <para>[F6] - toggle toolbar</para> 154 </listitem> 155 <listitem> 156 <para>[F7] - toggle menu</para> 157 </listitem> 158 <listitem> 159 <para>[F8] - toggle invert-colors</para> 160 </listitem> 161 <listitem> 162 <para>[F9] - toggle show-index.</para> 163 </listitem> 164 <listitem> 165 <para>[F11] - toggle fullscreen.</para> 166 </listitem> 167 </itemizedlist> 168 </para> 169 158 170 </sect2> 159 171 … … 182 194 <listitem> 183 195 <para> 184 is a <application>Gtk+- 2</application> program for viewing PDF196 is a <application>Gtk+-3</application> program for viewing PDF 185 197 documents 186 198 </para>
Note:
See TracChangeset
for help on using the changeset viewer.