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

Igor Mammedov imammedo at redhat.com
Thu Jan 22 17:35:55 CET 2015


Changes since v1:
  * move bundle specific scripts/files to osx subdirectory
  * squash enchant patch into bundle patch
  * disable quartz accelerators and drop menuless patches
    since with GTK bindings input works as expected

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 (5):
  osx: fix configure's runtime check for python library
  osx: fix python plugin build error
  osx: add OSX integration with native GTK library
  osx: set address book specific menubar as application menu
  osx: add 'make bundle' target to build OS X application bundle

 Makefile.am                       |  11 ++++++
 configure.ac                      |  24 ++++++++++--
 osx/.gitignore                    |   6 +++
 osx/claws-mail-launcher.sh        |  58 +++++++++++++++++++++++++++
 osx/claws-mail.bundle.in          |  80 ++++++++++++++++++++++++++++++++++++++
 osx/claws-mail.icns               | Bin 0 -> 224934 bytes
 osx/claws-mail.plist.in           |  24 ++++++++++++
 src/Makefile.am                   |  15 +++++--
 src/addressbook.c                 |   1 +
 src/cm_osx.c                      |  22 +++++++++++
 src/cm_osx.h                      |  13 +++++++
 src/compose.c                     |   1 +
 src/gtk/Makefile.am               |   4 +-
 src/main.c                        |   3 ++
 src/mainwindow.c                  |   3 ++
 src/plugins/python/Makefile.am    |   1 +
 src/plugins/python/python-hooks.c |   4 ++
 17 files changed, 263 insertions(+), 7 deletions(-)
 create mode 100644 osx/.gitignore
 create mode 100755 osx/claws-mail-launcher.sh
 create mode 100644 osx/claws-mail.bundle.in
 create mode 100644 osx/claws-mail.icns
 create mode 100644 osx/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