--- comix-4.0.4.orig/install.py
+++ comix-4.0.4/install.py
@@ -294,7 +294,7 @@
 # Install Comix.
 # ---------------------------------------------------------------------------
 if args == ['install']:
-    check_dependencies()
+#    check_dependencies()
     print 'Installing Comix to', install_dir, '...\n'
     if not os.access(install_dir, os.W_OK):
         print 'You do not have write permissions to', install_dir
--- comix-4.0.4.orig/debian/copyright
+++ comix-4.0.4/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Emfox Zhou <EmfoxZhou@gmail.com> on
+Sat,  1 Oct 2005 15:40:25 +0800.
+
+It was downloaded from http://comix.sourceforge.net/
+
+
+Copyright (C) 2005 Pontus Ekberg <herrekberg@users.sourceforge.net>
+
+   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; either version 2 of the License, or
+   (at your option) any later version.
+
+   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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- comix-4.0.4.orig/debian/changelog
+++ comix-4.0.4/debian/changelog
@@ -0,0 +1,209 @@
+comix (4.0.4-1.4.201403172320) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Mon, 17 Mar 2014 23:20:01 +0100
+
+comix (4.0.4-1) unstable; urgency=low
+
+  * New upstream release
+    - Fix the bug of opening file, see upstream changelog.
+
+ -- Emfox Zhou <emfox@debian.org>  Wed, 08 Apr 2009 07:33:59 +0800
+
+comix (4.0.3-1) unstable; urgency=low
+
+  * New upstream release
+    - Translation updates and new features.
+
+ -- Emfox Zhou <emfox@debian.org>  Wed, 25 Feb 2009 13:35:42 +0800
+
+comix (4.0.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: #512489)
+    - Update several translations.
+  * Bump version of dependencies: python, pygtk, etc.
+
+ -- Emfox Zhou <emfox@debian.org>  Tue, 27 Jan 2009 09:39:55 +0800
+
+comix (4.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <emfox@debian.org>  Sat, 27 Dec 2008 13:31:46 +0800
+
+comix (3.6.4-1.1) unstable; urgency=high
+
+  * Non-maintainer upload by the Security Team.
+  * Apply patch by Mamoru Tasaka to fix arbitrary code execution
+    via crafted file names because of passing the filename directly
+    to string concatenation used in os.popen (CVE-2008-1568; Closes: #462840).
+  * Apply patch by Mamoru Tasaka to use empfile.mkdtemp() to enable comix
+    for multi-user environments and thus prevent a race condition in /tmp
+    without a real security impact (Closes: #462836).
+
+ -- Nico Golde <nion@debian.org>  Thu, 03 Apr 2008 00:49:49 +0200
+
+comix (3.6.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <emfox@debian.org>  Sat, 02 Jun 2007 13:49:33 +0800
+
+comix (3.6.2-3) unstable; urgency=low
+
+  * Install missing mime related files (Closes: #411627)
+
+ -- Emfox Zhou <emfox@debian.org>  Sat, 24 Feb 2007 20:28:52 +0800
+
+comix (3.6.2-2) unstable; urgency=low
+
+  * Suggest libjpeg-progs, so that comix may use jpegtrans (Closes: #410242)
+
+ -- Emfox Zhou <emfox@debian.org>  Fri,  9 Feb 2007 10:42:59 +0000
+
+comix (3.6.2-1) unstable; urgency=low
+
+  * New upstream release
+    - Added Japanese translation.
+
+ -- Emfox Zhou <emfox@debian.org>  Thu,  1 Feb 2007 13:08:32 +0000
+
+comix (3.6.1-2) unstable; urgency=low
+
+  * Really Changed Maintainer's Email Address.
+
+ -- Emfox Zhou <emfox@debian.org>  Wed,  3 Jan 2007 10:15:01 +0000
+
+comix (3.6.1-1) unstable; urgency=low
+
+  * New upstream release
+    - Updated Brazilian Portuguese and Dutch translations.
+  * New Maintainer's Email Address.
+
+ -- Emfox Zhou <emfox@debian.org>  Wed,  3 Jan 2007 09:28:07 +0000
+
+comix (3.6-1) unstable; urgency=low
+
+  * New upstream release (Closes: #391426)
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Wed, 11 Oct 2006 20:46:57 +0800
+
+comix (3.5.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Fri,  1 Sep 2006 03:47:08 +0800
+
+comix (3.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Depend on python-gtk version higher than 2.8 (Closes: #374393)
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Mon, 19 Jun 2006 02:25:13 +0800
+
+comix (3.1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Added support for StartupNotify in launcher (Closes: #361523)
+  * Bump up Standards-Version to 3.7.2 (no changes).
+  * Build-Depend on debhelper (instead of build-dep-indep) as it is needed in
+    the clean target of debian/rules.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Thu,  1 Jun 2006 17:55:24 +0200
+
+comix (2.9-1) unstable; urgency=low
+
+  * fix mimeinfo file installation path.
+  * the packages is architecture independent. (Closes: #356576)
+  * New upstream release
+    - Comic book library where comic book archives can be browsed as covers. 
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Wed, 22 Feb 2006 08:07:12 +0800
+
+comix (2.8-1) unstable; urgency=low
+
+  * New upstream release, many new features and bugfixes
+    - Screen Magnification Lens.
+    - Mime Info support.
+    - Much more.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Mon, 13 Feb 2006 15:44:32 +0800
+
+comix (2.4.1-1) unstable; urgency=low
+
+  * New upstream release, some bugs fixed.
+  * Add Debian watch file.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Tue,  3 Jan 2006 00:46:10 +0800
+
+comix (2.4-1) unstable; urgency=low
+
+  * New upstream release: full internationalization support, English, Swedish,
+    Simplified Chinese and Spanish Translation available.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Mon,  2 Jan 2006 08:58:57 +0800
+
+comix (2.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Depend on python-imaging as new upstream starts using it.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Thu, 22 Dec 2005 00:12:19 +0800
+
+comix (2.2.1-1) unstable; urgency=low
+
+  * New upstream release: many bug fixed.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Wed, 14 Dec 2005 01:41:08 +0800
+
+comix (2.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Sat, 10 Dec 2005 23:36:53 +0800
+
+comix (2.1-1) unstable; urgency=low
+
+  * New upstream release: mainly a bug fix release.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Sat, 26 Nov 2005 15:49:16 +0800
+
+comix (2.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Mon, 21 Nov 2005 00:07:28 +0800
+
+comix (1.6-1) unstable; urgency=low
+
+  * New upstream release (Closes: #337726, #337727)
+  * debian/rules cleanup,  adjust long description (Closes: #337366)
+  * Add README.Debian.
+  * Remove obsolete dependency on 'file'.
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Mon,  7 Nov 2005 19:07:08 +0800
+
+comix (1.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Wed,  2 Nov 2005 17:18:59 +0800
+
+comix (1.3.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Thu, 20 Oct 2005 20:45:05 +0800
+
+comix (1.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Wed, 19 Oct 2005 00:59:42 +0800
+
+comix (1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #331043)
+
+ -- Emfox Zhou <EmfoxZhou@gmail.com>  Sun,  9 Oct 2005 11:30:46 +0800
--- comix-4.0.4.orig/debian/compat
+++ comix-4.0.4/debian/compat
@@ -0,0 +1 @@
+4
--- comix-4.0.4.orig/debian/rules
+++ comix-4.0.4/debian/rules
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build:
+	dh_testdir
+
+	# Add here commands to compile the package.
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add here commands to clean up after the build process.
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/comix.
+	mkdir -p $(CURDIR)/debian/comix/usr
+	python install.py install --dir $(CURDIR)/debian/comix/usr --no-mime
+	install mime/comicthumb $(CURDIR)/debian/comix/usr/bin/comicthumb
+	install -d $(CURDIR)/debian/comix/usr/share/mime/packages
+	install -m 644 mime/comix.xml $(CURDIR)/debian/comix/usr/share/mime/packages/comix.xml
+	install -d $(CURDIR)/debian/comix/usr/share/gconf/schemas
+	install -D -m 644 mime/comicbook.schemas $(CURDIR)/debian/comix/usr/share/gconf/schemas
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installmenu
+	dh_installmime
+	dh_installman mime/comicthumb.1.gz
+	dh_gconf
+	dh_desktop
+	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 configure
--- comix-4.0.4.orig/debian/control
+++ comix-4.0.4/debian/control
@@ -0,0 +1,44 @@
+Source: comix
+Section: x11
+Priority: optional
+Maintainer: Emfox Zhou <emfox@debian.org>
+Build-Depends: debhelper (>= 4.0.0)
+Build-Depends-Indep: python (>= 1.5.3)
+Standards-Version: 3.7.2
+
+Package: comix
+Architecture: all
+Depends: ${misc:Depends}, python (>= 2.4), python-gtk2 (>= 2.12), python-imaging (>= 1.1.5)
+Suggests: unrar, python (>=2.5)|python-sqllite2
+Description: GTK Comic Book Viewer
+ Comix is a comic book viewer. It reads zip, rar, tar, tar.gz and 
+ tar.bz2 archives (often called .cbz, .cbr and .cbt) as well as
+ normal image files. It is written in Python and has a simple user
+ interface using PyGTK. 
+ .
+ Main Features:
+ .
+   * Fullscreen mode.
+   * Double page mode.
+   * Fit-to-screen mode.
+   * Zooming and scrolling.
+   * Rotation and mirroring.
+   * Magnification lens.
+   * Changeable image scaling quality.
+   * Image enhancement.
+   * Can read right-to-left to fit manga etc.
+   * Caching for faster page flipping.
+   * Bookmarks support.
+   * Customizable GUI.
+   * Archive comments support.
+   * Archive converter.
+   * Thumbnail browser.
+   * Standards compliant.
+   * Translated to English, Swedish, Simplified Chinese, Spanish,
+     Brazilian Portuguese and German.
+   * Reads the JPEG, PNG, TIFF, GIF, BMP, ICO, XPM and XBM image formats.
+   * Reads ZIP and tar archives natively, and RAR archives through the unrar
+     program.
+   * Runs on Linux, FreeBSD, NetBSD and virtually any other UNIX-like OS.
+   * More!
+
--- comix-4.0.4.orig/debian/menu
+++ comix-4.0.4/debian/menu
@@ -0,0 +1,2 @@
+?package(comix):needs="X11" section="Applications/Viewers"\
+  title="comix" command="/usr/bin/comix"
--- comix-4.0.4.orig/debian/docs
+++ comix-4.0.4/debian/docs
@@ -0,0 +1 @@
+README
--- comix-4.0.4.orig/debian/watch
+++ comix-4.0.4/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/comix/comix-(.*)\.tar\.gz debian uupdate
