Changeset 25d274a
- Timestamp:
- 03/09/2023 07:57:26 PM (14 months ago)
- Branches:
- 12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
- Children:
- dce3118
- Parents:
- 0380184
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/libpaper.xml
r0380184 r25d274a 5 5 %general-entities; 6 6 7 <!ENTITY libpaper-download-http "https:// ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_&libpaper-version;.tar.gz">7 <!ENTITY libpaper-download-http "https://github.com/rrthomas/libpaper/releases/download/v&libpaper-version;/libpaper-&libpaper-version;.tar.gz"> 8 8 <!ENTITY libpaper-download-ftp " "> 9 <!ENTITY libpaper-md5sum "3 8bc55688c0fc5544edaa5a951a45fbd">10 <!ENTITY libpaper-size " 48 KB">11 <!ENTITY libpaper-buildsize " 3.5 MB">12 <!ENTITY libpaper-time " less than 0.1 SBU">9 <!ENTITY libpaper-md5sum "39322b429e795e33410db65b6d2fe163"> 10 <!ENTITY libpaper-size "1.2 MB"> 11 <!ENTITY libpaper-buildsize "11 MB (with tests)"> 12 <!ENTITY libpaper-time "0.1 SBU (with tests)"> 13 13 ]> 14 14 … … 81 81 </para> 82 82 83 <screen><userinput>autoreconf -fi && 84 ./configure --prefix=/usr \ 85 --sysconfdir=/etc \ 86 --disable-static && 83 <screen><userinput>./configure --prefix=/usr \ 84 --sysconfdir=/etc \ 85 --disable-static \ 86 --enable-relocatable \ 87 --docdir=/usr/share/doc/paper-&libpaper-version; && 87 88 make</userinput></screen> 88 89 89 90 <para> 90 T his package does not come with a test suite.91 To test the results, issue: <command>make check</command>. 91 92 </para> 92 93 93 94 <para> 94 Now, as the <systemitem class="username">root</systemitem>user:95 Now, as the &root; user: 95 96 </para> 96 97 97 <screen role="root"><userinput>make install && 98 mkdir -vp /etc/libpaper.d</userinput></screen> 98 <screen role="root"><userinput>make install</userinput></screen> 99 99 100 <para>101 The /etc/libpaper.d directory contains scripts to run after the paper102 size has been changed. This package puts no scripts here, but other103 packages may. If the fcron package has not been installed, create the104 <command>run-parts</command> script as shown in the <xref105 linkend='run-parts'/> section.106 </para>107 108 <!--109 cat > /usr/bin/run-parts << "EOF"110 <literal>#!/bin/sh111 # run-parts: Runs all the scripts found in a directory.112 # from Slackware, by Patrick J. Volkerding with ideas borrowed113 # from the Red Hat and Debian versions of this utility.114 115 # keep going when something fails116 set +e117 118 if [ $# -lt 1 ]; then119 echo "Usage: run-parts <directory>"120 exit 1121 fi122 123 if [ ! -d $1 ]; then124 echo "Not a directory: $1"125 echo "Usage: run-parts <directory>"126 exit 1127 fi128 129 # There are several types of files that we would like to130 # ignore automatically, as they are likely to be backups131 # of other scripts:132 IGNORE_SUFFIXES="~ ^ , .bak .new .rpmsave .rpmorig .rpmnew .swp"133 134 # Main loop:135 for SCRIPT in $1/* ; do136 # If this is not a regular file, skip it:137 if [ ! -f $SCRIPT ]; then138 continue139 fi140 # Determine if this file should be skipped by suffix:141 SKIP=false142 for SUFFIX in $IGNORE_SUFFIXES ; do143 if [ ! "$(basename $SCRIPT $SUFFIX)" = "$(basename $SCRIPT)" ]; then144 SKIP=true145 break146 fi147 done148 if [ "$SKIP" = "true" ]; then149 continue150 fi151 # If we've made it this far, then run the script if it's executable:152 if [ -x $SCRIPT ]; then153 $SCRIPT || echo "$SCRIPT failed."154 fi155 done156 157 exit 0</literal>158 EOF159 160 chmod -v 755 /usr/bin/run-parts</userinput></screen>161 -->162 100 </sect2> 163 101 … … 169 107 170 108 <para> 171 <command>mkdir -pv /etc/libpaper.d</command>: 172 <application>libpaper</application> expects that packages will install 173 files into this directory. 109 <option>--enable-relocatable</option>: 110 This option is needed to run the tests. 174 111 </para> 175 <!-- 176 <para> 177 <command>cat > /usr/bin/run-parts << "EOF"</command> : 178 <filename>paperconfig</filename> is a script which will invoke 179 <command>run-parts</command> if <filename 180 class="directory">/etc/libpaper.d</filename> exists. No other BLFS 181 package installs this, so we create it here. 182 </para> 183 --> 112 184 113 </sect2> 185 114 … … 191 120 192 121 <para> 193 Create <filename>/etc/paper size</filename> to set the default122 Create <filename>/etc/paper</filename> to set the default 194 123 system paper size. Issue the following command as the 195 <systemitem class="username">root</systemitem> user to set this to 196 'A4' (libpaper prefers the lowercase form). You may wish 124 &root; user to set this to 'a4'. You may wish 197 125 to use a different size, such as letter. 198 126 </para> 199 127 200 <screen role="root"><userinput>cat > /etc/papersize << "EOF" 201 <literal>a4</literal> 202 EOF</userinput></screen> 128 <screen role="root"><userinput>echo "a4" > /etc/paper</userinput></screen> 203 129 204 130 </sect3> … … 216 142 <seglistitem> 217 143 <seg> 218 paper conf, paperconfig, run-parts144 paper 219 145 </seg> 220 146 <seg> … … 222 148 </seg> 223 149 <seg> 224 / etc/libpaper.d150 /usr/share/doc/paper-&libpaper-version; 225 151 </seg> 226 152 </seglistitem> … … 232 158 <?dbhtml list-presentation="table"?> 233 159 234 <varlistentry id="paper conf">235 <term><command>paper conf</command></term>160 <varlistentry id="paper"> 161 <term><command>paper</command></term> 236 162 <listitem> 237 163 <para> 238 164 prints paper configuration information 239 165 </para> 240 <indexterm zone="libpaper paper conf">241 <primary sortas="b-paper conf">paperconf</primary>166 <indexterm zone="libpaper paper"> 167 <primary sortas="b-paper">paper</primary> 242 168 </indexterm> 243 169 </listitem> 244 170 </varlistentry> 245 171 246 <varlistentry id="paperconfig">247 <term><command>paperconfig</command></term>248 <listitem>249 <para>250 configures the system default paper size251 </para>252 <indexterm zone="libpaper paperconfig">253 <primary sortas="b-paperconfig">paperconfig</primary>254 </indexterm>255 </listitem>256 </varlistentry>257 <!--258 <varlistentry id="run-parts">259 <term><command>run-parts</command></term>260 <listitem>261 <para>262 runs all the scripts found in a directory.263 </para>264 <indexterm zone="libpaper run-parts">265 <primary sortas="b-run-parts">run-parts</primary>266 </indexterm>267 </listitem>268 </varlistentry>269 -->270 172 <varlistentry id="libpaper-lib"> 271 173 <term><filename class="libraryfile">libpaper.so</filename></term> -
introduction/welcome/changelog.xml
r0380184 r25d274a 43 43 <itemizedlist> 44 44 <listitem> 45 <para>[bdubbs] - Update to libpaper-2.0.10. Fixes 46 <ulink url="&blfs-ticket-root;17770">#17770</ulink>.</para> 47 </listitem> 48 <listitem> 45 49 <para>[bdubbs] - Update to cmake-3.25.3. Fixes 46 50 <ulink url="&blfs-ticket-root;17766">#17766</ulink>.</para> -
packages.ent
r0380184 r25d274a 145 145 <!ENTITY liblinear-version "246"> 146 146 <!ENTITY libmbim-version "1.26.4"> 147 <!ENTITY libpaper-version " 1.1.24+nmu5">147 <!ENTITY libpaper-version "2.0.10"> 148 148 <!ENTITY libportal-version "0.6"> 149 149 <!ENTITY libptytty-version "2.0">
Note:
See TracChangeset
for help on using the changeset viewer.