Changes in chapter08/ncurses.xml [d672ab7:0ebda11]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/ncurses.xml
rd672ab7 r0ebda11 133 133 libraries since no package installed by compiling from sources would link 134 134 against them at runtime. However, the only known binary-only 135 applications that link against non-wide-character Ncurses libraries 135 applications that link against non-wide-character Ncurses libraries 136 136 require version 5. If you must have such libraries because of some binary-only 137 137 application or to be compliant with LSB, build the package again with the … … 144 144 --without-debug \ 145 145 --without-cxx-binding \ 146 --with-abi-version=5 146 --with-abi-version=5 147 147 make sources libs 148 148 cp -av lib/lib*.so.5* /usr/lib</userinput></screen> … … 150 150 151 151 </sect2> 152 153 <!-- - - - - - - - - - --> 154 <!-- Multilib - 32bit --> 155 <!-- - - - - - - - - - --> 156 <sect2 arch="ml_32,ml_all"> 157 <title>Building Ncurses - 32bit</title> 158 159 <para>Clean previous build:</para> 160 161 <screen><userinput remap="pre">make distclean</userinput></screen> 162 163 <para>Prepare Ncurses for compilation:</para> 164 165 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \ 166 ./configure --prefix=/usr \ 167 --host=i686-pc-linux-gnu \ 168 --libdir=/usr/lib32 \ 169 --mandir=/usr/share/man \ 170 --with-shared \ 171 --without-debug \ 172 --without-normal \ 173 --enable-pc-files \ 174 --enable-widec \ 175 --with-pkg-config-libdir=/usr/lib32/pkgconfig</userinput></screen> 176 177 <para>Compile the package:</para> 178 179 <screen><userinput remap="make">make</userinput></screen> 180 181 <para>Install the package:</para> 182 183 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 184 mkdir -p DESTDIR/usr/lib32/pkgconfig 185 for lib in ncurses form panel menu ; do 186 rm -vf DESTDIR/usr/lib32/lib${lib}.so 187 echo "INPUT(-l${lib}w)" > DESTDIR/usr/lib32/lib${lib}.so 188 ln -svf ${lib}w.pc DESTDIR/usr/lib32/pkgconfig/$lib.pc 189 done 190 rm -vf DESTDIR/usr/lib32/libcursesw.so 191 echo "INPUT(-lncursesw)" > DESTDIR/usr/lib32/libcursesw.so 192 ln -sfv libncurses.so DESTDIR/usr/lib32/libcurses.so 193 cp -Rv DESTDIR/usr/lib32/* /usr/lib32 194 rm -rf DESTDIR</userinput></screen> 195 196 </sect2><!-- m32 --> 197 198 <!-- - - - - - - - - - --> 199 <!-- Multilib - x32bit --> 200 <!-- - - - - - - - - - --> 201 <sect2 arch="ml_x32,ml_all"> 202 <title>Building Ncurses - x32bit</title> 203 204 <para>Clean previous build:</para> 205 206 <screen><userinput remap="pre">make distclean</userinput></screen> 207 208 <para>Prepare Ncurses for compilation:</para> 209 210 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \ 211 ./configure --prefix=/usr \ 212 --host=x86_64-pc-linux-gnux32 \ 213 --libdir=/usr/libx32 \ 214 --mandir=/usr/share/man \ 215 --with-shared \ 216 --without-debug \ 217 --without-normal \ 218 --enable-pc-files \ 219 --enable-widec \ 220 --with-pkg-config-libdir=/usr/libx32/pkgconfig</userinput></screen> 221 222 <para>Compile the package:</para> 223 224 <screen><userinput remap="make">make</userinput></screen> 225 226 <para>Install the package:</para> 227 228 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 229 mkdir -p DESTDIR/usr/libx32/pkgconfig 230 for lib in ncurses form panel menu ; do 231 rm -vf DESTDIR/usr/libx32/lib${lib}.so 232 echo "INPUT(-l${lib}w)" > DESTDIR/usr/libx32/lib${lib}.so 233 ln -svf ${lib}w.pc DESTDIR/usr/libx32/pkgconfig/$lib.pc 234 done 235 rm -vf DESTDIR/usr/libx32/libcursesw.so 236 echo "INPUT(-lncursesw)" > DESTDIR/usr/libx32/libcursesw.so 237 ln -sfv libncurses.so DESTDIR/usr/libx32/libcurses.so 238 cp -Rv DESTDIR/usr/libx32/* /usr/libx32 239 rm -rf DESTDIR</userinput></screen> 240 241 </sect2><!-- mx32 --> 152 242 153 243 <sect2 id="contents-ncurses" role="content"> … … 161 251 <seglistitem> 162 252 <seg> 163 captoinfo (link to tic), 164 clear, 165 infocmp, 253 captoinfo (link to tic), 254 clear, 255 infocmp, 166 256 infotocap (link to tic), 167 ncursesw6-config, 168 reset (link to tset), 169 tabs, 170 tic, 171 toe, 172 tput, and 257 ncursesw6-config, 258 reset (link to tset), 259 tabs, 260 tic, 261 toe, 262 tput, and 173 263 tset 174 264 </seg> 175 265 <seg> 176 266 libcursesw.so (symlink and linker script to libncursesw.so), 177 libformw.so, 178 libmenuw.so, 267 libformw.so, 268 libmenuw.so, 179 269 libncursesw.so, 180 270 libpanelw.so, and their non-wide-character counterparts without "w" 181 271 in the library names.</seg> 182 272 <seg> 183 /usr/share/tabset, 273 /usr/share/tabset, 184 274 /usr/share/terminfo, and 185 275 /usr/share/doc/ncurses-&ncurses-version;
Note:
See TracChangeset
for help on using the changeset viewer.