Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139911 - new ebuild: net-mail/gmail-notify-1.6.1
Summary: new ebuild: net-mail/gmail-notify-1.6.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://gmail-notify.sourceforge.net
Whiteboard:
Keywords: EBUILD
: 223571 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-10 12:38 UTC by David Grant
Modified: 2022-10-19 14:58 UTC (History)
2 users (show)

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


Attachments
screenshot of it working (screenshot.png,34.45 KB, image/png)
2006-07-10 12:46 UTC, David Grant
Details
gmail-notify-1.6.1.ebuild (gmail-notify-1.6.1.ebuild,1.49 KB, text/plain)
2006-08-10 17:22 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2006-07-10 12:38:51 UTC
This will actually work (as oppoed to kcheckgmail which doesn't), see below:

Gmail Notifier is a Linux alternative for the notifier program released by Google, it is written in Python and provides an attractive and simple way to check for new mail messages.
Latest News:

Gmail Notifier 1.6.1 released

Notifier version 1.6 is not working any more due to a change in Gmail's authentication system. The latest release solves this by implementing it's own connection library, instead of using libgmail.

Going to try committing to sunrise now.
Comment 1 David Grant 2006-07-10 12:39:26 UTC
Please assign to maintainer-wanted@gentoo.org
Comment 2 David Grant 2006-07-10 12:44:21 UTC
Draft here: http://www.rafb.net/paste/results/k3o9sO54.html for review at #gentoo-sunrise
Comment 3 David Grant 2006-07-10 12:46:08 UTC
Created attachment 91390 [details]
screenshot of it working
Comment 4 David Grant 2006-07-10 15:35:44 UTC
latest: http://www.rafb.net/paste/results/d7G9kp19.html
Comment 5 David Grant 2006-07-10 17:03:08 UTC
This is now in the sunrise overlay. You can find it at:
http://gentoo-sunrise.org/svn/reviewed/net-mail/gmail-notify/
Comment 6 Tristan Heaven (RETIRED) gentoo-dev 2006-07-10 18:42:12 UTC
Few things:
- http://gmail-notify.sourceforge.net/ would be better for HOMEPAGE
- >=dev-python/pygtk-2.0* and >=x11-libs/gtk+-2.4* should not have an asterisk
- you should not be deleting files from S in src_install
- look at make_wrapper() from eutils.eclass
- where do you use bzip2 in the ebuild?
Comment 7 David Grant 2006-07-10 19:08:04 UTC
I don't know why I was thinking bzip2 when it is a .tar.gz. Do I need to explicitly depend on gzip?

make_wrapper is being used now

I installed like this:
doins *.py *.jpg *.png langs.xml pytrayicon.so notifier.conf.sample
instead of deleted the readme and doing "doins *"

fixed URL and removed asterisks

Only problem left is this:
QA Notice: pre-stripped files found:
/var/tmp/portage/gmail-notify-1.6.1/image/usr/lib/python2.4/site-packages/gmail-notify/pytrayicon.so
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2006-07-10 19:33:15 UTC
(In reply to comment #7)
> Do I need to explicitly depend on gzip?
no

> Only problem left is this:
> QA Notice: pre-stripped files found:
Yes, that is a problem.
Comment 9 Tristan Heaven (RETIRED) gentoo-dev 2006-07-10 19:45:14 UTC
Ubuntu has a patch to use gnome-python-extras instead.
Comment 10 David Grant 2006-07-10 20:54:02 UTC
can you provide a link?
Comment 11 David Grant 2006-07-10 21:00:55 UTC
Here is ubuntu's diff:
http://archive.ubuntu.com/ubuntu/pool/universe/g/gmail-notify/gmail-notify_1.6.1-0ubuntu2.diff.gz

I'm going to try first to get this in to upstream rather than have 2 distros using these patches... I've already been in touch with the developer today.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-08-10 17:22:56 UTC
Created attachment 93955 [details]
gmail-notify-1.6.1.ebuild

updated ebuild (add RESTRICT="strip")
Comment 13 David Grant 2006-09-25 23:21:25 UTC
This is going to require a patch because there is this:

LANGSXML_PATH=sys.path[0]+"/langs.xml"

in GmailConfig.py

which fails when sys.path[0] is not the path where gmail-notifier is installed too. There is lot of crap like this in the code, which I notice the ubuntu fixes a lot of. Not sure if I'll get around to taking care of these issues since I don't use it right now (although I would like too).
Comment 14 David Grant 2006-09-26 00:08:54 UTC
Ok, that is fixed now, I updated the ebuild sunrise.
Comment 15 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-07-12 12:21:59 UTC
*** Bug 223571 has been marked as a duplicate of this bug. ***
Comment 16 Isakov Alexandr 2008-07-12 12:29:41 UTC
New version released: simply rename to 1.6.1.1. Adds more localizations.
Comment 17 Ian Stakenvicius (RETIRED) gentoo-dev 2009-06-01 16:41:16 UTC
I found a bug in the 1.6.1 ebuild, where even though there's a patch that makes it compile against egg.TrayIcon, src_install still installs the now-unused pytrayicon.so and as such revdep-rebuild will continuously try and rebuild it to resolve missing dependencies.

I'm fixing this in sunrise while I version-bump the ebuild to 1.6.1.1