Package Details: cnrdrvcups-lb 1:6.00.1.00-1

Git Clone URL: https://aur.archlinux.org/cnrdrvcups-lb.git (read-only, click to copy)
Package Base: cnrdrvcups-lb
Description: CUPS Canon UFR II LIPSLX CARPS2 printer driver for LBP iR MF ImageCLASS ImageRUNNER Laser Shot i-SENSYS ImagePRESS ADVANCE printers and copiers
Upstream URL: https://www.canon-europe.com/support/consumer/products/printers/i-sensys/mf-series/i-sensys-mf657cdw.html?type=drivers&language=EN&os=Linux%20(64-bit)
Licenses: custom, MIT, GPL-2.0-only
Conflicts: cndrvcups-common-lb, cndrvcups-lb
Submitter: Lone_Wolf
Maintainer: Lone_Wolf (severach)
Last Packager: Lone_Wolf
Votes: 32
Popularity: 1.21
First Submitted: 2019-09-28 12:34 (UTC)
Last Updated: 2024-09-15 09:42 (UTC)

Dependencies (17)

Required by (0)

Sources (2)

Pinned Comments

Lone_Wolf commented on 2021-03-15 16:48 (UTC) (edited on 2024-08-06 16:55 (UTC) by Lone_Wolf)

Canon also supports this driver on i686 and MIPS64 .

IF

you run archlinux (or something close to it) on such a processor

AND have a supported printer

AND are willing to help test necessary adjustments

THEN please send me an email.

Lone_Wolf commented on 2020-01-27 22:15 (UTC) (edited on 2020-01-27 22:16 (UTC) by Lone_Wolf)

The printers supported by this package are often networked.

problems can be in the cnrdrvcups-lb driver, but also with authentication over smb, vpn settings etc .

Troubleshooting those is often very hard.

Archlinux and derivatives are not supported by canon. Use whatever works for you, even if that means using canon drivers in a VM that runs a supported distro .

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

Lone_Wolf commented on 2024-09-15 09:51 (UTC)

Thanks, stray single quote removed.

I also noticed I had forgotten to reset pkgrel to 1 on updating to version 6. I have now done that and added epoch=1 to ensure pacman will update this package correctly.

SmallSharky commented on 2024-09-15 03:09 (UTC)

A little fix for aarch64

diff --git a/PKGBUILD b/PKGBUILD
index 95093db..92a3532 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -130,7 +130,7 @@ _setvars() {

     local -A _libsarchfolder
     _libsarchfolder['x86_64']="libs64/intel"
-    _libsarchfolder['aarch64']="libs64/arm'"
+    _libsarchfolder['aarch64']="libs64/arm"

     _vars=(
         _builddir="${srcdir}/${_srcdir}"

Lone_Wolf commented on 2024-08-06 16:54 (UTC)

The build error has been solved and the PKGBUILD has been adjusted to ensure future build/install errors will lead to abortion of the build.

The neccessary files for .desktop entries were present in the source and are now included in the package.

Lone_Wolf commented on 2024-07-09 09:54 (UTC)

Confirmed, good catch.

It appears the generated make_arch doesn't pass on the error, so build continued and a package was created as if everything was fine.

Not sure yet how to tackle this, it may be time to abandon the autogenerated scripts and revert to manual 'translation' of *.spec file to PKGBUILD .

64bitman commented on 2024-07-09 03:43 (UTC)

Getting this error when building

make[2]: Entering directory '/home/user/.cache/aur/cnrdrvcups-lb/src/extracted-cnrdrvcups-lb-5.90/cnrdrvcups-lb-5.90/cngplp/cngplpmod'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -O2 -fPIC -DDRIVER_TYPE_UFR2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -MT execjob.lo -MD -MP -MF .deps/execjob.Tpo -c -o execjob.lo execjob.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -O2 -fPIC -DDRIVER_TYPE_UFR2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -MT execjob.lo -MD -MP -MF .deps/execjob.Tpo -c execjob.c  -fPIC -DPIC -o .libs/execjob.o
execjob.c: In function 'util_encodeBase64':
execjob.c:146:24: warning: variable 'pTmpSrc' set but not used [-Wunused-but-set-variable]
  146 |         unsigned char *pTmpSrc = NULL;
      |                        ^~~~~~~
execjob.c: In function 'make_ppd_param':
execjob.c:718:31: warning: unused variable 'val' [-Wunused-variable]
  718 |                         char *val;
      |                               ^~~
execjob.c:1164:108: error: passing argument 3 of 'add_param_int' makes integer from pointer without a cast [-Wint-conversion]
 1164 |                                 num = add_param_int(ptr_param, kPPD_Items_CNJobResultNoticeAddress, ppd_opt->job_result_notice_address);
      |                                                                                                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                            |
      |                                                                                                            char *
execjob.c:431:53: note: expected 'int' but argument is of type 'char *'
  431 | int add_param_int(char **ptr_param, char *name, int value)

Lone_Wolf commented on 2024-07-04 11:25 (UTC)

@userfriendly

As suggestion/idea - maybe add cngplp2 (settings utility) and cnsetuputil2 (maybe with a 'sudo' in front of it) as Xdg-menu-entries. I would offer to have these gui-tools from the menu of your desktop.

I forgot to answer , will look at adding .desktop files for those.

Lone_Wolf commented on 2024-07-04 11:20 (UTC)

Aur packages assume that base-devel is installed, and automake is a dependency of base-devel.

see https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites

PreparationH67 commented on 2024-07-03 20:53 (UTC)

Looks like automake should also be added to the dependencies list. Hit a build issue on a fresh install that was still missing it but had all the other dependencies.

Lone_Wolf commented on 2024-05-02 19:05 (UTC)

@agomonos : The folders were actually created in package() , but removed later by makepkg because they were empty.

I changed options= to keep empty directories and remove 1 unnecessary empty dir (/usr/include) manually.

agomonos commented on 2024-05-02 10:03 (UTC)

Hi, I encountered some errors using id/job accounting. The problem resides in the folder "/etc/cngplp2/account" and "/etc/cngplp2/account/options/" not created by the package. These are used to store the configuration for root and users. I solved the problem by creating the folders with group sys so that cnjp* programs can access it and create the files with id/password. Since the files are created by the users the folders needs to have write right. I think that the pkgbuild needs to include the creation of these folders.