Package Details: cnijfilter-mg4200 3.80-6

Git Clone URL: https://aur.archlinux.org/cnijfilter-mg4200.git (read-only, click to copy)
Package Base: cnijfilter-mg4200
Description: Canon IJ Printer Driver (for mg4200 series)
Upstream URL: https://sg.canon/en/support/0100469302
Licenses: custom
Submitter: KenjiTakahashi
Maintainer: WilliamImm
Last Packager: WilliamImm
Votes: 8
Popularity: 0.150747
First Submitted: 2014-04-08 17:54 (UTC)
Last Updated: 2020-08-28 16:44 (UTC)

Latest Comments

« First ‹ Previous 1 2

TornaxO7 commented on 2020-05-06 14:41 (UTC)

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

WilliamImm commented on 2020-02-28 01:38 (UTC)

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 (UTC)

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.

WilliamImm commented on 2020-02-13 15:54 (UTC)

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 (UTC)

Build fails thus:

(....snip...)
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().
    Aborting...
==> ERROR: Build failed, check /home/eivind/work/build/chroot/eivind/build

Roken commented on 2020-02-11 11:10 (UTC) (edited on 2020-02-11 11:11 (UTC) by Roken)

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;