debian/0000775000000000000000000000000011705575547007210 5ustar debian/source/0000775000000000000000000000000011702354774010502 5ustar debian/source/format0000664000000000000000000000001411702354774011710 0ustar 3.0 (quilt) debian/menu0000664000000000000000000000020211702354774010063 0ustar ?package(checkgmail):needs="X11" section="Applications/Network/Communication"\ title="CheckGMail" command="/usr/bin/checkgmail" debian/checkgmail.10000664000000000000000000000747711702354774011372 0ustar .TH "CheckGmail" 1 .SH NAME CheckGmail \- system tray applet to check a Gmail account for new mail .SH SYNOPSIS .B checkgmail [\-profile] [\-hosted] [\-popup_delay] [\-no_cookies] [\-private] [\-v | \-verbose] [\-nocrypt] [\-h] .SH DESCRIPTION CheckGmail is an alternative Gmail Notifier for Linux and other *nix systems. It is fast, secure and uses minimal bandwidth via the use of Atom feeds. .PP CheckGmail is a system tray application that checks a Gmail account for new mail. When new mail is present the tray icon changes, an optional animated popup is displayed and a tooltip displays the number and details of new messages. Configuration is GUI-based and the application is designed to be simple, elegant and unobtrusive. .PP CheckGmail aims to be relatively secure in terms of password storage. Combined with .BR Crypt::Simple (3pm) the program provides the option of either encrypting the saved password information or - for maximum security - re-entering your password each time the application is run. If you decide to save the password, it is encrypted using a passphrase generated from machine-unique information (the eth0 MAC address and/or uname system information). Encrypting the password prevents both casual reading of plain text passwords on your machine, but more importantly allows the CheckGmail config file in your home directory to be stored securely on external backups. .PP For the password encryption function, CheckGmail depends on the Perl module .BR Crypt::Simple (3pm) CheckGmail will save passwords as plain text if this module (or associated modules) is not present on the system. .SH OPTIONS .TP .B \-profile=[profile_name] Using this switch causes CheckGmail to read preferences from a file named prefs-[profile_name] in ~/.checkgmail - thus allowing multiple instances of CheckGmail to be run to check different Gmail accounts. .TP .B \-hosted=[Gmail hosted domain] Allows checkgmail to work for Gmail hosted domains. E.g. if your hosted domain is test.net, run the program with \-hosted=test.net Once run, the \-hosted flag is not required again for that profile. N.B: You will need to delete the Atom feed address from your preferences or use a new profile before using this option for the first time. Following a change in the Gmail login code for hosted domains, this option does not appear to be compatible with the \-no_cookies method of checking mail. .TP .B \-popup_delay=[time in millisecs] Sets the time taken between the mouse entering the system tray icon and the tooltip being displayed. Default is 250 millisecs as of version 1.10 (previous versions used no delay). .TP .B \-no_cookies Uses the old Atom feed retrieval method (default in versions 1.7.2 and earlier) of sending the username and password across https. The alternative, and currently default method, is to login to Gmail, save the authentication cookies, and then retrieve the Atom feeds without requiring any further authentication - this method has the benefit of allowing various actions to be carried out upon new messages received, such as deleting, marking as read, archiving or reporting spam. .TP .B \-private Prevents the display of message details in the popup - only the number of new messages will be displayed. .TP .B \-v | \-verbose Causes CheckGmail to print details of mail checking and mail contents to STDOUT .TP .B \-nocrypt Disables the use of Crypt::Simple to encrypt saved password information - passwords will be saved as plain text. .TP .B \-h Prints a usage message. .SH ENVIRONMENT .B HTTPS_PROXY .RS Setting the HTTPS_PROXY environment variable will cause CheckGmail to use the specified proxy server when checking for new mail. .SH FILES .I ~/.checkgmail/prefs.xml .RS User configuration file .RE .I ~/.checkgmail/lang.xml .RS Language translations .RE .SH AUTHOR Owen Marshall debian/patches/0000775000000000000000000000000011702354774010631 5ustar debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.patch0000664000000000000000000000571611702354774023053 0ustar Author: Julian Andres Klode Description: Replace Gtk2::Sexy::UrlLabel with Gtk2::Label. GTK+ 2.18 supports showing links inside a GtkLabel, similar to SexyUrlLabel. Port checkgmail to use this new functionality. --- checkgmail.orig/checkgmail +++ checkgmail/checkgmail @@ -32,9 +32,9 @@ # # global variables (can't be set global in the BEGIN block) -my ($version, $silent, $nocrypt, $update, $notsexy, $profile, $disable_monitors_check, +my ($version, $silent, $nocrypt, $update, $profile, $disable_monitors_check, $private, $cookies, $popup_size, $hosted_tmp, $show_popup_delay, - $popup_persistence, $usekwallet, $libsexy, $nologin, $mailno, $debug); + $popup_persistence, $usekwallet, $nologin, $mailno, $debug); BEGIN { $version = "1.13svn"; $silent = 1; @@ -63,9 +63,6 @@ $disable_monitors_check = 1; last }; - /no-libsexy/ && do { - $notsexy = 1; - last }; /no-login/ && do { $nologin = 1; @@ -125,7 +122,7 @@ print "CheckGmail v$version\nCopyright © 2005-7 Owen Marshall\n\n"; - print "usage: checkgmail [-profile=profile_name] [-popup_delay=millisecs] [-hosted=hosted_domain] [-no_cookies] [-popup_persistence=millisecs] [-private] [-v | -verbose] [-nocrypt] [-no-libsexy] [-disable-monitors-check] [-update] [-h]\n\n"; + print "usage: checkgmail [-profile=profile_name] [-popup_delay=millisecs] [-hosted=hosted_domain] [-no_cookies] [-popup_persistence=millisecs] [-private] [-v | -verbose] [-nocrypt] [-disable-monitors-check] [-update] [-h]\n\n"; exit 1; } @@ -266,14 +263,7 @@ } } - # optional packages for urls in labels - foreach (split("\n"," - use Gtk2::Sexy; - ")) {&$eval_sub($_)}; - if (($failed_packages) && ($failed_packages =~ m/Sexy/i)) { - print "\nCheckGmail uses Gtk2::Sexy for clickable URLs in mail messages\nPlease download and install from CPAN (http://search.cpan.org) if you want to use this feature ...\n\n"; - $libsexy = 0; - } else { $libsexy = 1 unless $notsexy; } + } # There's something wrong with Debian's Crypt::Simple, and it's causing problems ... @@ -1272,7 +1262,6 @@ s//\n\n/g; s/<\/div\\*>/\n/g; # GMail now uses div blocks for paragraphs! Who'd have thought they could be so abhorrent? # s/(?:\n\s*){3,}/\n\n/sg; - s/<.*?>//g unless $libsexy; s/(.*?)<\/a>/<-a $1>$2<-\/a>/ig; s/<[^-].*?>//g; # s/<([\/]|[^a])[^a].*?>//g; @@ -1854,15 +1843,12 @@ $notify_vbox->pack_start($hbox_b,0,0,0); my $body_l; - if ($libsexy) { - $body_l = Gtk2::Sexy::UrlLabel->new; - $body_l->signal_connect(url_activated => sub{ - my ($url_label, $url) = @_; - run_command($gmail_command, $url); - }); - } else { - $body_l = Gtk2::Label->new; - } + $body_l = Gtk2::Label->new; + $body_l->signal_connect(activate_link => sub{ + + my ($url_label, $url) = @_; + run_command($gmail_command, $url); + }); $body_l->set_line_wrap(1); # my ($w, $h) = $body_l->get_size_request; # print "($w, $h)\n"; debian/patches/30_bts552490_greek_translation.patch0000664000000000000000000001072511702354774017235 0ustar Author: Sandro Tosi Description: Add Greek translation --- checkgmail.orig/checkgmail +++ checkgmail/checkgmail @@ -4981,6 +4981,71 @@ prefs_tray_no_mail_icon="个性化无邮件图标" prefs_tray_pdelay="通知显示延迟 " prefs_tray_pdelay2=" 秒" /> + EOF debian/patches/20_bts472677_spanish_delete_button.patch0000664000000000000000000000123211702354774020104 0ustar Author: Sandro Tosi Description: Fix delete buttons for Spanish; thanks to David Palacio from #debian-es@OFTC for the help. --- checkgmail.orig/checkgmail +++ checkgmail/checkgmail @@ -3514,8 +3514,8 @@ login_title="Autentificando en Gmail ..." mail_archive="Archivar" mail_archiving="Archivando ..." - mail_delete="Delete" - mail_deleting="Deleting ..." + mail_delete="Borrar" + mail_deleting="Borrando ..." mail_mark="Marcar como leído" mail_mark_all="Marcar todos como leído" mail_marking="Marcando como leído ..." debian/patches/60_bts650454_send_galx_as_cookie.patch0000664000000000000000000000217211702354774017501 0ustar Description: pass GALX as cookie, to avoid continuos pop-up for auth Author: Jan Jergus Bug: http://sourceforge.net/tracker/?func=detail&aid=3406322&group_id=137480&atid=738663 Bug-Debian: http://bugs.debian.org/650454 Forwarded: not-needed Index: checkgmail/checkgmail =================================================================== --- checkgmail.orig/checkgmail 2012-01-08 18:14:20.369935655 +0100 +++ checkgmail/checkgmail 2012-01-08 18:16:16.170116161 +0100 @@ -891,7 +891,8 @@ print "Error: No GALX input field found\n"; return "Error: No GALX input field found"; } - $post_galx = URI_escape(URI_unescape($1)); + my $galx = URI_unescape($1); + $post_galx = URI_escape($galx); # Find the data to post my $post_data; @@ -907,6 +908,7 @@ my $post_req = HTTP::Request->new('POST' => "https://www.google.com/accounts/ServiceLoginAuth?service=mail"); $post_req->content_type('application/x-www-form-urlencoded'); $post_req->content($post_data); + $post_req->header('Cookie' => "GALX=$galx"); my $post_response = $ua->request($post_req); if ($post_response->is_error) { my $code = $response->code; debian/patches/10_bts-458225_fix_permission.patch0000664000000000000000000000077311702354774016636 0ustar Author: Sandro Tosi Description: BTS 458225: fix config dir permission on creation --- checkgmail.orig/checkgmail +++ checkgmail/checkgmail @@ -467,7 +467,7 @@ if (-e "$prefs_dir") { print "Moving ~/.checkgmail to ~/.checkgmail/prefs ...\n\n"; rename("$HOME/.checkgmail", "$HOME/.checkgmailbak"); - mkdir($prefs_dir, 0777); + mkdir($prefs_dir, 0700); rename("$HOME/.checkgmailbak", "$prefs_dir/prefs"); } else { # User hasn't run an old version, just create the dir debian/patches/series0000664000000000000000000000036011702354774012045 0ustar 10_bts-458225_fix_permission.patch 20_bts472677_spanish_delete_button.patch 30_bts552490_greek_translation.patch 40_bts568882_use_GTK_new_widget_insteadof_libsexy.patch 50_bts568890_use_xdg-open.patch 60_bts650454_send_galx_as_cookie.patch debian/patches/50_bts568890_use_xdg-open.patch0000664000000000000000000000054011702354774016126 0ustar Author: Sandro Tosi Description: Use xdg-open from FreeDesktop tools instead of firefox --- checkgmail.orig/checkgmail +++ checkgmail/checkgmail @@ -412,7 +412,7 @@ $save_passwd = 0; $time_24 = 0; $archive_as_read = 0; -$gmail_command = 'firefox %u'; +$gmail_command = 'xdg-open %u'; $language = 'English'; # Global variables debian/checkgmail.install0000664000000000000000000000016011702354774012656 0ustar checkgmail /usr/bin/ debian/checkgmail.svg /usr/share/pixmaps debian/checkgmail.desktop /usr/share/applications debian/checkgmail.svg0000664000000000000000000000641111702354774012014 0ustar image/svg+xml G debian/compat0000664000000000000000000000000211702354774010400 0ustar 7 debian/control0000664000000000000000000000236611705575406010614 0ustar Source: checkgmail Section: mail Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Sandro Tosi Build-Depends: debhelper (>= 7) Standards-Version: 3.9.2 Homepage: http://checkgmail.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/users/morph/checkgmail.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/morph/checkgmail.git Package: checkgmail Architecture: all Depends: ${misc:Depends}, perl (>= 5.8), libgtk2-perl, libgtk2-trayicon-perl, libwww-perl, libcrypt-ssleay-perl, libxml-simple-perl, libcrypt-blowfish-perl, libfreezethaw-perl, libio-compress-perl, libgtk2.0-0 (>= 2.18.0) Recommends: libcrypt-simple-perl Description: alternative Gmail Notifier for Linux via Atom feeds CheckGmail is an alternative Gmail Notifier for Linux and other *nix systems. It is fast, secure and uses minimal bandwidth via the use of Atom feeds. . CheckGmail is a system tray application that checks a Gmail account for new mail. When new mail is present the tray icon changes, an optional animated popup is displayed and a tooltip displays the number and details of new messages. Configuration is GUI-based and the application is designed to be simple, elegant and unobtrusive. debian/watch0000664000000000000000000000014611702354774010234 0ustar version=3 opts=dversionmangle=s/\+svn\d+$// \ http://sf.net/checkgmail/checkgmail-([\d.]*)\.tar\.bz2 debian/checkgmail.desktop0000664000000000000000000000025611702354774012667 0ustar [Desktop Entry] Version=1.0 Name=CheckGMail GenericName=CheckGMail Comment=Gmail Notifier Exec=checkgmail Icon=checkgmail Terminal=false Type=Application Categories=Network; debian/changelog0000664000000000000000000001736711705575547011100 0ustar checkgmail (1.13+svn43-3fakesync1) precise; urgency=low * Fake sync due to mismatching orig tarball * Debian update fixes LP: #851553 aka Debian #650454 -- Micah Gersten Wed, 18 Jan 2012 11:01:57 -0600 checkgmail (1.13+svn43-3) unstable; urgency=low * debian/control - add Vcs-* fields, moving to git - bump Standards-Version to 3.9.2 - replace libcompress-zlib-perl with libio-compress-perl * debian/copyright - bump packaging copyright years * Convert to 3.0 quilt source format * debian/README.source - removed, useless * Convert to dh7 short rules file * debian/patches/60_bts650454_send_galx_as_cookie.patch - fix auth problem with GMail, by passing GALX in the cookie; thanks to Johan Sandblom for the report; Closes: #650454 -- Sandro Tosi Sun, 08 Jan 2012 19:01:07 +0100 checkgmail (1.13+svn43-2) unstable; urgency=low * 40_bts568882_use_GTK_new_widget_insteadof_libsexy.dpatch - remove objects from libsexy and uses the GTK+ widgets that now integrate libsexy ones; thanks to Julian Andres Klode for the report and patch; Closes: #568882 * debian/control - drop Depends on libgtk2-sexy-perl, not needed anymore - drop Recommends on libsexymm2, not needed anymore - bump versioned Depends on libgtk2.0-0 to (>= 2.18.0), needed to drop libsexy - bump Standards-Version to 3.8.4 (no changes needed) - added ${misc:Depends} to Depends * debian/patches/50_bts568890_use_xdg-open.dpatch - use xdg-open from FreeDesktop.org tools instead of firefox; thanks to Julian Andres Klode for the report; Closes: #568890 * debian/copyright - extended copyright years -- Sandro Tosi Sat, 20 Mar 2010 00:10:32 +0100 checkgmail (1.13+svn43-1) unstable; urgency=low * New upstream SVN snapshot - fixes 'incorrect password' message; thanks to Daniel Bolton for the report; Closes: #549961 * debian/control - bump Standards-Version to 3.8.3 (no changes needed) * debian/rules - removed dh_desktop, a no-op now * debian/patches/30_bts552490_greek_translation.dpatch - add Greek translation; thanks to Edward Karavakis for the report and patch; Closes: #552490 * debian/copyright - added copyright for packaging -- Sandro Tosi Wed, 11 Nov 2009 20:22:39 +0100 checkgmail (1.13+svn37-1) unstable; urgency=low * New upstream SVN snapshot - enable support to add stars to emails * debian/control - updated my email address - removed XS-DM-Upload-Allowed flag - uncapitalize short description - removed unneeded spaces (used to fill the paragraph) in log description * debian/watch - added mangling for svn revision in version * debian/README.source - added to notify of a patch system and how to get the orig tarball -- Sandro Tosi Sat, 20 Dec 2008 23:13:43 +0100 checkgmail (1.13+svn33-1) unstable; urgency=low * New upstream SVN snapshot - update due to new GMail login method; Closes: #488413 * debian/control - bump Standards-Version to 3.8.0 - added libgtk2-sexy-perl to Depends * debian/rules - added get-orig-source * debian/patches/20_bts472677_spanish_delete_button.dpatch - added to translate Delete button in Spanish; thanks to David Palacio from #debian-es@OFTC for the help; Closes: #472677 -- Sandro Tosi Fri, 25 Jul 2008 21:14:17 +0200 checkgmail (1.13-3) unstable; urgency=low * debian/checkgmail.svg - added (from Ubuntu) * debian/rules - added icon installation and dh_icons call - correct installation of desktop file * debian/control - bump debhelper build-dep to (>= 5.0.51~) for dh_icons (lintian warning) - added XS-DM-Upload-Allowed: yes -- Sandro Tosi Sun, 20 Apr 2008 13:18:02 +0200 checkgmail (1.13-2) unstable; urgency=low * debian/checkgmail.desktop - added; thanks to Marco Rodrigues (Closes: #462117) * debian/rules - added dh_desktop call -- Sandro Tosi Fri, 25 Jan 2008 01:31:45 +0100 checkgmail (1.13-1) unstable; urgency=low * New upstream release (Closes: #457194, #415133) * debian/control - added dpatch build dep * debian/rules - added dpatch stuff - removed configure target since not needed - moved script installation in install target - added explicit destination dir creation in install target - added explicit doc installation filenames * debian/patches/10_bts-458225_fix_permission.dpatch - added (Closes: #458225) * debian/dirs - removed * debian/docs - removed -- Sandro Tosi Sun, 20 Jan 2008 19:52:36 +0100 checkgmail (1.12-2) unstable; urgency=low * debian/control - Homepage moved from binary to source stanza - bump Standard-version to 3.7.3 - bump build-dep against debhelper to >=5 * debian/compat - bump to 5 * debian/menu - updated section for new policy * debian/copyright - clear separation of upstream author, copyright and license - converted to UTF8 * debian/rules - using build-indep since it's and Arch: all package - some commented debhelper scripts removed -- Sandro Tosi Wed, 26 Dec 2007 21:02:51 +0100 checkgmail (1.12-1) unstable; urgency=low * New upstream release (Closes: #429028) * debian/control - recommends libsexy2 * debian/rules - some cleaning around * debian/copyright - extended copyright to 2007 -- Sandro Tosi Sun, 24 Jun 2007 23:46:09 +0200 checkgmail (1.11-1) unstable; urgency=low * New upstream release -- Sandro Tosi Wed, 11 Apr 2007 23:53:43 +0200 checkgmail (1.10.1-1) unstable; urgency=low * New upstream release -- Sandro Tosi Wed, 29 Nov 2006 23:43:54 +0100 checkgmail (1.10-1) unstable; urgency=low * New upstream release (Closes #385250, Closes #375172, Closes #383646) * debian/watch - changed to check only numerical version number (this way X.YYpreZ is not listed as a new upstream release) -- Sandro Tosi Mon, 11 Sep 2006 22:18:07 +0200 checkgmail (1.9.3-1) unstable; urgency=low * New upstream release -- Sandro Tosi Sat, 15 Jul 2006 19:34:20 +0200 checkgmail (1.9.2-1) unstable; urgency=low * New upstream release -- Sandro Tosi Sun, 14 May 2006 16:59:14 +0200 checkgmail (1.9.1-1) unstable; urgency=low * New upstream release -- Sandro Tosi Sat, 13 May 2006 13:01:10 +0200 checkgmail (1.9-1) unstable; urgency=high * New upstream release (solves memory leak in previous versions) * debian/control - Standards-Version updated to 3.7.2 -- Sandro Tosi Mon, 8 May 2006 20:11:30 +0200 checkgmail (1.8-1) unstable; urgency=low * New upstream release * debian/control: now recommends libcrypt-simple-perl and not depends on it -- Sandro Tosi Thu, 27 Apr 2006 00:02:14 +0200 checkgmail (1.7.2-1) unstable; urgency=low * Update to version 1.7.2 of CheckGMail -- Sandro Tosi Sun, 09 Apr 2006 21:10:04 +0200 checkgmail (1.7.1-1) unstable; urgency=low * Update to version 1.7.1 of CheckGMail * Now CheckGMail is displayed in debian menu -- Sandro Tosi Fri, 31 Mar 2006 08:37:26 +0200 checkgmail (1.7-1) unstable; urgency=low * Update to version 1.7 of CheckGMail * Added dependency against libcrypt-simple-perl so it Closes: #353710 -- Sandro Tosi Sun, 26 Feb 2006 20:14:48 +0100 checkgmail (1.5.1-1) unstable; urgency=low * Initial release Closes: #345091 -- Sandro Tosi Thu, 19 Jan 2006 00:14:18 +0100 debian/docs0000664000000000000000000000001411702354774010050 0ustar Readme todo debian/copyright0000664000000000000000000000172511702354774011142 0ustar This package was debianized by Sandro Tosi on Thu, 19 Jan 2006 00:14:18 +0100. It was downloaded from http://checkgmail.sourceforge.net/ Upstream Author: Owen Marshall Copyright: Copyright © 2005-7, Owen Marshall License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. On a Debian system the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-2' The Debian packaging is Copyright (C) 2006-2012, Sandro Tosi and is licensed under the same terms as of upstream code. debian/dirs0000664000000000000000000000006111702354774010063 0ustar usr/bin usr/share/pixmaps usr/share/applications debian/checkgmail.manpages0000664000000000000000000000002411702354774013002 0ustar debian/checkgmail.1 debian/rules0000775000000000000000000000144711702354774010270 0ustar #!/usr/bin/make -f %: dh $@ #override_dh_installman: # dh_installman debian/checkgmail.1 #--- To get a new SVN snapshot from upstream repo PACKAGE = checkgmail SRC_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/^Version: \(.*\)-.*/\1/') SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' ) TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz .PHONY: get-orig-source get-orig-source: rm -rf get-orig-source $(TARBALL) mkdir get-orig-source svn export -r $(SVN_REVISION) https://checkgmail.svn.sourceforge.net/svnroot/checkgmail get-orig-source/$(PACKAGE)-$(SRC_VERSION) tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION) rm -rf get-orig-source echo " "$(TARBALL)" created; move it to the right destination to build the package"