Package Details: cnijfilter-common 4.10-4

Git Clone URL: (read-only, click to copy)
Package Base: cnijfilter-common
Description: Canon IJ Printer Driver (Common Package)
Upstream URL:
Licenses: custom
Conflicts: canon-pixma-mx920-complete, lib32-cnijfilter320
Submitter: elb
Maintainer: sbmomeni
Last Packager: sbmomeni
Votes: 38
Popularity: 0.000001
First Submitted: 2008-10-13 15:16 (UTC)
Last Updated: 2021-10-27 07:27 (UTC)

Latest Comments

sbmomeni commented on 2021-10-27 07:28 (UTC) (edited on 2021-10-27 07:50 (UTC) by sbmomeni)

@dreieck The canon-pixma-mx920-complete is added to the conflicts array. An alternative package which is compatible with cnijfilter-common is the cnijfilter-mx920.

dreieck commented on 2021-10-26 14:52 (UTC)

cnijfilter-common and canon-pixma-mx920-complete should conflict:

error: failed to commit transaction (conflicting files)
cnijfilter-common: /etc/udev/rules.d/81-canonij_prn.rules exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/bin/cngpij exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/bin/cngpijmnt exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/bin/cnijnetprn exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/bin/cnijnpr exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/lib/bjlib/cnnet.ini exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/lib/cups/backend/cnijnet exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/lib/cups/backend/cnijusb exists in filesystem (owned by canon-pixma-mx920-complete)
cnijfilter-common: /usr/lib/cups/filter/pstocanonij exists in filesystem (owned by canon-pixma-mx920-complete)
Errors occurred, no packages were upgraded.

Thanks for adding the appropriate conflicts entry!

virtualdxs commented on 2020-09-17 21:31 (UTC)

Works now, thanks!

sbmomeni commented on 2020-09-17 15:32 (UTC)

@virtualdxs Patched. Test again.

virtualdxs commented on 2020-09-05 20:13 (UTC)

Not compiling:

make[3]: Entering directory '/home/duncan/.cache/yay/cnijfilter-common/src/cnijfilter-source-4.10-1/cnijnpr/src'
gcc -m32 -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -O2 -MT cnijnpr.o -MD -MP -MF .deps/cnijnpr.Tpo -c -o cnijnpr.o cnijnpr.c
cnijnpr.c:35:10: fatal error: sys/sysctl.h: No such file or directory
   35 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

switchboy commented on 2019-10-20 14:55 (UTC)

It's working now

sbmomeni commented on 2019-10-18 18:19 (UTC)

@switchboy Updated. Test again.

switchboy commented on 2019-10-18 14:45 (UTC)

It does not compile:

bjcups.c:701:11: error: dereferencing pointer to incomplete type ‘ipp_t’ {aka ‘struct _ipp_s’} 701 | pRequest->request.op.operation_id = CUPS_GET_PRINTERS; | ^~ bjcups.c:719:45: error: dereferencing pointer to incomplete type ‘ipp_attribute_t’ {aka ‘struct _ipp_attribute_s’} 719 | while (pAttribute != NULL && pAttribute->group_tag != IPP_TAG_PRINTER) { | ^~

yodaembedding commented on 2017-09-29 23:26 (UTC)

For some reason, this does not show up in CUPS as a possible driver. (cnijfilter2, however, does)

sbmomeni commented on 2016-05-09 18:15 (UTC)

@curiouseag: Thanks for noting it. Now, I symlink individual files to keep contents in one place without conflicting with other packages. @Maxqia, @bokailya: Yes, version 4.10 is available. Based on the code changes, it seems that other cnijfilter packages (>=3.20 versions) are compatible with version 4.10 of the common package.

maxqia commented on 2016-05-09 04:16 (UTC)

Seems like libxml2 is required, it's in a lot of other cnijfiler-based pkgbuilds. Also 4.10 seems to be out. (See here

bokailya commented on 2016-05-06 22:54 (UTC)

@sbmomeni but i can't build cnijfilter-common itself without lib32-libusb and lib32-libxml2 sr/bin/ld: cannot find -lxml2 collect2: error: ld returned 1 exit status Makefile:399: recipe for target 'cnijlgmon2' failed

maxqia commented on 2016-05-04 23:02 (UTC) (edited on 2016-05-04 23:06 (UTC) by maxqia)

How does this change anything? What error needs that fix anyway?

curiouseag commented on 2016-05-03 14:51 (UTC) (edited on 2016-05-03 14:52 (UTC) by curiouseag)

hey I needed to fix the pkgbuild, you may want to take a look the problem is, when you symlink other packages can not use the folder. Copy paste and delete instead for 64bit.

sbmomeni commented on 2016-03-24 10:03 (UTC)

@Maxqia: I modified your patch (to fix the link target issue) and then applied it.

sbmomeni commented on 2016-03-24 09:42 (UTC)

@Maxqia: Replacing the "ln -s /usr" with "cp -rs ${pkgdir}/usr" creates absolute symbolic links to the "${pkgdir}" location. That is, if you delete the build directory after installing the package, the package will contain dangling links to the "${pkgdir}" instead of the "/usr" folder.

maxqia commented on 2016-03-20 11:44 (UTC)

Found the original cause of my problem, here's a patch to fix it.

sbmomeni commented on 2016-03-11 17:50 (UTC)

@Maxqia: Multiple printer drivers depend on this package and some of them do not ship the libs_bin64 folder at all. Compiling this package with native 64bits libs will break all of them.

maxqia commented on 2016-03-06 07:31 (UTC) (edited on 2016-03-06 07:57 (UTC) by maxqia)

I was getting an error (lpadmin: Bad device-uri scheme "cnijnet".) on my 64-bit machine so I added native 64-bit support. Here's the patch :

sbmomeni commented on 2015-10-07 16:01 (UTC)

@craeckie: 1. The lib32-libusb package is a dependency of scangearmp-mpseries-common package which is for the scanning functionality of mpseries devices. 2. The lib32-libxml2 package is a dependency of some of actual mpseries drivers which depend on cnijfilter-common (not a dependency of cnijfilter-common itself). For example, the cnijfilter-mp550 package depends on lib32-libxml2.

craeckie commented on 2015-09-29 17:27 (UTC)

requires lib32-libusb and lib32-libxml2.

sbmomeni commented on 2015-08-04 21:35 (UTC)

@aus4000: cnijfilter-common is now updated to version 4.00. As it does not introduce breaking changes, MP series which are dependent on version 3.20 should work with version 4.00 too.

luka-devnull commented on 2015-07-25 05:36 (UTC)

I actually found while building my package for cnijfilter-mg5500series that it includes a cnijfilter-common package that's newer than this one. Can you take a look and see if yours can be updated to this one? I also seem to have found this, which seems to be just the IJ common source files like yours:

allencch commented on 2013-07-01 14:53 (UTC)

The PKGBUILD should be updated, package() { cd ${pkgdir} $startdir/src/cnijfilter-common-$pkgver-1.i386.rpm mkdir -p usr/share/licenses/${pkgname} mv usr/share/doc/cnijfilter-common-$pkgver/* usr/share/licenses/${pkgname} rm -rf usr/share/doc chmod -R a+rX usr/ }

commented on 2013-05-30 22:55 (UTC)

tomorrow I going to look for i386 problems

rhon commented on 2013-03-30 12:46 (UTC)

Duologic : Ok, to avoid breaking other packages, I will create a new cnijfilter-common

Duologic commented on 2013-03-24 11:02 (UTC)

rhon: Keep in mind that many canon-drivers depend on the 3.00 version, I recommend to create a new AUR package instead of updating this one. Canon is not very consistent in driver updates.

rhon commented on 2013-03-23 20:41 (UTC)

Hi, Could you please update this package to 3.8 version using this PKGBUILD : I need this upgrade to submit cnijfilter-mg5400series which has a dependency on 3.8 version. Thanks.

Duologic commented on 2012-01-09 13:40 (UTC)

For which printer do you need it, sdonk?

sdonk commented on 2012-01-09 08:56 (UTC)

Package is out to date, current version is 3.50

commented on 2011-07-07 19:22 (UTC)

==> Continue building lib32-popt ? [Y/n] ==> ------------------------------------ ==> ==> Building and installing package ==> Install or build missing dependencies for lib32-popt: resolving dependencies... warning: dependency cycle detected: warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency looking for inter-conflicts... :: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: gcc-libs-multilib and gcc-libs are in conflict ==> Restart building lib32-popt ? [y/N] ==> ----------------------------------- ==> ==> Restart building cnijfilter-common ? [y/N] ==> ------------------------------------------ ==> ==> WARNING: Following packages have not been installed: lib32-popt cnijfilter-common

elb commented on 2010-04-14 10:41 (UTC)

Teo, I've just submitted cnijfilter-ip4700series and cnijfilter-common320. Please try these and let me know if they work, since I don't have the printer to verify. Canon drivers successive versions address specific printer models, so version 3.20 will work for some printers including IP4700, but not for most other Canon inkjets. That is the reason why I created cnijfilter-common320, cnijfilter-common270 and the like. cnijfilter-common should not be changed because it would probably break printer drivers that rely on it. It should be renamed to cnijfilter-common300 some time.

teo commented on 2010-04-13 10:46 (UTC)

cnijfilter-ip4700 requires cnijfilter-common-3.20