macos-sierra-sane-binaries icon indicating copy to clipboard operation
macos-sierra-sane-binaries copied to clipboard

macOS Mojave update

Open mePy2 opened this issue 6 years ago • 34 comments

mePy2 avatar Oct 31 '18 10:10 mePy2

You can't launch it on Mojave?

tambovchanin avatar Mar 13 '19 11:03 tambovchanin

Hi, thank you for your reply! I didn’t expect it xD

Unfortunately no... twain-sane-interface-macos

mePy2 avatar Mar 13 '19 13:03 mePy2

I would compile your project from the source with the Mojave SDK. But I need some help, I tried to build it from the original source code on Mattias Ellert site but nothing. (I didn’t want to install the gettext library) also, I installed libusb from homebrew too, instead the M. E. source code search the libusb lyb into another directory.

PS: Could you please put your source code on GitHub too? Also for the openness of the project itself.

mePy2 avatar Mar 13 '19 13:03 mePy2

Will check all again

tambovchanin avatar Mar 13 '19 13:03 tambovchanin

I would compile your project from the source with the Mojave SDK. But I need some help, I tried to build it from the original source code on Mattias Ellert site but nothing. (I didn’t want to install the gettext library) also, I installed libusb from homebrew too, instead the M. E. source code search the libusb lyb into another directory.

PS: Could you please put your source code on GitHub too? Also for the openness of the project itself.

I am get sources from official site http://www.ellert.se/twain-sane/

tambovchanin avatar Mar 13 '19 13:03 tambovchanin

Ah oh, ok, thank you. I thought you modified them. So you just run the build.sh in the source folder?

mePy2 avatar Mar 13 '19 13:03 mePy2

Intall gettext sdk, libusb sdk and macos sdk and run build

ср, 13 мар. 2019 г., 16:32 Umberto [email protected]:

Ah oh, ok, thank you. I thought you modified them. So you just run the build.sh in the source folder?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-472422894, or mute the thread https://github.com/notifications/unsubscribe-auth/AE4TYkRFrGlOiYTH47bOvsBADrKUVg81ks5vWP3dgaJpZM4YD0qW .

tambovchanin avatar Mar 13 '19 13:03 tambovchanin

Could you please link where you picked the sdks from? I would like to make my installation as similar to yours as possible. Did you install libsub from Homebrew or from source?

mePy2 avatar Mar 13 '19 13:03 mePy2

If you agree, we could start a kind of documentation for the Mattias Ellert source. I’m curious how does his code work.

mePy2 avatar Mar 13 '19 13:03 mePy2

Sources on GitHub

ср, 13 мар. 2019 г., 16:47 Umberto [email protected]:

Could you please link where you picked the sdks from? I would like to make my installation as similar to yours as possible. Did you install libsub from Homebrew or from source?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-472428294, or mute the thread https://github.com/notifications/unsubscribe-auth/AE4TYmvUPCRk5GSSslBqWGDZfAzCpZjuks5vWQFqgaJpZM4YD0qW .

tambovchanin avatar Mar 13 '19 14:03 tambovchanin

Sources on GitHub ср, 13 мар. 2019 г., 16:47 Umberto [email protected]:

What do you mean?

mePy2 avatar Mar 13 '19 14:03 mePy2

Hi @tambovchanin. Could you please post all the links where I have to download the sources? I can do it, but I want to be sure I’m taking your same packages. Thank you

mePy2 avatar Mar 18 '19 19:03 mePy2

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.

genose avatar Mar 27 '19 18:03 genose

Nice idea. I’m in too!

I think it’s not so difficult since Mattias Ellert made all the work. I just have to figure out how to install the sources...

About your problem (unplug and plug the scanner) I think I have already read something. Search in the forums/Google. Anyway I would like everything to work as expected.

Again, I’m in. I need some help though.

Best

mePy2 avatar Mar 28 '19 08:03 mePy2

Please guys, let’s activate ourselves! We should be able to solve it quickly.

mePy2 avatar Mar 29 '19 22:03 mePy2

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

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

genose avatar Apr 01 '19 18:04 genose

Hi, I read your email immediately, two days ago but I didn’t reply since I wasn’t at home. I am seriously in in this project since I would like to continue maintaining it too. I will try my best since I am not really a programmer and things.

I know their official GitLab repo too (where I submitted this problem) and seems they have no macOS developer to help them. So making a network between us (macOS users/developer) is really important IMO.

I think we should open a new repo too. GitHub or GitLab is fine for me. @genose I would give Mattias Ellert source a try instead of looking into the prebuilt pkg. If you want, create this repo and add me. I would like to start asap.

Best

mePy2 avatar Apr 03 '19 08:04 mePy2

Hi everyone ! @mePy2, in fact i used the sources of Mattias Ellert in first place to build thoses PKG you've seen in my last pictures. With just a little code-Reviews / code-updates in place to make it all work Nice, and it finish in a PKG formula

I hate complicated compile / built thing procedure with less chance of success than an fully tested and approuved PKG, a user still a non technician nor he shall buy a new Scanner for less time and more confort

I say NO to Planned Obsolence and further Capitalism non-sense.

So, for now, I Create a New Branch with my corrections : https://github.com/genose/macos-sierra-sane-binaries

Next, may i'll accept to join GitLab and make a Maintener Request if Mattias Ellert doesn't work on it anymore

@tambovchanin , has a Fork of your repository i still concern about your further work and participation

Regards.

genose avatar Apr 03 '19 17:04 genose

I’m sorry I didn’t know about it.

I say NO to Planned Obsolence and further Capitalism non-sense.

I agree 100%.

I am planning to create a macOS standalone app too in the future, so people can install the app directly and use their scanner. Simplest solution IMO.

mePy2 avatar Apr 03 '19 19:04 mePy2

Hi Everyone, @mePy2, not quite sure to understand, did you mean an Standalone apps (Like ImageCapture.app) using TWAIN Support via SANE TWAIN Project ? or Standalone apps like the most popular All-in-One is [VueScan] or Standalone Installation PKG Apps against 5 PKG ?

in all Case, once all was Released, for better compatibility a custom or commercial App must use TWAIN interface SDK i've see some docs and sources on developper.apple.com but many are old fashion SDK or about IOS SDK

Also, on [TWAIN.org] or some SDK belong the language you will using

Hope to find the way Regards.

genose avatar Apr 03 '19 20:04 genose

Yes there are some alternatives. Now I’m undecided xD everything seems a good option to me. If we can make the interface to work, there is no need for an app maybe.

Anyway I checked your pkgs there are all for Mac OS X 10.11. What about uploading a YouTube video showing how to compile the Mattias Ellert sources? Also I think we should comment its code. I’m new to C and I cannot understand it.

I would like to be able to build them myself.

Inviato da iPhone

Il giorno 3 apr 2019, alle ore 22:26, genose.orghttp://genose.org <[email protected]mailto:[email protected]> ha scritto:

Hi Everyone, @mePy2https://github.com/mePy2, not quite sure to understand, did you mean an Standalone apps (Like ImageCapture.app) using TWAIN Support via SANE TWAIN Project ? or Standalone apps like the most popular All-in-One is [VueScanhttps://www.hamrick.com/reg.html] or Standalone Installation PKG Apps against 5 PKG ?

in all Case, once all was Released, for better compatibility a custom or commercial App must use TWAIN interface SDK i've see some docs and sources on developper.apple.comhttps://developer.apple.com/search/?q=image%20capture but many are old fashion SDK or about IOS SDK

Also, on [TWAIN.orghttps://www.twain.org/forums/] or some SDK belong the language you will using

Hope to find the way Regards.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-479645549, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYh1St321oCxik_auksjibM-FzjK5upYks5vdQ5ggaJpZM4YD0qW.

mePy2 avatar Apr 03 '19 20:04 mePy2

Hi everyone, i've had confirmation to began as the Holy-maintainer for MacOS on TWAIN SANE Project. (sorry I shine in my head, so happy, not so humble about me actually, such a fool ... ) It seems, [FR] Hélas chers amis [/FR] , Mathias Ellert had no more interest in project.

Comment the code ... this was based on official 1.025 Release, all other things is just XCode-kind and an Knowledge in XCode's background , Well ... i 've understand, you are some sort of begeneer in C/C++ , but here, all is about MacOS Programming things and backgrounds ...

A Video will be just a tutorial on MacOS Programming Class Session 101 ... YES I can give a try ... Also i've already explained why and HOW doing it in preview messages

But in all case i'll will provide a more effecient way to build and generate further version (Developer only), PKG Release for all users. and Stopping write on this topic to done a more adapted one otherwhere else

For Now, i'll trainning on how TWAIN SANE work and How adapt it on 10.13 and 10.14, but cause of some identified issues on 10.12, i've decide to NOT release and let PKG work on this system version

Safety is number one Priority

Let me know you opinions. Regards

genose avatar Apr 09 '19 18:04 genose

Hi @genose I don’t know why but I find somehow “difficult” sometimes understand what you want to say xD. Anyway I’m really happy you became the maintainer of it. Still I do not understand very well... what "TWAIN SANE Project” are you talking about?

About commenting, I just gave a quick look at the code and I thought I needed just few explanation of it to better understand how to collaborate to the project. What do you mean with Xcode-kind? What are you referring to?

Anyway, yes, a new Project is required in my opinion. I would suggest opening a new GitLab/GitHub repository.

I think we should start to work all together right now.

Recently I was looking for a macOS native alternative to libusb work. What do you think about?

mePy2 avatar Apr 09 '19 19:04 mePy2

hi everyone, hummm, how could i say ... in the past i worked with usb 1.1 device with native MacOS (10.4) and it was a bit hard ... so many stuff to handle ... libusb was a great superset to work with, but not always efficient than Native MacOS API was (yeah cause libusb it's a superset / wrapper on it )

TWAIN SANE [Project] Yeap, it's the Sane Project, i'm just obcessed by the revive of TWAIN Support

I don't know so much on how Sane source's are, but i'm work on it

about "XCode-Kind" i mean : all the heck in command line to build a project and assemble all binary to form a valid PKG, cause the build.sh in Mattias Ellert sources use that

Yep, i'm [translate.google.fr] sometime / somehow to write messages, but i'm also a bit sarcastic

GitHub / GitLab, i agree ... once i'm update my Repo ...

Regards.

genose avatar Apr 09 '19 20:04 genose

@genose Ok. Thank you. Keep us updated! :)

mePy2 avatar Apr 09 '19 20:04 mePy2

How is going? @genose

mePy2 avatar Apr 16 '19 15:04 mePy2

I Everyone, i'm a bit busy until May 2019; cause of Personal Project, just some J2EE Learning Course ...

Yeah nothing about Twain-Sane, Hope to Release a test drive for 10.13 this week (Just Stupidly unleash restriction of actual package version) and after that, make some correction and after that, unleash the power of current 1.27 Official version ...

And after that TWAIN, TWAIN, TWAIN ... Photoshop must give it to me !!

Hope we'll enjoy it. Regards.

PS : i'd like now to engage new post in this repo : https://github.com/genose/macos-sierra-sane-binaries

genose avatar Apr 16 '19 21:04 genose

Great! Thank you!

Inviato da iPhone

Il giorno 16 apr 2019, alle ore 23:55, genose.orghttp://genose.org <[email protected]mailto:[email protected]> ha scritto:

I Everyone, i'm a bit busy until May 2019; cause of Personal Project, just some J2EE Learning Course ...

Yeah nothing about Twain-Sane, Hope to Release a test drive for 10.13 this week (Just Stupidly unleash restriction of actual package version) and after that, make some correction and after that, unleash the power of current 1.27 Official version ...

And after that TWAIN, TWAIN, TWAIN ... Photoshop must give it to me !!

Hope we'll enjoy it. Regards.

PS : i'd like now to engage new post in this repo : https://github.com/genose/macos-sierra-sane-binarieshttps://github.com/genose/macos-sierra-sane-binaries

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/tambovchanin/macos-sierra-sane-binaries/issues/5#issuecomment-483858745, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYh1SmUr9m-2OsJ9N1MBCYbxT0gwEAZ1ks5vhkbVgaJpZM4YD0qW.

mePy2 avatar Apr 17 '19 06:04 mePy2

@genose may this help? https://developer.apple.com/library/archive/documentation/DeviceDrivers/Conceptual/USBBook/USBIntro/USBIntro.html#//apple_ref/doc/uid/TP40002643-TPXREF101

mePy2 avatar Apr 21 '19 19:04 mePy2

Hi everyone, check newly posted updates for MacOS 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.

genose avatar Apr 24 '19 07:04 genose