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 }
Created attachment 76226 [details] dev-perl/Crypt-Simple-0.06.ebuild
Created attachment 76227 [details] mail-client/checkgmail-1.4.ebuild
Created attachment 76277 [details] checkgmail-1.4.ebuild Tidied, and fixed the gtk2-perl version number.
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.
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.
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 :)
The app looks nice, I'll have a look at adding it to portage soon.
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.
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
Is this package still going to be included in portage?
anyone mind if I put this in sunrise overlay?
(In reply to comment #11) > anyone mind if I put this in sunrise overlay? > Please! :)
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?
ahh... perl-cleaner... And the oldest stable works. But the 1.9.2 gives me 404...
would someone please mark the crypt-simple ebuild as obsolete?
In sunrise now. Please obsolete all attachments.
A TODO for this ebuild should be to detect if perl was build with ithreads and if not, barf.
In sunrise overlay now, please continue the work there. http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-mail/checkgmail/
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
(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?
On my way...
Ok! Thanks. First problem solved... but i still get the error: Error: 401 Unauthorised I've done checkgmail -update
(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?
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
*** Bug 311691 has been marked as a duplicate of this bug. ***
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
(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?