OS X support #5

Closed
KonstantinKuklin opened this Issue Aug 22, 2014 · 24 comments

Projects

None yet

8 participants

@KonstantinKuklin
Contributor

Hi, thx for the work, but what do you think about date, when we will have os x version?

@corporateshark
Owner

When someone contributes to build it. First, SWL library should be ported to OS X.

@corporateshark corporateshark changed the title from os x support to OS X support Aug 22, 2014
@corporateshark corporateshark added this to the 1.0 milestone Aug 31, 2014
@corporateshark
Owner

The version master:5ab9dd348b8391db0cfe513862ed98c4722def10 can be build and experimentally used on OS X.

  1. Download and install XQuartz: http://xquartz.macosforge.org
  2. Reboot your Mac to make the X Server active
  3. Rebuild WalCommander by running make all -B in the wcm folder
  4. Run ./wcm and enjoy

However, there are a lot of issues (FreeType not configured, clipboard is somewhat broken, etc) to be fixed.

@corporateshark
Owner

To fix Alt-key, go to the XQuartz menu:

X11 -> Preferences... -> Input -> tick "Option keys send Alt_L and Alt_R"

@KonstantinKuklin
Contributor

cool, works good
but you must be in WalCommander/wcm to run make not in the root directory of the project
I will create brew formula for it in near future
thx!

@corporateshark
Owner

The problem with XQuartz is unsupported retina resolution and hence running in a double-pixels mode

@corporateshark
Owner

alt tag

@corporateshark
Owner

Current master is fully usable on OS X.

@nmusienko

Error messages while exiting via F10 on OSX 10.9.5 (master, commit 9ac1b9b):
host:wcm user$ ./wcm
THREAD ERROR: mutex lock
THREAD ERROR: mutex unlock
THREAD ERROR: mutex lock
THREAD ERROR: mutex unlock
THREAD ERROR: mutex lock
THREAD ERROR: mutex unlock
THREAD ERROR: mutex lock
THREAD ERROR: mutex unlock
THREAD ERROR: mutex lock
THREAD ERROR: mutex unlock
THREAD ERROR: mutex lock
THREAD ERROR: mutex unlock
host:wcm user$

dtruss:
write_nocancel(0x2, "THREAD ERROR: mutex unlock\n\0", 0x1B) = 27 0

          libsystem_kernel.dylib`__write_nocancel+0xa
          libsystem_c.dylib`__sflush+0x5f
          libsystem_c.dylib`__xvprintf+0x260
          libsystem_c.dylib`vfprintf_l+0x36
          libsystem_c.dylib`fprintf+0xba
          wcm`wal::cicon::Clear()+0xc5
          wcm`wal::cicon::~cicon()+0x17
          libsystem_c.dylib`__cxa_finalize+0xb1
          libsystem_c.dylib`exit+0x16
          libdyld.dylib`start+0x8
          wcm`0x1

lock error code: EINVAL

@aralex
Contributor
aralex commented Oct 15, 2014

На свежей системе сборка прошла без проблем; при работе (обзорной) проблем не замечено. Наконец под Mac OS X есть вменяемый и удобный файл-менеджер! MC всё-таки родным тут не ощущается...

@corporateshark
Owner

Есть ли у вас опыт портирования подобных приложений под нативный API Cocoa?

@aralex
Contributor
aralex commented Oct 15, 2014

Увы, нет. Под Mac OS X я пока гость :)

@corporateshark
Owner

Понял. Продолжаю поиски.

@alex904
alex904 commented Dec 10, 2014

Кого ищем? Людей с опытом в Cocoa?

@corporateshark
Owner

@alex904: да.

@alex904
alex904 commented Dec 10, 2014

Какая работа уже идет или надо с нуля портировать?

@corporateshark
Owner

@alex904 сейчас на OS X все работает чере XQuartz. На Cocoa надо портировать с нуля. Со стороны С++ надо будет написать реализацию swl_wincoreCocoa.cpp (завернуть там все в Obj-C как потребуется).

@aotosha
aotosha commented Dec 12, 2014

при попытке подключиться по ftp, получаю ошибку - Socket is not connected:
2014-12-13 0 03 57
mac os и walcommander последних версий
с чем связана ошибка? как ее преодолеть?

@alex904
alex904 commented Dec 15, 2014

Ok, посмотрим. На первый взгляд, не rocket science, но надо найти время.

@frantic
Collaborator
frantic commented Jan 24, 2015

Started playing with Cocoa implementation for the UI...

screenshot 2015-01-23 23 45 31

@corporateshark
Owner

@frantic: Good job!

@corporateshark
Owner

@frantic How is it going? You can share your experience here https://groups.google.com/forum/#!forum/wal-commander

@frantic
Collaborator
frantic commented Feb 6, 2015

@corporateshark - I didn't get too far yet, but it's definitely possible.

@corporateshark
Owner

@frantic Looks very nice. You are approved in the discussion group.

@corporateshark corporateshark locked and limited conversation to collaborators Feb 19, 2015
@viktor-podzigun
Collaborator

Just discovered how to fix clipboard (Ctrl-C), go to the XQuartz menu:

X11 -> Preferences... -> Input -> un-tick "Enable key equivalents under X11"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.