genose / macos-scanner-interface-twain-sane-binaries

TWAIN Sane Scanner Driver for MacOS (Yosemite 10.10 to Mojave 10.14)
MIT License
14 stars 1 forks source link

Road to new Package Installer for macOS 10.10 to 10.13 Mojave #1

Open genose opened 5 years ago

genose commented 5 years ago

Hi everyone,

I just activated the wiki, the report issues, and feature report feel free to leave some requests and comments ...

This repository offers you the simplest way to install Official Release of Old Scanner Support with thanksfull SANE Project Official Release

All in a User-Friendly Package Installer.

Follow instruction on Main Page https://github.com/genose/macos-scanner-interface-twain-sane-binaries

Regards.

genose commented 5 years ago

This content was originaly discuted from https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5

Hi everyone, I got the same issue as @mePy2 with MacOS Sierra 10.12.6, installer says "it was compiled on MacOS 10.11" ... and more

But by using the ancestral PackageMaker.app (fun app and usefull for creating and validate PKG for 10.4 to 10.6), i was able to re-PKG the bundle Project and install it ...

BUT, NOTHING appear in ImageCapture.app ...

BUT, on command line ;; scanimage --format jpg > test.jpg ;; my old Canon N670U (Lide20 compliant) revive and i got a nice scan sample. BUT a second use of this command and came the drama of "scanimage: no SANE devices found" BUT if i un-plug and re-plug my scanner, ;; scanimage --format jpg > test.jpg ;; work again.

Also got an error with my UMAX 1200SE : ;; scanimage: open of device artec_eplus48u:libusb:002:001-05d8-4010-00-00 failed: Invalid argument ;;

SO, therefore maybe, i propose to Team up i'm in !!

Configuration : MacOS 10.12.6 with XCode 7.2.1 (Customised, SDK 10.4 to 10.11) + XCode 9.2 (standard SDK, ) Scanner : Canon N670U + Umax 1200SE + Canon Lide20 Test Suite : MacOS 10.12.6 + MacOS 10.10.5 + MacOS 10.11.xxx

Regards.

Originally posted by @genose in https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-477282786

genose commented 5 years ago

This content was originaly discuted from https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5

Yeah Absolutly, let's organise ... What we got here, projects plannings funs Yeah !!

To improve our scalability and project success, may we first resume which are ours dev configurations, futheremore to help understanding issues and share efficiently ours Skils and knowledges, doesn't we ?

Last Time, i've a bit introduce myself and resume some resolution on how i unbrick the actual PKG, and obtain some encouraging or disgracefull results https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-477282786

// 1 // / *** Well i identify some ancestral recursive "not so issues" in your released package @tambovchanin, not blaming you see scripts are more than 2 years for now.

in M.E Sources you got 2 lines comparing System version (system.compareVersions(system.version.ProductVersion, '@MACOSX_DEPLOYMENT_TARGET@') < 0) || (system.compareVersions(system.version.ProductVersion, '@MACOSX_DEPLOYMENT_TARGETX1@') >= 1 ))

Where MACOSX_DEPLOYMENT_TARGETX1 == Upper Version of Targetted Version MACOSX_DEPLOYMENT_TARGET == Lower Version you Targetted or here the SDK Version

// 2 // / *** I made some "correction" (adaptative path select ) on build.sh, to find the Rigth XCode installation, Yes i Got Two(2) of them on my mac at least !!

Because XCode 7.2 is the only version reliable for compiling this project without errors ... and on XCode 9.2 / LLVM 9.0 / GCC 5.1, i got some strange wrong configuration flags for Cxx like "Back In Time machine" mode causing vanishing data type (u_long, uint) nor SDK was ignored.

// 3 // / *** Does it install Package ? YES, for 12.12.6 Just for based on 10.11 SDK We on the way @mePy2

par défaut 2019-04-01 à 20 16 14

// 4 // / *** Does it Work, Almost because BUGS ...

i've just understand how SANE find Scanner ... Mostly by Vendor ID for USB Descriptors

searching for USB scanners: found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:001:002-04a9-220d-ff-00

found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:002:001-04a9-220d-ff-00

found USB scanner (vendor=0x05ac [Apple Inc.], product=0x8215 [Bluetooth USB Host Controller]) at libusb:003:002-05ac-8215-ff-01

user@localhost$ scanimage -x 100 -y 100 --format=tiff >image.tiff scanimage: sane_start: Error during device I/O user@localhost$ scanimage -x 100 -y 100 --format=tiff >image.tiff scanimage: no SANE devices found

BUT, my Bluetooth antenna really not a scanner So this is, almost why the backend fail

// 5 // / *** Some mind appointments ...

So, an XCode Project with GitHub / GitLab Repo integration is necessary to make all our effort possible and mergeable in one nice maintened project.

Regards.

Originally posted by @genose in https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-478689284

genose commented 5 years ago

This content was originaly discuted from https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5 Hi everyone, check newly posted updates for MacOS 10.10 to 10.11; 10.12; 10.13

This release is just an unlocked revision of current Mattias Ellert sources

Got some issues to compile sane-backend with 10.13 SDK (some libcrypto version issues), this shall resolved soonly

Take a look on https://github.com/genose/macos-sierra-sane-binaries

Let me know your feedback Regards.

Originally posted by @genose in https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-486099532