[Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Andrew Beverley
Dear all,

I'd like to add an installation page to the Evolution wiki. Before I
do so, I wanted to check that I hadn't missed an existing one?

At this stage I only intend to add instructions on how to install
Evolution from source in Ubuntu, but of course more could follow.

If I hear nothing back, then I'll create a new page on the wiki at the
URL https://wiki.gnome.org/Apps/Evolution/Installation

Thanks,

Andy


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Andre Klapper
Hi,

On Tue, 2014-05-13 at 10:40 +0100, Andrew Beverley wrote:
 I'd like to add an installation page to the Evolution wiki. Before I
 do so, I wanted to check that I hadn't missed an existing one?
 
 At this stage I only intend to add instructions on how to install
 Evolution from source in Ubuntu, but of course more could follow.
 
 If I hear nothing back, then I'll create a new page on the wiki at the
 URL https://wiki.gnome.org/Apps/Evolution/Installation

But isn't installing to most people doubleclicking on some installer
file and answering some checkboxes in a window, instead of watching some
source code flying by for hours after entering obscure commands in that
black text-only screen?

If the page had a big banner saying this is for tech users only; use
the software manager of your system to install Evolution in order to not
should yourself in the foot if you don't know what you're doing that
might work though.

andre
-- 
Andre Klapper  |  ak...@gmx.net
http://blogs.gnome.org/aklapper/

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Pete Biggs

 
 I'd like to add an installation page to the Evolution wiki. Before I
 do so, I wanted to check that I hadn't missed an existing one?
 
 At this stage I only intend to add instructions on how to install
 Evolution from source in Ubuntu, but of course more could follow.
 

Not convinced that distro specific things should go on the wiki.  I can
see a case for telling people how to build it from source, but that
should be as generic as possible and not reference any specific distro.

And not installation instructions - installation on Fedora means yum
install evolution (I'm sure there's an equivalent on Ubuntu).

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Andrew Beverley
On Tue, 2014-05-13 at 12:04 +0200, Andre Klapper wrote:
 Hi,
 
 On Tue, 2014-05-13 at 10:40 +0100, Andrew Beverley wrote:
  I'd like to add an installation page to the Evolution wiki. Before I
  do so, I wanted to check that I hadn't missed an existing one?
  
  At this stage I only intend to add instructions on how to install
  Evolution from source in Ubuntu, but of course more could follow.
  
  If I hear nothing back, then I'll create a new page on the wiki at the
  URL https://wiki.gnome.org/Apps/Evolution/Installation
 
 But isn't installing to most people doubleclicking on some installer
 file and answering some checkboxes in a window, instead of watching some
 source code flying by for hours after entering obscure commands in that
 black text-only screen?

Sorry, I actually meant building from source ;-)

Maybe that would be a better title, although whenever I go to a
project's documentation I expect there to be /something/ about
installation.

 If the page had a big banner saying this is for tech users only; use
 the software manager of your system to install Evolution in order to not
 should yourself in the foot if you don't know what you're doing that
 might work though.

Sure, I could add that.


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Andrew Beverley
On Tue, 2014-05-13 at 11:06 +0100, Pete Biggs wrote:
  
  I'd like to add an installation page to the Evolution wiki. Before I
  do so, I wanted to check that I hadn't missed an existing one?
  
  At this stage I only intend to add instructions on how to install
  Evolution from source in Ubuntu, but of course more could follow.
  
 
 Not convinced that distro specific things should go on the wiki.  I can
 see a case for telling people how to build it from source, but that
 should be as generic as possible and not reference any specific distro.

I can try and keep it as general as possible, although that might end up
just being ./configure  make  make install.

Given that people are generally (?) going to be building it on an
rpm-based or deb-based distribution, you could probably cover most
scenarios with just 2 sets of instructions.

Over the years I have always wanted to contribute to Evolution, but
until now I haven't because:

1. I've been conscious that the package I am using in whatever distro is
always a few versions behind, so any bug reports etc may not be
relevant.

2. Any attempts at a quick build from source have always failed for
me. It is only today that I have spent some time on it that I have
succeeded. I'd like to share that information with the community: given
that most people in my situation would start at the wiki, that seems a
good place to put it.

 And not installation instructions - installation on Fedora means yum
 install evolution (I'm sure there's an equivalent on Ubuntu).

Okay, how about:

1. Using https://wiki.gnome.org/Apps/Evolution/Installation

2. Adding the link to the page under get the source code section of
the main page

3. Making it clear (as per last email) that the first port of call
should be the distro's package repository.

Andy



___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Pete Biggs

 
 Maybe that would be a better title, although whenever I go to a
 project's documentation I expect there to be /something/ about
 installation.
 

Have a look on the other Gnome projects at https://wiki.gnome.org/Apps -
a few have build instructions, none have install instructions.  That's
because they are part of the Gnome desktop and it is expected that they
are installed as part of Gnome or through a distro's package manager.

If there is a distro that needs to have instructions in order to install
Evo, then surely those instructions belong on the distro wiki, not the
app's wiki.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Andrew Beverley
On Tue, 2014-05-13 at 11:29 +0100, Pete Biggs wrote:
 If there is a distro that needs to have instructions in order to install
 Evo, then surely those instructions belong on the distro wiki, not the
 app's wiki.

Sure, if someone needs to install Evo on their distro, then they use the
distro's instructions.

This is all about making it as easy as possible for someone to
contribute to the source project. Look at the efforts LibreOffice have
gone to in order to make contributing as easy as possible, and look at
the results.

As I said, I've been keen to contribute to the project in the past, but
until today have run into problems, and I even thought that I had to
compile Gnome from scratch to get the correct dependencies, before I
could even think about compiling Evolution.

If there was a nice and easy here's how to get started with the source
code, with some examples applicable to people's actual environment,
then I expect more people would contribute to it.

Thanks,

Andy


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Milan Crha
On Tue, 2014-05-13 at 10:40 +0100, Andrew Beverley wrote:
 I'd like to add an installation page to the Evolution wiki. Before I
 do so, I wanted to check that I hadn't missed an existing one?
 
 At this stage I only intend to add instructions on how to install
 Evolution from source in Ubuntu, but of course more could follow.

Hello,
thanks for the effort. Just do not call the page Installation, please.
As you want to _build_ evolution from sources, then use Building name
instead.

There already exists
   https://wiki.gnome.org/Apps/Evolution/Building_Evolution_on_Windows
which might be made subpage/subsection of your new Building wiki page.

An initial view of the structure, from my point of view, would be:
   https://wiki.gnome.org/Apps/Evolution/Building
   - general information about building from sources, with list of common
 issues, like how to setup D-Bus to know where to find services
 from built sources. Then with references to:

 https://wiki.gnome.org/Apps/Evolution/Building/Windows
 - moved information from the Building_Evolution_on_Windows

 https://wiki.gnome.org/Apps/Evolution/Building/Ubuntu
 - your new page

and add more subsections in the future, if/when needed.

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] mark_seen confusion

2014-05-13 Thread Carl Schaefer
it's been bothering me that simply visiting a new folder will mark a
message in that folder as seen, so I wandered into
mail/e-mail-reader.c to see if anything could be done.

This is in the EMailReaderPrivate structure, indicating that the
behavior that's bothering me isn't supposed to be happening:

/* These flags work together to prevent message selection
 * restoration after a folder switch from automatically
 * marking the message as read.  We only want that to
 * happen when the -user- selects a message. */
guint folder_was_just_selected : 1;
guint restoring_message_selection : 1;
guint avoid_next_mark_as_seen : 1;

As far as I can tell, these three fields represent two different ways to
keep a message from being marked seen (the first two are one approach,
and the third is another), but they don't seem to work in 3.12.2.

I don't understand the control flow in e-mail-reader.c, but after
adding a bunch of printfs it appears that there's a lot of repetition in
how these functions are invoked (see trace below), and I think this is
why the above fields don't work: the seen marking operation is
correctly blocked the first time through, but the block flag is then
cleared, and a subsequent seen marking succeeds.

I didn't find any open bugs on this issue, so unless somebody can point
one out to me, I'll open a new one.  I did finally generate a patch that
does what I want, but it's way beyond me to vouch for its overall
correctness.  I'll put the patch in the bug report (new or existing), in
case its useful.
Carl


*** change folder
e_mail_reader_set_folder()
mail_reader_set_folder()
e_mail_reader_get_mail_display()
mail_reader_set_folder()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_message_selected_cb()
mail_reader_message_selected_cb()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_emit_folder_loaded()
mail_reader_emit_folder_loaded()
mail_reader_folder_loaded()
mail_reader_folder_loaded()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_load_status_changed_cb()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_emit_folder_loaded()
mail_reader_emit_folder_loaded()
mail_reader_folder_loaded()
mail_reader_folder_loaded()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_message_cursor_change_cb()
schedule_timeout_mark_seen()
mail_reader_message_selected_cb()
mail_reader_message_selected_cb()
mail_reader_message_selected_timeout_cb()
e_mail_reader_get_mail_display()
mail_reader_message_selected_cb()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_load_status_changed_cb()
mail_reader_message_loaded_cb()
mail_reader_message_loaded()
e_mail_reader_get_mail_display()
mail_reader_set_display_formatter_for_message()
mail_reader_message_loaded_cb()
set_mail_display_part_list()
e_mail_reader_get_mail_display()
mail_reader_load_status_changed_cb()


*** select message
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_message_cursor_change_cb()
schedule_timeout_mark_seen()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_message_cursor_change_cb()
mail_reader_message_selected_cb()
mail_reader_message_selected_cb()
mail_reader_message_selected_timeout_cb()
e_mail_reader_get_mail_display()
mail_reader_message_selected_cb()
e_mail_reader_get_mail_display()
e_mail_reader_get_mail_display()
mail_reader_load_status_changed_cb()
mail_reader_message_loaded_cb()
mail_reader_message_loaded()
e_mail_reader_get_mail_display()
mail_reader_set_display_formatter_for_message()
mail_reader_message_loaded_cb()
set_mail_display_part_list()
e_mail_reader_get_mail_display()
mail_reader_load_status_changed_cb()

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] mark_seen confusion

2014-05-13 Thread Patrick O'Callaghan
On Tue, 2014-05-13 at 15:44 -0400, Carl Schaefer wrote:
 it's been bothering me that simply visiting a new folder will mark a
 message in that folder as seen, so I wandered into
 mail/e-mail-reader.c to see if anything could be done.

It's easy to prevent this by unsetting the Mark Messages Read box in
Mail Preferences. I always unset it and then explicitly mark messages as
read as I deal with them. Or is this not what you mean?

Note that Seen and Read are two different things. A message is Seen as
soon as it's reported by the IMAP server (other servers may be
different) even if you don't mark it as Read. This is how IMAP is
designed to behave.

 This is in the EMailReaderPrivate structure, indicating that the
 behavior that's bothering me isn't supposed to be happening:
 
 /* These flags work together to prevent message selection
  * restoration after a folder switch from automatically
  * marking the message as read.  We only want that to
  * happen when the -user- selects a message. */
 guint folder_was_just_selected : 1;
 guint restoring_message_selection : 1;
 guint avoid_next_mark_as_seen : 1;

This seems to be more for the Evolution Hackers list rather than this
one, however you haven't said exactly what you're trying to achieve.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] mark_seen confusion

2014-05-13 Thread Carl Schaefer
On Tue, 2014-05-13 at 21:04 +0100, Patrick O'Callaghan wrote:
 On Tue, 2014-05-13 at 15:44 -0400, Carl Schaefer wrote:
  it's been bothering me that simply visiting a new folder will mark a
  message in that folder as seen, so I wandered into
  mail/e-mail-reader.c to see if anything could be done.
 
 It's easy to prevent this by unsetting the Mark Messages Read box in
 Mail Preferences. I always unset it and then explicitly mark messages as
 read as I deal with them.

maybe I should try that approach, it would probably help me keep my
inbox manageable.  However, I still think the current behavior with
Mark Messages Read checked is buggy.

 Note that Seen and Read are two different things.

perhaps in IMAP, but in evolution they appear to be the same, or at
least used interchangeably at times.  For example, the Mark Messages
Read preferences checkbox sets a dconf element called mark-seen.

  This is in the EMailReaderPrivate structure, indicating that the
  behavior that's bothering me isn't supposed to be happening:
  
  /* These flags work together to prevent message selection
   * restoration after a folder switch from automatically
   * marking the message as read.  We only want that to
   * happen when the -user- selects a message. */
  guint folder_was_just_selected : 1;
  guint restoring_message_selection : 1;
  guint avoid_next_mark_as_seen : 1;
 
 This seems to be more for the Evolution Hackers list rather than this
 one, however you haven't said exactly what you're trying to achieve.

I'd like the behavior described in the comment above, i.e. switching
folders doesn't automatically mark a message as read.  Maybe I'm
confused about what that really means, but it seems to me that evolution
doesn't currently behave that way.

thanks for the pointer to evolution-hackers, I didn't know about it.
Carl
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Zan Lynx
On 05/13/2014 04:29 AM, Pete Biggs wrote:
 Have a look on the other Gnome projects at https://wiki.gnome.org/Apps -
 a few have build instructions, none have install instructions.  That's
 because they are part of the Gnome desktop and it is expected that they
 are installed as part of Gnome or through a distro's package manager.

This is why the process is so mind bogglingly obnoxious the times in the
past when I've had an Evolution bug.

Can you build just Evolution from source on the distribution you're
using? In the past I couldn't. The only option was to build ALL OF
GNOME. And the balancing act needed to get it to run as a side-by-side
installation with the distribution version was INSANE. DBUS messages go
to the wrong places and daemons crash each other and fonts and themes
fight to the death.

I pretty much had to log in an ultra-basic TWM X session and manually
start things from an xterm.

And never, never run it from your real home directory. Trying to reverse
a half successful upgrade is a pain. Which means that you need to know
what files to copy into a new user directory to reproduce a problem.

A tool like JHBuild is pretty much a requirement.
https://developer.gnome.org/jhbuild/stable/index-info.html.en


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Installation page for the Evolution wiki

2014-05-13 Thread Carl Schaefer
On Tue, 2014-05-13 at 19:02 -0600, Zan Lynx wrote:
 On 05/13/2014 04:29 AM, Pete Biggs wrote:
  Have a look on the other Gnome projects at https://wiki.gnome.org/Apps -
  a few have build instructions, none have install instructions.  That's
  because they are part of the Gnome desktop and it is expected that they
  are installed as part of Gnome or through a distro's package manager.
 
 This is why the process is so mind bogglingly obnoxious the times in the
 past when I've had an Evolution bug.
 
 Can you build just Evolution from source on the distribution you're
 using? In the past I couldn't.

FYI, with Arch Linux building evolution from source is very easy, and
doesn't require rebuilding GNOME or any runtime gymnastics.  This was a
design goal of the package management system, but also it's helped by
Arch's rolling-release model, which means libraries are kept up-to-date.
I wouldn't want to try to build evolution 3.12 on an Ubuntu 10.04 LTS
system, or an Arch system that hadn't been updated in years either.

Carl
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list