--- yarssr-0.1.8.orig/debian/changelog +++ yarssr-0.1.8/debian/changelog @@ -0,0 +1,34 @@ +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 + --- yarssr-0.1.8.orig/debian/compat +++ yarssr-0.1.8/debian/compat @@ -0,0 +1 @@ +4 --- yarssr-0.1.8.orig/debian/menu +++ yarssr-0.1.8/debian/menu @@ -0,0 +1,2 @@ +?package(yarssr):needs="X11" section="Apps/Net"\ + title="yarssr" command="/usr/bin/yarssr" --- yarssr-0.1.8.orig/debian/dirs +++ yarssr-0.1.8/debian/dirs @@ -0,0 +1 @@ +usr/bin --- yarssr-0.1.8.orig/debian/yarssr.1 +++ yarssr-0.1.8/debian/yarssr.1 @@ -0,0 +1,9 @@ +.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) --- yarssr-0.1.8.orig/debian/control +++ yarssr-0.1.8/debian/control @@ -0,0 +1,15 @@ +Source: yarssr +Section: net +Priority: optional +Maintainer: Joachim Breitner +Build-Depends-Indep: debhelper (>= 4.0.0), dpatch +Standards-Version: 3.6.1 + +Package: yarssr +Architecture: all +Depends: ${perl:Depends}, libgtk2-perl, libgtk2-gladexml-perl, libgtk2-trayicon-perl, libgnome2-vfs-perl, libgnome2-perl (>= 0.94), libxml-rss-perl +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. --- yarssr-0.1.8.orig/debian/rules +++ yarssr-0.1.8/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules fily for yarssr +# (c) 2004 by Joachim Breitner +# Based upon sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +build: build-stamp + +build-stamp: patch + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/yarssr. + $(MAKE) install DESTDIR=$(CURDIR)/debian/yarssr + + +# 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 + dh_installdocs + dh_installmenu + dh_installman + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- yarssr-0.1.8.orig/debian/copyright +++ yarssr-0.1.8/debian/copyright @@ -0,0 +1,14 @@ +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. + --- yarssr-0.1.8.orig/debian/yarssr.manpages +++ yarssr-0.1.8/debian/yarssr.manpages @@ -0,0 +1 @@ +debian/yarssr.1 --- yarssr-0.1.8.orig/debian/docs +++ yarssr-0.1.8/debian/docs @@ -0,0 +1 @@ +README --- yarssr-0.1.8.orig/debian/patches/gnome-vfs-fix.dpatch +++ yarssr-0.1.8/debian/patches/gnome-vfs-fix.dpatch @@ -0,0 +1,58 @@ +#! /bin/sh -e +## gnome-vfs-fix.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad yarssr-0.1.8/yarssr.pl /tmp/dpep.krJFm6/yarssr-0.1.8/yarssr.pl +--- yarssr-0.1.8/yarssr.pl 2004-10-08 21:40:48.000000000 +0200 ++++ /tmp/dpep.krJFm6/yarssr-0.1.8/yarssr.pl 2004-10-08 21:40:58.000000000 +0200 +@@ -416,19 +416,23 @@ + my ($result, $handle, $info); + + ($result, $handle) = Gnome2::VFS->open($url, 'read'); ++ warn "Bad result: $result\n" unless $result eq 'ok'; + return(FALSE,FALSE) unless ($result eq 'ok'); + + my $content = ''; + my $bytes_per_iteration = 1024; + +- do { ++ while (TRUE) { + Gtk2->main_iteration while Gtk2->events_pending; +- my ($tmp_buffer, $tmp_bytes_read); +- ($result, $tmp_bytes_read, $tmp_buffer) = ++ my ($tmp_buffer); ++ ($result, undef, $tmp_buffer) = + $handle->read($bytes_per_iteration); +- +- $content .= $tmp_buffer; +- } while ($result eq 'ok'); ++ if ($result eq 'ok') { ++ $content .= $tmp_buffer; ++ } else { ++ last; ++ } ++ } + + # Get mime type + ($result,$info) = $handle->get_file_info('default'); --- yarssr-0.1.8.orig/debian/patches/read-first-entries.dpatch +++ yarssr-0.1.8/debian/patches/read-first-entries.dpatch @@ -0,0 +1,61 @@ +#! /bin/sh -e +## read-first-entries.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: When starting up, no entries shall be marked as unread + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/jojo/debian/debs/official/yarssr/yarssr-0.1.8/yarssr.pl yarssr-0.1.8/yarssr.pl +--- /home/jojo/debian/debs/official/yarssr/yarssr-0.1.8/yarssr.pl 2004-07-13 13:32:54.000000000 +0200 ++++ yarssr-0.1.8/yarssr.pl 2004-07-13 13:33:23.000000000 +0200 +@@ -59,6 +59,9 @@ + my $browser = '/usr/bin/mozilla'; + my $usegnome; + ++# Mark entries as new (false at first) ++my $marknew = FALSE; ++ + # Gtk 2 stuff + Gtk2->init; + Gnome2::VFS->init; +@@ -294,6 +297,9 @@ + read_config(); + update_feed_all(); + ++# Now mark them as new ++$marknew = TRUE; ++ + # Create timer with specified interval + my $timer = Glib::Timeout->add($interval,\&update_feed_all); + +@@ -455,7 +461,11 @@ + + unless (exists $feeds{$url}->{'contents'}{$item->{'title'}}{'read'}) + { +- $feeds{$url}->{'contents'}{$item->{'title'}}{'read'} = FALSE; ++ if ($marknew == TRUE) { ++ $feeds{$url}->{'contents'}{$item->{'title'}}{'read'} = FALSE; ++ } else { ++ $feeds{$url}->{'contents'}{$item->{'title'}}{'read'} = TRUE; ++ } + } + + @{$feeds{$url}->{'order'}}[$count] = $feeds{$url}{'contents'}{$item->{'title'}}; --- yarssr-0.1.8.orig/debian/patches/00list +++ yarssr-0.1.8/debian/patches/00list @@ -0,0 +1,5 @@ +maintainer-credits.dpatch +read-first-entries.dpatch +gnome-vfs-fix.dpatch +disable-connection-warning.dpatch +adjust-makefile.dpatch --- yarssr-0.1.8.orig/debian/patches/maintainer-credits.dpatch +++ yarssr-0.1.8/debian/patches/maintainer-credits.dpatch @@ -0,0 +1,40 @@ +#! /bin/sh -e +## maintainer-credits.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adds me to the credits + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/jojo/debian/debs/official/yarssr/yarssr-0.1.8/yarssr.pl yarssr-0.1.8/yarssr.pl +--- /home/jojo/debian/debs/official/yarssr/yarssr-0.1.8/yarssr.pl 2004-07-13 13:36:34.000000000 +0200 ++++ yarssr-0.1.8/yarssr.pl 2004-07-13 13:36:58.000000000 +0200 +@@ -34,7 +34,10 @@ + + Patches from: + James Curbo, +- Dan Lenski'; ++ Dan Lenski ++ ++Debian Package by: ++ Joachim Breitner '; + + my $application = Gnome2::Program->init($0, $version); + --- yarssr-0.1.8.orig/debian/patches/adjust-makefile.dpatch +++ yarssr-0.1.8/debian/patches/adjust-makefile.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Makefile adjustment + +@DPATCH@ + +--- yarssr-0.1.8.orig/Makefile ++++ yarssr-0.1.8/Makefile +@@ -1,4 +1,4 @@ +-PREFIX=/usr/local ++PREFIX=/usr + all: + cp yarssr.pl yarssr + echo "__DATA__" >> yarssr --- yarssr-0.1.8.orig/debian/patches/disable-connection-warning.dpatch +++ yarssr-0.1.8/debian/patches/disable-connection-warning.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh -e +## disable-connection-warning.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/jojo/debian/debs/official/yarssr/yarssr-0.1.8/yarssr.pl yarssr-0.1.8/yarssr.pl +--- /home/jojo/debian/debs/official/yarssr/yarssr-0.1.8/yarssr.pl 2004-09-26 15:20:09.000000000 +0200 ++++ yarssr-0.1.8/yarssr.pl 2004-09-26 15:25:19.000000000 +0200 +@@ -790,6 +790,8 @@ + { + my ($url,$error) = @_; + ++ return; # Disabled for offline users ++ + # Create dialog + my $dlg = Gtk2::MessageDialog->new (undef, [], 'error', 'none', + $error);