Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117867 - mail-client/checkgmail-1.4 (new) a gmail notifier for gnome
Summary: mail-client/checkgmail-1.4 (new) a gmail notifier for gnome
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://checkgmail.sourceforge.net/
Whiteboard:
Keywords: EBUILD
: 311691 (view as bug list)
Depends on: 137293 192839
Blocks:
  Show dependency tree
 
Reported: 2006-01-05 03:28 UTC by Antoine
Modified: 2022-10-19 14:59 UTC (History)
8 users (show)

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


Attachments
dev-perl/Crypt-Simple-0.06.ebuild (Crypt-Simple-0.06.ebuild,487 bytes, text/plain)
2006-01-05 03:30 UTC, Antoine
Details
mail-client/checkgmail-1.4.ebuild (checkgmail-1.4.ebuild,853 bytes, text/plain)
2006-01-05 03:30 UTC, Antoine
Details
checkgmail-1.4.ebuild (checkgmail-1.4.ebuild,630 bytes, text/plain)
2006-01-05 14:38 UTC, Paul Bredbury
Details
checkgmail-1.9.2.ebuild version bump (checkgmail-1.9.2.ebuild,723 bytes, text/plain)
2006-06-18 18:48 UTC, revertex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine 2006-01-05 03:28:31 UTC
Hi all !

I've done those ebuilds for checkgmail, a gmail notifier for gnome, i'am not an ebuild expert, PaulBredbury for gentoo forum help me doing those ebuilds
thread on gentoo forums: http://forums.gentoo.org/viewtopic-t-419058.html

mail-client/checkgmail-1.4.ebuild (new)
dev-perl/Crypt-Simple-0.06.ebuild (new, dependancy for checkgmail if you want to save your password)

Have a nice day
Antoine

--------------------------
dev-perl/Crypt-Simple-0.06

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit perl-module

DESCRIPTION="Crypt::Simple module for perl"
HOMEPAGE="http://search.cpan.org/~kasei/${P}"
SRC_URI="http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="virtual/libc
        >=dev-lang/perl-5
        >=dev-perl/Crypt-Blowfish-2.09-r3
        >=dev-perl/FreezeThaw-0.43-r1
        "

export OPTIMIZE="${CFLAGS}"
--------------------------
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Gmail notifier for GNOME"
HOMEPAGE="http://checkgmail.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE="savepwd"

DEPEND=">=dev-perl/gtk2-perl-1.1
        >=dev-perl/gtk2-trayicon-0.03
        >=dev-perl/libwww-perl-5.800
        >=dev-perl/Crypt-SSLeay-0.49
        >=dev-perl/XML-Simple-2.12
        >=x11-libs/gtk+-2.6
        savepwd? ( >=dev-perl/Crypt-Simple-0.06 )"

src_install() {
        dobin checkgmail || die "dobin failed"
        dodoc COPYING ChangeLog README TODO
}
Comment 1 Antoine 2006-01-05 03:30:01 UTC
Created attachment 76226 [details]
dev-perl/Crypt-Simple-0.06.ebuild
Comment 2 Antoine 2006-01-05 03:30:37 UTC
Created attachment 76227 [details]
mail-client/checkgmail-1.4.ebuild
Comment 3 Paul Bredbury 2006-01-05 14:38:58 UTC
Created attachment 76277 [details]
checkgmail-1.4.ebuild

Tidied, and fixed the gtk2-perl version number.
Comment 4 revertex 2006-01-23 01:48:33 UTC
Finally i've found a gmail checker that work's on fluxbox!
I bumped the Paul Bredbury ebuild to 1.5.1 version, and it build like a champ in my amd64.
It's the prettiest gmail notifier i even saw.
just a side note, fix the summary, "mail-client/checkgmail-1.4 (new) a gmail notifier for gnome" it's not a gnome app but according to the author "CheckGmail is an alternative Gmail Notifier for Linux and other *nix systems"
Some people like me feels a bit scared with gnome apps and all it's dependencies, It seems it's not a gnome app, but gtk.
Comment 5 revertex 2006-06-18 18:48:07 UTC
Created attachment 89501 [details]
checkgmail-1.9.2.ebuild version bump

the ebuild is the same, just renamed, works as expected.
when this app will be included in portage?
it's running rock solid since v1.5, i can't see why it isn't added yet.
Comment 6 Paul Bredbury 2006-06-18 19:18:49 UTC
Please don't clutter up the ebuild description with "version bump". It's obvious that it's a version bump - the version number increases.

Rather than asking why someone hasn't worked for free for you, try becoming a Gentoo developer, and working for free :)
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2006-06-18 21:16:14 UTC
The app looks nice, I'll have a look at adding it to portage soon.
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2006-06-19 12:24:06 UTC
I'm changing the USEflag to "clearpasswd", as this flag is already used in few ebuilds, and its usage fits nicely - if it's enabled, password for your gmail account will be stored in plaintext.

The flag is disabled by default, so default choice is more secure.
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2006-06-21 15:19:37 UTC
OK, we got dev-perl/Crypt-Simple in portage now (bug #137293), but there's another Perl module needed - threads[1]. I'm too tired right now though, I'll try bugging the perl team tomorrow.

1. http://search.cpan.org/~jdhedden/threads-1.32/threads.pm
Comment 10 Christian Apolloni 2006-10-21 07:44:09 UTC
Is this package still going to be included in portage?
Comment 11 David Grant 2007-01-16 23:12:09 UTC
anyone mind if I put this in sunrise overlay?
Comment 12 Peter Avramucz 2007-01-20 20:29:23 UTC
(In reply to comment #11)
> anyone mind if I put this in sunrise overlay?
> 

Please! :)
Comment 13 Peter Avramucz 2007-01-20 21:27:24 UTC
Tried on ~amd64.
It needed "threads" module.
If i compile perl, with ithreads support, checkgmail needs more modules.
This is because, they were compiled against perl without ithreads.
So ???
How can I recompile all of these packages?
Comment 14 Peter Avramucz 2007-01-20 22:16:11 UTC
ahh... perl-cleaner...
And the oldest stable works. But the 1.9.2 gives me 404...
Comment 15 David Grant 2007-02-19 11:15:37 UTC
would someone please mark the crypt-simple ebuild as obsolete?
Comment 16 David Grant 2007-02-19 11:31:04 UTC
In sunrise now. Please obsolete all attachments.
Comment 17 David Grant 2007-02-19 11:32:10 UTC
A TODO for this ebuild should be to detect if perl was build with ithreads and if not, barf.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 07:55:49 UTC
In sunrise overlay now, please continue the work there.

http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-mail/checkgmail/
Comment 19 Miguel R. Caudevilla 2009-11-10 19:28:17 UTC
I am having lots of problems to make my checkgmail work...

Firstly, I've installed all the required dependencies:

dev-lang/perl --> With USE=ithreads
dev-perl/XML-SAX
dev-perl/glib-perl
dev-perl/Cairo
dev-perl/Crypt-Blowfish
dev-perl/FreezeThaw
perl-core/MIME-Base64
dev-perl/gtk2-perl
perl-core/Digest-MD5
dev-perl/XML-Simple
dev-perl/gtk2-trayicon
dev-perl/Gtk2-Sexy
dev-perl/Crypt-Simple
dev-perl/Crypt-SSLeay
dev-perl/libwww-perl

and emerge doesn't find Compress-Zlib... So i emerged zlib instead. I think this package is renamed in gentoo, am i wrong?

And obviously, i installed checkgmail from layman overlay


/---------------------------------------------------------------------/

Secondly, when i start checkgmail i have this warning:

Warning: Crypt::Simple not found ...

CheckGmail requires the above packages for password encryption
Please download and install from CPAN (http://search.cpan.org) if you want to use this feature ...

*** Crypt::Simple not found, not working or disabled ***
*** Passwords will be saved in plain text only ...   ***


I can't understand this... haven't i installed that module when i did:

emerge Crypt-Simple

I would like to have my password encrypted in my computer...


/---------------------------------------------------------------------/

And the last thing, I cannot login to gmail. I've tryed the workaround:

checkgmail -no_cookies

And it works fine... But, this is a workaround and i loose some abilities.
So as recommended i did:

checkgmail -update

And i have confirmed that the patch has been aplied.

After this, I can't login. This is the output:

Initialisation complete
Error: No GALX input field found
Saved cookie: GALX
CR207BjbydY

Saved cookie: GALX
CR207BjbydY

Logging in to Gmail ...

And it stucks here

What the hell is going on?


/---------------------------------------------------------------------/

Thanks in advanced
Comment 20 Torsten Veller (RETIRED) gentoo-dev 2009-11-10 19:58:43 UTC
(In reply to comment #19)
> I am having lots of problems to make my checkgmail work...
> 
> Firstly, I've installed all the required dependencies:
> 
> dev-lang/perl --> With USE=ithreads

If you just changed this useflag from -ithreads to ithreads,
then you have to reinstall a lot of perl modules.

You can verify this by looking into
/usr/lib*/perl5/vendor_perl/5.*/*-linux/
There shouldn't be any modules. After a reinstall they should be in
/usr/lib*/perl5/vendor_perl/5.*/*-linux-thread-multi/

I think the current perl-cleaner-1 doesn't do this correctly. But the masked perl-cleaner-2* should.

Does this help?
Comment 21 Miguel R. Caudevilla 2009-11-10 20:11:06 UTC
On my way...
Comment 22 Miguel R. Caudevilla 2009-11-10 20:34:54 UTC
Ok! Thanks. First problem solved... but i still get the error:

Error: 401 Unauthorised

I've done checkgmail -update
Comment 23 Torsten Veller (RETIRED) gentoo-dev 2009-11-10 21:18:10 UTC
(In reply to comment #22)
> but i still get the error:
> 
> Error: 401 Unauthorised
> 
> I've done checkgmail -update

I can't help with this as I know nothing about checkgmail. Maybe someone else can?
Comment 24 Miguel R. Caudevilla 2009-11-10 21:51:56 UTC
Ok! Thank you very much for the help...

In the meantime i will access checkgmail with the no_cookies option.

P.S: app-admin/perl-cleaner-2_pre091024 works fine on my ~amd64
Comment 25 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-31 19:32:54 UTC
*** Bug 311691 has been marked as a duplicate of this bug. ***
Comment 26 Kfir Lavi 2010-04-03 08:09:48 UTC
Hi,
I also have this problem
Error: 401 Unauthorised

I'm now running 
checkgmail -no_cookies

and it works. 
How to solve this Unauthorised problem?

Also running checkgmail from the command line I always get:
$ checkgmail -no_cookies
Possible unintended interpolation of @1 in string at (eval 22) line 1.

Is that a problem?
Thanks kfir
Comment 27 David 2011-02-12 05:41:52 UTC
(In reply to comment #26)
> I also have this problem
> Error: 401 Unauthorised


I got this error as well.  Running 'checkgmail -update' fixed it for me.


I would propose two changes for the ebuild:

a)  The current ebuild in Sunrise is listed as version 1.13-r1.   After installing it, I run 'checkgmail -h' and the output is:

CheckGmail v1.12.1svn
Copyright �� 2005-7 Owen Marshall

    So, how about we change the version on the ebuild to net-mail/checkgmail-1.12.1?


b)  Also, as the CheckGmail website shows (http://checkgmail.sourceforge.net/#download), the "Latest stable version" is labeled as "old and outdated."   The only option is to checkout from the repository, either on the website or by running 'checkgmail -update'.

    After emerging checkgmail and running 'checkgmail -update' I go from version 1.12.1 to 1.14pre2.

    So, how about we inform the user, in a post-emerge message, that the just-installed version is out-of-date and may well fail to even login to Gmail, and so the user should run 'checkgmail -update' to get the latest version?