VOGONS

Common searches


Search results

Display options

Re: Compile SVN in macOS?

@almeath - This goes back to the "launcher" inside your app bundle. Instead of the launcher executable, create a script named something like "Wrapper" with these contents: #!/bin/bash cd "$(dirname "$0")" cd ../Resources ./dosbox/dosbox -conf dosbox_settings.conf -conf dosbox_launch.conf After you …

Re: Compile SVN in macOS?

@almeath - I've now had closer look at your very impressive wrapper. When you get a chance, could you point me in the direction of the code for your launcher executable? That would very, very useful to have. I've been using AppleScript to do similar things, but the launcher is clearly a superior …

Re: Compile SVN in macOS?

Well, Dominus, your bug report already got results in SDL 1-2: https://github.com/libsdl-org/SDL-1.2/commit/89fc1b1c8a65d2f642bb05be9cdac2636c82ff5f I figured this out this morning when I tried to add the patch to my script, and it kept failing - and I finally took the trouble to look at the …

Re: Compile SVN in macOS?

The script seems to be working for building a portable DOSBox SVN. Until I get to set up a GitHub version, here's a link: https://www.dropbox.com/s/28jbyukicfaokhf/OneStopDOSBoxMacOS.sh?dl=0 Of course look into the script to see the variables at the top and change them if required. The default is to …

Re: Compile SVN in macOS?

For the purposes of my script, it's enough simply to download the current code instead of using SVN - I'm assuming that if you're using this script you've got a fast enough connection to download the code quickly enough. My todo list: Add an option to run your own patch file on downloaded code. …

Re: Compile SVN in macOS?

@Dominus - Question: do you know of any way to avoid that Big Sur message asking us to open System Preferences in order to give DOSBox access to keystrokes from any application? I've seen discussions of this elsewhere, but haven't seen a solution. And I've now got my script building the portable app …

Re: Compile SVN in macOS?

@Almeath, one thought: is it possible that brew is causing this problem, that the bundler can't find some libraries installed by brew? Thanks to Dominus, I was able to make my script run in a brew-free environment. The only thing I had to give up was svn, which was more trouble than it was worth to …

Re: Compile SVN in macOS?

Further progress. I've got my script to the point where it builds DOSBox. The next step is to add the dylibbundler routine to make a portable app bundle, and then clean things up a bit, and add an option to build your own customized code. A thousand thanks to Dominus and to Almeath.

Re: Compile SVN in macOS?

OK, here's a scripting question. To test whether autoconf, etc., are available, I use this: if command -v pkg-config > /dev/null 2>&1; then echo "pkgconfig is available to this script. You may reinstall if you want." else echo "pkgconfig is not available to this script." fi But I can't figure out …

Re: Compile SVN in macOS?

More on this: I suppose it's possible for the script to download https://github.com/phracker/MacOSX-SDKs/relea … 0.14.sdk.tar.xz and then expand it to the build environment, but it would of course be better if upstream fixed the problem...

Re: Compile SVN in macOS?

Got the pkgconfig problem solved; I don't know what I got wrong earlier. One other thing about my script: I can't use /opt etc. on my system because it needs sudo to access it, so I've done what I did in my old script, which is create a $HOME/Development folder and install into that. So far, it …

Re: Compile SVN in macOS?

Thank you for that pkg-config test. Yes, in an earlier post in this thread I reported the problem with the tiny text in the lower left of the window with OpenGL. I fixed it by using output=surface, but obviously that's not a real solution...!

Page 2 of 43