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

Build a MacOS app bundle #25

Open
srid opened this issue Apr 15, 2018 · 29 comments
Open

Build a MacOS app bundle #25

srid opened this issue Apr 15, 2018 · 29 comments
Assignees
Labels
build Issues related to build enhancement
Milestone

Comments

@srid
Copy link
Member

srid commented Apr 15, 2018

Build a MacOS app bundle using instructions at http://mesonbuild.com/Creating-OSX-packages.html.
Depends on #31

Original Description:
Would be nice to have a Nix package

https://nixos.org/
https://github.com/NixOS/nixpkgs

@onkarshinde Just a suggestion. Give Nix a try (NixOS is the Linux distro that uses Nix). With Nix we can build packages for Linux & Mac. Nix is a pretty interesting way to package up things.

@srid srid added the build Issues related to build label Apr 15, 2018
@onkarshinde
Copy link
Contributor

I am not sure I want to pursue build changes to achieve packages for OS X. I don't have access to OS X so any changes I make can not be tested. I also did not find any hosted continuous integration solutions for OS X, at least not any which are free.

On the other hand before you logged this issue I had already started looking into meson as new build system. The build files will be easy to read and the document suggests that it is multi platform.

@onkarshinde
Copy link
Contributor

Turns out I was wrong. Travis CI does provide a way to build application on OS X, allows libraries to be installed from homebrew and other sources and it is free for open source applications.
So in theory we should be able to ensure that our application is buildable on OS X. Perhaps in future we can also create a application bundle.

@onkarshinde
Copy link
Contributor

screen shot 2018-05-13 at 12 38 22 am

Managed to borrow someone's MacBook, installed gtksourceview3 from homebrew, built and installed our application. Here is the result.

@onkarshinde
Copy link
Contributor

@srid
If you login to http://travis-ci.org/ with your github login you should be able to the continuation integration at work. Hopefully I will now be able to make use of meson to build OS X app bundle at some point.

@onkarshinde onkarshinde changed the title Nix package Build an OS X app bundle Aug 7, 2018
@onkarshinde onkarshinde added this to To do in Issue Tracker via automation Aug 7, 2018
@onkarshinde onkarshinde self-assigned this Aug 7, 2018
@onkarshinde onkarshinde added this to the 1.4.5 milestone Aug 7, 2018
onkarshinde added a commit that referenced this issue Aug 7, 2018
@onkarshinde onkarshinde moved this from To do to In progress in Issue Tracker Aug 10, 2018
onkarshinde added a commit that referenced this issue Aug 28, 2018
onkarshinde added a commit that referenced this issue Aug 28, 2018
onkarshinde added a commit that referenced this issue Aug 28, 2018
onkarshinde added a commit that referenced this issue Aug 31, 2018
onkarshinde added a commit that referenced this issue Aug 31, 2018
@onkarshinde
Copy link
Contributor

Can you do
ls -l GNUSim8085.app/Contents/libs/libpangocairo-1.0.0.dylib
I think instead of including the actual dylib file, a symlink has been included in the package.

@onkarshinde
Copy link
Contributor

Can you also do
otool -L GNUSim8085.app/Contents/libs/libpango-1.0.0.dylib

@onkarshinde
Copy link
Contributor

Found the problem. Give me few minutes.

@onkarshinde
Copy link
Contributor

@srid Please try latest test build.

@srid
Copy link
Member Author

srid commented Oct 25, 2018 via email

@onkarshinde
Copy link
Contributor

@srid
Can you please give a try for the bundle included in latest draft release?

@onkarshinde onkarshinde changed the title Build an OS X app bundle Build an MacOS app bundle Mar 7, 2019
@onkarshinde onkarshinde changed the title Build an MacOS app bundle Build a MacOS app bundle Mar 7, 2019
onkarshinde added a commit that referenced this issue Dec 7, 2019
@srid
Copy link
Member Author

srid commented Dec 28, 2019

@onkarshinde I happened to give this a try now. For the record I used:

  • gnusim8085_macos-1.4.1.20190303.app.zip from Draft release
  • macOS catalina

And ... it basically works. Screenshot below:
Screen Shot 2019-12-27 at 7 53 25 PM

There are some bugs. For example, in the About dialog when I click the "Website" link it errors out saying "Could not show link: Operation not permitted". The text editor doesn't understand macOS keyboard shortcuts; for eg., it expects ctrl+a instead of cmd+a to select text.

Most serious bug: when I tried to run the nqueens.asm example program, it simply froze. Simple programs like addwithcarry.asm run fine.

@onkarshinde
Copy link
Contributor

@srid Did you manage to open/save a file?

@rDinesh008
Copy link

screen shot 2018-05-13 at 12 38 22 am

Managed to borrow someone's MacBook, installed gtksourceview3 from homebrew, built and installed our application. Here is the result.

from where and how did u install GNU 8085 Simulator for OS X .please tell clearly

onkarshinde added a commit that referenced this issue Jun 26, 2020
@y4sh-patel
Copy link

While installing through Meson found this error :

"RuntimeError: File 'doc/help/userguide.htm' could not be found"

@rondbe
Copy link

rondbe commented May 13, 2021

gtksourceview3

Nice to see that @onkarshinde managed to install the GNUSim8085 on MacOS. Could I have the step-by-step instructions for this on MacOS? Where do I type the instructions?

@onkarshinde
Copy link
Contributor

@rondbe Please read README_OSX.md file for instructions. Use homebrew to install dependencies

@y4sh-patel I think you are missing a dependency used for building the user guide. Check README_OSX.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to build enhancement
Projects
Issue Tracker
  
In progress
Development

No branches or pull requests

5 participants