source:
patches/man-1.6f-new_compressors-1.patch@
92bb2cbe
Last change on this file since 92bb2cbe was 89bc6ed, checked in by , 16 years ago | |
---|---|
|
|
File size: 2.6 KB |
-
configure
Submitted By: Jim Gifford <jim at cross-lfs dot org> Date: 2009-02-21 Initial Package Version: 1.6f Upstream Status: Unknown Origin: Jim Gifford Description: For using lzip compression For using xz compression diff -Naur man-1.6f.orig/configure man-1.6f/configure
old new 1015 1015 then 1016 1016 DO_COMPRESSION=true 1017 1017 compress= 1018 for i in lzma bzip2 gzip bzip tzip pack compress freeze yabba1018 for i in xz lzip lzma bzip2 gzip bzip tzip pack compress freeze yabba 1019 1019 do 1020 1020 eval F$i=missing 1021 1021 for j in $DEFPATH … … 1068 1068 fi 1069 1069 1070 1070 case $compress in 1071 *xz*) ext=".xz" ;; 1072 *lzip*) ext=".lz" ;; 1071 1073 *lzma*) ext=".lzma" ;; 1072 1074 *bzip2*) ext=".bz2" ;; 1073 1075 *gzip*) ext=".gz" ;; … … 1111 1113 fi 1112 1114 1113 1115 # unconditionally handle uncompression 1114 UNCOMPRESSORS="un lzma gunzip bzip2 pcat zcat fcat unyabba"1116 UNCOMPRESSORS="unxz lzip unlzma gunzip bzip2 pcat zcat fcat unyabba" 1115 1117 for i in $UNCOMPRESSORS 1116 1118 do 1117 1119 eval F$i=missing … … 1132 1134 if [ $Fbzip2 != missing ]; then 1133 1135 bzip2="$Fbzip2 -c -d" 1134 1136 fi 1137 unxz=missing 1138 if [ $Funxz != missing ]; then 1139 unxz="$Funxz -c -d" 1140 fi 1135 1141 unlzma=missing 1136 1142 if [ $Funlzma != missing ]; then 1137 1143 unlzma="$Funlzma -c -d" 1138 1144 fi 1145 lzip=missing 1146 if [ $Flzip != missing ]; then 1147 lzip="$Flzip -c -d" 1148 fi 1139 1149 pcat="$Fpcat" 1140 1150 zcat="$Fzcat" 1141 1151 fcat="$Ffcat" … … 1164 1174 bzip2) 1165 1175 echo "Command to use for .bz2 files (standard bzip2)" 1166 1176 echo $n "[`eval echo \\$$filter`] $c" ;; 1177 xz) 1178 echo "Command to use for .xz files (standard xz)" 1179 echo $n "[`eval echo \\$$filter`] $c" ;; 1180 lzip) 1181 echo "Command to use for .lz files (standard lzip)" 1182 echo $n "[`eval echo \\$$filter`] $c" ;; 1167 1183 lzma) 1168 1184 echo "Command to use for .lzma files (standard lzma)" 1169 1185 echo $n "[`eval echo \\$$filter`] $c" ;; … … 1228 1244 case $compress_ext in 1229 1245 .gz) decompress=$gunzip ;; 1230 1246 .bz2) decompress=$bzip2 ;; 1247 .xz) decompress=$unxz ;; 1248 .lz) decompress=$lzip ;; 1231 1249 .lzma) decompress=$unlzma ;; 1232 1250 .z) decompress=$pcat ;; 1233 1251 .Z) decompress=$zcat ;; … … 1321 1339 s,@zcat@,$zcat, 1322 1340 s,@gunzip@,$gunzip, 1323 1341 s,@bzip2@,$bzip2, 1342 s,@lzip@,$lzip, 1343 s,@unxz@,$unxz, 1324 1344 s,@unlzma@,$unlzma, 1325 1345 s,@unyabba@,$unyabba, 1326 1346 s,@compress@,$compress, -
src/man.conf.in
diff -Naur man-1.6f.orig/src/man.conf.in man-1.6f/src/man.conf.in
old new 132 132 # 133 133 .gz @gunzip@ 134 134 .bz2 @bzip2@ 135 .xz @unxz@ 136 .lz @lzip@ 135 137 .lzma @unlzma@ 136 138 .z @pcat@ 137 139 .Z @zcat@
Note:
See TracBrowser
for help on using the repository browser.