[Users] [PATCH 0/8] MacOS: integration with native OSX GTK

Igor Mammedov imammedo at redhat.com
Tue Jan 20 22:14:34 CET 2015


It makes possible to build claws-mail with native OSX GTK build
which is provided by gtk-mac-intergration project. It allows to
make a distributable OSX application bundle which doesn't depend
on any external libraries.

But mainly it allows to use native display server, i.e. no need
to run X server, no dependency on any fink provided libraries
and integration with OSX application menu.
In addition patch 3/8 beside integration also provides support
for OSX fullscreen mode.

there is an additional off-tree patch 
 https://github.com/imammedo/claws/commit/571607983158ddcef02ccde59dfd4a35924424ed
to help build claws-mail inside jhbuild environment
which is used for GTK. With it claws-mail could be build
as simple as executing:
  jhbuild build claws-mail

I'll try to merge this patch to gtk-mac-intergration project
when these patches are accepted.

PS:
there is enchant bug https://bugzilla.gnome.org/show_bug.cgi?id=742208
that makes spellcheck not usable, patch to fix issue in process
of merging into gtk-mac-intergration project.


Igor Mammedov (8):
  osx: fix configure's runtime check for python library
  osx: fix python plugin build error
  osx: add OSX integration with native GTK library
  osx: make sure that dialog windows are menu-less
  osx: make inputdialog menu-less
  osx: disable menu when quicksearch input field is in focus
  osx: set address book specific menubar as application menu
  osx: add 'make bundle' target to build OS X application bundle

 .gitignore                        |   3 ++
 Makefile.am                       |  11 ++++++
 claws-mail-launcher.sh            |  57 ++++++++++++++++++++++++++++++
 claws-mail.bundle.in              |  72 ++++++++++++++++++++++++++++++++++++++
 claws-mail.icns                   | Bin 0 -> 224934 bytes
 claws-mail.plist.in               |  24 +++++++++++++
 configure.ac                      |  24 +++++++++++--
 src/Makefile.am                   |  15 ++++++--
 src/account.c                     |   1 +
 src/addressbook.c                 |   1 +
 src/cm_osx.c                      |  29 +++++++++++++++
 src/cm_osx.h                      |  15 ++++++++
 src/compose.c                     |   1 +
 src/gtk/Makefile.am               |   4 ++-
 src/gtk/gtkutils.c                |   2 ++
 src/gtk/gtkutils.h                |   1 +
 src/gtk/inputdialog.c             |   1 +
 src/gtk/quicksearch.c             |   4 +++
 src/main.c                        |   3 ++
 src/mainwindow.c                  |   3 ++
 src/plugins/python/Makefile.am    |   1 +
 src/plugins/python/python-hooks.c |   4 +++
 22 files changed, 269 insertions(+), 7 deletions(-)
 create mode 100755 claws-mail-launcher.sh
 create mode 100644 claws-mail.bundle.in
 create mode 100644 claws-mail.icns
 create mode 100644 claws-mail.plist.in
 create mode 100644 src/cm_osx.c
 create mode 100644 src/cm_osx.h

-- 
1.9.3 (Apple Git-50)




More information about the Users mailing list