Could you please drop the .png extension from .desktop file?
Icon=scanner.png
Desktop file '/usr/share/applications/scangearmp2.desktop' should not include extension in Icon key: 'scanner.png'
Thanks!
| Git Clone URL: | https://aur.archlinux.org/scangearmp2.git (read-only, click to copy) |
|---|---|
| Package Base: | scangearmp2 |
| Description: | Canon ScanGear MP v2 scanner driver. |
| Upstream URL: | https://www.canon.co.uk |
| Licenses: | GPL, custom:canon |
| Provides: | scangearmp2 |
| Submitter: | iAndrewT |
| Maintainer: | pvdl1984 |
| Last Packager: | pvdl1984 |
| Votes: | 22 |
| Popularity: | 0.000697 |
| First Submitted: | 2016-12-22 23:29 (UTC) |
| Last Updated: | 2026-02-24 19:00 (UTC) |
« First ‹ Previous 1 2 3 4
Could you please drop the .png extension from .desktop file?
Icon=scanner.png
Desktop file '/usr/share/applications/scangearmp2.desktop' should not include extension in Icon key: 'scanner.png'
Thanks!
Thank you @KI9N! I've updated to version 3.90.
NEW VERSION 3.90, here is the link: http://gdlp01.c-wss.com/gds/7/0100010487/01/scangearmp2-source-3.90-1.tar.gz and here is the sha256sum: eda14ffe3110bf329a50b00a5546f353e5daa5ee5d3dffd442ddfaf9c280d682
@L1ghtmar3 seems you have installed a version of libtool with anaconda: libtoolize: '/opt/anaconda/share/aclocal/libtool.m4' Maybe the two versions conflicts or you have to instruct autoconf to use the right one.
grep '2.4.6'
[printf 0123456789abcdef0123456789abcdef >conftest.i
[printf 0123456789abcdef0123456789abcdef >conftest.i
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
m4_define([LT_PACKAGE_VERSION], [2.4.6.42-b88ce])
m4_define([LT_PACKAGE_REVISION], [2.4.6.42])
[macro_version='2.4.6.42-b88ce'
macro_revision='2.4.6.42'
@L1ghtmar3 I can't reproduce your error compiling with the same gcc command. Seems something wrong is in your src/scangearmp2-source-3.70-1/scangearmp2/aclocal.m4 auto-generated by autoconf. Can you post output of cat src/scangearmp2-source-3.70-1/scangearmp2/aclocal.m4 | grep '2.4.6'?
Fails to build for me with
/bin/sh ../libtool --tag=CC --mode=link gcc -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -L../../com/libs_bin64 -o scangearmp2 scangearmp2-main.o scangearmp2-canon_mfp_io.o scangearmp2-canon_mfp_tools.o scangearmp2-mainui.o scangearmp2-selectdevice.o scangearmp2-scanmain.o scangearmp2-errordlg.o scangearmp2-progressbar.o scangearmp2-file_control.o scangearmp2-keep_setting.o scangearmp2-jpeg2pdf.o scangearmp2-cnmsfunc.o scangearmp2-callbacks.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lusb-1.0 -lcncpmslld2 -lcncpnet2 -lcncpnet20 -lcncpnet30 -lpthread
libtool: Version mismatch error. This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.42-b88ce.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[2]: *** [Makefile:448: scangearmp2] Error 63
make[2]: Leaving directory '/tmp/yaourt-tmp-****/aur-scangearmp2
/src/scangearmp2-source-3.70-1/scangearmp2/src'
make[1]: *** [Makefile:424: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-****/aur-scangearmp2/src/scangearmp2-source-3.70-1/scangearmp2'
make: *** [Makefile:356: all] Error 2
==> ERROR: A failure occurred in build().
while
pacman -Q libtool
libtool 2.4.6+42+gb88cebd5-1
updated to version 3.70
updated to version 3.50.
Pinned Comments
pvdl1984 commented on 2022-03-26 11:26 (UTC)
I also created the AUR scangearmp2-sane-git which uses the github repository below. It includes a slightly upgraded GUI for scangearmp2, but more importantly provides a sane driver.