Git Product home page Git Product logo

homebrew-appleii's People

Contributors

a2geek avatar dmolony avatar ericfromcanada avatar gmerlino avatar lifepillar avatar mikefinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-appleii's Issues

Unable to tap on Catalina

Hi, I have trouble tapping into:

brew tap lifepillar/appleii

==> Tapping lifepillar/appleii
Cloning into '/usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii'...
remote: Enumerating objects: 1336, done.
remote: Counting objects: 100% (71/71), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 1336 (delta 34), reused 49 (delta 20), pack-reused 1265
Receiving objects: 100% (1336/1336), 278.28 KiB | 2.73 MiB/s, done.
Resolving deltas: 100% (816/816), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/profuse.rb
profuse: Unsupported special dependency :osxfuse
Error: Cannot tap lifepillar/appleii: invalid syntax in tap!

ARM c2t Formula does not work

Hello!

The binary that is installed via brew install c2t does not seem to work.

When I download c2t-master and build from source the generated .wav file works. I have access to a physical Apple //e and am calling LOAD to transfer the program.

When building from source all three of the following generate a working .wav file that loads a working program onto the Apple //e.

c2t-master/bin/c2t
c2t-master/bin/c2t_arm
c2t-master/bin/c2t_x86

The cassette load routine seems to work with the homebrew .wav file (I get two beeps from the machine), but the program I'm loading does not run.

Comparing outputs

Homebrew output:

c2t -bc8 out/main,2000 out/main.wav

Reading out/main, type binary, segment 1, start: 0x2000, length: 3013

Writing out/main.wav as Apple II formatted wave.

WARNING: simulated checksum failed: FF
WARNING: simulated inflate failed at 1000
start: 0xB134, length:  2251, deflated: 25.29%, data time:2.25, inflate time:0.00

To load up and run on your Apple II, type:

        LOAD

Built-from-source output:

../c2t-master/bin/c2t -bc8 out/main,2000 out/main.wav

Reading out/main, type binary, segment 1, start: 0x2000, length: 3013

Writing out/main.wav as Apple II formatted wave.

start: 0xB134, length:  2251, deflated: 25.29%, data time:2.73, inflate time:0.97
WARNING: compression disabled: no significant gain (2.74)

To load up and run on your Apple II, type:

        LOAD

SHA-1 of the homebrew binary:

07dac10a8f7ebb01f3f62639af3d373342128d16  /opt/homebrew/bin/c2t

SHA-1 of the binaries built from source:

19b2154e5fa0e10b2f68f4067944728f71f674f4  ../c2t-master/bin/c2t_x86

73ce5223d6c01d0c2a6c360439984959fc3a6288  ../c2t-master/bin/c2t_arm

8a8c890605134088a198bd21acb19288c6a65c04  ../c2t-master/bin/c2t

Fat Binary

Both the fat binary of c2t and the ARM targeted c2t_arm work on my machine.

The homebrew version seems to be an ARM binary.

 % file ../c2t-master/bin/c2t
../c2t-master/bin/c2t: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
../c2t-master/bin/c2t (for architecture x86_64):        Mach-O 64-bit executable x86_64
../c2t-master/bin/c2t (for architecture arm64): Mach-O 64-bit executable arm64

% file ../c2t-master/bin/c2t_arm 
../c2t-master/bin/c2t_arm: Mach-O 64-bit executable arm64

% which c2t | xargs file
/opt/homebrew/bin/c2t: Mach-O 64-bit executable arm64

Incorrect SHA256 for merlin32

Hi. I tried installing the merlin32 formula and it looks like something has been updated:

$ brew install merlin32
==> Installing merlin32 from lifepillar/appleii
==> Downloading http://www.brutaldeluxe.fr/products/crossdevtools/merlin/Merlin32_v1.0.zip
######################################################################## 100.0%
Error: An exception occurred within a child process:
ChecksumMismatchError: SHA256 mismatch
Expected: eb9203b22dba23e70382ab876112e826d4c6bb3d04004f712fd8a9df56778e39
Actual: 4dd56aa11ad8f3736e7c7a2295fd5922fd897d2324e006f44c09e0b932b07b4b
Archive: /Users/rjp/Library/Caches/Homebrew/downloads/5207ef4e67bde334a9bd8fe1e21ae073e4d15a199d0f12ad6f98dd88d856dfe3--Merlin32_v1.0.zip
To retry an incomplete download, remove the file above.

Any chance of an update please?

AppleCommander formula needs to distinguish url based on cpu architecture

While the SHA256 is keyed to ARM vs x86_64, the URL to download from is not. As such, on an Intel machine it will end up downloading the ARM build but fail brew update/upgrade operations because it is using the wrong SHA256 hash.

Corrected snippet (with incorrect url hashed out):

  desc "Move data between Apple ][ disk images and native filesystem"
  homepage "https://applecommander.github.io/"
##  url "https://github.com/AppleCommander/AppleCommander/releases/download/1.8.0/AppleCommander-macosx-aarch64-1.8.0.jar"
  if Hardware::CPU.intel?
    url "https://github.com/AppleCommander/AppleCommander/releases/download/1.8.0/AppleCommander-macosx-x86_64-1.8.0.jar"
  else
    url "https://github.com/AppleCommander/AppleCommander/releases/download/1.8.0/AppleCommander-macosx-aarch64-1.8.0.jar"
  end
  depends_on "openjdk"

Unable to tap on macOS 10.15 Catalina

When attempting the tap install, this ensues:

Cloning into '/usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii'...
remote: Enumerating objects: 1265, done.
remote: Total 1265 (delta 0), reused 0 (delta 0), pack-reused 1265
Receiving objects: 100% (1265/1265), 262.93 KiB | 1.93 MiB/s, done.
Resolving deltas: 100% (782/782), done.
Warning: Calling depends_on :osxfuse is deprecated! There is no replacement.
Please report this issue to the lifepillar/appleii tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/profuse.rb:9

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/apple2-image-encoder.rb
apple2-image-encoder: Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the lifepillar/appleii tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/apple2-image-encoder.rb:10

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/jace.rb
jace: Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the lifepillar/appleii tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/jace.rb:10

Error: Cannot tap lifepillar/appleii: invalid syntax in tap!```

Build issue with lisaem

Trying to reinstall LisaEm, I get this error:

==> ./build.sh build --quiet --no-upx --prefix=/usr/local/Cellar/lisaem/1.2.7-2020.08.24
Last 15 lines from /Users/me/Library/Logs/Homebrew/lisaem/02.build.sh:
2021-04-25 17:40:51 +0200

./build.sh
build
--quiet
--no-upx
--prefix=/usr/local/Cellar/lisaem/1.2.7-2020.08.24

ls: /Applications/Xcode.app/Contents/Developer/SDKs/*: No such file or directory
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
Could not find wx-config command for wx-widgets
* Exiting

I haven't changed anything. Perhaps, due to an Xcode update? I am on Big Sur 11.2.3 (Intel architecture), Xcode 12.4 (12D4e).

@EricFromCanada Any idea? Can you reproduce it?

apple-ii-disk-tools formula: cannot clone gnulib

I have got this error on a clean install of OS X 10.11:

==> Installing lifepillar/appleii/apple-ii-disk-tools
==> Cloning https://github.com/cmosher01/Apple-II-Disk-Tools.git
Cloning into '/Library/Caches/Homebrew/apple-ii-disk-tools--git'...
remote: Counting objects: 37, done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 37 (delta 3), reused 19 (delta 1), pack-reused 0
Unpacking objects: 100% (37/37), done.
Checking connectivity... done.
==> Checking out branch master
==> ./bootstrap --skip-po
Last 15 lines from /Users/nicola/Library/Logs/Homebrew/apple-ii-disk-tools/01.bootstrap:
2015-10-04 19:57:18 +0200

./bootstrap --skip-po

./bootstrap: Bootstrapping from checked-out a2catalog sources...
./bootstrap: consider installing git-merge-changelog from gnulib
./bootstrap: getting gnulib files...
Cloning into 'gnulib'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Lisaem fails to compile on Sonoma M1 (Undefined symbols: _png_init_filter_functions_neon)

Hi there, I tried to install Lisaem with "brew install lisaem" and I get this:

==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################################################################## 100.0%
Warning: Treating lisaem as a formula. For the cask, use lifepillar/appleii/lisaem
==> Fetching lifepillar/appleii/lisaem
==> Downloading https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.3/wxWidgets-3.1.3.tar.bz2
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/1764646/5b586200-f8ec-11e9-96
######################################################################################################################## 100.0%
==> Downloading https://lisaem.sunder.net/downloads/lisaem-1.2.7-RC3a-2020.08.24-src.tar.xz
######################################################################################################################## 100.0%
==> Installing lisaem from lifepillar/appleii
==> ./build-wx3.1.2-modern-macosx.sh
==> ./build.sh build --quiet --no-upx --prefix=/opt/homebrew/Cellar/lisaem/1.2.7-2020.08.24
Last 15 lines from /Users/francescolecca/Library/Logs/Homebrew/lisaem/02.build.sh:
ld: warning: object file (/private/tmp/lisaem-20231030-9502-2ytatn/wxWidgets/lib/libwxzlib-3.1.a[12](wxzlib_inflate.o)) was built for newer 'macOS' version (14.1) than being linked (14.0)
ld: warning: object file (/private/tmp/lisaem-20231030-9502-2ytatn/wxWidgets/lib/libwxzlib-3.1.a[13](wxzlib_inftrees.o)) was built for newer 'macOS' version (14.1) than being linked (14.0)
ld: warning: object file (/private/tmp/lisaem-20231030-9502-2ytatn/wxWidgets/lib/libwxzlib-3.1.a[14](wxzlib_trees.o)) was built for newer 'macOS' version (14.1) than being linked (14.0)
ld: warning: object file (/private/tmp/lisaem-20231030-9502-2ytatn/wxWidgets/lib/libwxzlib-3.1.a[16](wxzlib_zutil.o)) was built for newer 'macOS' version (14.1) than being linked (14.0)
ld: **Undefined symbols:
  _png_init_filter_functions_neon**, referenced from:
      _wx_png_read_filter_row in libwxpng-3.1.a[10](wxpng_pngrutil.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
see: /tmp/slot.36219.35.sh /tmp/slot.36219.35.sh.failed for details
failed command was: clang++ -m64 -o bin/LisaEm obj/floppy.o obj/profile.o obj/unvars.o obj/vars.o obj/glue.o obj/fliflo_queue.o obj/cops.o obj/zilog8530.o obj/via6522.o obj/irq.o obj/mmu.o obj/rom.o obj/romless.o obj/memory.o obj/symbols.o obj/lisaem_wx.o obj/LisaConfig.o obj/LisaConfigFrame.o obj/LisaSkin.o obj/hq3x-3x.o obj/imagewriter-wx.o src/lib/libGenerator/lib/libGenerator.a src/lib/libdc42/lib/libdc42.a -lstdc++ -L/private/tmp/lisaem-20231030-9502-2ytatn/lisaem-1.2.7/../wxWidgets/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL /private/tmp/lisaem-20231030-9502-2ytatn/lisaem-1.2.7/../wxWidgets/lib/libwx_osx_cocoau-3.1.a -framework WebKit -lwxtiff-3.1 -lwxjpeg-3.1 -lwxpng-3.1 -lwxregexu-3.1 -lwxscintilla-3.1 -lwxzlib-3.1 -framework Security -lpthread -liconv
from: /private/tmp/lisaem-20231030-9502-2ytatn/lisaem-1.2.7
---------------------------------------------------------------

/private/tmp/lisaem-20231030-9502-2ytatn/lisaem-1.2.7/waitq: Aborted due to a failed job! See /private/tmp/lisaem-20231030-9502-2ytatn/lisaem-1.2.7/obj/build-warnings.txt
* Exiting

I searched online and it looks like it's a common problem on Apple Silicon. I also tried to:
export CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
before trying to install, to no avail.
Thanks!

Unable to tap on Big Sur 11.2 - profuse.rb

Hey all, looking forward to using this! Got the following error when trying to tap:

โžœ  ~ brew tap lifepillar/appleii
==> Tapping lifepillar/appleii
Cloning into '/opt/homebrew/Library/Taps/lifepillar/homebrew-appleii'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 1274 (delta 1), reused 3 (delta 1), pack-reused 1265
Receiving objects: 100% (1274/1274), 266.45 KiB | 1.10 MiB/s, done.
Resolving deltas: 100% (783/783), done.
Error: Invalid formula: /opt/homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/profuse.rb
profuse: Calling depends_on :osxfuse is disabled! There is no replacement.
Please report this issue to the lifepillar/appleii tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/lifepillar/homebrew-appleii/Formula/profuse.rb:9

Error: Cannot tap lifepillar/appleii: invalid syntax in tap!

For what's it's worth I changed global Ruby language from 2.5.3, 2.7.2, and 3.0.0 and tried each time with same error. Homebrew is installed on the arm64-darwin20 architecture and current xcode-select version is 2384.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.