M1 macbookでemacsのbuild

M1 macbookが来たので早速emacsのbuild。

普通にやると下記のようなエラーがでるので、arch -x86_64 をつけてrosetta上でやるとうまくいく。
configure: error: Emacs does not support 'arm-apple-darwin20.1.0' systems.

$ arch -x86_64 bash
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$ ./configure --prefix=${HOME}/local --without-x --with-gnutls=no --with-mailutils
checking for xcrun... xcrun
checking for make... yes
checking for GNU Make... make
checking build system type... x86_64-apple-darwin20.1.0
checking host system type... x86_64-apple-darwin20.1.0
checking for gcc... gcc
...

$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
  GEN      alloca.h
  GEN      byteswap.h
...

bash-3.2$ ./src/emacs --version
GNU Emacs 27.1
Copyright (C) 2020 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Macbook Proのアプリケーションの終了(command+Q)を一括で変更

ということで、Macbook Proのアプリケーションの終了(Command+Q)を無効化する。
ChromeやFirefoxなど個別で設定するのはいくつか見つかったが、数が多いと面倒なので、生贄となるショートカットキーにCommand+Qを割り当てるとまとめて変更できるので便利。

で、今回生贄となったのは、まー使わないであろうDockの表示・非表示、option + command + D。

これだけで、chromeもfirefoxもターミナルも、Command + Q の終了が効かなくなる!やった。


emacs26.1のbuildメモ

emacs 26.1のconfigureした時のメモ。ちなみに、macOS High Sierra 10.13.5。

./configure --prefix=${HOME}/local --without-x --with-gnutls=no --with-mailutils




iOSでFirebase Cloud Messaging

の、前に GoogleのドキュメントAPNs の SSL 証明書のプロビジョニング | FirebaseでiOSのプロビジョニング関連をお勉強。


この周辺ってなんでこんなにややこしいんだろう。。。

iOSのTab barアイコンについて

久々にiOSのドキュメント読んだり。

Custom Icons - Graphics - iOS Human Interface Guidelines


ということで、タブバーのカスタムアイコンの注意点とて、
・色情報は無視される(単色で作成)
・選択・非選択の2種類を用意
・サイズは下記の通り
Device Tab bar icon size
iPhone 6s Plus, iPhone 6 Plus About 75px by 75px
Maximum 144px by 96px
iPhone 6s, iPhone 6, iPhone SE About 50px by 50px
Maximum 96px by 64px


カテゴリ

Amazon

アクセスランキング

[ジャンルランキング]
コンピュータ
226位
アクセスランキングを見る>>

[サブジャンルランキング]
プログラミング
37位
アクセスランキングを見る>>

RSSリンクの表示

QRコード

QRコード

サイトマップ

Copyright © nopgm