Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
genose opened this issue May 2, 2019 · 3 comments
Open

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

genose opened this issue May 2, 2019 · 3 comments
Labels
good first issue Good for newcomers

Comments

@genose
Copy link
Owner

genose commented May 2, 2019

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 genose added the good first issue Good for newcomers label May 2, 2019
@genose
Copy link
Owner Author

genose commented May 2, 2019

This content was originaly discuted from tambovchanin#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 tambovchanin#5 (comment)

@genose
Copy link
Owner Author

genose commented May 2, 2019

This content was originaly discuted from tambovchanin#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
tambovchanin#5 (comment)

// 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 ...

  • HomeBrew Packager is certainly nice to obtain the best version of librairies, adapted and compatible with your Running MacOS, but our can bundle some magical wizard spell in the compilation process and running an installation pre-fligth script

  • TWAIN Interface, is why i'm here, so i personally want to maintain it, beside Adobe Photoshop (up to version 2015), want to Drop the support of TWAIN Integration

  • Other pre-requirement are not install in the same time, it's quite annoying

  • Take the fly on Official Release ( https://gitlab.com/sane-project ) and report / patch to our platform and make PKG for it

  • it took me the afternoon to obtain thoses result and it's not some fun, cause after i had to commit my modification to the public

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 tambovchanin#5 (comment)

@genose
Copy link
Owner Author

genose commented May 2, 2019

This content was originaly discuted from tambovchanin#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 tambovchanin#5 (comment)

@genose genose pinned this issue May 2, 2019
@genose genose unpinned this issue May 2, 2019
@genose genose pinned this issue May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant