--- gliv-1.9.6.orig/debian/dirs
+++ gliv-1.9.6/debian/dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/man/man1
+
--- gliv-1.9.6.orig/debian/docs
+++ gliv-1.9.6/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- gliv-1.9.6.orig/debian/copyright
+++ gliv-1.9.6/debian/copyright
@@ -0,0 +1,23 @@
+This package was debianized by Remco van de Meent <remco@debian.org> on
+Sun, 15 Jul 2001 18:12:21 +0200.
+
+It was downloaded from http://guichaz.free.fr/gliv/
+
+Upstream Author: Guillaume Chazarain <booh@altern.org>
+
+Copyright:
+	Copyrght (C) 2002-2006 Guillaume Chazarain <guichaz@yahoo.fr>
+
+intl/* 
+	Copyright (C) 1995-2004 Free Software Foundation, Inc.
+
+lib/getdelim.c 
+	Copyright (C) 2004 Manuel Novoa III <mjn3@codepoet.org>
+
+src/strnatcmp.c, src/include/strnatcmp.h
+	Copyright (C) 2000, 2004 Martin Pool <mbp sourcefrog net>
+
+License: GPLv2
+This license can be found in
+/usr/share/common-licenses/GPL-2 on Debian systems.
+
--- gliv-1.9.6.orig/debian/menu
+++ gliv-1.9.6/debian/menu
@@ -0,0 +1,2 @@
+?package(gliv):needs="X11" section="Applications/Viewers" \
+   title="gliv" command="/usr/bin/gliv" hints="Images"
--- gliv-1.9.6.orig/debian/gliv.xpm
+++ gliv-1.9.6/debian/gliv.xpm
@@ -0,0 +1,171 @@
+/* XPM */
+static char * gliv_xpm[] = {
+"32 32 136 2",
+"  	c None",
+". 	c #180027",
+"+ 	c #1B002C",
+"@ 	c #220037",
+"# 	c #25003B",
+"$ 	c #370058",
+"% 	c #1F0031",
+"& 	c #410069",
+"* 	c #60009A",
+"= 	c #6700A6",
+"- 	c #7000B4",
+"; 	c #7700BF",
+"> 	c #7900C3",
+", 	c #7300B9",
+"' 	c #6A00AB",
+") 	c #5F0099",
+"! 	c #470072",
+"~ 	c #290043",
+"{ 	c #12001D",
+"] 	c #39005C",
+"^ 	c #62009E",
+"/ 	c #7F00CC",
+"( 	c #550089",
+"_ 	c #1C002D",
+": 	c #26003D",
+"< 	c #5F0098",
+"[ 	c #7E00CB",
+"} 	c #6E00B0",
+"| 	c #2A0044",
+"1 	c #0F0018",
+"2 	c #3D0062",
+"3 	c #7F00CB",
+"4 	c #7E00C9",
+"5 	c #7C00C6",
+"6 	c #7400B9",
+"7 	c #7A00C4",
+"8 	c #7D00C8",
+"9 	c #43006C",
+"0 	c #7E00CA",
+"a 	c #7D00C9",
+"b 	c #6400A0",
+"c 	c #050009",
+"d 	c #030004",
+"e 	c #320051",
+"f 	c #31004E",
+"g 	c #6500A3",
+"h 	c #45006F",
+"i 	c #4B0077",
+"j 	c #530086",
+"k 	c #45006E",
+"l 	c #000000",
+"m 	c #7B00C6",
+"n 	c #4E007C",
+"o 	c #520083",
+"p 	c #56008A",
+"q 	c #62009D",
+"r 	c #5C0093",
+"s 	c #590090",
+"t 	c #7200B7",
+"u 	c #6D00AE",
+"v 	c #59008E",
+"w 	c #0B0012",
+"x 	c #8000CC",
+"y 	c #7C00C7",
+"z 	c #7800C1",
+"A 	c #480074",
+"B 	c #7A00C3",
+"C 	c #450070",
+"D 	c #7600BE",
+"E 	c #3A005E",
+"F 	c #280041",
+"G 	c #6F00B3",
+"H 	c #7B00C5",
+"I 	c #7800C0",
+"J 	c #7900C2",
+"K 	c #7100B6",
+"L 	c #30004E",
+"M 	c #400066",
+"N 	c #7500BC",
+"O 	c #6500A2",
+"P 	c #160023",
+"Q 	c #480073",
+"R 	c #58008D",
+"S 	c #520084",
+"T 	c #6900A9",
+"U 	c #460071",
+"V 	c #57008C",
+"W 	c #07000B",
+"X 	c #5B0093",
+"Y 	c #7900C1",
+"Z 	c #6C00AD",
+"` 	c #040006",
+" .	c #4F007F",
+"..	c #7D00CA",
+"+.	c #6600A4",
+"@.	c #4E007D",
+"#.	c #6D00AF",
+"$.	c #400068",
+"%.	c #6900A8",
+"&.	c #170025",
+"*.	c #24003A",
+"=.	c #57008B",
+"-.	c #210035",
+";.	c #7600BD",
+">.	c #7C00C8",
+",.	c #7F00CD",
+"'.	c #6B00AC",
+").	c #1A0029",
+"!.	c #2F004C",
+"~.	c #2A0043",
+"{.	c #5A0090",
+"].	c #08000D",
+"^.	c #8000CD",
+"/.	c #12001C",
+"(.	c #230038",
+"_.	c #6F00B2",
+":.	c #270040",
+"<.	c #030005",
+"[.	c #240039",
+"}.	c #7200B8",
+"|.	c #490075",
+"1.	c #0C0014",
+"2.	c #3B005F",
+"3.	c #6700A5",
+"4.	c #06000A",
+"5.	c #27003F",
+"6.	c #4D007C",
+"7.	c #6A00AA",
+"8.	c #42006B",
+"9.	c #1A002A",
+"0.	c #010001",
+"a.	c #050008",
+"b.	c #290042",
+"c.	c #30004D",
+"d.	c #38005A",
+"e.	c #0E0016",
+"                          . + @ # $                             ",
+"                    % & * = - ; > , ' ) ! ~                     ",
+"              { ] ^ / / / / / / / / / / / / ( _                 ",
+"            : < [ / / / / / / / / / / / / / [ } |               ",
+"        1 2 3 / / / / [ / 4 5 [   6 7 / 8 / / / - @             ",
+"        9 > / / / 0 [                     a / / / b c           ",
+"    d e / / / 3 /                           4 / / / f           ",
+"    { g / / / 0     h /       i j             0 / / k           ",
+"  l 2 [ / /         h / m     n o             / / / p           ",
+"  l q / / /         h / m     r s     t u     / / / v     [ !   ",
+"  w 0 / / x         h / m     / /       y z A B / / ) C 3 D E   ",
+"  F / / /           h / m     / /       G > > H / / I J K L     ",
+"l M / / /           h / m     / /           N / / / 0 O P       ",
+"l Q / / /           h / m     / /             J / / R :         ",
+"l S / / /           h / m                       T U             ",
+"d V / / /           h / m           / / / / / ;                 ",
+"W X / / /           h / m     a / / / / / / / / Y Z             ",
+"` v / / /           h / m   / / / / / / / / / / / H             ",
+"l  ./ / /           h / ../ / / / m +.V Q @.= 8 / / #.          ",
+"l $./ / /           h / / / / / %.e &.      *.=./ / 8 !         ",
+"  -./ / /           h / 3 / / ;.T z /           H / / v         ",
+"  W >./ / ,.        h / / / / / / / /           ; / / '.l       ",
+"  l p / / /         ).!.!.!.!.!.!.!.!.          / / / %.l       ",
+"  l ~.z / / /                                   / / / {.l       ",
+"    ].( / / / /                               ^./ / y f         ",
+"    l &.N / / / / ,.                        x / / / +./.        ",
+"      l (._./ / / / / /                 / / / / / m :.l         ",
+"        <.[.}./ / / / / / / / / / / / / / / / / 8 |.<.          ",
+"          l 1.2.3.7 / / / / / / / / / / / / 0 } ] 4.            ",
+"            l l { 5.6.7.4 / / / / / / / 0 _.8.9.0.l             ",
+"                l l l l a.P b.c.d.$ c.F e.0.l l                 ",
+"                          l l l l l l l                         "};
--- gliv-1.9.6.orig/debian/changelog
+++ gliv-1.9.6/debian/changelog
@@ -0,0 +1,191 @@
+gliv (1.9.6-1) unstable; urgency=low
+
+  * QA upload.
+    + Set maintainer to Debian QA Group <packages@qa.debian.org>
+  * New upstream release.
+  * Install desktop file and icon. (Closes: #469870).
+    + Thanks to Iulian Udrea.
+  * Replace deprecated xutils build-dep with x11-utils.
+  * Add Homepage field.
+  * Add watch file.
+  * Add autotools-dev to build-deps for config.{sub,guess}.
+  * Copy in config.{sub,guess} on configure instead of clean.
+    + Remove them on clean.
+  * Add ${misc:Depends} for debhelper package.
+  * Add copyright holders to debian/copyright.
+  * Make clean not ignore errors.
+  * Move DH_COMPAT from rules to debian/compat.
+  * Bump Standards Version to 3.8.3.
+    + Menu policy transition.
+
+ -- Barry deFreese <bdefreese@debian.org>  Thu, 08 Oct 2009 12:37:06 -0400
+
+gliv (1.9.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Remco van de Meent <remco@debian.org>  Wed, 29 Mar 2006 13:15:16 +0200
+
+gliv (1.9.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Add AM_MAINTAINER_MODE
+  * Updated config.{sub,guess} (closes: #320197)
+  * Upgrade to standards-version 3.6.2
+
+ -- Remco van de Meent <remco@debian.org>  Mon,  6 Feb 2006 09:37:22 +0100
+
+gliv (1.9.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Remco van de Meent <remco@debian.org>  Fri, 10 Jun 2005 14:42:57 +0200
+
+gliv (1.9.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Remco van de Meent <remco@debian.org>  Thu,  6 Jan 2005 13:05:23 +0100
+
+gliv (1.8.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Add debian/watch file
+
+ -- Remco van de Meent <remco@debian.org>  Thu, 12 Aug 2004 16:36:58 +0200
+
+gliv (1.8.3-2) unstable; urgency=medium
+
+  * Add build-depends on libxmu-dev. Without it, the gettext support
+    detection in configure fails, causing build problems on various
+    architectures (closes: #262866).
+
+ -- Remco van de Meent <remco@debian.org>  Tue,  3 Aug 2004 17:39:09 +0200
+
+gliv (1.8.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Add libgtk2.0-dev to build dependencies
+
+ -- Remco van de Meent <remco@debian.org>  Sun,  1 Aug 2004 15:36:24 +0200
+
+gliv (1.8.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Changed upstream URL
+  * Updated Standards-version
+  * Fix lintian warnings about menu file
+
+ -- Remco van de Meent <remco@debian.org>  Mon, 19 Apr 2004 20:40:02 +0200
+
+gliv (1.8-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Remco van de Meent <remco@debian.org>  Mon, 26 Jan 2004 20:47:24 +0100
+
+gliv (1.7.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Updated standards version to 3.5.10
+
+ -- Remco van de Meent <remco@debian.org>  Sun,  8 Jun 2003 23:13:29 +0200
+
+gliv (1.7-2) unstable; urgency=low
+
+  * Rebuild for latest libs
+
+ -- Remco van de Meent <remco@debian.org>  Sun, 16 Mar 2003 12:47:57 +0100
+
+gliv (1.7-1) unstable; urgency=low
+
+  * New upstream release
+  * Rebuild for latest libs (also closes: #166969)
+  * Updated Standards-Version
+
+ -- Remco van de Meent <remco@debian.org>  Mon,  3 Mar 2003 14:31:15 +0100
+
+gliv (1.6-2) unstable; urgency=low
+
+  * Updated build-dependency for libmagick-dev (closes: #176232)
+
+ -- Remco van de Meent <remco@debian.org>  Tue, 14 Jan 2003 10:06:43 +0100
+
+gliv (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Use GTK2 instead of GTK1
+
+ -- Remco van de Meent <remco@debian.org>  Fri, 25 Oct 2002 08:39:05 +0000
+
+gliv (1.5.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Remco van de Meent <remco@debian.org>  Wed, 11 Sep 2002 12:23:16 +0000
+
+gliv (1.5.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Remco van de Meent <remco@debian.org>  Wed, 15 May 2002 19:24:11 +0200
+
+gliv (1.5.1-1) unstable; urgency=low
+
+  * New upstream release (closes: #120552)
+
+ -- Remco van de Meent <remco@debian.org>  Tue, 16 Apr 2002 15:49:54 +0200
+
+gliv (1.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Mention gdk-pixbuf instead of imlib2 in description (closes: #132253)
+
+ -- Remco van de Meent <remco@debian.org>  Mon, 18 Mar 2002 19:40:53 +0100
+
+gliv (1.4.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Changed back to gtk1.2 due to unexpected errors while using gtk2
+    (closes: #123080)
+
+ -- Remco van de Meent <remco@debian.org>  Mon, 10 Dec 2001 18:06:39 +0100
+
+gliv (1.4-2) unstable; urgency=low
+
+  * Added build-depends for libgdk-pixbuf-dev, pkg-config and
+    libgtk1.3-dev (closes: #120217)
+  * Added build-depends on libmagick5-dev
+  * Added build-depends on libpango-dev
+
+ -- Remco van de Meent <remco@debian.org>  Tue, 20 Nov 2001 09:42:28 +0100
+
+gliv (1.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Builds on powerpc again, closes: #110884
+
+ -- Remco van de Meent <remco@debian.org>  Sun, 18 Nov 2001 16:08:21 +0100
+
+gliv (1.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Segfault taken care of in version 1.2 (closes: #109412)
+
+ -- Remco van de Meent <remco@debian.org>  Tue, 18 Sep 2001 21:09:25 +0200
+
+gliv (1.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Remco van de Meent <remco@debian.org>  Thu, 30 Aug 2001 14:29:15 +0200
+
+gliv (1.1.2-1) unstable; urgency=low
+
+  * Initial Release (closes: #104560)
+
+ -- Remco van de Meent <remco@debian.org>  Sun, 15 Jul 2001 18:12:21 +0200
+
+Local variables:
+mode: debian-changelog
+End:
--- gliv-1.9.6.orig/debian/compat
+++ gliv-1.9.6/debian/compat
@@ -0,0 +1 @@
+5
--- gliv-1.9.6.orig/debian/watch
+++ gliv-1.9.6/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://guichaz.free.fr/gliv/files/gliv-([\d.]+)\.tar\.gz
--- gliv-1.9.6.orig/debian/rules
+++ gliv-1.9.6/debian/rules
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+# 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
+
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+  confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	# update config.sub c.s.
+	-test -r /usr/share/misc/config.sub && cp -f /usr/share/misc/config.sub config.sub
+	-test -r /usr/share/misc/config.guess && cp -f /usr/share/misc/config.guess config.guess
+
+	./configure $(confflags) \
+		--prefix=/usr --mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info --enable-gtk2
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/gliv.sgml > gliv.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.
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	rm -f config.guess config.sub
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/gliv.
+	$(MAKE) install prefix=$(CURDIR)/debian/gliv/usr
+
+
+# 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_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installcron
+	dh_installman
+	dh_installinfo
+	dh_installchangelogs 
+	dh_install debian/gliv.desktop usr/share/applications
+	dh_install debian/gliv.xpm usr/share/pixmaps
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- gliv-1.9.6.orig/debian/control
+++ gliv-1.9.6/debian/control
@@ -0,0 +1,15 @@
+Source: gliv
+Section: graphics
+Priority: optional
+Maintainer: Debian QA Group <packages@qa.debian.org>
+Build-Depends: debhelper (>> 5.0.0), autotools-dev, libxmu-dev, x11-utils, libgtkglext1-dev (>= 0.7.0-0.2), libgtk2.0-dev
+Standards-Version: 3.8.3
+Homepage: http://guichaz.free.fr/gliv/
+
+Package: gliv
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: image viewer using gdk-pixbuf and OpenGL
+ GLiv  is an image viewer that uses gdk-pixbuf to load images, and OpenGL to
+ render them.  Moving and zooming is very fast and smooth if you have an
+ OpenGL board.
--- gliv-1.9.6.orig/debian/gliv.desktop
+++ gliv-1.9.6/debian/gliv.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Gliv
+Comment=View images using gdk-pixbuf and OpenGL
+Icon=gliv
+Exec=gliv
+Terminal=false
+Categories=Graphics;
