Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
7ca99a67
Commit
7ca99a67
authored
Jul 23, 2024
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Aug 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add xerox-spl-driver (eterbug #17548)
parent
6c8f13ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
0 deletions
+81
-0
xerox-spl-driver.sh
pack.d/xerox-spl-driver.sh
+59
-0
xerox-spl-driver.sh
play.d/xerox-spl-driver.sh
+22
-0
No files found.
pack.d/xerox-spl-driver.sh
0 → 100755
View file @
7ca99a67
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
# Xerox_B215_Linux_PrintDriver_Utilities.tar.gz
BASENAME
=
$(
basename
$TAR
.tar.gz
)
erc unpack
$TAR
||
fatal
cd
*
mkdir
usr
mkdir
opt
mkdir
etc
VERSION
=
$(
cat
"noarch/.version-printer"
)
# printer drivers install
mkdir
-p
"usr/share/cups/model/"
mv
"noarch/share/ppd/"
"usr/share/cups/model/xerox/"
install
-Dm0755
"x86_64/libscmssc.so"
"usr/lib/libscmssc.so"
install
-Dm0755
"x86_64/smfpnetdiscovery"
"usr/lib/cups/backend/smfpnetdiscovery"
install
-Dm0755
"x86_64/pstosecps"
"usr/lib/cups/filter/pstosecps"
install
-Dm0755
"x86_64/rastertospl"
"usr/lib/cups/filter/rastertospl"
# scanner drivers install
install
-Dm0644
"x86_64/libsane-smfp.so.1.0.1"
"usr/lib/sane/libsane-smfp.so.1.0.1"
pushd
"usr/lib/sane/"
ln
-s
libsane-smfp.so.1.0.1 libsane-smfp.so.1
ln
-s
libsane-smfp.so.1.0.1 libsane-smfp.so
popd
install
-Dm0644
"noarch/etc/smfp.conf"
"etc/sane.d/smfp.conf"
install
-dm0755
"etc/sane.d/dll.d"
echo
smfp
>
"etc/sane.d/dll.d/smfp-scanner"
echo
xerox_mfp-smfp
>
"etc/sane.d/dll.d/smfp-scanner-fix"
# part from aur, i don't know what is going on here
install
-dm0755
"usr/lib/udev/rules.d"
(
OEM_FILE
=
"noarch/oem.conf"
INSTALL_LOG_FILE
=
/dev/null
.
"noarch/scripting_utils"
.
"noarch/package_utils"
.
"noarch/scanner-script.pkg"
fill_full_template
"noarch/etc/smfp.rules.in"
"usr/lib/udev/rules.d/60-smfp-xerox.rules"
)
install
-Dm0644
"noarch/oem.conf"
"opt/xerox/scanner/share/oem.conf"
PKGNAME
=
$PRODUCT
-
$VERSION
erc pack
$PKGNAME
.tar usr opt etc
||
fatal
return_tar
$PKGNAME
.tar
play.d/xerox-spl-driver.sh
0 → 100755
View file @
7ca99a67
#!/bin/sh
PKGNAME
=
xerox-spl-driver
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Xerox SPL Linux Driver for printers and scanners"
URL
=
"https://www.support.xerox.com"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
PKGURL
=
"http://download.support.xerox.com/pub/drivers/B215/drivers/linux/ar/Xerox_B215_Linux_PrintDriver_Utilities.tar.gz"
install_pack_pkgurl
echo
"Note: run
# serv cups restart
to enable new printer model in cups
"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment