--- gpicview-0.2.1.orig/debian/watch
+++ gpicview-0.2.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/lxde/gpicview-([\d.]*)\.tar\.gz
--- gpicview-0.2.1.orig/debian/control
+++ gpicview-0.2.1/debian/control
@@ -0,0 +1,21 @@
+Source: gpicview
+Section: graphics
+Priority: optional
+Maintainer: Andrew Lee <andrew@linux.org.tw>
+Build-Depends: debhelper (>= 5), libgtk2.0-dev, libjpeg62-dev, intltool
+Standards-Version: 3.8.1
+DM-Upload-Allowed: yes
+Homepage: http://lxde.org
+
+Package: gpicview
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: xdg-utils
+Description: lightweight image viewer
+ GPicView is a lightweight GTK+ 2.x based image viewer with following features:
+ .
+ * Extremely lightweight and fast with low memory usage
+ * Very suitable for default image viewer of desktop system
+ * Simple and intuitive interface
+ * Minimal lib dependency: Only pure GTK+ is used
+ * Desktop independent: Doesn't require any specific desktop environment
--- gpicview-0.2.1.orig/debian/copyright
+++ gpicview-0.2.1/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Wen-Yen Chuang <caleb@calno.com> on
+Wed, 12 Sep 2007 22:02:31 +0800.
+
+It was downloaded from http://sourceforge.net/projects/lxde
+
+Upstream Author: PCMan (Hong Jen Yee) <pcman.tw@gmail.com>
+
+Copyright:
+
+ Copyright (C) 2007 PCMan (Hong Jen Yee) <pcman.tw@gmail.com>
+
+License:
+
+ This program 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; 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. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+The Debian packaging is (C) 2007, Wen-Yen Chuang <caleb@calno.com> and
+is licensed under the GPL-2, see `/usr/share/common-licenses/GPL-2'.
--- gpicview-0.2.1.orig/debian/changelog
+++ gpicview-0.2.1/debian/changelog
@@ -0,0 +1,111 @@
+gpicview (0.2.1-1) unstable; urgency=low
+
+ * New upstream release
+ - Fix incorrect behavior when nonexistent file on command line
+ - GTK assertion under certain scrolling conditions that cause
+ zero width/height to be requested
+
+ -- Andrew Lee <andrew@linux.org.tw> Sat, 11 Jul 2009 16:55:29 +0800
+
+gpicview (0.2.0-1) unstable; urgency=low
+
+ * New upstream release
+ - GIF animation support
+ - Save jpeg and png files with different compression ratio
+ - Background color can be freely changed
+ - Bug fixes
+ - UI polishing
+ - Update translations
+
+ -- Andrew Lee <andrew@linux.org.tw> Thu, 04 Jun 2009 15:50:38 +0800
+
+gpicview (0.1.11-1) unstable; urgency=low
+
+ * New upstream release
+ - Fix bugs related to deleted image file
+ - Update translations
+
+ -- Andrew Lee <andrew@linux.org.tw> Thu, 25 Dec 2008 13:37:31 +0800
+
+gpicview (0.1.10-1) unstable; urgency=low
+
+ * New upstream release
+ - Solved assertion `GTK_IS_TOOLTIPS (tooltips)' failed problem
+ - Added new translations
+ - Fixed memory leaks
+ - Fixed JPEG Rotation, rotation only in EXIF data
+ - Fixed fullscreen toggles
+ - Fixed order for file listing
+ - Security fixes CVE-2008-3904, CVE-2008-3791
+ - Solved empty file problem in unsupported format
+ * Applied disable_ask_before_save.dpatch (Closes: #497005)
+
+ -- Andrew Lee <andrew@linux.org.tw> Fri, 12 Sep 2008 01:43:21 +0800
+
+gpicview (0.1.9-4) unstable; urgency=low
+
+ * Corrected and clean up debian/rules.
+
+ -- Andrew Lee <andrew@linux.org.tw> Thu, 11 Sep 2008 18:53:02 +0800
+
+gpicview (0.1.9-3) unstable; urgency=high
+
+ * Applied detect_format_before_save_0.1.9.dpatch to close a RC bug.
+ set urgency=high (Closes: #498394)
+ Thanks PaulLiu(劉穎駿) <grandpaul@gmail.com> for the patch.
+
+ -- Andrew Lee <andrew@linux.org.tw> Wed, 10 Sep 2008 09:40:53 +0800
+
+gpicview (0.1.9-2) unstable; urgency=high
+
+ * Applied gpicview_mkstemp_0.1.9.dpatch for two RC bug fix,
+ set urgency=high. (Closes: #495968, #497408)
+ Thanks PaulLiu(劉穎駿) <grandpaul@gmail.com> for the patch.
+ * New Maintainer Upload. Thanks Wen-Yen Chuang's contribution in the
+ past year. I adopt this package become official maintainer now.
+
+ -- Andrew Lee <andrew@linux.org.tw> Tue, 02 Sep 2008 21:49:47 +0800
+
+gpicview (0.1.9-1) unstable; urgency=low
+
+ * New upstream release
+ - Supported scrollwheel to zoom in/out only while <Ctrl> is held.
+ * debian/control:
+ - Recommends on xdg-utils, needed for making gpicview as default
+ images viewer in Preferences.
+
+ -- Andrew Lee <andrew@linux.org.tw> Thu, 21 Feb 2008 18:20:31 +0800
+
+gpicview (0.1.8-1) unstable; urgency=low
+
+ * New upstream release
+ * Bumped Standards-Version to 3.7.3.
+ * Remove Homepage in long description of debian/control.
+
+ -- Wen-Yen Chuang <caleb@calno.com> Wed, 30 Jan 2008 23:32:58 +0800
+
+gpicview (0.1.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Andrew Lee <andrew@linux.org.tw> Sun, 18 Nov 2007 23:20:05 +0800
+
+gpicview (0.1.6-1) unstable; urgency=low
+
+ * New upstream release
+ * Add libjpeg62-dev to Build-Depends
+
+ -- Wen-Yen Chuang <caleb@calno.com> Tue, 15 Nov 2007 08:00:52 +0800
+
+gpicview (0.1.5-1) unstable; urgency=low
+
+ * New upstream release
+ * Added watch file
+
+ -- Andrew Lee <andrew@linux.org.tw> Thu, 13 Sep 2007 15:47:55 +0800
+
+gpicview (0.1.3-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Wen-Yen Chuang <caleb@calno.com> Wed, 12 Sep 2007 22:02:31 +0800
--- gpicview-0.2.1.orig/debian/compat
+++ gpicview-0.2.1/debian/compat
@@ -0,0 +1 @@
+5
--- gpicview-0.2.1.orig/debian/rules
+++ gpicview-0.2.1/debian/rules
@@ -0,0 +1,81 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+#include /usr/share/dpatch/dpatch.make
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+
+config.status: configure
+ dh_testdir
+ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ $(MAKE)
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) DESTDIR=$(CURDIR)/debian/gpicview install
+ sed 's/Application;//' gpicview.desktop.in > debian/gpicview/usr/share/applications/gpicview.desktop
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ dh_installman -A debian/gpicview.1
+ dh_link
+ dh_strip
+ 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
--- gpicview-0.2.1.orig/debian/gpicview.1
+++ gpicview-0.2.1/debian/gpicview.1
@@ -0,0 +1,44 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH GPICVIEW 1 "Sep 10, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+gpicview \- lightweight image viewer
+.SH SYNOPSIS
+.B gpicview
+.RI [ options ] " file"
+.SH DESCRIPTION
+This manual page documents briefly the
+.B gpicview
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBgpicview\fP is a simple image viewer that features:
+ * Extremely lightweight and fast with low memory usage
+ * Very suitable for default image viewer of desktop system
+ * Simple and intuitive interface
+ * Minimal lib dependency: Only pure GTK+ is used
+ * Desktop independent: Doesn't require any specific desktop environment
+ * Open source, licensed under GNU GPL
+.SH OPTIONS
+Currently there is no available option.
+.SH AUTHOR
+gpicview was written by PCMan (Hong Jen Yee) <pcman.tw@gmail.com>.
+.PP
+This manual page was written by PCMan <pcman.tw@gmail.com>,
+for the Debian project (but may be used by others).