rricharz / Tek4010

Free Tektronix 4010, 4013, 4014 and 4015 terminal emulator for Raspberry Pi, Linux, macOS (Macintosh) and Windows
GNU General Public License v3.0
244 stars 29 forks source link

Installation instructions for MacOS #52

Closed polluks closed 5 months ago

polluks commented 5 months ago

You have to patch the BSD sed call somehow: "$a": command a expects \ followed by text see https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux

polluks commented 5 months ago

Duplicate of #45

rricharz commented 5 months ago

It would be nice if you could provide installation instruction for MacOS. I could check these on my Mac and add them to the manual.

polluks commented 5 months ago

At least you need sudo port install gtk3

Library Dependencies: atk, gdk-pixbuf2, glib2, gobject-introspection, harfbuzz,
                      iso-codes, libepoxy, pango, at-spi2-atk, fontconfig,
                      libxkbcommon-x11, mesa, xorg-libXi, xorg-libXrandr,
                      xorg-libXcursor, xorg-libXinerama, xorg-libXdamage,
                      xorg-libXcomposite, xorg-libXfixes

...but on Sunday I installed many ports

  at-spi2-atk @2.38.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:41+0200'
  at-spi2-core @2.38.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:40+0200'
  atk @2.38.0_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:53+0200'
  fribidi @1.0.14_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:38+0200'
  gtk3-devel @3.24.41_1+x11 requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:50:11+0200'
  harfbuzz @8.5.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:36+0200'
  hicolor-icon-theme @0.17_0 (active) requested_variants='' platform='any any' archs='noarch' date='2024-05-26T11:48:38+0200'
  iso-codes @4.7.0_0 (active) requested_variants='' platform='any any' archs='noarch' date='2024-05-26T11:48:30+0200'
  libepoxy @1.5.10_0 requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:34+0200'
  libjpeg-turbo @3.0.3_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:26+0200'
  libxkbcommon @1.5.0_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:52+0200'
  libxkbcommon-x11 @1.5.0_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:53+0200'
  libxml2 @2.12.7_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:17+0200'
  perl5.34 @5.34.3_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:03+0200'
  py312-mako @1.3.4_0 (active) requested_variants='' platform='darwin any' archs='noarch' date='2024-05-26T11:47:19+0200'
  sqlite3 @3.46.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:45:08+0200'
  xkbcomp @1.4.5_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:42+0200'
  xkeyboard-config @2.5.1_1 (active) requested_variants='' platform='any any' archs='noarch' date='2024-05-26T11:48:48+0200'
  xorg-libXcomposite @0.4.6_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:37+0200'
  xorg-libXcursor @1.2.2_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:37+0200'
  xorg-libXi @1.8.1_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:36+0200'
  xorg-libXinerama @1.1.5_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:37+0200'
  xorg-libxkbfile @1.1.3_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:42+0200'
  xorg-libXrandr @1.5.4_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:36+0200'
  xorg-libXtst @1.2.4_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:38+0200'

./tek4010:
    /opt/local/lib/libgtk-3.0.dylib (compatibility version 2410.0.0, current version 2410.32.0)
    /opt/local/lib/libgdk-3.0.dylib (compatibility version 2410.0.0, current version 2410.32.0)
    /opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0)
    /opt/local/lib/libpango-1.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0)
    /opt/local/lib/libharfbuzz.0.dylib (compatibility version 60851.0.0, current version 60851.0.0)
    /opt/local/lib/libatk-1.0.0.dylib (compatibility version 23810.0.0, current version 23810.1.0)
    /opt/local/lib/libcairo-gobject.2.dylib (compatibility version 11709.0.0, current version 11709.0.0)
    /opt/local/lib/libcairo.2.dylib (compatibility version 11709.0.0, current version 11709.0.0)
    /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 4201.0.0, current version 4201.11.0)
    /opt/local/lib/libgio-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0)
    /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0)
    /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0)
    /opt/local/lib/libintl.8.dylib (compatibility version 13.0.0, current version 13.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1345.100.2)
rricharz commented 5 months ago

Experimental installation instructions for MacOS have been added.

rricharz commented 5 months ago

I have added the instructions (macintosh.txt) and tek4010 works on my Mac with one ugly problem:

The font used to display text is not monospaced. This makes text ugly, especially the i and the m. At the moment I have no solution for this, see issue #55. Did you find a solution?

Am 07.06.2024 um 20:11 schrieb Stefan @.***>:

At least you need gtk3-devel, but on Sunday I installed many other ports:

at-spi2-atk @2.38.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:41+0200' at-spi2-core @2.38.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:40+0200' atk @2.38.0_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:53+0200' fribidi @1.0.14_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:38+0200' gtk3-devel @3.24.41_1+x11 requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:50:11+0200' harfbuzz @8.5.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:36+0200' hicolor-icon-theme @0.17_0 (active) requested_variants='' platform='any any' archs='noarch' date='2024-05-26T11:48:38+0200' iso-codes @4.7.0_0 (active) requested_variants='' platform='any any' archs='noarch' date='2024-05-26T11:48:30+0200' libepoxy @1.5.10_0 requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:34+0200' libjpeg-turbo @3.0.3_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:26+0200' libxkbcommon @1.5.0_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:52+0200' libxkbcommon-x11 @1.5.0_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:53+0200' libxml2 @2.12.7_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:17+0200' perl5.34 @5.34.3_1 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:47:03+0200' py312-mako @1.3.4_0 (active) requested_variants='' platform='darwin any' archs='noarch' date='2024-05-26T11:47:19+0200' sqlite3 @3.46.0_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:45:08+0200' xkbcomp @1.4.5_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:42+0200' xkeyboard-config @2.5.1_1 (active) requested_variants='' platform='any any' archs='noarch' date='2024-05-26T11:48:48+0200' xorg-libXcomposite @0.4.6_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:37+0200' xorg-libXcursor @1.2.2_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:37+0200' xorg-libXi @1.8.1_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:36+0200' xorg-libXinerama @1.1.5_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:37+0200' xorg-libxkbfile @1.1.3_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:42+0200' xorg-libXrandr @1.5.4_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:36+0200' xorg-libXtst @1.2.4_0 (active) requested_variants='' platform='darwin 23' archs='arm64' date='2024-05-26T11:48:38+0200' ./tek4010: /opt/local/lib/libgtk-3.0.dylib (compatibility version 2410.0.0, current version 2410.32.0) /opt/local/lib/libgdk-3.0.dylib (compatibility version 2410.0.0, current version 2410.32.0) /opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0) /opt/local/lib/libpango-1.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0) /opt/local/lib/libharfbuzz.0.dylib (compatibility version 60851.0.0, current version 60851.0.0) /opt/local/lib/libatk-1.0.0.dylib (compatibility version 23810.0.0, current version 23810.1.0) /opt/local/lib/libcairo-gobject.2.dylib (compatibility version 11709.0.0, current version 11709.0.0) /opt/local/lib/libcairo.2.dylib (compatibility version 11709.0.0, current version 11709.0.0) /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 4201.0.0, current version 4201.11.0) /opt/local/lib/libgio-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0) /opt/local/lib/libintl.8.dylib (compatibility version 13.0.0, current version 13.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1345.100.2) — Reply to this email directly, view it on GitHub https://github.com/rricharz/Tek4010/issues/52#issuecomment-2155298531, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMAEK2HR2PBPPR6B2DTBZ3ZGHZTTAVCNFSM6AAAAABI4LJLHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGI4TQNJTGE. You are receiving this because you modified the open/close state.

rricharz commented 5 months ago

Fixed