diff -Nru checkgmail-1.13+svn43/debian/changelog checkgmail-1.13+svn43/debian/changelog --- checkgmail-1.13+svn43/debian/changelog 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/changelog 2012-01-18 17:03:35.000000000 +0000 @@ -1,8 +1,27 @@ -checkgmail (1.13+svn43-2fakesync1) maverick; urgency=low +checkgmail (1.13+svn43-3fakesync1) precise; urgency=low - * Fake sync due to mismatching orig tarball (LP: #591333). + * Fake sync due to mismatching orig tarball + * Debian update fixes LP: #851553 aka Debian #650454 - -- Bhavani Shankar Fri, 18 Jun 2010 17:42:51 +0200 + -- 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 diff -Nru checkgmail-1.13+svn43/debian/checkgmail.install checkgmail-1.13+svn43/debian/checkgmail.install --- checkgmail-1.13+svn43/debian/checkgmail.install 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/checkgmail.install 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,3 @@ +checkgmail /usr/bin/ +debian/checkgmail.svg /usr/share/pixmaps +debian/checkgmail.desktop /usr/share/applications diff -Nru checkgmail-1.13+svn43/debian/checkgmail.manpages checkgmail-1.13+svn43/debian/checkgmail.manpages --- checkgmail-1.13+svn43/debian/checkgmail.manpages 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/checkgmail.manpages 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1 @@ +debian/checkgmail.1 diff -Nru checkgmail-1.13+svn43/debian/compat checkgmail-1.13+svn43/debian/compat --- checkgmail-1.13+svn43/debian/compat 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/compat 2012-01-08 18:01:32.000000000 +0000 @@ -1 +1 @@ -5 +7 diff -Nru checkgmail-1.13+svn43/debian/control checkgmail-1.13+svn43/debian/control --- checkgmail-1.13+svn43/debian/control 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/control 2012-01-18 17:01:58.000000000 +0000 @@ -3,13 +3,15 @@ Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Sandro Tosi -Build-Depends: debhelper (>= 5.0.51~), dpatch -Standards-Version: 3.8.4 +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, libcompress-zlib-perl, libgtk2.0-0 (>= 2.18.0) +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 diff -Nru checkgmail-1.13+svn43/debian/copyright checkgmail-1.13+svn43/debian/copyright --- checkgmail-1.13+svn43/debian/copyright 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/copyright 2012-01-08 18:01:32.000000000 +0000 @@ -25,5 +25,5 @@ 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-2010, Sandro Tosi +The Debian packaging is Copyright (C) 2006-2012, Sandro Tosi and is licensed under the same terms as of upstream code. diff -Nru checkgmail-1.13+svn43/debian/dirs checkgmail-1.13+svn43/debian/dirs --- checkgmail-1.13+svn43/debian/dirs 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/dirs 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,3 @@ +usr/bin +usr/share/pixmaps +usr/share/applications diff -Nru checkgmail-1.13+svn43/debian/docs checkgmail-1.13+svn43/debian/docs --- checkgmail-1.13+svn43/debian/docs 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/docs 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,2 @@ +Readme +todo diff -Nru checkgmail-1.13+svn43/debian/patches/00list checkgmail-1.13+svn43/debian/patches/00list --- checkgmail-1.13+svn43/debian/patches/00list 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/00list 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -10_bts-458225_fix_permission -20_bts472677_spanish_delete_button -30_bts552490_greek_translation -40_bts568882_use_GTK_new_widget_insteadof_libsexy -50_bts568890_use_xdg-open diff -Nru checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.dpatch checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.dpatch --- checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.dpatch 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 10_bts-458225_fix_permission.dpatch by Sandro Tosi -## -## DP: BTS 458225: fix config dir permission on creation - -@DPATCH@ -diff -urNad checkgmail~/checkgmail checkgmail/checkgmail ---- checkgmail~/checkgmail 2008-01-19 17:44:49.000000000 +0100 -+++ checkgmail/checkgmail 2008-01-20 17:21:16.171774390 +0100 -@@ -435,7 +435,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 diff -Nru checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.patch checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.patch --- checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.patch 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/10_bts-458225_fix_permission.patch 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,13 @@ +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 diff -Nru checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.dpatch checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.dpatch --- checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.dpatch 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 20_bts472677_spanish_delete_button.dpatch by Sandro Tosi -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Fix delete buttons for Spanish; thanks to David Palacio from -## DP: #debian-es@OFTC for the help. - -@DPATCH@ -diff -urNad checkgmail~/checkgmail checkgmail/checkgmail ---- checkgmail~/checkgmail 2008-07-25 20:38:35.237949340 +0200 -+++ checkgmail/checkgmail 2008-07-25 20:41:54.473303113 +0200 -@@ -3348,8 +3348,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 ..." diff -Nru checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.patch checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.patch --- checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.patch 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/20_bts472677_spanish_delete_button.patch 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,16 @@ +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 ..." diff -Nru checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.dpatch checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.dpatch --- checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.dpatch 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,82 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 30_bts552490_greek_translation.dpatch by Sandro Tosi -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Add Greek translation - -@DPATCH@ -diff -urNad checkgmail~/checkgmail checkgmail/checkgmail ---- checkgmail~/checkgmail 2009-11-11 20:03:55.917569877 +0100 -+++ checkgmail/checkgmail 2009-11-11 20:04:14.530065761 +0100 -@@ -4981,6 +4981,71 @@ - prefs_tray_no_mail_icon="个性化无邮件图标" - prefs_tray_pdelay="通知显示延迟 " - prefs_tray_pdelay2=" 秒" /> -+ - - - EOF diff -Nru checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.patch checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.patch --- checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.patch 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/30_bts552490_greek_translation.patch 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,76 @@ +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 diff -Nru checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.dpatch checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.dpatch --- checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.dpatch 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,89 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 40_bts568882_use_GTK_new_widget_instreadof_libsexy.dpatch by Julian Andres Klode -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Replace Gtk2::Sexy::UrlLabel with Gtk2::Label. -## DP: GTK+ 2.18 supports showing links inside a GtkLabel, similar to -## DP: SexyUrlLabel. Port checkgmail to use this new functionality. - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' checkgmail~/checkgmail checkgmail/checkgmail ---- checkgmail~/checkgmail 2010-03-19 20:42:47.314648266 +0100 -+++ checkgmail/checkgmail 2010-03-19 20:42:47.418648221 +0100 -@@ -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"; diff -Nru checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.patch checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.patch --- checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.patch 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/40_bts568882_use_GTK_new_widget_insteadof_libsexy.patch 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,83 @@ +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"; diff -Nru checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.dpatch checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.dpatch --- checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.dpatch 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 50_bts568890_use_xdg-open.dpatch by Sandro Tosi -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Use xdg-open from FreeDesktop tools instead of firefox - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' checkgmail~/checkgmail checkgmail/checkgmail ---- checkgmail~/checkgmail 2010-03-19 23:21:58.706648684 +0100 -+++ checkgmail/checkgmail 2010-03-19 23:22:27.479150390 +0100 -@@ -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 diff -Nru checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.patch checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.patch --- checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.patch 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/50_bts568890_use_xdg-open.patch 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,13 @@ +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 diff -Nru checkgmail-1.13+svn43/debian/patches/60_bts650454_send_galx_as_cookie.patch checkgmail-1.13+svn43/debian/patches/60_bts650454_send_galx_as_cookie.patch --- checkgmail-1.13+svn43/debian/patches/60_bts650454_send_galx_as_cookie.patch 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/60_bts650454_send_galx_as_cookie.patch 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,28 @@ +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; diff -Nru checkgmail-1.13+svn43/debian/patches/series checkgmail-1.13+svn43/debian/patches/series --- checkgmail-1.13+svn43/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/patches/series 2012-01-08 18:01:32.000000000 +0000 @@ -0,0 +1,6 @@ +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 diff -Nru checkgmail-1.13+svn43/debian/README.source checkgmail-1.13+svn43/debian/README.source --- checkgmail-1.13+svn43/debian/README.source 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/README.source 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -This package uses dpatch to handle patches against upstream source code; you -can find additional information about dpatch at - - /usr/share/doc/dpatch/ - -This release is based on an upstream SVN snapshot; in order to retrieve the -original tarball used, you have to run: - - ./debian/rules get-orig-source diff -Nru checkgmail-1.13+svn43/debian/rules checkgmail-1.13+svn43/debian/rules --- checkgmail-1.13+svn43/debian/rules 2012-01-18 17:12:36.000000000 +0000 +++ checkgmail-1.13+svn43/debian/rules 2012-01-08 18:01:32.000000000 +0000 @@ -1,7 +1,12 @@ #!/usr/bin/make -f -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +%: + 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/') @@ -16,53 +21,3 @@ 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" - -include /usr/share/dpatch/dpatch.make - -build: build-stamp -build-stamp: patch-stamp - dh_testdir - - touch build-stamp - -clean: unpatch - dh_testdir - dh_testroot - rm -f build-stamp - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs usr/bin usr/share/pixmaps usr/share/applications - - cp -p checkgmail $(CURDIR)/debian/checkgmail/usr/bin/ - dh_install debian/checkgmail.svg usr/share/pixmaps - dh_install debian/checkgmail.desktop usr/share/applications - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -#binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs Readme todo - dh_installmenu - dh_installman debian/checkgmail.1 #man/checkgmail.1.gz - dh_icons - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install diff -Nru checkgmail-1.13+svn43/debian/source/format checkgmail-1.13+svn43/debian/source/format --- checkgmail-1.13+svn43/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ checkgmail-1.13+svn43/debian/source/format 2012-01-18 17:12:36.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt)