Package Details: scangearmp-mg3200 2.00-4

Package Base: scangearmp-mg3200
Description: Canon Scanner Driver (for mg3200 series)
Upstream URL: http://support-my.canon-asia.com/contents/MY/EN/0100470802.html
Category: system
Licenses: custom
Submitter: morris555
Maintainer: morris555
Last Packager: None
Votes: 4
First Submitted: 2013-02-11 10:04
Last Updated: 2014-03-26 09:32

Dependencies (4)

Required by (0)

Sources

Latest Comments

Comment by gianni

2015-03-30 18:03

E presentado un error con este paquete el cual es:
==> ERROR: Falta la función package() en /tmp/yaourt-tmp-delta/aur-scangearmp-mg3200/./PKGBUILD
==> ERROR: Makepkg no ha podido compilar scangearmp-mp230.
ya lo habia instalado antes sin ningun problema pero e reinstalado arch y e presentado este error alguien conoce la solucion de dicho problema, se lo agradeceria de ante mano.

Comment by MikeDF

2014-06-13 11:32

First time AUR commenter and new Arch user!

Gimp is a heavy package, and with a simple patch it can be avoided.
Here's the configure patch I used:

--- scangearmp-source-2.00-1/scangearmp/configure.in 2012-02-10 00:53:01.000000000 +0000
+++ scangearmp-source-2.00-1.new/scangearmp/configure.in 2014-06-13 11:58:50.543949281 +0100
@@ -21,14 +21,12 @@
<same as the one already provided>

@@ -37,8 +35,6 @@
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)

-gimp_modules="gimp-2.0 >= 2.0.0"
-PKG_CHECK_MODULES(GIMP, [$gimp_modules])
AC_SUBST(GIMP_CFLAGS)
AC_SUBST(GIMP_LIBS)

@@ -48,8 +44,6 @@
AC_CHECK_HEADERS(png.h)

AC_CHECK_HEADERS(stdio.h)
-AC_CHECK_HEADERS(libgimp/gimp.h)
-AC_CHECK_HEADERS(libgimp/gimpcompat.h)

AC_CHECK_HEADERS(sane/sane.h)

@@ -64,7 +58,7 @@
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")

dnl OPTION
-CFLAGS="-O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64"
+CFLAGS="-O2 -D_FILE_OFFSET_BITS=64"

dnl Add the languages which your application supports here.
ALL_LINGUAS="cs da de el es fi fr hu id it ja ko nl nb pl pt ru sv th tr zh zh_TW"

This works with my MG3255 over the network.

Comment by lesebas

2014-03-25 22:02

gimp 2 is required during compilation, please add it in makedepends.

Comment by AdmiralAkber

2013-11-06 07:27

libusb-compat definitely needs to be added as a dependency, it is required for building and running of the software.

Otherwise it works on my MP230 after altering the PKGBUILD.

Comment by lesebas

2013-10-03 05:50

OK solved by isntalling libusb-compat. I think you should modify the PKGBUILD to includ following dependences :

gimp
libusb-compat

Comment by lesebas

2013-10-03 04:13

Hello

First error when compiling, it requests gimp but the package is not in dependences... solved by installing gimp (I need it by the way).

Second error :

libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DCNMSLIBPATH=/usr/lib/bjlib -DCNMSSANECONFPATH=/usr/lib/bjlib -DPACKAGE=\"scangearmp\" -DVERSION=\"2.00-1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_PNG_H=1 -DHAVE_STDIO_H=1 -DHAVE_SANE_SANE_H=1 -DHAVE_LIBZ=1 -DHAVE_ZLIB_H=1 -DGETTEXT_PACKAGE=\"scangearmp\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I. -I. -I./include -D_FORTIFY_SOURCE=2 -DV_MAJOR=2 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT libsane_canon_mfp_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp_tools.Tpo -c canon_mfp_tools.c -fPIC -DPIC -o .libs/libsane_canon_mfp_la-canon_mfp_tools.o
canon_mfp_tools.c:40:17: fatal error: usb.h: No such file or directory
#include <usb.h>
^
compilation terminated.
make[1]: *** [libsane_canon_mfp_la-canon_mfp_tools.lo] Erreur 1
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-sebastien/aur-scangearmp-mg3200/src/scangearmp-source-2.00-1/scangearmp/backend »
make: *** [all-recursive] Erreur 1