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
Vladislav
eepm
Commits
eddf019d
Commit
eddf019d
authored
Mar 25, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add pfusp (Ricoh SP-1120N / SP-1125N / SP-1130N Image Scanner Driver)
parent
e81056ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
0 deletions
+78
-0
pfusp.sh
play.d/pfusp.sh
+16
-0
pfusp.sh
repack.d/pfusp.sh
+62
-0
No files found.
play.d/pfusp.sh
0 → 100755
View file @
eddf019d
#!/bin/sh
PKGNAME
=
pfusp
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"Ricoh SP-1120N / SP-1125N / SP-1130N Image Scanner Driver Linux from the official site"
URL
=
"https://www.pfu.ricoh.com/global/scanners/fi/dl/agree/ubuntu-64-221-sp.html"
.
$(
dirname
$0
)
/common.sh
VERSION
=
2.2.1
# check URL to upgrade the version
PKGURL
=
"https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/221/pfusp-ubuntu_2.2.1_amd64.deb"
epm
install
"
$PKGURL
"
repack.d/pfusp.sh
0 → 100755
View file @
eddf019d
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
for
i
in
opt/pfusp/consumables/pfuspconsumables
\
opt/pfusp/pfuspgetinfo/pfuspgetscerror
\
opt/pfusp/pfuspgetinfo/pfuspgetscstatus
;
do
chmod
0755
$i
add_bin_link_command
$(
basename
$i
)
/
$i
done
create_file
()
{
local
t
=
"
$1
"
local
l
=
"
$(
basename
$t
)
"
cat
>
$l
install_file
$l
$t
}
PFUSCANNER
=
"pfusp"
cat
<<
EOF
| create_file /opt/pfusp/etc/
$PFUSCANNER
.conf
#SP-1120
usb 0x04c5 0x1473
#SP-1125
usb 0x04c5 0x1475
#SP-1130
usb 0x04c5 0x1476
#SP-1425
usb 0x04c5 0x1524
#SP-1120N
usb 0x04c5 0x1625
#SP-1125N
usb 0x04c5 0x1626
#SP-1130N
usb 0x04c5 0x1627
EOF
cat
<<
EOF
| create_file /opt/pfusp/etc/consumablessettings.xml
<Root>
<Version>2.2.1</Version>
<Copyright>2017-2023</Copyright>
</Root>
EOF
cat
<<
EOF
| create_file /etc/sane.d/dll.d/
$PFUSCANNER
# dll.conf snippet for
$PFUSCANNER
#
$PFUSCANNER
EOF
cat
<<
EOF
| create_file /opt/pfusp/etc/simple-scan.conf
PAPER_SIZE=0
EOF
add_libs_requires
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