debian/0002755000000000000000000000000012103733776007201 5ustar debian/source/0002755000000000000000000000000011311003624010457 5ustar debian/source/format0000644000000000000000000000001411311003624011663 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001037712103733776011061 0ustar yarssr (0.2.2-9) unstable; urgency=low * debian/patches/699578-atom-feeds-opening: Avoid freeze when opening some atoms feeds, patch by Sergheu Mihai, Closes: 699578 -- Joachim Breitner Mon, 04 Feb 2013 14:30:38 +0100 yarssr (0.2.2-8) unstable; urgency=low * debian/patches/336667-keep-new-state-across-update: Do not mark items as seen just because the feed is refreshed, patch by Pavel Reznicek, Closes: #336667 * debian/patches/570263-identify-also-by-title: Do not only use the url but also the title to identify feeds, patch by Pavel Reznicek, Closes: #570263 -- Joachim Breitner Thu, 14 Jul 2011 18:15:58 +0200 yarssr (0.2.2-7) unstable; urgency=low * debian/patches/632835-timeout-for-waitpid: Reap children with Glib->timout, not Glib-idle, thanks to Pavel Reznicek for the patch, Closes: #632835 -- Joachim Breitner Wed, 06 Jul 2011 15:42:55 +0200 yarssr (0.2.2-6) unstable; urgency=low * Depend on libgnomevfs2-extra (Closes: 586338) Thanks to Heinrich Schmidt for the bugreport. -- Joachim Breitner Sun, 20 Jun 2010 23:20:51 +0200 yarssr (0.2.2-5) unstable; urgency=low * Fix "FTBFS: msgfmt: error while opening "src/po/de.po" for reading: No such file or directory" by fixing debian/patches by switching to (3.0) quilt source format. (Closes: #560569) * Use the tiny debhelper 7 debian/rules file. * Bump standards version, no change. -- Joachim Breitner Sat, 12 Dec 2009 22:28:14 +0100 yarssr (0.2.2-4) unstable; urgency=low * Fix for CVE-2007-5837 breaks browser launching (Closes: #454213) This is now the same patch that upstream has applied. Thanks to William Grant for submitting it. * Adding Homepage: field * Adjust menu section -- Joachim Breitner Tue, 04 Dec 2007 10:52:36 +0100 yarssr (0.2.2-3) unstable; urgency=high * Fixes code injection through malicous URLs (closes: 448721) -- Joachim Breitner Wed, 31 Oct 2007 12:23:31 +0100 yarssr (0.2.2-2) unstable; urgency=low * Merging ubuntu changes, thanks! * Bumping standards version, no change. -- Joachim Breitner Wed, 29 Aug 2007 09:58:47 +0200 yarssr (0.2.2-1ubuntu1) gutsy; urgency=low * Added .desktop file (LP: #127547) -- Nicolas Robin Fri, 17 Aug 2007 01:05:26 +0200 yarssr (0.2.2-1) unstable; urgency=low * New upstream release + Closes: #293245: yarssr leaves zombie processes * Created and included German translation -- Joachim Breitner Tue, 22 Mar 2005 18:27:20 +0100 yarssr (0.2.0-1) unstable; urgency=low * New upstream release * Removed some dpatches because included upstream -- Joachim Breitner Thu, 13 Jan 2005 22:29:06 +0100 yarssr (0.2+rc2-1) UNRELEASED; urgency=low * New upstream release -- Joachim Breitner Fri, 3 Dec 2004 00:15:56 +0100 yarssr (0.2+rc1-1) UNRELEASED; urgency=low * New upstream release -- Joachim Breitner Mon, 18 Oct 2004 00:17:49 +0200 yarssr (0.1.8-5) UNRELEASED; urgency=low * no warnings when no connection available -- Joachim Breitner Sat, 16 Oct 2004 15:47:29 +0200 yarssr (0.1.8-4) unstable; urgency=low * make sure dpatches are really applied -- Joachim Breitner Fri, 8 Oct 2004 21:29:17 +0200 yarssr (0.1.8-3) unstable; urgency=low * disabled dialogs for connection problems (for laptop users) * fixed problem with file reading code (Big thx to HE for helping!) -- Joachim Breitner Sun, 26 Sep 2004 15:29:20 +0200 yarssr (0.1.8-2) unstable; urgency=low * Using dpatch * Added patch by myself to mark entries that existed when starting as "read" -- Joachim Breitner Tue, 13 Jul 2004 13:11:37 +0200 yarssr (0.1.8-1) unstable; urgency=low * New upstream release + Closes: #246644: configured informations are not saved -- Joachim Breitner Thu, 1 Jul 2004 13:27:56 +0200 yarssr (0.1.5-1) unstable; urgency=low * Initial Release. (Closes: Bug#243491) -- Joachim Breitner Tue, 13 Apr 2004 13:51:14 +0200 debian/install0000644000000000000000000000014610712065264010563 0ustar debian/yarssr.desktop usr/share/applications/ share/yarssr/pixmaps/paper_green.xpm usr/share/pixmaps/ debian/yarssr.manpages0000644000000000000000000000002010712065264012221 0ustar debian/yarssr.1 debian/rules0000755000000000000000000000003511311004572010236 0ustar #!/usr/bin/make -f %: dh $@ debian/yarssr.desktop0000644000000000000000000000025310712065264012107 0ustar [Desktop Entry] Version=1.0 Type=Application Name=Yarssr Comment=RSS reader for the notification area TryExec=yarssr Exec=yarssr Icon=paper_green Categories=Network;News; debian/control0000644000000000000000000000130211407503112010557 0ustar Source: yarssr Section: net Priority: optional Maintainer: Joachim Breitner Build-Depends: debhelper (>= 7) Standards-Version: 3.8.4 Homepage: http://yarssr.sourceforge.net/ Package: yarssr Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libgtk2-perl, libgtk2-gladexml-perl, libgtk2-trayicon-perl, libgnome2-vfs-perl, libgnome2-perl (>= 0.94), libxml-rss-perl, libgnomevfs2-extra Description: RSS reader for the notification area Yet Another RSS Reader is an RSS aggregator and reader that displays its results in the GNOME or KDE system tray (notification area). To view the contents of the feed just click the menu-item and it will launch in your favorite browser. debian/patches/0002755000000000000000000000000012103733651010620 5ustar debian/patches/336667-keep-new-state-across-update0000644000000000000000000000336411607612703016726 0ustar Index: yarssr-0.2.2/lib/Yarssr.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr.pm 2011-07-14 18:09:55.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr.pm 2011-07-14 18:13:21.000000000 +0200 @@ -153,6 +153,12 @@ } } +sub clear_newitems_in_feed { + my (undef,$feed) = @_; + $feed->clear_newitems; + $feed->reset_newitems; +} + sub _ { my $str = shift; my %params = @_; Index: yarssr-0.2.2/lib/Yarssr/Feed.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/Feed.pm 2011-07-14 18:09:55.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/Feed.pm 2011-07-14 18:13:21.000000000 +0200 @@ -137,11 +137,11 @@ my @items; # Set new items as unread - for ($self->get_items_array) { - $_->set_status(2) if $_->get_status > 2; - } + #for ($self->get_items_array) { + # $_->set_status(2) if $_->get_status > 2; + #} - $self->reset_newitems(); + #$self->reset_newitems(); $self->enable if ($self->get_enabled == 3); my $content = Yarssr::Fetcher->fetch_feed($self); Index: yarssr-0.2.2/lib/Yarssr/GUI.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/GUI.pm 2011-07-14 18:09:55.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/GUI.pm 2011-07-14 18:10:43.000000000 +0200 @@ -524,6 +524,15 @@ set_icon_inactive(); }); $feed->get_menu->append($update); + my $unmark = Gtk2::ImageMenuItem->new(_("Unmark new")); + $unmark->set_image(Gtk2::Image->new_from_stock('gtk-clear','menu')); + $unmark->signal_connect('activate',sub{ + set_icon_active(); + Yarssr->clear_newitems_in_feed($feed); + redraw_menu(); + set_icon_inactive(); + }); + $feed->get_menu->append($unmark); $feed->get_menu->show_all; } debian/patches/632835-timeout-for-waitpid0000644000000000000000000000052611605063020015215 0ustar --- yarssr-0.2.2.orig/lib/Yarssr/GUI.pm 2011-07-06 12:23:29.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/GUI.pm 2011-07-06 12:26:04.000000000 +0200 @@ -154,7 +154,7 @@ else { if ($child = fork) { - Glib::Idle->add( + Glib::Timeout->add(200, sub { my $kid = waitpid($child,WNOHANG); $kid > 0 ? return 0 : return 1; debian/patches/code-injection-fix0000644000000000000000000000156711311004154014215 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## code-injection-fix.dpatch by Joachim Breitner ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ Index: yarssr-0.2.2/lib/Yarssr/GUI.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/GUI.pm 2009-12-12 22:17:18.000000000 +0100 +++ yarssr-0.2.2/lib/Yarssr/GUI.pm 2009-12-12 22:17:18.000000000 +0100 @@ -163,8 +163,15 @@ } else { my $b = Yarssr::Config->get_browser; - $b .= " \"$url\"" unless $b =~ s/\%s/"$url"/; - exec($b) or warn "unable to launch browser\n"; + my @b = split(' ', Yarssr::Config->get_browser); + if (grep(/\%s/, @b)) + { + map {grep(s/\%s/$url/, $_) => $_} @b; + } + else { + push(@b, $url); + } + exec(@b) or warn "unable to launch browser\n"; exit; } } debian/patches/699578-atom-feeds-opening0000644000000000000000000000114212103733643015012 0ustar Author: Serghei Mihai Date: Mon, 4 Feb 2013 00:25:06 +0100 Bug-Debian: http://bugs.debian.org/699578 Index: yarssr-0.2.2/lib/Yarssr/Parser.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/Parser.pm 2011-07-14 18:16:08.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/Parser.pm 2013-02-04 14:27:56.615681282 +0100 @@ -83,7 +83,7 @@ my $article = Yarssr::Item->new( title => $title, url => $link, - id => $link."___".$item->{'title'}, + id => $link."___".$title, ); push @items,$article; } debian/patches/german-translation0000644000000000000000000001244011311004453014336 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## german-translation.dpatch by Joachim Breitner ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ Index: yarssr-0.2.2/Makefile =================================================================== --- yarssr-0.2.2.orig/Makefile 2009-12-12 22:20:24.000000000 +0100 +++ yarssr-0.2.2/Makefile 2009-12-12 22:20:27.000000000 +0100 @@ -15,12 +15,15 @@ mkdir -p build/locale/en/$(LC_CATEGORY) msgfmt -o build/locale/en/$(LC_CATEGORY)/yarssr.mo src/po/en.po + mkdir -p build/locale/de/$(LC_CATEGORY) + msgfmt -o build/locale/de/$(LC_CATEGORY)/yarssr.mo src/po/de.po install: mkdir -p $(DESTDIR)/$(BINDIR) \ $(DESTDIR)/$(DATADIR) \ $(DESTDIR)/$(LIBDIR) \ - $(DESTDIR)/$(LOCALEDIR)/en/$(LC_CATEGORY) + $(DESTDIR)/$(LOCALEDIR)/en/$(LC_CATEGORY) \ + $(DESTDIR)/$(LOCALEDIR)/de/$(LC_CATEGORY) @echo Copying lib files to $(DESTDIR)/$(DATADIR): @cp -Rp lib/* $(DESTDIR)/$(LIBDIR)/ @@ -31,6 +34,7 @@ find $(DESTDIR)/$(LIBDIR) -type f -exec chmod 644 "{}" \; install -m 0644 build/locale/en/$(LC_CATEGORY)/yarssr.mo $(DESTDIR)/$(LOCALEDIR)/en/$(LC_CATEGORY)/ + install -m 0644 build/locale/de/$(LC_CATEGORY)/yarssr.mo $(DESTDIR)/$(LOCALEDIR)/de/$(LC_CATEGORY)/ install -m 0755 build/yarssr $(DESTDIR)/$(BINDIR) clean: Index: yarssr-0.2.2/lib/Yarssr/GUI.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/GUI.pm 2009-12-12 22:20:24.000000000 +0100 +++ yarssr-0.2.2/lib/Yarssr/GUI.pm 2009-12-12 22:20:27.000000000 +0100 @@ -631,7 +631,7 @@ $author .= "\n$_" for @Yarssr::TESTERS; my $about = Gnome2::About->new( $Yarssr::NAME,$Yarssr::VERSION,$Yarssr::LICENSE, - $Yarssr::URL,$author,undef,undef,$logo); + $Yarssr::URL,$author,undef,'German Translation: Joachim Breitner ',$logo); $about->show; } Index: yarssr-0.2.2/lib/Yarssr.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr.pm 2009-12-12 22:20:24.000000000 +0100 +++ yarssr-0.2.2/lib/Yarssr.pm 2009-12-12 22:20:27.000000000 +0100 @@ -26,13 +26,13 @@ my $feeds = (); $0 = $NAME; -# il8n stuff -my $locale = (defined($ENV{LC_MESSAGES}) ? $ENV{LC_MESSAGES} : $ENV{LANG}); -setlocale(LC_ALL, $locale); -bindtextdomain(lc($NAME), sprintf('%s/share/locale', $PREFIX)); -textdomain(lc($NAME)); - sub init { + # il8n stuff + my $locale = (defined($ENV{LC_MESSAGES}) ? $ENV{LC_MESSAGES} : $ENV{LANG}); + setlocale(LC_ALL, $locale); + bindtextdomain(lc($NAME), sprintf('%s/share/locale', $PREFIX)); + textdomain(lc($NAME)); + # Wait 2 seconds before loading config and begining downloads Gnome2::Program->init($0,$VERSION); Glib::Timeout->add(1000,\&initial_launch); Index: yarssr-0.2.2/src/po/de.po =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ yarssr-0.2.2/src/po/de.po 2009-12-12 22:20:38.000000000 +0100 @@ -0,0 +1,127 @@ +# German translation of yarssr. +# Joachim Breitner , 2005 +# +# +msgid "" +msgstr "" +"Project-Id-Version: yarssr 0.2.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-03-01 22:42-0500\n" +"PO-Revision-Date: 2005-03-22 17:55+0100\n" +"Last-Translator: Joachim Breitner \n" +"Language-Team: German\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: " + +msgid "Loading state for {feed}" +msgstr "Lade Zustand von {feed}" + +msgid "Downloading {feed}" +msgstr "Lade {feed} herunter" + +msgid "Writing state for {feed}" +msgstr "Speichere den Zustand von {feed}" + +# debug messages +msgid "Loading previous session" +msgstr "Lade letzte Sitzung" + +msgid "Successfully loaded previous session" +msgstr "Erfolgreich letzte Sitzung geladen" + +msgid "Successfully loaded config" +msgstr "Konfiguration erfolgreich geladen" + +msgid "Rebuilding menu" +msgstr "Baue Menü neu auf" + +msgid "Parsing" +msgstr "Einlesen" + +msgid "Writing config" +msgstr "Schreibe Einstellungen" + +# Prefs menu +msgid "Go _Online" +msgstr "Gehe _Online" + +msgid "Go _Offline" +msgstr "Gehe _Offline" + +msgid "_About" +msgstr "_Info" + +# Feeds menu +msgid "updating..." +msgstr "aktualisieren..." + +msgid "_Unmark new" +msgstr "_Neue als alt markieren" + +msgid "Update this feed" +msgstr "Aktualisiere diesen Feed" + +# Prefs window +msgid "Name" +msgstr "Name" + +msgid "Enabled" +msgstr "Aktiv" + +msgid "Address" +msgstr "Adresse" + +msgid "Properties" +msgstr "Eigenschaften" + +msgid "Delete" +msgstr "Löschen" + +msgid "New" +msgstr "Neu" + +msgid "Import OPML" +msgstr "Importiere OPML" + +msgid "Update Interval (min)" +msgstr "Aktualisierungsinterval (min)" + +msgid "Start Online" +msgstr "Starte online" + +msgid "Headings Displayed" +msgstr "Angezeigte Kopfzeilen" + +msgid "Browser Command:\n (%s for URL)" +msgstr "Browserbefehl:\n" +"(%s für den URL)" + +msgid "Gnome Default" +msgstr "Gnome-Standard" + +msgid "Cancel" +msgstr "Abbrechen" + +msgid "OK" +msgstr "OK" + +msgid "Name:" +msgstr "Name:" + +msgid "Address:" +msgstr "Adresse:" + +msgid "Options" +msgstr "Optionen" + +msgid "Username:" +msgstr "Benutzername" + +msgid "Password:" +msgstr "Passwort:" + +msgid "Path or URL" +msgstr "Pfad oder URL" + debian/patches/series0000644000000000000000000000025512103733512012031 0ustar adjust-makefile german-translation code-injection-fix 632835-timeout-for-waitpid 336667-keep-new-state-across-update 570263-identify-also-by-title 699578-atom-feeds-opening debian/patches/adjust-makefile0000644000000000000000000000111111311004170013563 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Makefile adjustment @DPATCH@ Index: yarssr-0.2.2/Makefile =================================================================== --- yarssr-0.2.2.orig/Makefile 2009-12-12 22:13:12.000000000 +0100 +++ yarssr-0.2.2/Makefile 2009-12-12 22:17:38.000000000 +0100 @@ -1,6 +1,6 @@ -PREFIX=/usr/local +PREFIX=/usr BINDIR=$(PREFIX)/bin -LIBDIR=$(PREFIX)/lib/yarssr +LIBDIR=$(PREFIX)/share/yarssr DATADIR=$(PREFIX)/share LOCALEDIR=$(DATADIR)/locale debian/patches/570263-identify-also-by-title0000644000000000000000000000455011607612673015617 0ustar Index: yarssr-0.2.2/lib/Yarssr/Feed.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/Feed.pm 2011-07-14 18:12:11.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/Feed.pm 2011-07-14 18:12:11.000000000 +0200 @@ -155,7 +155,7 @@ for my $item (reverse @items) { Yarssr::GUI->gui_update; - unless ($self->get_item_by_url($item->get_url)) { + unless ($self->get_item_by_id($item->get_id)) { $self->unshift_item($item); $item->set_parent($self); } @@ -173,11 +173,11 @@ return $self->{status}; } -sub get_item_by_url { +sub get_item_by_id { my $self = shift; - my $url = shift; + my $id = shift; for (@{$self->{'items'}}) { - return $_ if $_->get_url eq $url; + return $_ if $_->get_id eq $id; } return 0; } Index: yarssr-0.2.2/lib/Yarssr/Parser.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/Parser.pm 2011-07-14 18:12:11.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/Parser.pm 2011-07-14 18:12:11.000000000 +0200 @@ -54,6 +54,7 @@ my $article = Yarssr::Item->new( url => $link, title => $item->{'title'}, + id => $link."___".$item->{'title'}, ); push @items, $article; } @@ -82,6 +83,7 @@ my $article = Yarssr::Item->new( title => $title, url => $link, + id => $link."___".$item->{'title'}, ); push @items,$article; } Index: yarssr-0.2.2/lib/Yarssr/Config.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/Config.pm 2011-07-14 18:12:11.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/Config.pm 2011-07-14 18:12:11.000000000 +0200 @@ -186,6 +186,7 @@ my $item = Yarssr::Item->new( title => $_->{'title'}, url => $_->{'link'}, + id => $_->{'link'}."___".$_->{'title'}, parent => $feed, ); $item->set_status($read); Index: yarssr-0.2.2/lib/Yarssr/Item.pm =================================================================== --- yarssr-0.2.2.orig/lib/Yarssr/Item.pm 2011-07-14 18:12:11.000000000 +0200 +++ yarssr-0.2.2/lib/Yarssr/Item.pm 2011-07-14 18:12:11.000000000 +0200 @@ -18,7 +18,7 @@ bless $self,$class; } -foreach my $field (qw(title url status parent)) { +foreach my $field (qw(title url status parent id)) { *{"get_$field"} = sub { my $self = shift; return $self->{$field}; debian/compat0000644000000000000000000000000211311004607010355 0ustar 7 debian/menu0000644000000000000000000000016110725221536010056 0ustar ?package(yarssr):needs="X11" section="Applications/Network/Web News"\ title="yarssr" command="/usr/bin/yarssr" debian/dirs0000644000000000000000000000001010712065264010044 0ustar usr/bin debian/yarssr.10000644000000000000000000000074510712065264010604 0ustar .TH yarssr 1 "April 13, 2004" "version 0.1.8" "USER COMMANDS" .SH NAME yarssr \- get RSS feeds in your GNOME notification area .SH SYNOPSIS .B yarssr .SH DESCRIPTION YARSSR is an RSS aggregator that displays it's results in the GNOME notification area (tray). YARSSR aims to be small and unobtrusive to the user. To view the contents of a feed, click the menu-item and it will launch in the specified browser, or in the GNOME default browser. .SH AUTHOR Lee Aylward (lee@laylward.com) debian/docs0000644000000000000000000000000710712065264010041 0ustar README debian/copyright0000644000000000000000000000073310712065264011127 0ustar This package was debianized by Joachim Breitner on Tue, 13 Apr 2004 13:51:14 +0200. It was downloaded from http://yarssr.sourceforge.net/ Upstream Author: Lee Aylward Copyright: 2004 Lee Aylward You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL file.