diff --git a/talimatname/genel/c/cups/cups.okubeni b/talimatname/genel/c/cups/cups.ayarla similarity index 58% rename from talimatname/genel/c/cups/cups.okubeni rename to talimatname/genel/c/cups/cups.ayarla index 0956dd3d2..8e41f2ea8 100644 --- a/talimatname/genel/c/cups/cups.okubeni +++ b/talimatname/genel/c/cups/cups.ayarla @@ -1,11 +1,7 @@ -si necessaire faire en root: useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp groupadd -g 19 lpadmin usermod -a -G lpadmin -Une fois installé: -Créez le fichier de configuration de base du client Cups en lançant la commande suivante: - echo "ServerName /var/run/cups/cups.sock" > /etc/cups/client.conf diff --git a/talimatname/genel/c/cups/talimat b/talimatname/genel/c/cups/talimat index 61a8a8893..98832208f 100644 --- a/talimatname/genel/c/cups/talimat +++ b/talimatname/genel/c/cups/talimat @@ -4,48 +4,47 @@ # Gerekler: avahi python gnutls xdg-utils gtk-update-icon-cache isim=cups -surum=2.1.3 +surum=2.2.6 devir=1 -kaynak=( http://cups.org/software/$surum/cups-$surum-source.tar.gz) +kaynak=(https://github.com/apple/cups/archive/v$surum.tar.gz::$isim-$surum.tar.gz) derle() { - source /etc/blfs-bootscripts - wget http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-bootscripts-$scriptsversion.tar.bz2 - tar xvf $scripts-$scriptsversion.tar.bz2 + cd $isim-$surum sed -i 's:555:755:g;s:444:644:g' Makedefs.in sed -i '/MAN.*.EXT/s:.gz::g' \ configure config-scripts/cups-manpages.m4 sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4 aclocal -I config-scripts - autoconf -I config-scripts - ./configure --libdir=/usr/lib \ - --disable-systemd \ - --with-rcdir=/tmp/cupsinit \ - --with-system-groups=lpadmin \ - --with-docdir=/usr/share/cups/doc-$surum + autoconf -I config-scripts + + sed -i -e "\$aName[tr]=Yazıcı Yönetimi \nComment[tr]=CUPS için web arayüzü" desktop/cups.desktop.in + + ./configure \ + --libdir=/usr/lib \ + --disable-systemd \ + --with-rcdir=/tmp/cupsinit \ + --with-system-groups=lpadmin \ + --with-docdir=/usr/share/cups/doc-$surum make make BUILDROOT=$PKG install - rm -rf $PKG/tmp/cupsinit + rm -rf $PKG/tmp mkdir -p $PKG/usr/share/doc ln -svnf ../cups/doc-$surum $PKG/usr/share/doc/cups-$surum - # Lanceur + # masaüstü if [ ! -f $PKG/usr/share/applications/cups.desktop ]; then mkdir -p $PKG/usr/share/applications install -m644 desktop/cups.desktop \ $PKG/usr/share/applications/cups.desktop fi - # Startup Script - cd ../$scripts-$scriptsversion - make DESTDIR=$PKG install-$isim + # servis + cd /sources/milis.git/ayarlar/servisler + make DESTDIR=$PKG kur-cups - # Supprimer les filtres faisant parti de cups-filters rm -rf $PKG/usr/share/cups/banners rm -rf $PKG/usr/share/cups/data/testprint - # Mechant bug - rm -r $PKG/tmp chmod 755 $PKG/etc