Jump to content


Photo

Html Viewer For Claws-Mail


  • Please log in to reply
28 replies to this topic

#1 asimov-solensan

asimov-solensan

    GP32 User

  • Members
  • PipPipPip
  • 42 posts

Posted 28 September 2010 - 08:18 AM

Hello folks, there goes my problem: I really need a html viewer for claws. I'm used to work with this mail client, had it on my laptop for a long time.

But on the computer I could find the gtkhtml2 plugin for my distribution (I guess it is avalaible in almost every x86 distribution. In the angstrom repositories instead I found nothing, anyone knows is this package is avalaible (maybe in non-oficial repositories) or it has to be compiled from the sources.

Wich leads me to another problem because I have been only capable to get the sources for the last version for the plugin wich only works with claws 3.7 (pandora runs the 3.6.1).

Any ideas?

#2 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 28 September 2010 - 10:35 AM

Debian has the latest Claws-Mail including plugins available.

We're currently thinking of removing apps like AbiWord, ClawsMail, etc. from the official OS (as they save their data their and the NAND is full after a while) and offer them as PND.
That way, we can also more easily update the apps without having to release a new OS version.

I'll see if I can package up the latest Claws-Mail including the plugins later (then it will also save the eMails on your SD Card and not on the NAND)

#3 asimov-solensan

asimov-solensan

    GP32 User

  • Members
  • PipPipPip
  • 42 posts

Posted 28 September 2010 - 06:31 PM

That would be simply awesome EvilDragon.

I agree that run all those programs from SD would be better, specially if anyone likes to use pop3 istead of imap.

#4 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 29 September 2010 - 02:50 AM

Well, it's not as easy as I thought.
I have it running, but Claws-Mail wants to do chmodding, etc. on the config dirs, which is something a normal FAT32 card doesn't support.
So currently it runs fine on EXT2/EXT3-Cards, but not on FAT32.

The other way would be keeping the data on your NAND, but that's not what I want.

I downloaded the sourcecode and think I found the workaround for it (Win32 doesn't do chmods either, and ClawsMail runs there, too), however, I'm fighting with stupid automake to make me a proper cross-compile makefile...

Asked for help in the dev-section, once that happens, I might have it ready soon.

#5 CoMiKe

CoMiKe

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 349 posts
  • Gender:Male
  • Location:GP32Spain, Spain

Posted 29 September 2010 - 07:34 AM

Perhaps an EXT2 image file on the FAT32 formatted card could help... would be even better if that image file could grow, using something like the QEmu disk image format (QCOW2).

#6 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 29 September 2010 - 10:03 AM

Perhaps an EXT2 image file on the FAT32 formatted card could help... would be even better if that image file could grow, using something like the QEmu disk image format (QCOW2).


Thought the same. But EXT2 can't be made growable AFAIK.
And mounting an image needs root access, I don't want the user to enter the password each time he starts claws-mail.

#7 diegor

diegor

    Member

  • Members
  • PipPip
  • 29 posts

Posted 29 September 2010 - 10:56 AM


Perhaps an EXT2 image file on the FAT32 formatted card could help... would be even better if that image file could grow, using something like the QEmu disk image format (QCOW2).


Thought the same. But EXT2 can't be made growable AFAIK.
And mounting an image needs root access, I don't want the user to enter the password each time he starts claws-mail.



Resize2fs man page:

RESIZE2FS(8)                                                      RESIZE2FS(8)

NAME
       resize2fs - ext2/ext3 file system resizer

SYNOPSIS
       resize2fs  [  -d  debug-flags ] [ -S RAID-stride ] [ -f ] [ -F ] [ -p ]
       device [ size ]

DESCRIPTION
       The resize2fs program will resize ext2 or ext3 file systems.  It can be
       used  to  enlarge or shrink an unmounted file system located on device.
       If the filesystem is mounted, it can be used to expand the size of  the
       mounted filesystem, assuming the kernel supports on-line resizing.  (As
       of this writing, the Linux  2.6  kernel  supports  on-line  resize  for
       filesystems mounted using ext3 only.).

You can, but not while you're using it.

#8 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 29 September 2010 - 11:09 AM

You can, but not while you're using it.


Exactly the problem. It needs to grow with the incoming eMails... :/

#9 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 29 September 2010 - 01:12 PM

Asked for help in the dev-section, once that happens, I might have it ready soon.

I answer you there. But if you prefer, I could build this :)

#10 GizmoTheGreen

GizmoTheGreen

    Long(long!) haired Pandorian

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 696 posts
  • Gender:Male

Posted 29 September 2010 - 02:18 PM


You can, but not while you're using it.


Exactly the problem. It needs to grow with the incoming eMails... :/


make a dialog ask if user wants to create a ext2 image file, and how big.
and then at each boot, check how full it is, if its 90% or more full, ask user if he wants to change it (grow it by 10mb increments maybe?)

edit, though the root thing is a bother still.
isn't there some gui sudo that can remember the pass for specific apps? throw that in...

Edited by GizmoTheGreen, 29 September 2010 - 02:18 PM.


#11 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 29 September 2010 - 02:31 PM


Asked for help in the dev-section, once that happens, I might have it ready soon.

I answer you there. But if you prefer, I could build this :)


Well, if you want, you can do so, I can't do anything on it before tonight (when I get home).
But you also need to make changes so that it works on a FAT32.
Otherwise I could just run the Debian-ARMEL-Version, that works.

At the moment, it's like this:

The mail directories are created in $HOME.
The settings dir is in $HOME/.claws-mail

That's the default.
I guess the mail directories could be on a FAT32, the problem is the settings directory (though I'm not sure of that!)

So basically, there are two workarounds I can think off:

* Either disable the chmodding. Claws-Mail has full rw-access to the FAT32 card anyways ;)
* Move the settings Dir to /tmp/claws-mail and do an rsync before and after running (so that the config is saved back on the SD Card). Might lead to some problems though - as permissions would be lost when it's moved onto the SD Card. No idea if that's bad though.

In the sourcecode, there's /src/common/utils.c and utils.h
I think the chmod, etc.-functions are defined here. If we can just change it so that they're basically ignored, it could work.

#12 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 29 September 2010 - 11:28 PM

Hm, got the following error while compiling:

In file included from /usr/include/startup-notification-1.0/libsn/sn-launchee.h:30,
                 from main.c:50:
/usr/include/startup-notification-1.0/libsn/sn-common.h:31: fatal error: xcb/xcb.h: No such file or directory
compilation terminated.

Anyone knows where I get xcb.h from?

#13 WizardStan

WizardStan

    Mega GP Mania

  • X-treme Team
  • 6092 posts
  • Gender:Male

Posted 29 September 2010 - 11:56 PM

It's in the angstrom repository as libxcb-dev, or in the openembedded recipes as libxcb so you can build it yourself.

edit: Here you go. Just untar that to the appropriate base directory, the one which contains the usr directory. This will expand into /usr/include and /usr/lib.

#14 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 30 September 2010 - 11:43 AM

We're currently thinking of removing apps like AbiWord, ClawsMail, etc. from the official OS (as they save their data their and the NAND is full after a while) and offer them as PND.

Here is abiword. Let me know if you pln on removing dependency too (I'll add the gnome dependency in it too :) )

#15 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 30 September 2010 - 03:54 PM


We're currently thinking of removing apps like AbiWord, ClawsMail, etc. from the official OS (as they save their data their and the NAND is full after a while) and offer them as PND.

Here is abiword. Let me know if you pln on removing dependency too (I'll add the gnome dependency in it too :) )


Oh, nice :)
Gonna talk to the other guys, but I guess we should keep standard packages like gnome dependencies in the OS.