samsung-dirver
This commit is contained in:
parent
13d39e1b90
commit
9c34b10dad
|
@ -0,0 +1,69 @@
|
|||
# Tanım: Samsung yazıcılar ve tarayıcılar için Birleşik Linux Sürücüsü
|
||||
# URL: http://www.samsung.com
|
||||
# Paketçi: Cihan_Alkan
|
||||
# Gerekler: libxml2 libusb-compat cups sane ghostscript
|
||||
# Grup: sürücü
|
||||
|
||||
isim=samsung-printer
|
||||
surum=1.00.39
|
||||
devir=1
|
||||
|
||||
kaynak=(http://downloadcenter.samsung.com/content/DR/201704/20170407143829533/uld_V${surum}_01.17.tar.gz
|
||||
xerox_mfp-smfp.conf)
|
||||
|
||||
derle() {
|
||||
mkdir -p "$PKG"/usr/share/licenses/samsung-unified-driver
|
||||
cp "$SRC"/uld/noarch/license/eula.txt "$PKG"/usr/share/licenses/samsung-unified-driver/LICENSE
|
||||
cp "$SRC"/uld/noarch/license/eula-fr.txt "$PKG"/usr/share/licenses/samsung-unified-driver
|
||||
|
||||
mkdir -p "$PKG"/usr/lib
|
||||
cp "$SRC"/uld/x86_64/libscmssc.so "$PKG"/usr/lib
|
||||
|
||||
mkdir -p "$PKG"/usr/lib/cups/backend
|
||||
cp "$SRC"/uld/x86_64/smfpnetdiscovery "$PKG"/usr/lib/cups/backend
|
||||
|
||||
mkdir -p "$PKG"/usr/lib/cups/filter
|
||||
cp "$SRC"/uld/x86_64/pstosecps "$PKG"/usr/lib/cups/filter
|
||||
cp "$SRC"/uld/x86_64/rastertospl "$PKG"/usr/lib/cups/filter
|
||||
|
||||
mkdir -p "$PKG"/usr/share/ppd/suld
|
||||
for ppd in "$SRC"/uld/noarch/share/ppd/*.ppd; do
|
||||
gzip < "$ppd" > "$PKG"/usr/share/ppd/suld/"${ppd##*/}".gz
|
||||
done
|
||||
|
||||
mkdir -p "$PKG"/usr/share/ppd/suld/cms
|
||||
for cts in "$SRC"/uld/noarch/share/ppd/cms/*.cts; do
|
||||
cp "$cts" "$PKG"/usr/share/ppd/suld/cms
|
||||
done
|
||||
|
||||
mkdir -p "$PKG"/usr/share
|
||||
cp -r "$SRC"/uld/noarch/share/locale "$PKG"/usr/share
|
||||
rm -f "$PKG"/usr/share/locale/fr/LC_MESSAGES/install.mo
|
||||
|
||||
mkdir -p "$PKG"/etc/sane.d
|
||||
cp "$SRC"/uld/noarch/etc/smfp.conf "$PKG"/etc/sane.d
|
||||
cp "$SRC"/xerox_mfp-smfp.conf "$PKG"/etc/sane.d
|
||||
|
||||
mkdir -p "$PKG"/etc/sane.d/dll.d
|
||||
echo smfp > "$PKG"/etc/sane.d/dll.d/smfp-scanner
|
||||
echo xerox_mfp-smfp > "$PKG"/etc/sane.d/dll.d/smfp-scanner-fix
|
||||
|
||||
mkdir -p "$PKG"/usr/lib/sane
|
||||
cp "$SRC"/uld/x86_64/libsane-smfp.so.1.0.1 "$PKG"/usr/lib/sane
|
||||
ln -s libsane-smfp.so.1.0.1 "$PKG"/usr/lib/sane/libsane-smfp.so.1
|
||||
ln -s libsane-smfp.so.1 "$PKG"/usr/lib/sane/libsane-smfp.so
|
||||
|
||||
mkdir -p "$PKG"/usr/lib/udev/rules.d
|
||||
(
|
||||
OEM_FILE="$SRC"/uld/noarch/oem.conf
|
||||
INSTALL_LOG_FILE=/dev/null
|
||||
source "$SRC"/uld/noarch/scripting_utils
|
||||
source "$SRC"/uld/noarch/package_utils
|
||||
source "$SRC"/uld/noarch/scanner-script.pkg
|
||||
fill_full_template "$SRC"/uld/noarch/etc/smfp.rules.in "$PKG"/usr/lib/udev/rules.d/60_smfp_samsung.rules
|
||||
|
||||
mkdir -p "$PKG"/opt/samsung/scanner/share
|
||||
cp "$OEM_FILE" "$PKG"/opt/samsung/scanner/share
|
||||
)
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
#xerox_mfp-smfp.conf
|
||||
|
||||
# Samsung CLX-2160
|
||||
usb 0x04e8 0x3425
|
||||
|
||||
# Samsung CLX-3170FN & CLX-3175FW
|
||||
usb 0x04e8 0x342a
|
||||
|
||||
# Samsung CLX-3185
|
||||
usb 0x04e8 0x343d
|
||||
|
||||
# Samsung CLX-3300
|
||||
usb 0x04e8 0x3456
|
||||
|
||||
# Samsung M2070
|
||||
usb 0x04e8 0x3469
|
||||
|
||||
# Samsung SCX-3200 & SCX-3205W
|
||||
usb 0x04e8 0x3441
|
||||
|
||||
# Samsung SCX-3405W
|
||||
usb 0x04e8 0x344f
|
||||
|
||||
# Samsung SCX-4100
|
||||
usb 0x04e8 0x3413
|
||||
|
||||
# Samsung SCX-4200
|
||||
usb 0x04e8 0x341b
|
||||
|
||||
# Samsung SCX-4216F
|
||||
usb 0x04e8 0x3409
|
||||
|
||||
# Samsung SCX-4300
|
||||
usb 0x04e8 0x342e
|
||||
|
||||
# Samsung SCX-4500
|
||||
usb 0x04e8 0x3426
|
||||
|
||||
# Samsung SCX-4500W
|
||||
usb 0x04e8 0x342b
|
||||
|
||||
# Samsung SCX-4521F
|
||||
usb 0x04e8 0x3419
|
||||
|
||||
# Samsung SCX-4600
|
||||
usb 0x04e8 0x3433
|
||||
|
||||
# Samsung SCX-4623
|
||||
usb 0x04e8 0x3434
|
||||
|
||||
# Samsung SCX-4623FW
|
||||
usb 0x04e8 0x3440
|
||||
|
||||
# Samsung SCX-4725FN
|
||||
usb 0x04e8 0x341f
|
||||
|
||||
# Samsung SCX-4824
|
||||
usb 0x04e8 0x342c
|
||||
|
||||
# Samsung SCX-4825FN
|
||||
usb 0x04e8 0x343c
|
||||
|
||||
# Samsung SCX-4828FN (4x28 Series)
|
||||
usb 0x04e8 0x342d
|
||||
|
||||
# Samsung SCX-4833FD
|
||||
usb 0x04e8 0x344b
|
Loading…
Reference in New Issue