Re: RFC: New release and abandoning MacOS?
Matt Broughton <[email protected]> Mon, 12 Aug 2024 12:01:25 -0500
| Newsgroups | gmane.linux.printing.gimp-print.devel |
|---|---|
| Message-ID | <[email protected]> |
> On Aug 10, 2024, at 9:31 AM, Matt Broughton <[email protected]> wrote: > > > >> On Aug 9, 2024, at 11:10 PM, Matt Broughton <[email protected]> wrote: >> >> >> >>> On Aug 9, 2024, at 8:42 PM, Michael Sweet <[email protected]> wrote: >>> >>> Matt, >>> >>>> On Aug 9, 2024, at 9:21 PM, Matt Broughton <[email protected]> wrote: >>>> ... >>>> Thank you for your help Michael. Unfortunately, I still can't get it to build all the way. >>>> >>>> I did as you said for building libusb and installed -- >>> >>> Hmm, maybe edit the installed libusb-1.0.pc to include the Libs.private on the end of the regular Libs, like this: >>> >>> Libs: -L${libdir} -lusb-1.0 -lobjc -Wl,-framework,IOKit -Wl,-framework,CoreFoundation >> >> Almost. You also need to add -Wl,-framework,Security which then matches Libs private. >> >> Libs: -L${libdir} -lusb-1.0 -lobjc -Wl,-framework,IOKit -Wl,-framework,CoreFoundation -Wl,-framework,Security >> Libs.private: -lobjc -Wl,-framework,IOKit -Wl,-framework,CoreFoundation -Wl,-framework,Security >> Cflags: -I${includedir}/libusb-1.0 >> >> Now it builds. I haven't tested the build yet, but this is a big step. Thank you Michael. You can also edit the libusb-1.0.pc.in file before you build. Add @LIBS@ to the end of the line for Libs: so it reads: Libs: -L${libdir} -lusb-1.0 @LIBS@ Matt _______________________________________________ Gimp-print-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gimp-print-devel