Package Details: cnijfilter-mg4200 3.80-3

Git Clone URL: (read-only, click to copy)
Package Base: cnijfilter-mg4200
Description: Canon IJ Printer Driver (for mg4200 series)
Upstream URL:
Licenses: custom
Submitter: KenjiTakahashi
Maintainer: TheGoliath (WilliamImm)
Last Packager: WilliamImm
Votes: 5
Popularity: 0.58
First Submitted: 2014-04-08 17:54
Last Updated: 2020-02-28 01:38

Latest Comments

TheGoliath commented on 2020-05-06 15:00

Thank @WilliamImm, he got the patch working ;)

TornaxO7 commented on 2020-05-06 14:41

Thank you for this package!!!! I can use finally my printer!!!!

TheGoliath commented on 2020-02-28 22:23

@WilliamImm nice work. Thank you :)

WilliamImm commented on 2020-02-28 01:38

There, it's updated. Let us know if there's any nonworking behavior - hopefully this is all that's needed to get it to work.

WilliamImm commented on 2020-02-14 02:14

Thanks, TheGoliath

To give you an idea of how extensive the changes are for compiling w/ current CUPS, here's a link to the WIP patch.

Note that the installation will still not compile with this patch, as bjcups.c from cngpij will also need to be modified with similar changes.

TheGoliath commented on 2020-02-13 15:55

@WilliamImm added you as a co-maintainer

WilliamImm commented on 2020-02-13 15:54

So the issues here happen to be a perfect storm: CUPS removed the private IPP header completely from installation, instead enforcing access through the getter & setter methods that are defined for it.

This does mean changing a lot of otherwise decprecated code to use those methods instead - I'm working on a patch all the same.

mokkurkalve commented on 2020-02-11 12:57

Build fails thus:

bjcupsmon_msgidset.c: In function ‘chk_inklow_part1’:
bjcupsmon_msgidset.c:352:62: warning: iteration 12 invokes undefined behavior [-Waggressive-loop-optimizations]
  352 |  for(i=0; i<sizeof(warning); i++) warning[i] = p_tbl->warning[i];
      |                                                ~~~~~~~~~~~~~~^~~
bjcupsmon_msgidset.c:352:2: note: within this loop
  352 |  for(i=0; i<sizeof(warning); i++) warning[i] = p_tbl->warning[i];
      |  ^~~
mv -f .deps/bjcupsmon_msgidset.Tpo .deps/bjcupsmon_msgidset.Po
make[2]: Leaving directory '/build/cnijfilter-mg4200/src/cnijfilter-source-3.80-1/cngpijmon/src'
make[1]:  [Makefile:312: all] Error 2
make[1]: Leaving directory '/build/cnijfilter-mg4200/src/cnijfilter-source-3.80-1/cngpijmon/src'
make:  [Makefile:358: all-recursive] Error 1
==> ERROR: A failure occurred in build().
==> ERROR: Build failed, check /home/eivind/work/build/chroot/eivind/build

Roken commented on 2020-02-11 11:10

Fails to build now, which is odd since the only change I can see is a switch from md5 sums to sha256sums.

Errors are:

bjcupsmon_cups.c:219:11: error: dereferencing pointer to incomplete type ‘ipp_t’ {aka ‘struct _ipp_s’} 219 | pRequest->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES;

bjcupsmon_cups.c:234:44: error: dereferencing pointer to incomplete type ‘ipp_attribute_t’ {aka ‘struct _ipp_attribute_s’} 234 | printerState = (ipp_state_t)pAttribute->values[0].integer;