Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58543 - add mail-notification ebuild to portage
Summary: add mail-notification ebuild to portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Net-Mail Packages
URL: http://www.nongnu.org/mailnotify/
Whiteboard:
Keywords: EBUILD
Depends on: 57197
Blocks:
  Show dependency tree
 
Reported: 2004-07-27 05:59 UTC by alex f
Modified: 2004-11-04 08:04 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mail-notification-0.5.0.ebuild (mail-notification-0.5.0.ebuild,927 bytes, text/plain)
2004-07-27 06:03 UTC, alex f
Details
mail-notification-0.5.0.ebuild (mail-notification-0.5.0.ebuild,698 bytes, text/plain)
2004-08-10 00:45 UTC, alex f
Details
mail-notification-0.6.1.ebuild (mail-notification-0.6.1.ebuild,855 bytes, text/plain)
2004-08-22 10:13 UTC, alex f
Details
mail-notification-0.6.2.ebuild (mail-notification-0.6.2.ebuild,1018 bytes, text/plain)
2004-09-09 03:17 UTC, alex f
Details
mail-notification-0.7.1.ebuild (mail-notification-0.7.1.ebuild,1.33 KB, text/plain)
2004-10-31 08:42 UTC, alex f
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex f 2004-07-27 05:59:01 UTC
Mail-notification is a nice systray app that can monitor mbox, mh, maildir, pop3, gmail and sylpheed. I suggest this goes to the mail-client category.
Comment 1 alex f 2004-07-27 06:03:17 UTC
Created attachment 36257 [details]
mail-notification-0.5.0.ebuild

This adds some new local use flags:

gmail	 - add support for google's gmail
mh	 - add support for mh mail
pop3	 - add support for pop3 mail accounts
sylpheed - add support for sylpheed mailboxes
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2004-08-09 23:20:57 UTC
Just some stylistic notes on the ebuild, for when you're using the gnome2 eclass:

1.) use G2CONF rather than overriding src_compile() { }
eg
G2CONF="${G2CONF} `use_enable mbox`"
G2CONF="${G2CONF} `use_enable pop3`"
etc

2.) do you need to add pkg-config to the DEPEND's?
Comment 3 alex f 2004-08-10 00:45:22 UTC
Created attachment 37138 [details]
mail-notification-0.5.0.ebuild

* removed some useflags, as they don't add any DEPEND's so it's only pop3 and
gmail now

* changed src_compile() to G2CONF

About pkg-config, yes it's needed, but it get's included with the gnome-panel
dependency for example.
Comment 4 alex f 2004-08-22 10:13:38 UTC
Created attachment 37950 [details]
mail-notification-0.6.1.ebuild

Upstream released a new version. This removes the gnet dependency, introduces
gob-2 as new dependency. Only new local useflag now is gmail.
Comment 5 unchecked_spamacct 2004-08-24 10:31:13 UTC
when I install the ebuild, it compiles fine but at runtime I get the following:

A fatal error has occurred in Mail Notification

Bonobo could not locate the GNOME_MailNotification_Automation.server file. Please check your Mail Notification installation.

On http://www.nongnu.org/mailnotify/ , a solution is given. Should this be implemented in the ebuild?

If you need any more info, just post back. Thanks.
Comment 6 unchecked_spamacct 2004-08-24 13:58:40 UTC
If I run Applications/Internet/Mail Notification and configure mail-notification, there is no error and the application runs as expected.
Comment 7 alex f 2004-08-25 06:52:30 UTC
The upstream solution for comment #5 is to install mail-notification into the same path as Gnome. That's already the case. But it seems like you have to restart your X11/Gnome session after merging mail-notification.
Comment 8 unchecked_spamacct 2004-09-04 05:23:54 UTC
What else has to happen for this to be in portage? How can I help? 
Comment 9 Tom Martin (RETIRED) gentoo-dev 2004-09-04 16:26:22 UTC
In CVS now, it'll be on the rsync mirrors in an hour or two. Thanks for reporting.
Comment 10 Tom Martin (RETIRED) gentoo-dev 2004-09-04 16:47:56 UTC
Just as a note - I removed the gmail USE flag from the ebuild. The automatic checking/retrieval seems to violate Gmail Terms of Use, Section 5. If this is found to not be the case, feel free to reopen the bug/mail me/shout at me very loudly. In the meantime, better safe than sorry.
Comment 11 alex f 2004-09-05 02:18:39 UTC
Well, Google themself provides a systray application for Gmail, just not for linux. I also never heard that somebody lost his account because he used such an application. And none of the authors of the many Gmail checking applications out there have received mail from Google asking them to stop. Not that I'm aware of. So there aren't any signs of Googles disapprovement.
Comment 12 alex f 2004-09-05 02:26:43 UTC
I see you have stripped the DESCRIPTION of the many supported formats and methods. I listed them so that when people emerge -s something this app would turn up. Please add them back. By the way you say you've removed Gmail support from the ebuild, yet Gmail is the only thing you have left in the DESCRIPTION.
Comment 13 unchecked_spamacct 2004-09-05 05:08:38 UTC
re comment #10:

Is this the line you're referring to in part 5?
"You also agree that you will not use any robot, spider, other automated device, or manual process to monitor or copy any content from the Service.  The Google Rights include rights to (i) the Service developed and provided by Google; and (ii) all software associated with the Service.  The Google Rights do not include third-party content used as part of Service, including the content of communications appearing on the Service."

IANAL, but it says that you can't use any "manual process" or "automated device" to "monitor ... content from the Service". I think they're talking about the actual content of the site (i.e., the site logo and layout) instead of the emails that are transmitted. Otherwise, logging in and checking your mail could constitute a manual process to monitor content.

Also, later in part 5 the TOS states that "The Google Rights do not include...the content of communications appearing on the Service". I would contend that the email itself has content, as well as the body of the email. Examples of this are blank emails sent from cronjobs, etc. If you receive an email at a certain time, thats content right there. For example, if I get an email at 7:00am, I know that I have to run emerge world to update my system.

Finally, "The Google Rights do not include third-party content used as part of Service, including the content of communications appearing on the Service." It just says including, but doesn't say that the third party content is limited to emails. Could mail-notify constitute third-party content?

There are also some technical reasons to question whether or not its okay to have a gmail monitor. The ads only show when you actually read the emails, and  there is no technical difference between mail-notify and the gmail checker (at least from a network standpoint, I think [can someone verify this?]).

Just my $0.02.
Comment 14 Andrej Kacian (RETIRED) gentoo-dev 2004-09-05 06:00:57 UTC
We can speculate about this as long as we desire, but I wouldn't recommend enabling gmail support for mail-notification until Google expresses their official standing on this, which should happen soon, what with increasing use of libgmail and gmailfs (I know that mail-notification is different to gmailfs, but still). See bug #62100 for similar issue.
Comment 15 alex f 2004-09-06 05:46:16 UTC
Comment #14, what makes you think that Google is going to "express their official standing on this" to "happen soon"? Did you ask Google?

Aside from the Gmail issue -- Tom, so how about putting back the original DESCRIPTION because of Comment #12?
Comment 16 alex f 2004-09-09 03:17:15 UTC
Created attachment 39244 [details]
mail-notification-0.6.2.ebuild

Upstream released a new version. It seems the 64bit patch isn't needed anymore,
so I removed that from the ebuild. Also I changed the DESCRIPTION back. It
really isn't that much longer than the DESCRIPTION of the ebuild already in the
tree, but is IMHO so much more useful. Please add it to the tree.
Comment 17 Andrej Kacian (RETIRED) gentoo-dev 2004-09-09 04:20:53 UTC
Thanks, in CVS now. I have removed ~amd64 keyword for now, to be sure.

amd64: could you please test if the new version works fine on your arch without the patch needed for 0.6.1 ? Thanks.
Comment 18 Tom Martin (RETIRED) gentoo-dev 2004-09-09 12:59:45 UTC
Re-marked ~amd64.

Thanks for taking care of this Andrej :)
Comment 19 Paolo 2004-10-06 15:06:27 UTC
 Mail Notification 0.7.0 released
Wednesday, October 6, 2004 
Comment 20 Andrej Kacian (RETIRED) gentoo-dev 2004-10-06 15:41:20 UTC
New (optional) MIME support for mail-notification requires gmime package installed. Setting depend on a bug where an ebuild for gmime is being crafted.
Comment 21 Andrej Kacian (RETIRED) gentoo-dev 2004-10-06 16:33:19 UTC
0.7.0 in CVS now, along with newly added MIME support. Thanks for reporting!

I have also removed ~amd64 from KEYWORDS, until gmime gets it. Bug for that is already filed.
Comment 22 Paolo 2004-10-26 03:55:47 UTC
Mail Notification 0.7.1 released
Comment 23 alex f 2004-10-31 08:42:24 UTC
Created attachment 43020 [details]
mail-notification-0.7.1.ebuild

bump version and add gmail support via USE flag. Would be the 3rd gmail app in
portage.
Comment 24 Paolo 2004-11-01 04:27:18 UTC
Mail Notification 0.8.0 released
Comment 25 alex f 2004-11-01 05:09:53 UTC
Renaming the 0.7.1 ebuild which I posted yesterday will work for 0.8.0.
Comment 26 Tom Martin (RETIRED) gentoo-dev 2004-11-01 09:24:38 UTC
The bump is in Portage now, but for reference, could all new version bump requests please be filed as new bugs. Thanks.
Comment 27 Mystilleef 2004-11-04 08:04:04 UTC
Do I need any use flags turned on to get gmail support?