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 mlterm with either Cocoa or X11 #2
Conversation
Having to build mlterm with either Cocoa or X11, as Cocoa require no dependency to be installed while X11 do, require the user to explicitly specify X11 if preferred and leave the lack of formula options (hence default) to mean Cocoa. Hence `depends_on :x11 => :optional` - not `:recommended`. BTW had mutually exclusive formula options needed to be checked, an example would have been https://github.com/Homebrew/homebrew-core/blob/375a03fb3d9e960bf7b86bc8c43c08e136120890/Formula/infer.rb#L23-L25
|
41d4af2 used to have also:
I am not sure whether they apply to both cocoa and X11. Also, I am not sure about relationship among deps and options - in particular why Reducing number of options simplifies formula. New options could be added in later commits. |
@saitoha Can you test X11 please? |
@lucafavatella Thanks, I'll test it tomorrow. |
@lucafavatella (CC: @arakiken, @seiichi)
The install process failed by the argument "-g utmp" which is enabled by revision 2528.
So I added --enable-utmp=no to ./configure.
Build succeeded. but a runtime error occured. I'll try it again tomorrow. |
@lucafavatella A patch for ml_char.c is needed.
|
@saitoha How do you prefer to proceed on this pull request? I am happy to add a commit to this pull request adding the documented option |
OK, I have pulled this PR just as it is. I'll do the rest. |
Changes noted in doc/en/ReleaseNote: ver 3.7.1 * Add "vt_color_mode" to OSC 5380 and 5381. * Support SKK (--im skk) as an input method plugin. * Support input method plugins (canna, wnn and skk) on MacOSX/Cocoa. * Show the number of each conversion candidate on an input method window of wnn. * Bug fixes: Fix compiling error of registobmp. (Enbugged at 3.7.0) (Thanks to Amadeusz) Fix https://sourceforge.net/p/mlterm/mailman/message/34992704/ Fix saitoha/homebrew-sixel#2 (Thanks to @kefir_) Fix a bug which dropped almost all glyph complementary fonts.
* quartz/x_window.c: x_window_translate_coordinates() is implemented by using window_get_position(). * cocoa.[hm]: - window_get_position() is added. - NSShiftMask isn't ignored in insertText(). - x_display_t::width and x_display_t::height are set in viewDidMoveToWindow. * im_skk.c, im_wnn.c: dha dhi dhu dhe and dho are supported. * skk/dict.c: input_method option accepts whether skk dictionary or skk server uses utf8 instead of eucjp. (e.g. --im skk:localhost:utf8) * wnn/Makefile.in, canna/Makefile.in, skk/Makefile.in: TARGET_quartz is added. * configure.in: skk, wnn and canna are available on MacOSX/Cocoa. * configure.in, ml_char.c: Fix saitoha/homebrew-sixel#2 (Merge https://bitbucket.org/arakiken/mlterm/pull-requests/2/ml_charc-strip-the-dependency-of with some fixes.) * README, doc/ja/README.ja: Updated.
Please refer to commit message for details.
Following discussion on #1.