Package Details: okimfpsdrv 1.6.0-1

Git Clone URL: https://aur.archlinux.org/okimfpsdrv.git (read-only)
Package Base: okimfpsdrv
Description: Scanner drivers OKI multifunctional printers
Upstream URL: http://www.oki.co.uk/support/printer/printer-drivers
Licenses: custom
Submitter: stativ
Maintainer: stativ
Last Packager: stativ
Votes: 2
Popularity: 0.283059
First Submitted: 2016-05-12 17:28
Last Updated: 2017-03-29 16:11

Latest Comments

dreieck commented on 2019-03-20 16:47

There is a packaging issue leading to:

error: failed to commit transaction (conflicting files)
okimfpsdrv: /usr/libexec exists in filesystem
Errors occurred, no packages were upgraded.

In your package it is a symlink to /usr/lib, but on the system it is a proper directory.

--> Make it a proper directory, and if on the system it happens to be a symlink to another directory installation should succeed anyway (I think).

In fact, you empty the directory anyway, so can you just skip creating the symlink?

Or is it hardcoded that the software requires data there?

Then maybe stick installing it to to /usr/libexec.

dkadioglu commented on 2017-10-01 09:50

The package installs fine and the scanner can be used by the command line tools and the OKI graphical scan tool but, the scanner is not recognized by sane. To achieve this I had to add the line 'oki' to /etc/sane.d/dll.conf. The following .install script should do it:
###############################
post_install() {
echo "postinst: configure /etc/sane.d/dll.conf for oki"
echo "oki" >> /etc/sane.d/dll.conf
}

pre_remove() {
echo "prerm: deconfigure /etc/sane.d/dll.conf for oki"
mv /etc/sane.d/dll.conf /etc/sane.d/dll.conf.tmp
cat ${/etc/sane.d/dll.conf}.tmp | sed '/^oki$/d' > ${/etc/sane.d/dll.conf}
rm -f ${/etc/sane.d/dll.conf}.tmp
}
###############################

Maybe you can add that to the package. Also, I would propose to add a hint in the .install script, that the user should start and enable the okiscand service.

Thanks for packaging and maintaining this!
Best