samsung-scx4200 3.00.37-1
http://www.samsung.com
Samsung SCX-4200 CUPS driver
unsupported :: office
Maintainer: None
Votes: 17
License: custom:samsung
Last Updated: Sat, 25 Apr 2009 12:38:38 +0000
First Submitted: Mon, 15 Sep 2008 21:23:46 +0000
Dependencies cups ghostscript
@Attentah: no, as this pkg only installs the scx4200 ppd file.
Shouldn't this pkg be renamed "UnifiedLinuxDriver" ?
I first thought it only was the driver for the SCX-4200 ...
Hello Venator85, thanks for updating. I managed to get the scanner working by copying a few files from the samsung driver around the filesystem and a few tweaking: here is what I did (for x86_64):
$ tar -xzf UnifiedLinuxDriver.tar.gz
$ pacman -S libstdc++5
$ cp cdroot/Linux/x86_64/at_root/usr/lib64/libmfp.so.1.0.1 /usr/lib
$ ldconfig
$ cp cdroot/Linux/x86_64/at_root/usr/lib64/sane/libsane-smfp.so.1.0.1 /usr/lib/sane
$ cp cdroot/Linux/noarch/at_root/etc/sane.d/smfp.conf /etc/sane.d
$ echo smfp >> /etc/sane.d/dll.conf
$ cd /usr/lib/sane
$ ln -s libsane-smfp.so.1.0.1 libsane-smfp.so.1
now it works with xsane! You may want to add this driver to your package, or I can make a package for it (I'm using splix to print).
Updated :)
Unified Linux Driver (ver.3.00.37) is now available at Samsung. Please update the package.
Updated.
Ghostscript also must be insered in depends=()
Maybe it depends on cups ;)
RIPPERO's fixes included. Thanks ;)
I've fixed the PKGBUILD to work with arch64 and i've replaced the wrong source=() with the correct one;
# Contributor: Alessio Bianchi <venator85@gmail.com>
pkgname=samsung-scx4200
pkgver=2.00.97
pkgrel=2
pkgdesc="Samsung SCX-4200 CUPS driver"
arch=('i686 x86_64')
license='custom:samsung'
url="http://www.samsung.com"
source=("http://downloadcenter.samsung.com/content/DR/200810/20081028145509765/UnifiedLinuxDriver.tar.gz")
md5sums=('ee5d4012a5a89bc647eaca0cf071b359')
build() {
cd $startdir/src/ || return 1
# fix wrong modes in archive
chmod u=rwX,g=rX cdroot -R
chown root:root cdroot -R
install -m 644 -D "$startdir/src/cdroot/Linux/noarch/at_opt/share/ppd/scx4200.ppd" \
"$startdir/pkg/usr/share/cups/model/scx4200.ppd"
if [ "$CARCH" = "x86_64" ]; then
install -m 755 -D "$startdir/src/cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/rastertosamsungspl" \
"$startdir/pkg/usr/lib/cups/filter/rastertosamsungspl"
else
install -m 755 -D "$startdir/src/cdroot/Linux/i386/at_root/usr/lib/cups/filter/rastertosamsungspl" \
"$startdir/pkg/usr/lib/cups/filter/rastertosamsungspl"
fi
}
v1.6.0