--- samidare-0.7.orig/mconv.rb +++ samidare-0.7/mconv.rb @@ -25,7 +25,7 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY # OF SUCH DAMAGE. -require 'iconv' +#require 'iconv' module Mconv def Mconv.internal_mime_charset @@ -50,30 +50,8 @@ end def Mconv.conv(str, to, from) - ic = Iconv.new(to, from) - result = '' - rest = str - if rest.respond_to? :force_encoding - rest = rest.dup.force_encoding("ascii-8bit") - end - - begin - s = ic.iconv(rest) - result << s - rescue Iconv::Failure - result << $!.success - - rest = $!.failed - - # following processing should be customizable by block? - result << '?' - rest = rest[1..-1] - - retry - end - - result << ic.close + result = str.encode(to, from, :invalid => :replace, :undef => :replace) result end --- samidare-0.7.orig/debian/docs +++ samidare-0.7/debian/docs @@ -0,0 +1,2 @@ +README +README.ja --- samidare-0.7.orig/debian/rules +++ samidare-0.7/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# 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 + +RUBY := ruby + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/samidare.sgml > samidare.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + # -$(MAKE) clean + -rm -f samidare d.samidare + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/samidare. + # $(MAKE) install DESTDIR=$(CURDIR)/debian/samidare + install -m 755 samidare $(CURDIR)/debian/samidare/usr/bin + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- samidare-0.7.orig/debian/watch +++ samidare-0.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://a-k-r.org/samidare/samidare-(.*)\.tar\.gz --- samidare-0.7.orig/debian/compat +++ samidare-0.7/debian/compat @@ -0,0 +1 @@ +5 --- samidare-0.7.orig/debian/control +++ samidare-0.7/debian/control @@ -0,0 +1,19 @@ +Source: samidare +Section: web +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: NIIBE Yutaka +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: ruby +Standards-Version: 3.8.0 +Homepage: http://www.a-k-r.org/samidare/ + +Package: samidare +Architecture: all +Depends: ruby-htree, ruby +Description: web page updates checker + Samidare makes it easy to keep up with your favorite weblogs or webpages in + general. + It will monitor updates to those sites and list their last modified time. + . + It generate HTML file which list URLs (links) to monitor from template. --- samidare-0.7.orig/debian/changelog +++ samidare-0.7/debian/changelog @@ -0,0 +1,56 @@ +samidare (0.7-1ubuntu1) trusty; urgency=medium + + * Apply patch from Debian #733641 to update for ruby1.8 removal + - Thanks to Kouichi ONO + + -- Scott Kitterman Sun, 13 Apr 2014 02:04:39 -0400 + +samidare (0.7-1) unstable; urgency=low + + * New upstream release. + + -- NIIBE Yutaka Fri, 25 Jul 2008 09:09:40 +0900 + +samidare (0.6-1) unstable; urgency=low + + * New upstream release. + * debian/rules: Remove htmlign installation (Removed in upstream). + * debian/samidare.examples: New file. + * debian/samidare.manpages: New file (Closes: #258007, #260900, #360300). + * debian/control (Standards-Version): Conform to 3.8.0 (was: 3.7.3). + + -- NIIBE Yutaka Thu, 24 Jul 2008 20:22:01 +0900 + +samidare (0.5-1) unstable; urgency=low + + * New upstream release. + + -- NIIBE Yutaka Mon, 14 Apr 2008 08:50:12 +0900 + +samidare (0.4-1) unstable; urgency=low + + * New maintainer (Closes: #472722). + * New upstream release (Closes: #461161, #344144). + + -- NIIBE Yutaka Sat, 12 Apr 2008 09:56:13 +0900 + +samidare (0.3-1) unstable; urgency=low + + * New upstream release (closes: #406164) + * use tarball which is tagged as samidare-0_3. + * debian/copyright: fix upstream URL. + + -- Takuo Kitame Tue, 9 Jan 2007 17:01:17 +0900 + +samidare (0.0.20040611-2) unstable; urgency=low + + * Build-Depends: ruby (>= 1.8) instead of ruby1.8 (closes: #257361) + + -- Takuo KITAME Wed, 7 Jul 2004 15:34:46 +0900 + +samidare (0.0.20040611-1) unstable; urgency=low + + * Initial Release. + + -- Takuo KITAME Fri, 11 Jun 2004 11:20:42 +0900 + --- samidare-0.7.orig/debian/samidare.manpages +++ samidare-0.7/debian/samidare.manpages @@ -0,0 +1 @@ +samidare.man --- samidare-0.7.orig/debian/copyright +++ samidare-0.7/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by NIIBE Yutaka on +Sat, 12 Apr 2008 10:08:01 +0900. + +It was downloaded from http://www.a-k-r.org/samidare/ + +Upstream Author: Akira Tanaka + +Copyright: + Copyright (C) 2003 Tanaka Akira + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package 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. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +Packaging changes are placed into public domain. --- samidare-0.7.orig/debian/samidare.examples +++ samidare-0.7/debian/samidare.examples @@ -0,0 +1,2 @@ +config.yml +t.latest.html --- samidare-0.7.orig/debian/dirs +++ samidare-0.7/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +