• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版cfdfcc99067145fcfd4070b45bb8ec335ad28fea (tree)
时间2021-12-22 15:16:22
作者matsuand <30614168+matsuand@user...>
Commitermatsuand

Log Message

[BLFS] Update cups-2.4.0.

更改概述

差异

--- a/BLFS/cups.sh
+++ b/BLFS/cups.sh
@@ -3,17 +3,18 @@
33 . ./_blfsset.sh
44
55 APPNAME=cups
6-VER=2.1.0
6+VER=2.4.0
77 TARGET=$APPNAME-$VER
8-TARGETBALL=$DLD/${TARGET}-source.tar.bz2
8+TARGETBALL=$DLD/${TARGET}-source.tar.gz
99 TARGETDIR=$TARGET
1010
1111 echo $TARGET
1212
13-. $WRK/_checkRequired.sh ""
13+. $WRK/_checkRequired.sh \
14+ gnutls
1415 . $WRK/_checkOptions.sh \
1516 libjpeg-turbo libpng tiff tcp_wrappers dbus libusb \
16- acl Linux-PAM openldap gnutls openssl heimdal \
17+ acl Linux-PAM openldap openssl heimdal \
1718 php python jdk xdg-utils openslp libpaper \
1819 valgrind
1920 . $WRK/_checkTarball.sh
@@ -36,22 +37,14 @@ cd $TARGETDIR
3637 #patch -Np1 -i $DLD/cups-$VER-blfs-1.patch \
3738 # 1>> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
3839
39-sed -i 's:555:755:g;s:444:644:g' Makedefs.in
40-sed -i '/MAN.*.EXT/s:.gz::g' \
41- configure config-scripts/cups-manpages.m4
42-sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4
43-sed -i 's@else /\* HAVE_AVAHI \*/@elif defined(HAVE_AVAHI)@' test/ippserver.c
40+sed -i 's#@CUPS_HTMLVIEW@#firefox#' desktop/cups.desktop.in
4441
45-echo Autoconfing...
46-aclocal -I config-scripts \
47- 1> $LOG/$TARGET.1_auto.log 2>&1 || exit 1
48-autoconf -I config-scripts \
49- 1>> $LOG/$TARGET.1_auto.log 2>&1 || exit 1
42+sed -e "s/format-truncation//" \
43+ -i configure \
44+ config-scripts/cups-compiler.m4
5045
5146 Configuring
5247 ./configure --libdir=/usr/lib \
53- --disable-systemd \
54- --with-rcdir=/tmp/cupsinit \
5548 --with-system-groups=lpadmin \
5649 --with-docdir=/usr/share/cups/doc-$VER \
5750 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
@@ -64,20 +57,14 @@ Installing
6457 porg -lp $TARGET "make install" \
6558 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
6659
67-rm -rf /tmp/cupsinit
68-porg -lp+ $TARGET "\
69-ln -sv ../cups/doc-$VER /usr/share/doc/cups-$VER" \
70- 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
60+#porg -lp+ $TARGET "\
61+#ln -sv ../cups/doc-$VER /usr/share/doc/cups-$VER" \
62+# 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
7163
7264 echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf
7365 porg -lp+ $TARGET "\
7466 touch /etc/cups/client.conf"
7567
76-porg -lp+ $TARGET "\
77-rm -rf /usr/share/cups/banners"
78-porg -lp+ $TARGET "\
79-rm -rf /usr/share/cups/data/testprint"
80-
8168 cat > /etc/pam.d/cups << "EOF"
8269 # Begin /etc/pam.d/cups
8370