Showing posts with label Big Sur. Show all posts
Showing posts with label Big Sur. Show all posts

Thursday, October 14, 2021

emacs Universal build Intel x86_64 and arm64

emacs Intel, arm build

If you just want to install gnu emacs for macos and get going Emacs for MacOSX is the place to go.  

I did the builds on my early-2015 mbp with Big Sur 11.6.
  • read https://github.com/caldwell/build-emacs
  • download build scripts
 
I didn't install xcode.
xcode-select --install (installs command line tools)

install macports
sudo port install xz
./fetch-emacs-from-ftp -v ftp://ftp.gnu.org/gnu/emacs/
 
# port install xz
# if you need to convert xz to bz2
# xzcat -c emacs-27.2.tar.xz | bzip2 > emacs-27.2.tar.bz2

./build-emacs-from-tar -v emacs-27.2.tar.bz2 release 

Success:
Built Emacs-27.2-11.6-x86_64.tar.bz2, Emacs-27.2-11.6-x86_64-extra-source.tar

  • CODESIGN crash
Then I reproduced those same steps on an m1 mac mini with xcode13 installed and signed it:
  • ./combine-and-package -v --sign "Common Name" Emacs-27.2-11.6-arm64.tar.bz2 
    • replace "Common Name" with the name in the keychain access login cert.
  • see: code signing issue #103  
  • Success!  Thanks Emacs for MacOSX!
TODO:
Go back to the MBP and try the codesign step. 


 

 

 




 

Friday, August 13, 2021

Apple m1 Big Sur 11.5.2 update

macos Big Sur 11.5.2: Large update 

took longer than I thought it would

Updated my 2020 Apple m1 mac mini model A2348 with Big Sur 11.5.2
  • mystery update no release notes
  • see the excellent eclecticlight blog for more info
  • blaaaaarrgh whaaaaaaa: the update bar on reboot looked frozen. ugh. Five minutes later the text appeared with a time estimate, whew!
  • please can't some big brains at apple reduce the SIZE of these updates? How about 300MB?
  • RESULT: everything seems fine so far
  • Relocated Items folder: /etc/group trustd 282
  • Get rid of Other user on login screen; how to hide other users