Index of /cygwin/claws-mail

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[DIR]3.0.1/19-Nov-2007 23:55 -
[TXT]README.html22-Nov-2007 00:20 31K
[DIR]_screenshots/10-Jan-2007 01:08 -
[TXT]claws-mail-3.1.0-1.sh19-Nov-2007 23:47 16K
[   ]claws-mail-3.1.0-1.tar.bz219-Nov-2007 23:48 2.3M
[   ]claws-mail-3.1.0.orig.tar.bz219-Nov-2007 23:54 5.5M
[   ]claws-mail-devel-3.1.0-1.tar.bz219-Nov-2007 23:49 138K
[TXT]claws-mail-extra-plugins-3.1.0-1.patch22-Nov-2007 00:17 16K
[   ]claws-mail-extra-plugins-3.1.0-1.tar.bz222-Nov-2007 00:14 695K
[   ]claws-mail-extra-plugins-3.1.0.orig.tar.bz222-Nov-2007 00:17 4.7M
[   ]claws-mail-i18n-3.1.0-1.tar.bz219-Nov-2007 23:50 2.0M
[   ]claws-mail-themes-20070116-1.tar.bz218-Jan-2007 00:39 1.1M
[TXT]libetpan-0.49-1.patch07-Jul-2007 23:10 859
[   ]libetpan-0.49.orig.tar.bz207-Jul-2007 23:10 675K
[   ]libetpan-devel-0.49-1.tar.bz207-Jul-2007 14:48 300K
[   ]libetpan11-0.49-1.tar.bz207-Jul-2007 14:47 211K

Cygwin port of Claws Mail (Sylpheed-Claws) claws-mail

Cygwin port of Claws Mail (Sylpheed-Claws)

Here is the cygwin port of claws mail (formerly sylpheed-claws),  a GTK+ based, lightweighted, and fast e-mail client. (a screenshot on cygwin)

=>   current: 3.1.0-1           simply built on cygwin, without gnomeprint and LDAP support 
=>   testing: (none)            enabled LDAP and gnomeprint support,  and has some cygwin specific changes (cygwin_locale, FAT32 utime_dir) and a few my shabby patches (experimental undelete feature, tear-off menu item)      I'm no longer providing the 'testing' branch, as on win32 I've switched to Mozilla Thunderbird. Sorry.
=>   how to build it by yourself?

Current Version: 3.1.0-1

upstream release notes for 3.1.0

It is built on cygwin-1.5.21, WinXP Home Ed. SP2, on FAT32
with gcc-3.4.4-1, binutils-20060817-1, libtool1.5-1.5.22-1
and the following libraries:
   xorg-x11-6.8.99.901
   openssl-0.9.8-1
   gettext-0.14.5-1
   libconv-1.9.2-2,
   aspell-0.50.3-1
   glib2-2.10.3-1
   gtk2-x11-2.6.10-1
   startup-notification-0.8-1
   libetpan-0.49
   gpgme-1.0.0 (unofficial package got from cygwin-port project)

Here are the configurations:

> $ CFLAGS=-O2 ./configure --prefix=/usr/local \
> --enable-aspell --enable-openssl --enable-compface \
> --enable-trayicon-plugin --enable-spamassassin-plugin \
> --enable-image-viewer-plugin --enable-dillo-viewer-plugin --enable-demo-plugin
> --disable-ldap --disable-gnomeprint

> JPilot        : no
> LDAP          : yes
> OpenSSL       : yes
> iconv         : yes
> compface      : yes
> IPv6          : no
> GNU/aspell    : yes
> IMAP4         : yes
> Crash dialog  : no
> libgnomeprint : yes
> LibSM         : yes
> Manual        : yes
> Plugins       : clamav dillo-viewer pgpinline pgpmime pgpcore bogofilter spamassassin trayicon
> Config dir    : .claws-mail

run-time requirements:

 requires(minimal):
   cygwin      >=1.5.21
   openssl    >=0.9.8b
   libintl3      >=0.14.1
   libiconv2     >=1.9.2
   libaspell15     >=0.50.3
   glib2-runtime          >=2.10.3
   gtk2-x11-runtime       >=2.6.10
   libetpan11*        >=0.49
 recommends:
   claws-mail-i18n (locale data, and documentation in other languages)
   sylpheed-iconset    (themes)
   aspell-dict    (aspell-en or other dict)
   compface       (for X-Face support)
   clamav         (anti-virus, needed for clamav plugin
   gnupg          (>=1.2.1, required by PGP plugins)
   gpgme*         (>=0.4.5, required by PGP plugins)
   dillo*         (>=0.7.0, simple web browse and html viewer, needed for dillo plugin.)
   spamassassin*  (anti-spam, needed for spamassassin plugin)
   bogofilter*   
(anti-spam, needed for bogofilter plugin)


 libetpan11: you can find on this folder:
       
 gpgme:
        ftp://sunsite.dk/projects/cygwinports/release/gpgme      
        http://cygwin-ports.sourceforg.net/install/release/gpgme
 Dillo:
        ftp://sunsite.dk/projects/cygwinports/release/dillo/      
        http://cygnome.sourceforge.net/install/release/dillo   (for this one, you need gtk/glib 1.2 libraries from the CyGNOME project.)
 SpamAssassin: seems no cygwin port yet, but it's easy to build and install
         http://www.cygwin.com/ml/cygwin/2002-05/msg01660.html
         http://www.exit0.us/index.php/SA%20using%20CYGWIN
 BogoFilter:
         FIXME?

Download

binary:
        claws-mail-3.1.0-1.tar.bz2        (main package)
        claws-mail-i18n-3.1.0-1.tar.bz2        (message catalogs and manuals, i.e.translations for different language)
        claws-mail-devel-3.1.0-1.tar.bz2        (include files and export libraries, you need this if you wanto build thire-party plugins by your self)
        claws-mail-extra-plugins-3.1.0-1.tar.bz2  (extra plugins, except for acpi_notifiier, pdf_viewer, perl_plugin and synce.  requires claws-mail-3.0.0)
        claws-mail-themes-20070116-1.tar.bz2  (icon sets)

       how to install: you can unpack manually, but I recommend you use my simple script :
            installpkg.sh claws-mail-2.7.2-1.tar.bz2
source:
        claws-mail-3.1.0.orig.tar.bz2   (original source tarball)
        claws-mail-3.1.0-1.sh            (cygwin build script)
                     how to build:          (no patch required)
$ wget http://heanet.dl.sourceforge.net/sylpheec-claws/claws-mail-3.0.1.tar.bz2
$ ./claws-mail-3.0.1-1.sh all

        claws-mail-extra-plugins-3.1.0.orig.tar.bz2
        claws-mail-extra-plugins-3.1.0-1.patch  
                    how to build:
# make sure you've got header files and libraries (or package claws-mail-devel installed)
$ tar xf  claws-mail-extra-plugins-3.0.0.orig.tar.bz2

$ cd claws-mail-extra-plugins-3.0.0
$ patch -p1 < ../claws-mail-extra-plugins-3.0.0-1.patch        # this patch would create build_cygwin.sh and CYGWIN-PATCHES/  folder.
$ ./build_cygwin.sh all       # or  `./build_cygwin.sh package [patch|conf|build|install]'
$ ./build_cygwin.sh package  

      
  

Testing Version: 2.7.0-1t

Diffent from the above one, this one is built with the following options/modifications:
  • gnomeprint support enabled (thus libgnomeprint22 and libgnomeprintui22 required)
  • some patches to workaround for cygwin's poor locale support ( provided by David Huang)
  • utime patch for FAT file system (provided by David Huang)
  • my undelete patch: press DEL on messages already marked to be deleted,  the mark would be reset
  • New: my tearoff menuitem patch: the main menu could be torn-off

Run-time requirements:

Mostly the same with the above one, with some exceptions
  • LDAP support enabled, thus at least package libopenldap2_2_7(>=2.2.26) required
  • GnomePrint support enabled in this build, thus package libgnomeprint22(>=2.10.3-1) and libgnomeprintui22(>=2.10.2-1) (and also  libgnomecanvas2>=2.12.0, libart_lgpl>=1.4.2) are required

Download

binary:
        claws-mail-2.7.0-1t.tar.bz2        (main package)
        claws-mail-i18n-2.7.0-1t.tar.bz2        (message catalogs, i.e.translations for different language)
        claws-mail-devel-2.7.0-1t.tar.bz2        (include files and export libraries, you need this if you wanto build thire-party plugins by your self)
       how to install: you can unpack manually, but I recommend you use my simple script :
            installpkg.sh claws-mail-2.7.0-1t.tar.bz2
source:
        claws-mail-2.7.0.orig.tar.bz2   (original source tarball)
        claws-mail-2.7.0-1t.sh            (cygwin build script)
        claws-mail-2.7.0-1t.patch       (cygwin patch)

How to build it by your self?

Fetch the source tarball

The original source package could be found from
http://www.claws-mail.org
http://sourceforge.net/projects/sylpheed-claws

PreReq

Make sure you have installed the include files and libraries for glib2, gtk2 and other libraries.

Note that to ensure DLLs could be correctly generated, your binutils and  libtool-devel should be new enough, I used libtool-devel-20030216 and binutils-20030307.

Additional libraries:
  For ssl support, you need
    openssl
    openssl-devel
  For aspell support, you need
    libaspell15
    aspell-devel-dev
  For ldap support, you need
    minires
    minires-devel
    gmp
    openssl
    openssl-devel
    libopenldap2
    openldap-devel
  For compface support, you need
    compface
  For libgnomeprint support, you need
    libgnomeprint22
    libgnomeprintui22
    lignomecanvas2
    libart_lgpl


Build Steps

Unpack source of claws-mail, and apply the following patch
    $ patch -p1 -b < claws-mail-1.9.15-1.patch

Use the generic-build-script to build:
    $ ./claws-mail-2.7.0-1.sh all

or you can execute the steps one by one:
 # unpack source package, create some directories
    $ ./claws-mail-2.7.0-1.sh prep
 # apply patches  
     $ ./claws-mail-2.7.0-1.sh patch
 # execute ./configure in ${srcdir}/.build/
    $ ./claws-mail-2.7.0-1.sh config
 # start building
     $ ./claws-mail-2.7.0-1.sh make
 # install to DESTDIR i.e. ${srcdir}/.inst
     $ ./claws-mail-2.7.0-1.sh install
 # install additional files to DESTDIR i.e. ${srcdir}/.inst
     $ ./claws-mail-2.7.0-1.sh install_part2
 # create binrary package
     $ ./claws-mail-2.7.0-1.sh package
 # if you made some modification, use this command to regenerate the source patch
     $ ./claws-mail-2.7.0-1.sh mkpatch

Troubleshooting

- when configuring, it compliains that `gtk+-2.0 > 2.4.0' not satisfied
  please check your version of pkg-config, 0.17.2-1 won't work.
  if `pkg-config --libs gtk+-2.0' outputs like the following:
     -Wl,--export-dynamic -lgtk-x11-2.0
  please upgrade to 0.17.2-2, or downgrade to 0.15.
  (the right output should be:
   -Wl,--export-dynamic -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
   -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext
   -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0
   -lglib-2.0 -lintl -liconv
  )

- libtool complains /usr/X11R6/lib/libXrender.la could not be found: link: `/usr/X11R6/lib/libXrender.la' is not a valid libtool archive
  edit your /usr/lib/libpangoxft-1.0.la, remove '/usr/X11R6/lib/libXrender.la'
  I don't know how the non-existing file /usr/X11R6/lib/libXrender.la got into /usr/lib/libpangoxft-1.0.la   :-(
  (when building plugin clamav, you'll got the same error on '/usr/lib/libbz2.la' and '/usr/lib/libz.la', you need to modify /usr/lib/libclamav.la. I don't know 'libbz2.la' came from, as there's no such file in current cygwin package repository.) 

Known Issues

As plugin spamassassin_gtk depends on plugin spamassassin, in which the latter is also a loadable module, but libtool would fail when performing  'libtool --mode=install' on spamassassin_gtk.la. You have to use 'make -i install'  to workaround this.

Plugin pgpinline and pgpmime have the same problems (they depend on plugin pgpcore).

History

Nov 19, 2007    3.1.0
    New upstream release (upstream release notes)

Sep 18, 2007
    3.0.1
    New upstream bug-fix release

Sep 10, 2007    3.0.0
    New upstream release(
upstream release notes)

Jul 7, 2007   2.10.0
    New upstream release(upstream release notes). Now it requires libetpan11 (>=0.49)

Apr 22, 2007  2.9.1
    New upstream release
(upstream release notes)

Mar 2, 2007   2.8.0
    Kept up with new upstream release
(upstream release notes).

Jan 26, 2007    2.7.2
    Kept up with new upstream bug-fix release.

Jan 16, 2007    2.7.1
    Kept up with new upstream release.

Jan 10, 2007    2.7.0
    Kept up with new upstream release(now named as Claws Mail).
    Enabled libSM support.

Nov 12, 2006    2.6.0

    Kept up with new upstream release, now it needs libetpan10 (>=0.48)

Oct 13, 2006    2.5.5
    Kept up with new upstream release.
    Rebuilt extra plugins, version number 2.5.0-255
    testing version:  Remove 'file://' prefix in manual.c, to make sure menu item 'Manual' would work in cygwin.
    testing version:  Change default browser to 'cygstart'(patch).

Sep 28, 2006     2.5.2
     New upstream release
    
Sep 26, 2006     2.5.0
     New upstream release, now it requires libetpan8(>=0.46)

Aug 1, 2006    2.4.0
     New upstream release

Jun 23, 2006    2.3.1
    New upstream release
    testing version: Now with my tearoff-menuitem patch.

Apr 23, 2006    2.1.1
    New upstream release

[older changes purged]