summaryrefslogtreecommitdiffstats
path: root/distributions/debian/smartq
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-11 21:28:48 +0900
committerMichele Calgaro <[email protected]>2024-05-11 21:28:48 +0900
commit2462d03f322261bd616721c2b2065c4004b36c9c (patch)
tree239947a0737bb8386703a1497f12c09aebd3080a /distributions/debian/smartq
downloadtde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.tar.gz
tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.zip
Initial import (as is) from Debian Snapshot's 'fbreader' source code (https://snapshot.debian.org/package/fbreader/0.99.4%2Bdfsg-6).
The Debian code is provided under GPL2 license. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'distributions/debian/smartq')
-rw-r--r--distributions/debian/smartq/changelog344
-rw-r--r--distributions/debian/smartq/compat1
-rw-r--r--distributions/debian/smartq/control115
-rw-r--r--distributions/debian/smartq/copyright51
-rw-r--r--distributions/debian/smartq/menu2
-rw-r--r--distributions/debian/smartq/patches/110-use-sensible-browser.patch11
-rw-r--r--distributions/debian/smartq/patches/120-key-names-and-actions.patch58
-rw-r--r--distributions/debian/smartq/patches/130-default-indicator.patch13
-rw-r--r--distributions/debian/smartq/patches/140-fullscreen-scrolling.patch41
-rw-r--r--distributions/debian/smartq/patches/150-default-rotation-direction.patch12
-rw-r--r--distributions/debian/smartq/patches/160-use-gcc-4-3.patch14
-rw-r--r--distributions/debian/smartq/patches/170-disable-selection-by-default.patch10
-rw-r--r--distributions/debian/smartq/patches/series7
-rwxr-xr-xdistributions/debian/smartq/rules58
-rw-r--r--distributions/debian/smartq/watch2
15 files changed, 739 insertions, 0 deletions
diff --git a/distributions/debian/smartq/changelog b/distributions/debian/smartq/changelog
new file mode 100644
index 0000000..4a6aa88
--- /dev/null
+++ b/distributions/debian/smartq/changelog
@@ -0,0 +1,344 @@
+fbreader (0.12.10-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thu, 1 Apr 2010 13:48:00 +0300
+
+fbreader (0.12.9-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thu, 25 Mar 2010 02:33:00 +0300
+
+fbreader (0.12.8-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Mon, 22 Mar 2010 21:42:00 +0300
+
+fbreader (0.12.7-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 5 Mar 2010 00:39:00 +0300
+
+fbreader (0.12.6-1) stable; urgency=low
+
+ * new upstream version
+ * Text selection is disabled by default. That means the tap scrolling
+ works faster in 200 ms.
+
+ -- Nikolay Pultsin <[email protected]> Tue, 2 Mar 2010 20:53:00 +0300
+
+fbreader (0.12.5.smartq-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Sun, 21 Feb 2010 16:20:00 +0300
+
+fbreader (0.12.2-5) stable; urgency=low
+
+ * Double-click detection is switched off if a text selection is disabled
+
+ -- Nikolay Pultsin <[email protected]> Tue, 16 Feb 2010 16:35:00 +0300
+
+fbreader (0.12.2-4) stable; urgency=low
+
+ * Better solution for chm crash problem: gcc 4.3 is used instead of 4.4
+ * Fixed position indicator behaviour
+
+ -- Nikolay Pultsin <[email protected]> Sun, 14 Feb 2010 15:46:00 +0300
+
+fbreader (0.12.2-3) stable; urgency=low
+
+ * Arabic and Chinese entries have been added to the desktop file
+ * A SmartQ-specific crach on chm files has been fixed
+
+ -- Nikolay Pultsin <[email protected]> Sat, 13 Feb 2010 14:46:00 +0300
+
+fbreader (0.12.2-2) stable; urgency=low
+
+ * several SmartQ-specific patches have been added
+
+ -- Nikolay Pultsin <[email protected]> Tue, 9 Feb 2010 18:51:00 +0300
+
+fbreader (0.12.2-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 29 Jan 2010 19:53:00 +0300
+
+fbreader (0.12.1-2) stable; urgency=low
+
+ * cosmetical fixes
+
+ -- Nikolay Pultsin <[email protected]> Sun, 13 Dec 2009 11:41:00 +0300
+
+fbreader (0.12.1-1) stable; urgency=low
+
+ * new upstream version
+ * updated man page
+
+ -- Nikolay Pultsin <[email protected]> Sun, 13 Dec 2009 09:23:00 +0300
+
+fbreader (0.12.0-3) stable; urgency=low
+
+ * fixed rules file
+
+ -- Nikolay Pultsin <[email protected]> Sun, 6 Dec 2009 19:48:00 +0300
+
+fbreader (0.12.0-2) stable; urgency=low
+
+ * fixed dependencies list
+
+ -- Nikolay Pultsin <[email protected]> Sun, 6 Dec 2009 19:05:00 +0300
+
+fbreader (0.12.0-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Sat, 5 Dec 2009 03:40:00 +0300
+
+fbreader (0.11.2-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Tue, 20 Oct 2009 13:22:00 +0400
+
+fbreader (0.11.1-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Tue, 13 Oct 2009 23:38:00 +0400
+
+fbreader (0.11.0-2) stable; urgency=low
+
+ * fixed package dependencies in debian files
+
+ -- Nikolay Pultsin <[email protected]> Sat, 26 Sep 2009 11:23:00 +0400
+
+fbreader (0.11.0-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Vasiliy Bout <[email protected]> Wed, 16 Sep 2009 16:48:00 +0400
+
+fbreader (0.10.7-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Mon, 30 Mar 2009 13:29:00 +0400
+
+fbreader (0.10.6-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thu, 26 Mar 2009 22:15:00 +0200
+
+fbreader (0.10.5-1) stable; urgency=low
+
+ * new upstream version
+ * conflicts with ubuntu fbreader packages have been resolved
+ * dependencies for libzltext-dev have been fixed
+
+ -- Nikolay Pultsin <[email protected]> Fri, 20 Mar 2009 18:12:00 +0200
+
+fbreader (0.10.4-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Wed, 18 Mar 2009 23:33:00 +0200
+
+fbreader (0.10.3-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thu, 5 Feb 2009 01:11:00 +0200
+
+fbreader (0.10.2-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 17 Jan 2009 23:42:00 +0300
+
+fbreader (0.10.1-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 16 Jan 2009 12:31:00 +0300
+
+fbreader (0.10.0-1) stable; urgency=low
+
+ * new upstream version
+ * add-missing-headers.patch integrated into the upstream
+ * fix-centering-with-margins.patch integrated into the upstream
+ * use-sensible-browser.patch added to the upstream debian fileset
+ * remove-deprecated-fields-in-desktop-file.patch intgerated into the upstream
+
+ -- Nikolay Pultsin <[email protected]> Sun, 3 Aug 2008 19:01:00 +0400
+
+fbreader (0.8.17-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Sun, 23 Mar 2008 03:30:00 +0300
+
+fbreader (0.8.16-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 20 Mar 2008 03:10:00 +0300
+
+fbreader (0.8.15-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Tue, 26 Feb 2008 02:41:00 +0300
+
+fbreader (0.8.14-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Sat, 9 Feb 2008 22:48:00 +0300
+
+fbreader (0.8.13-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thr, 24 Jan 2008 15:24:00 +0300
+
+fbreader (0.8.12-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Sat, 19 Jan 2008 03:47:00 +0300
+
+fbreader (0.8.11-1) stable; urgency=low
+
+ * new upstream version
+ * dependency rules have been changed
+
+ -- Nikolay Pultsin <[email protected]> Sat, 12 Jan 2008 22:27:00 +0300
+
+fbreader (0.8.10-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 4 Jan 2008 20:53:00 +0300
+
+fbreader (0.8.9-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thr, 27 Dec 2007 07:13:00 +0300
+
+fbreader (0.8.8d-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Mon, 24 Dec 2007 10:27:00 +0300
+
+fbreader (0.8.8c-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Sun, 23 Dec 2007 08:14:00 +0300
+
+fbreader (0.8.8a-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Mon, 17 Dec 2007 03:03:00 +0300
+
+fbreader (0.8.8-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 23 Nov 2007 22:55:00 +0300
+
+fbreader (0.8.7b-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Tue, 6 Nov 2007 22:55:00 +0300
+
+fbreader (0.8.7a-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Wed, 31 Oct 2007 00:00:00 +0400
+
+fbreader (0.8.7-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Fri, 5 Oct 2007 00:00:00 +0400
+
+fbreader (0.8.6c-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thr, 30 Aug 2007 02:30:00 +0400
+
+fbreader (0.8.6a-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thr, 8 Aug 2007 18:47:00 +0400
+
+fbreader (0.8.6-1) stable; urgency=low
+
+ * new upstream version
+ * added libzlibrary-dev package
+
+ -- Nikolay Pultsin <[email protected]> Thr, 5 Aug 2007 23:49:00 +0400
+
+fbreader (0.8.5c-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thr, 19 Jul 2007 15:20:00 +0400
+
+fbreader (0.8.5b-1) stable; urgency=low
+
+ * new upstream version
+ * almost all changes from the previous change are now included into
+ the upstream version: zlibrary shared objects moving, rpath deletion,
+ and the man page.
+
+ -- Nikolay Pultsin <[email protected]> Tue, 10 Jul 2007 21:50:00 +0400
+
+fbreader (0.8.5a-1) unstable; urgency=low
+
+ * First upload to Debian. Closes: #432274
+ * Misc debianisation changes.
+ * Move zlibrary shared object files to /usr/lib from /usr/share.
+ * Remove use of rpath.
+ * Use sensible-browser.
+ * Added a basic man page.
+
+ -- Joey Hess <[email protected]> Mon, 09 Jul 2007 15:04:31 -0400
+
+fbreader (0.8.5-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Sat, 7 Jul 2007 02:12:00 +0400
+
+fbreader (0.8.4zz-1) stable; urgency=low
+
+ * new upstream version
+
+ -- Nikolay Pultsin <[email protected]> Thu, 5 Jul 2007 03:17:00 +0400
+
+fbreader (0.8.4z-2) stable; urgency=low
+
+ * postinst/postrm scripts were added
+
+ -- Nikolay Pultsin <[email protected]> Fri, 29 Jun 2007 21:23:00 +0400
+
+fbreader (0.8.4z-1) stable; urgency=low
+
+ * Initial release.
+
+ -- Nikolay Pultsin <[email protected]> Fri, 29 Jun 2007 17:53:00 +0400
diff --git a/distributions/debian/smartq/compat b/distributions/debian/smartq/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/distributions/debian/smartq/compat
@@ -0,0 +1 @@
+5
diff --git a/distributions/debian/smartq/control b/distributions/debian/smartq/control
new file mode 100644
index 0000000..f8ed566
--- /dev/null
+++ b/distributions/debian/smartq/control
@@ -0,0 +1,115 @@
+Source: fbreader
+Section: text
+Priority: optional
+Maintainer: Nikolay Pultsin <[email protected]>
+Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 5), libgtk2.0-dev, libqt3-mt-dev, libqt4-dev, libexpat1-dev, libbz2-dev, libz-dev, liblinebreak-dev (>= 1.0-1), libjpeg-dev, libfribidi-dev, libcurl-dev, quilt (>= 0.40), libsqlite3-dev
+
+Package: fbreader
+Priority: optional
+Architecture: any
+Replaces: fbreader-gtk, fbreader-qt, fbreader-qt4
+Depends: ${shlibs:Depends}, libzlui
+Description: e-book reader
+ FBReader is an e-book reader.
+ .
+ Main features:
+ * supports several open e-book formats: fb2, html, chm, plucker,
+ palmdoc, ztxt, tcr (psion text), rtf, oeb, openreader, non-DRM'ed
+ mobipocket, plain text
+ * reads directly from tar, zip, gzip, bzip2 archives (you can have
+ several books in one archive)
+ * supports a structured view of your e-book collection
+ * automatically determines encodings
+ * automatically generates a table of contents
+ * keeps the last open book and the last read positions for all open books
+ between runs
+ * automatic hyphenation (patterns for several languages are included)
+ * search and download books from network libraries
+ .
+ Homepage: http://www.fbreader.org/
+
+Package: libzlcore
+Section: libs
+Priority: optional
+Architecture: any
+Conflicts: fbreader-gtk, fbreader-qt, fbreader-qt4
+Replaces: libzlcore-data
+Depends: ${shlibs:Depends}
+Description: ZLibrary core
+ This is the core of ZLibrary, the library that the fbreader e-book reader
+ is based on.
+ .
+ ZLibrary is a cross-platform library to build applications running on desktop
+ Linux, Windows, different Linux-based PDAs using this library.
+
+Package: libzltext
+Section: libs
+Priority: optional
+Architecture: any
+Replaces: libzltext-data
+Depends: ${shlibs:Depends}, libzlcore (= ${binary:Version})
+Description: ZLibrary text model/viewer
+ This package provides text model/viewer part of ZLibrary.
+ .
+ ZLibrary is a cross-platform library to build applications running on desktop
+ Linux, Windows, different Linux-based PDAs using this library.
+
+Package: libzlui-gtk
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, libzlcore (= ${binary:Version})
+Provides: libzlui
+Description: GTK+ interface module for ZLibrary
+ This package provides a GTK+-based UI for ZLibrary.
+ .
+ ZLibrary is a cross-platform library to build applications running on desktop
+ Linux, Windows, different Linux-based PDAs using this library.
+
+Package: libzlui-qt
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, libzlcore (= ${binary:Version})
+Provides: libzlui
+Description: Qt3 interface module for ZLibrary
+ This package provides a Qt3-based UI for ZLibrary.
+ .
+ ZLibrary is a cross-platform library to build applications running on desktop
+ Linux, Windows, different Linux-based PDAs using this library.
+
+Package: libzlui-qt4
+Section: libs
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}
+Provides: libzlui
+Description: Qt4 interface module for ZLibrary
+ This package provides a Qt4-based UI for ZLibrary.
+ .
+ ZLibrary is a cross-platform library to build applications running on desktop
+ Linux, Windows, different Linux-based PDAs using this library.
+
+Package: libzlcore-dev
+Section: libdevel
+Priority: optional
+Architecture: any
+Depends: libzlcore, ${shlibs:Depends}, libzlcore (= ${binary:Version})
+Description: ZLibrary core - development files
+ This package contains development files for the ZLibrary core.
+ .
+ ZLibrary is a cross-platform library to build applications running on desktop
+ Linux, Windows, different Linux-based PDAs using this library.
+
+Package: libzltext-dev
+Section: libdevel
+Priority: optional
+Architecture: any
+Depends: libzltext, ${shlibs:Depends}, libzltext (= ${binary:Version})
+Description: ZLibrary text model/viewer - development files
+ This package contains development files for the ZLibrary text model/viewer
+ library.
+ .
+ ZLibrary is a cross-platform library to build applications running on desktop
+ Linux, Windows, different Linux-based PDAs using this library.
diff --git a/distributions/debian/smartq/copyright b/distributions/debian/smartq/copyright
new file mode 100644
index 0000000..b56c23c
--- /dev/null
+++ b/distributions/debian/smartq/copyright
@@ -0,0 +1,51 @@
+This is the Debian prepackaged version of FBReader.
+
+It was originally Debianised by Nikolay Pultsin <[email protected]>.
+Sources are downloaded from its website at:
+
+ http://www.fbreader.org/
+
+It is copyright as follows:
+
+/*
+ * Copyright (C) 2004-2009 Geometer Plus <[email protected]>
+ *
+ * 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.
+ */
+
+On Debian systems, the full text of the GPL can be found in
+/usr/share/common-licenses/GPL
+
+It also includes html entity files with these licenses:
+
+<!-- Portions (C) International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+-->
+
+<!-- Copyright (C) 2001, 2002 Organization for the Advancement of Structured
+ Information Standards (OASIS).
+
+ Permission to use, copy, modify and distribute this entity set
+ and its accompanying documentation for any purpose and without
+ fee is hereby granted in perpetuity, provided that the above
+ copyright notice and this paragraph appear in all copies. The
+ copyright holders make no representation about the suitability of
+ the entities for any purpose. It is provided "as is" without
+ expressed or implied warranty.
+
+-->
diff --git a/distributions/debian/smartq/menu b/distributions/debian/smartq/menu
new file mode 100644
index 0000000..3fd4112
--- /dev/null
+++ b/distributions/debian/smartq/menu
@@ -0,0 +1,2 @@
+?package(fbreader):needs="x11" section="Applications/Viewers" \
+ title="E-book reader" command="FBReader"
diff --git a/distributions/debian/smartq/patches/110-use-sensible-browser.patch b/distributions/debian/smartq/patches/110-use-sensible-browser.patch
new file mode 100644
index 0000000..42098a1
--- /dev/null
+++ b/distributions/debian/smartq/patches/110-use-sensible-browser.patch
@@ -0,0 +1,11 @@
+--- fbreader-0.10.0.orig/fbreader/data/default/external.desktop.xml
++++ fbreader-0.10.0/fbreader/data/default/external.desktop.xml
+@@ -3,7 +3,7 @@
+ <section name="Web Browser">
+ <program name="%browser" protocol="execute">
+ <action name="openLink" command="%command"/>
+- <option name="command" defaultValue="mozilla %1 &amp;"/>
++ <option name="command" defaultValue="sensible-browser %1 &amp;"/>
+ </program>
+ </section>
+ </ExternalPrograms>
diff --git a/distributions/debian/smartq/patches/120-key-names-and-actions.patch b/distributions/debian/smartq/patches/120-key-names-and-actions.patch
new file mode 100644
index 0000000..e6cae59
--- /dev/null
+++ b/distributions/debian/smartq/patches/120-key-names-and-actions.patch
@@ -0,0 +1,58 @@
+--- fbreader-0.12.2.orig/fbreader/data/default/keymap.desktop.xml
++++ fbreader-0.12.2/fbreader/data/default/keymap.desktop.xml
+@@ -1,36 +1,8 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <keymap>
+- <binding key="&lt;L&gt;" action="showLibrary"/>
+- <binding key="&lt;W&gt;" action="showNetLibrary"/>
+- <binding key="&lt;O&gt;" action="preferences"/>
+- <binding key="&lt;LeftArrow&gt;" action="undo"/>
+- <binding key="&lt;RightArrow&gt;" action="redo"/>
+- <binding key="&lt;C&gt;" action="toc"/>
+- <binding key="&lt;Ctrl&gt;+&lt;F&gt;" action="search"/>
+- <binding key="&lt;F&gt;" action="search"/>
+- <binding key="&lt;P&gt;" action="findPrevious"/>
+- <binding key="&lt;F3&gt;" action="findNext"/>
+- <binding key="&lt;N&gt;" action="findNext"/>
+ <binding key="&lt;PageDown&gt;" action="pageForward"/>
+ <binding key="&lt;PageUp&gt;" action="pageBackward"/>
+- <binding key="&lt;DownArrow&gt;" action="lineForward"/>
+- <binding key="&lt;UpArrow&gt;" action="lineBackward"/>
+- <binding key="&lt;MouseScrollDown&gt;" action="mouseScrollForward"/>
+- <binding key="&lt;MouseScrollUp&gt;" action="mouseScrollBackward"/>
+- <binding key="&lt;Ctrl&gt;+&lt;Home&gt;" action="gotoHome"/>
+- <binding key="&lt;Home&gt;" action="gotoSectionStart"/>
+- <binding key="&lt;End&gt;" action="gotoSectionEnd"/>
++ <binding key="&lt;Return&gt;" action="rotate"/>
++ <binding key="&lt;FullScreen&gt;" action="toggleFullscreen"/>
+ <binding key="&lt;Esc&gt;" action="cancel"/>
+- <binding key="&lt;=&gt;" action="increaseFont"/>
+- <binding key="&lt;-&gt;" action="decreaseFont"/>
+- <binding key="&lt;D&gt;" action="toggleIndicator"/>
+- <binding key="&lt;Return&gt;" action="toggleFullscreen"/>
+- <binding key="&lt;A&gt;" action="addBook"/>
+- <binding key="&lt;I&gt;" action="bookInfo"/>
+- <binding key="&lt;R&gt;" action="rotate"/>
+- <binding key="&lt;Ctrl&gt;+&lt;DownArrow&gt;" action="nextTOCSection"/>
+- <binding key="&lt;Ctrl&gt;+&lt;UpArrow&gt;" action="previousTOCSection"/>
+- <binding key="&lt;Ctrl&gt;+&lt;C&gt;" action="copyToClipboard"/>
+- <binding key="&lt;G&gt;" action="gotoPageNumber"/>
+- <binding key="&lt;Z&gt;" action="debugNL"/>
+ </keymap>
+--- fbreader-0.12.2.orig/zlibrary/ui/data/keynames.desktop-gtk.xml
++++ fbreader-0.12.2/zlibrary/ui/data/keynames.desktop-gtk.xml
+@@ -1,5 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <keynames>
++ <key code="0xFFE9" name="&lt;FullScreen&gt;"/>
+ <key code="0xFF1B" name="&lt;Esc&gt;"/>
+ <key code="0x1B" name="&lt;Esc&gt;"/>
+ <key code="0xFF09" name="&lt;Tab&gt;"/>
+@@ -41,7 +42,6 @@
+ <key code="0xFFE2" name="&lt;RShift&gt;"/>
+ <key code="0xFFE3" name="&lt;Ctrl&gt;"/>
+ <key code="0xFE08" name="&lt;RCtrl&gt;"/>
+- <key code="0xFFE9" name="&lt;Alt&gt;"/>
+ <key code="0xFFEA" name="&lt;RAlt&gt;"/>
+ <key code="0xFFEB" name="&lt;Win&gt;"/>
+ <key code="0xFF6B" name="&lt;Break&gt;"/>
diff --git a/distributions/debian/smartq/patches/130-default-indicator.patch b/distributions/debian/smartq/patches/130-default-indicator.patch
new file mode 100644
index 0000000..e242f43
--- /dev/null
+++ b/distributions/debian/smartq/patches/130-default-indicator.patch
@@ -0,0 +1,13 @@
+--- fbreader-0.12.2.orig/fbreader/data/default/config.desktop.xml
++++ fbreader-0.12.2/fbreader/data/default/config.desktop.xml
+@@ -4,6 +4,10 @@
+ <option name="Base:fontFamily" value="Georgia"/>
+ <option name="Base:fontSize" value="16"/>
+ </group>
++ <group name="Indicator">
++ <option name="Type" value="1"/>
++ <option name="Time" value="true"/>
++ </group>
+ <group name="Scrollings">
+ <option name="Delay" value="0"/>
+ </group>
diff --git a/distributions/debian/smartq/patches/140-fullscreen-scrolling.patch b/distributions/debian/smartq/patches/140-fullscreen-scrolling.patch
new file mode 100644
index 0000000..d6c9543
--- /dev/null
+++ b/distributions/debian/smartq/patches/140-fullscreen-scrolling.patch
@@ -0,0 +1,41 @@
+--- fbreader-0.12.2.orig/zlibrary/ui/src/gtk/view/ZLGtkViewWidget.cpp
++++ fbreader-0.12.2/zlibrary/ui/src/gtk/view/ZLGtkViewWidget.cpp
+@@ -203,7 +204,6 @@
+ ZLGtkSignalUtil::connectSignal(GTK_OBJECT(myArea), "button_release_event", GTK_SIGNAL_FUNC(mouseReleased), this);
+ ZLGtkSignalUtil::connectSignal(GTK_OBJECT(myArea), "motion_notify_event", GTK_SIGNAL_FUNC(mouseMoved), this);
+ ZLGtkSignalUtil::connectSignal(GTK_OBJECT(myArea), "expose_event", GTK_SIGNAL_FUNC(::doPaint), this);
+- myRepaintBlocked = false;
+ }
+
+ void ZLGtkViewWidget::setScrollbarEnabled(ZLView::Direction direction, bool enabled) {
+@@ -292,9 +292,7 @@
+ }
+
+ void ZLGtkViewWidget::repaint() {
+- if (!myRepaintBlocked) {
+- gtk_widget_queue_draw(myArea);
+- }
++ gtk_widget_queue_draw(myArea);
+ }
+
+ void ZLGtkViewWidget::doPaint() {
+@@ -352,9 +350,6 @@
+ gdk_draw_pixbuf(myArea->window, myArea->style->white_gc, myRotatedPixbuf, 0, 0, 0, 0, h, w, GDK_RGB_DITHER_NONE, 0, 0);
+ break;
+ }
+- myRepaintBlocked = true;
+- myApplication->refreshWindow();
+- myRepaintBlocked = false;
+ }
+
+ GtkWidget *ZLGtkViewWidget::area() {
+--- fbreader-0.12.2.orig/zlibrary/ui/src/gtk/view/ZLGtkViewWidget.h
++++ fbreader-0.12.2/zlibrary/ui/src/gtk/view/ZLGtkViewWidget.h
+@@ -61,7 +61,6 @@
+ GdkPixbuf *myOriginalPixbuf;
+ GdkPixbuf *myRotatedPixbuf;
+ GdkImage *myImage;
+- bool myRepaintBlocked;
+
+ GtkAdjustment *myVerticalAdjustment;
+ GtkWidget *myRightScrollBar;
diff --git a/distributions/debian/smartq/patches/150-default-rotation-direction.patch b/distributions/debian/smartq/patches/150-default-rotation-direction.patch
new file mode 100644
index 0000000..6ff1798
--- /dev/null
+++ b/distributions/debian/smartq/patches/150-default-rotation-direction.patch
@@ -0,0 +1,12 @@
+--- fbreader-0.12.2.orig/fbreader/data/default/config.desktop.xml
++++ fbreader-0.12.2/fbreader/data/default/config.desktop.xml
+@@ -9,6 +9,9 @@
+ <option name="PositionText" value="true"/>
+ <option name="Time" value="true"/>
+ </group>
++ <group name="Rotation">
++ <option name="Angle" value="270"/>
++ </group>
+ <group name="Scrollings">
+ <option name="Delay" value="0"/>
+ </group>
diff --git a/distributions/debian/smartq/patches/160-use-gcc-4-3.patch b/distributions/debian/smartq/patches/160-use-gcc-4-3.patch
new file mode 100644
index 0000000..a1741ab
--- /dev/null
+++ b/distributions/debian/smartq/patches/160-use-gcc-4-3.patch
@@ -0,0 +1,14 @@
+--- fbreader-0.12.2.orig/makefiles/arch/desktop.mk 2010-02-13 08:04:07.000000000 +0000
++++ fbreader-0.12.2/makefiles/arch/desktop.mk 2010-02-13 10:26:41.000000000 +0000
+@@ -6,9 +6,9 @@
+ IMAGEDIR = $(INSTALLDIR)/share/pixmaps
+ APPIMAGEDIR = $(INSTALLDIR)/share/pixmaps/%APPLICATION_NAME%
+
+-CC = gcc
++CC = gcc-4.3
+ AR = ar rsu
+-LD = g++
++LD = g++-4.3
+
+ CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG
+ LDFLAGS =
diff --git a/distributions/debian/smartq/patches/170-disable-selection-by-default.patch b/distributions/debian/smartq/patches/170-disable-selection-by-default.patch
new file mode 100644
index 0000000..0051c54
--- /dev/null
+++ b/distributions/debian/smartq/patches/170-disable-selection-by-default.patch
@@ -0,0 +1,10 @@
+--- fbreader-0.12.2.orig/fbreader/data/default/config.desktop.xml
++++ fbreader-0.12.2/fbreader/data/default/config.desktop.xml
+@@ -15,6 +15,7 @@
+ <option name="Delay" value="0"/>
+ </group>
+ <group name="Options">
++ <option name="IsSelectionEnabled" value="false"/>
+ <option name="LeftMargin" value="50"/>
+ <option name="RightMargin" value="50"/>
+ <option name="KeyDelay" value="0"/>
diff --git a/distributions/debian/smartq/patches/series b/distributions/debian/smartq/patches/series
new file mode 100644
index 0000000..e0c0dc2
--- /dev/null
+++ b/distributions/debian/smartq/patches/series
@@ -0,0 +1,7 @@
+110-use-sensible-browser.patch
+120-key-names-and-actions.patch
+130-default-indicator.patch
+140-fullscreen-scrolling.patch
+150-default-rotation-direction.patch
+160-use-gcc-4-3.patch
+170-disable-selection-by-default.patch
diff --git a/distributions/debian/smartq/rules b/distributions/debian/smartq/rules
new file mode 100755
index 0000000..9ad22c3
--- /dev/null
+++ b/distributions/debian/smartq/rules
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ [ ! -f Makefile ] || $(MAKE) distclean
+ dh_clean build-stamp install-stamp
+
+build: patch build-stamp
+build-stamp:
+ dh_testdir
+ $(MAKE) -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy
+ $(MAKE) -C zlibrary/text TARGET_ARCH=desktop UI_TYPE=dummy
+ $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=gtk
+ $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt
+ $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt4
+ $(MAKE) -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy
+ touch build-stamp
+
+install: DEB_DIR = $(CURDIR)/debian
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/libzlcore do_install
+ $(MAKE) -C zlibrary/text TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/libzltext do_install
+ $(MAKE) -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/libzlcore-dev do_install_dev
+ $(MAKE) -C zlibrary/text TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/libzltext-dev do_install_dev
+ $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=gtk DESTDIR=$(DEB_DIR)/libzlui-gtk do_install
+ $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt DESTDIR=$(DEB_DIR)/libzlui-qt do_install
+ $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt4 DESTDIR=$(DEB_DIR)/libzlui-qt4 do_install
+ $(MAKE) -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/fbreader do_install
+ touch install-stamp
+
+binary-arch: VERSION=$(shell expr "`dpkg-parsechangelog |grep Version:`" : '.*Version: \(.*\)')
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_desktop
+ dh_installmenu
+ dh_installdocs
+ dh_installman fbreader/desktop/FBReader.1
+ dh_installchangelogs
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs -plibzlcore -V"libzlcore (>= $(VERSION)),libzlcore(<< 0.13.0)"
+ dh_makeshlibs -plibzltext -V"libzltext (>= $(VERSION)),libzltext(<< 0.13.0)"
+ dh_installdeb
+ dh_shlibdeps -l debian/libzlcore/usr/lib:debian/libzltext/usr/lib
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-arch
+
+include /usr/share/quilt/quilt.make
diff --git a/distributions/debian/smartq/watch b/distributions/debian/smartq/watch
new file mode 100644
index 0000000..c60d47a
--- /dev/null
+++ b/distributions/debian/smartq/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.fbreader.org/downloads.php fbreader-sources-(.*).tgz