[Back to Index]
[00:08] <-- ccawley2011 left irc: Quit: Leaving
[01:05] <grogbot> <Coz> Finally got around to trying to compile on MacOS (M1). I'm impressed how fast it is! Question though. I am following the wiki and used Homebrew to grab the libraries and the command line compilation method. It works great, but I'd like to build an app bundle. The wiki says I need to run configure with a --with-staticlib option (assuming I point it to my libraries in /opt/homebrew/Cellar) in order to build an app bundle, but apparently
[01:05] <grogbot> this is not a supported option by the configure script?
[01:14] <-- L0ngcat left irc: Remote host closed the connection
[01:14] <-- marcusr left irc: Remote host closed the connection
[01:15] --> L0ngcat joined #scummvm.
[01:15] --> marcusr joined #scummvm.
[01:15] <grogbot> <criezy> I don't remember we ever had a --with-staticlib option. Maybe that is a typo and it was meant to be --with-staticlib-prefix that allows to specify the directory where the static libraries can be found to build the bundle. But it is usually not needed as configure can detect the usual places where they can be found.
[01:16] <grogbot> <Coz> Hm, make bundle was erroring when make -j4 was working, so I just assumed it was needing static libraries
[01:16] <grogbot> <criezy> One issue you might have though is that I am not sure homebrew provides static libraries for all the dependencies used by ScummVM.
[01:17] <grogbot> <Coz> Ah, that could explain it then
[01:19] <grogbot> <criezy> I think it might get only dynamic libraries for some, and maybe most, of the libraries. But I have not used Homebrew for a while, so I am not sure that is still the case.
[01:19] <grogbot> <criezy> And indeed that is a typo on the wiki. I will fix that.
[01:20] <grogbot> <Coz> Ok, thanks for the info. Not too worried about it as I don't really need it to be portable, was more doing it for convenience. Thanks for the wiki page, incredibly helpful. Though I couldn't get the Xcode method to build properly - it actually complained about encountering too many errors. I've always found Xcode a bit complicated though.
[01:24] <-- vliaskov left irc: Ping timeout: 258 seconds
[01:26] <grogbot> <criezy> I don't usually use Xcode. But I used it once on my M1 MacBook a few weeks ago so I know it works. But it is possible that the instructions are missing a crucial step or that it has recently been broken.
[01:27] --> vliaskov joined #scummvm.
[01:28] <grogbot> <Coz> I'm just glad I got it compiled at all. I suppose with Rosetta 2 it isn't a big deal, but if I can get a native binary, why not?
[01:30] <grogbot> <Coz> I did notice that homebrew now has the jpeg library available now, so adding that into the list of libraries to install let me get more engines compiled than I originally was able to
[01:30] <grogbot> <criezy> Yes it works well with Rosetta 2, but a native build might be a bit more gentle on the battery.
[01:30] <grogbot> <Coz> My thought exactly
[01:31] <grogbot> <criezy> JPEG is not new. Is that missing on the wiki? Since I have not used it in a while it's possible that the list is not up to date (the list for MacPorts should be more up to date).
[01:33] <grogbot> <Coz> Ah, yes it was missing on the homebrew list of libraries to install but I noticed it did exist after I looked into why certain engines didn't have support compiled in
[01:34] <grogbot> <criezy> I see it lists jpeg-turbo. That one didn't work?
[01:34] <grogbot> <Coz> jpeg-turbo is on there but that was not what I needed
[01:34] <grogbot> <Coz> libjpeg was what I needed
[01:34] <grogbot> <criezy> Normally ScummVM should be able to use either jpeg or jpeg-turbo.
[01:35] <grogbot> <criezy> It doesn't need both.
[01:35] <grogbot> <Coz> Strange, the configure script complained about it missing with just the jpeg-turbo library installed via homebrew
[01:36] <grogbot> <criezy> I will try to remember to check that the next time I am on my computer.
[01:37] <grogbot> <Coz> Sounds good, this was from scratch with no development environment or libraries installed prior, so if you are unable to repro or anything let me know and I can get more detailed info. I know this is sort of high level and not very specific.
[01:41] <grogbot> <Coz> And also, new architecture and all so I know this process hasn't really had a whole lot of attention. Like I said, just pleasantly surprised and glad it works and there is a document on it.. so thank you again.
[02:45] --> Shine_ joined #scummvm.
[03:02] --> vliaskov_ joined #scummvm.
[03:04] <-- vliaskov_ left irc: Remote host closed the connection
[03:06] <-- vliaskov left irc: Ping timeout: 258 seconds
[03:32] --> Shine__ joined #scummvm.
[03:35] <-- Shine__ left irc: Read error: Connection reset by peer
[03:35] <-- Shine_ left irc: Ping timeout: 240 seconds
[04:32] --> Shine_ joined #scummvm.
[05:18] <ScummBot> Port build status changed with 9a33d895: Failure: master-amigaos4
[05:18] <-- |Cable| left irc: Ping timeout: 260 seconds
[05:21] --> |Cable| joined #scummvm.
[07:15] --> ny00123 joined #scummvm.
[07:36] <grogbot> <lephilousophe> @criezy --with-staticlib implies that configure will call pkg-config with --static flag, that only works on MacOSX target for now but it's the good way to do this: pkg-config will add dependent libraries too (eg. for freetype it will return -lfreetype -lbz2 instead of only -lfreetype)
[07:40] <grogbot> <lephilousophe> @Coz I built a toolchain for MacOSX on Linux, x86_64 only for now, but using macports libjpeg-turbo and it works. Could you paste somewhere your config.log?
[08:13] <-- Shine_ left irc: Read error: Connection reset by peer
[08:21] --> ldevulder_ joined #scummvm.
[08:25] <-- ldevulder left irc: Ping timeout: 246 seconds
[08:38] Nick change: ldevulder_ -> ldevulder
[08:44] <-- JohnnyonFlame left irc: Read error: Connection reset by peer
[09:00] <grogbot> <criezy> @lephilousophe I think you mean --enable-static. There is no --with-staticlib option in configure.
[09:01] --> vliaskov joined #scummvm.
[09:03] <grogbot> <criezy> Also the wiki had this: > --with-staticlib=/path/to/install/dir if your libraries are not in a standard place (e.g. you compiled the libraries manually with a custom installation directory). This is only used when building the application bundle. Here it obviously meant the --with-staticlib-prefix option.
[09:16] <grogbot> <lephilousophe> sorry I meant --with-staticlib-prefix=
[09:16] <grogbot> <lephilousophe> that's what I used for new buildbot
[09:17] <grogbot> <lephilousophe> which sets the prefix and enables --static-libs for pkg-config
[09:20] <-- cd left irc: Quit: cd
[09:21] <-- APic left irc: Ping timeout: 240 seconds
[09:31] --> APic joined #scummvm.
[11:09] --> Shine_ joined #scummvm.
[11:21] <-- |Cable| left irc: Ping timeout: 276 seconds
[11:21] --> |Cable| joined #scummvm.
[11:46] <kevinalphajameso> I'm using Gboard to type in English (US) (QWERTY). You can try it at: https://gboard.app.goo.gl/V9E3J
[11:46] <kevinalphajameso> ... AA restrict code ... Dxcvhjafgeropshutricsffff
[11:46] <kevinalphajameso> 😇
[11:49] #scummvm: mode change '+b *!*evinalpha@gateway/shell/matrix.org/x-meadpqlpzttbshxj' by LePhilousophe!valemboi20@amsn/developer/lephilousophe
[11:49] kevinalphajameso kicked from #scummvm by LePhilousophe: kevinalphajameso
[11:49] #scummvm: mode change '-b *!*evinalpha@gateway/shell/matrix.org/x-meadpqlpzttbshxj' by LePhilousophe!valemboi20@amsn/developer/lephilousophe
[12:40] <-- eriktorbjorn left irc: Quit: Leaving.
[12:41] --> eriktorbjorn joined #scummvm.
[12:41] #scummvm: mode change '+o eriktorbjorn' by ChanServ!ChanServ@services.
[12:54] --> Shine__ joined #scummvm.
[12:54] M13rrrk[m] --> (M13rrrkmat@gateway/shell/matrix.org/x-ndljllfybjoruirw) joined #scummvm.
[12:57] <-- Shine_ left irc: Ping timeout: 276 seconds
[13:43] --> NULUSIOS joined #scummvm.
[13:45] NULUSIOS (nls@mail2.termoil.com) left #scummvm.
[13:57] <-- borosky left irc: Read error: No route to host
[13:58] --> borosky joined #scummvm.
[14:02] <grogbot> <Coz> @lephilousophe Here's the config.log - this was my compile with both jpeg and libjpeg-turbo installed through homebrew. https://1drv.ms/u/s!Ag1YSzTkMS0HirBwIR8Q5nwSeeTxdw?e=X1tzG9
[14:11] <-- Cheeseness left irc: Quit: Leaving.
[14:34] <grogbot> <lephilousophe> and it works so we don't see what is wrong in the log 🙂
[14:41] <grogbot> <Coz> I am attempting with the macports method to see if I get different results (notably trying to build an app bundle)
[14:46] <Scummette> [scummvm] SupSuper opened pull request #2753: AUDIO: Combine WaveFormat enums under one header (master...wave) https://git.io/JtgbX
[14:52] <grogbot> <Coz> libjpeg-turbo library worked just fine with macports to build default enabled engines. Seems strange, you would think that the package managers would be installing the same libraries even if they install them to different locations. Anyhow, still cannot build an app bundle.. I am assuming that the managers just are not installing a static library for all dependencies and that I would need to manually compile libraries to accomplish that?
[14:59] <grogbot> <lephilousophe> well... the way I did it was under linux so I was using osxcross which let me install only static part
[14:59] <grogbot> <lephilousophe> I don't know how to use these mac tools
[15:00] <grogbot> <lephilousophe> (though I am trying to use macports under linux to have a pretty universal x86_64 arm64 build of ScummVM)
[15:04] <-- SylvainTV left irc: Read error: Connection reset by peer
[16:02] <-- ny00123 left irc: Quit: Leaving
[17:05] <-- _sev_ left irc: Quit: This computer has gone to sleep
[17:06] --> _sev_ joined #scummvm.
[17:06] <-- _sev_ left irc: Changing host
[17:06] --> _sev_ joined #scummvm.
[17:06] #scummvm: mode change '+o _sev_' by ChanServ!ChanServ@services.
[17:08] <grogbot> <criezy> The way I do it is that I indeed compiled all the libraries manually. I have not done it for ARM/M1 yet though (I have only used MacPorts on that system so far).
[17:10] <grogbot> <criezy> It might be possible to change the Homebrew/MacPorts recipes to generate static libraries, but I have not looked at that in details.
[17:46] --> Begasus joined #scummvm.
[17:53] --> chunder joined #scummvm.
[18:08] <grogbot> <Kebabounet> I don't think you'll be able to compile a universal binary in a single pass, though. The build system uses some target-specific flags I believe (alignment, etc.), so I think you'll need two builds and a call to lipo or something
[18:21] --> SylvainTV joined #scummvm.
[18:21] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services.
[19:14] <Scummette> [scummvm] bluegr closed pull request #2753: AUDIO: Combine WaveFormat enums under one header (master...wave) https://git.io/JtgbX
[19:14] <Scummette> [scummvm] bluegr pushed 2 new commits to master: https://git.io/Jt2OL
[19:14] <Scummette> scummvm/master 872a547 SupSuper: AUDIO: Combine WaveFormat enums under one header
[19:14] <Scummette> scummvm/master 1b2e0b7 SupSuper: TITANIC: Use WaveFormat enum
[19:34] --> cd joined #scummvm.
[19:50] <Scummette> [scummvm] ScummVM-Translations pushed 1 new commits to master: https://git.io/Jt2s8
[19:50] <Scummette> scummvm/master e87e872 : I18N: Update translation (Japanese)
[20:01] --> ajax16384 joined #scummvm.
[20:01] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services.
[20:01] <-- chunder left irc: Quit: Connection closed for inactivity
[20:04] <ScummBot> Port build status changed with 1b2e0b74: Success: master-amigaos4
[20:26] <-- ajax16384 left irc: Quit: Leaving
[20:29] --> JohnnyonFlame joined #scummvm.
[20:40] <-- Begasus left irc: Quit: Ex-Chat
[20:48] <-- Shine__ left irc: Read error: Connection reset by peer
[21:11] <-- palasso left irc: Remote host closed the connection
[21:13] --> palasso joined #scummvm.
[21:35] <-- TMM left irc: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.
[21:35] --> TMM joined #scummvm.
[21:35] #scummvm: mode change '+o TMM' by ChanServ!ChanServ@services.
[21:45] --> Cheeseness joined #scummvm.
[22:40] <-- Deledrius left irc: Quit: App.Exit
[22:41] <-- palasso left irc: Remote host closed the connection
[22:41] --> palasso joined #scummvm.
[23:00] --> DominusExult joined #scummvm.
[23:00] <-- DominusExult left irc: Changing host
[23:00] --> DominusExult joined #scummvm.
[23:04] <-- Dominus left irc: Ping timeout: 258 seconds
[23:04] Nick change: DominusExult -> Dominus
[23:07] <-- Lightkey left irc: Ping timeout: 260 seconds
[23:13] <-- vliaskov left irc: Quit: Leaving
[23:18] --> Deledrius joined #scummvm.
[23:21] --> Lightkey joined #scummvm.
[23:30] <Scummette> [scummvm] somaen pushed 3 new commits to master: https://git.io/Jt2Bl
[23:30] <Scummette> scummvm/master 6e3daad somaen: TINSEL: Modify handle to read flags correctly for Noir.
[23:30] <Scummette> scummvm/master 0f78bfe somaen: TINSEL: Adjust LoadFile for Noir, stubbing out compression for now.
[23:30] <Scummette> scummvm/master 847b67b somaen: TINSEL: Unblock Noir in TinselEngine::run(), and use DW2's graphics-config for now.
[23:30] <Scummette> [scummvm] ScummVM-Translations pushed 1 new commits to master: https://git.io/Jt2B4
[23:30] <Scummette> scummvm/master e387e34 : I18N: Update translation files
[23:40] <Scummette> [scummvm] ccawley2011 opened pull request #2754: BASE: Avoid calling PluginMan.getEngineFromMetaEngine where possible (master...getMetaEngine) https://git.io/Jt2BH
[00:00] --- Sat Feb 6 2021