Building the Canon MF3010 Printer Driver on Fedora 25

To build the Canon imageCLASS MF3010 Linux driver from source, download the “UFR II/UFR II LT Printer Driver for Linux V3.20” archive from Canon’s support website. On Fedora 25, you need two adjustments to build the RPM cleanly: 1. Spec File Patch (cndrvcups-common.spec) Exclude internal dependency requirements and apply the gmodule patch: --- cndrvcups-common.spec.orig 2016-11-16 14:37:13.341877857 +0530 +++ cndrvcups-common.spec 2016-11-16 14:34:40.674461102 +0530 @@ -1,5 +1,6 @@ %define VERSION 3.60 %define RELEASE 1 +%global __requires_exclude ^libcaiousb.so$ %ifarch x86_64 %define libs32 /usr/lib @@ -19,6 +20,7 @@ Vendor: CANON INC. Group: Applications/Publishing Source: cndrvcups-common-%{version}-%{release}.tar.gz +Patch0: cndrvcups-common-gmodule.patch BuildRoot: %{_tmppath}/%{name}-root @@ -27,6 +29,8 @@ BuildRoot: %{_tmppath}/%{name}-root %prep %setup -q +%patch0 -p1 + cd buftool ./autogen.sh --prefix=%{_prefix} --enable-progpath=%{_bindir} --libdir=%{_libdir} --disable-shared --enable-static 2. Add gmodule Dependency Patch In modern Fedora releases, gmodule must be explicitly included in PKG_CHECK_MODULES: ...

November 16, 2016 · 1 min