debian/0000775000000000000000000000000012313271074007170 5ustar debian/pycompat0000664000000000000000000000000212303557660010746 0ustar 2 debian/man/0000775000000000000000000000000012303557660007752 5ustar debian/man/fb2-meta.txt0000664000000000000000000000012112303557660012102 0ustar Usage: /usr/bin/fb2-meta mybook.fb2 Read and write metadata from an ebook file. debian/man/markdown-calibre.txt0000664000000000000000000000117212303557660013735 0ustar Usage: markdown-calibre INPUTFILE [options] Options: -h, --help show this help message and exit -f OUTPUT_FILE, --file=OUTPUT_FILE write output to OUTPUT_FILE -e ENCODING, --encoding=ENCODING encoding for input and output files -q, --quiet suppress all messages -v, --verbose print info messages -s SAFE_MODE, --safe=SAFE_MODE same mode ('replace', 'remove' or 'escape' user's HTML tag) --noisy print debug messages -x EXTENSION, --extension=EXTENSION load extension EXTENSION debian/man/ebook-viewer.txt0000664000000000000000000000050512303557660013111 0ustar Usage: ebook-viewer [options] file View an ebook. Whenever you pass arguments to ebook-viewer that have spaces in them, enclose the arguments in quotation marks. Options: --version show program's version number and exit -h, --help show this help message and exit Created by Kovid Goyal debian/man/lit-meta.txt0000664000000000000000000000011712303557660012226 0ustar Usage: /usr/bin/lit-meta file.lit Read and write metadata from an ebook file. debian/man/calibre-parallel.txt0000664000000000000000000000010312303557660013700 0ustar Usage: calibre-parallel [options] This program is part of Calibre debian/man/calibre.txt0000664000000000000000000000142312303557660012114 0ustar Usage: calibre [opts] [path_to_ebook] Launch the main calibre Graphical User Interface and optionally add the ebook at path_to_ebook to the database. Whenever you pass arguments to calibre that have spaces in them, enclose the arguments in quotation marks. Options: --version show program's version number and exit -h, --help show this help message and exit --redirect-console-output Redirect console output to a dialog window (both stdout and stderr). Useful on windows where GUI apps do not have a output streams. --with-library=WITH_LIBRARY Use the library located at the specified path. -v, --verbose Log debugging information to console Created by Kovid Goyal debian/man/Makefile0000664000000000000000000000260712303557660011417 0ustar TXTS=$(shell find . -name "*.txt") MANS=$(TXTS:.txt=.1) VERSION=unknown all: $(MANS) %.1: %.txt @echo "Creating man page for $$(echo $@ | sed -e 's/.1//')" ; \ printf "NAME\n\n$(shell cat names | grep -E "^$$(echo $@ | sed -e 's/.1//') - ")\n\n" | \ cat - $< | \ sed -e "s/TEXT_SIZE_MULTIPLIER_FOR_RENDERED_TABLES/SIZE/" | \ sed -e "s/ *$$//g" | \ sed -e "s/'/\\\\'/g" | \ sed -e "s/\"/\\\\'/g" | \ sed -e "s/ - feeds2/ feeds2/g" | \ sed -e "s/^Options:$$/\n\n MAIN OPTIONS:/" | \ sed -e "s/^ \([^- ].*\):$$/\n\n\1 OPTIONS#BR#/" | \ sed -e "s/OPTIONS OPTIONS/OPTIONS/" | \ sed -e "s/2DISK OPTIONS/ TO DISK OPTIONS/" | \ sed -e "s/#BR# */\n/" | \ sed -e "s/^Created by/AUTHOR\nCreated by/" | \ sed -e "s/^ARG can be one of:/ARGUMENT\nARG can be one of:\n/" | \ sed -e "s/^Usage:/USAGE\n/" | \ awk '{if (/^USAGE$$/) { \ out=$$0 "\n\n" ; \ getline ; \ out=out $$0 ; \ getline ; \ out=out $$0 ; \ print out "\n\nDESCRIPTION\n\n" \ } else {print $$0}}' | \ awk '{if (/ *-/) { out=$$0; getline; out=out $$0;print out} else {print $$0}}' | \ awk '/^$$/{ if (! blank++) print; next } { blank=0; print }' | \ txt2man \ -s 1 \ -t `echo "$@" | sed -e "s/.1//"` \ -P "Calibre $(VERSION)" \ > $@ check: $(MANS) @for i in *.1; do \ echo "Checking man page for $$i" ; \ LANG=C man --warnings -l "$$i" >/dev/null ; \ done clean: rm -f *.1 debian/man/calibre-debug.txt0000664000000000000000000000141012303557660013174 0ustar Usage: calibre-debug [options] Run an embedded python interpreter. Whenever you pass arguments to calibre-debug that have spaces in them, enclose the arguments in quotation marks. Options: --version show program's version number and exit -h, --help show this help message and exit --update-module=UPDATE_MODULE Update the specified module in the frozen library. Module specifications are of the form full.name.of.module,path_to_module.py -c COMMAND, --command=COMMAND Run python code. -g, --gui Run the GUI --migrate Migrate old database. Needs two arguments. Path to library1.db and path to new library folder. Created by Kovid Goyal debian/man/epub-meta.txt0000664000000000000000000000151012303557660012367 0ustar Usage: epub-meta [options] myfile.epub Read and write metadata from an ebook file. Whenever you pass arguments to epub-meta that have spaces in them, enclose the arguments in quotation marks. Options: --version show program's version number and exit -h, --help show this help message and exit -t TITLE, --title=TITLE Set the book title -a AUTHORS, --authors=AUTHORS Set the authors --comment=COMMENT Set the comment --tags=TAGS A comma separated list of tags to set --series=SERIES The series to which this book belongs --series-index=SERIES_INDEX The series index --language=LANGUAGE The book language --get-cover Extract the cover Created by Kovid Goyal debian/man/odt-meta.txt0000664000000000000000000000011712303557660012224 0ustar Usage: /usr/bin/odt-meta file.odt Read and write metadata from an ebook file. debian/man/names0000664000000000000000000000506112303557660011002 0ustar any2epub - convert ebook from a large number of ebook formats to EPUB any2lit - convert ebook from a large number of ebook formats to LIT any2lrf - convert ebook from a large number of ebook formats to LRF calibre-customize - customize calibre by loading external plugins calibredb - command line interface to the calibre books database calibre-debug - run an embedded python interpreter for debug purposes calibre-fontconfig - font configuration tool for calibre calibre-parallel - parallel tool for calibre calibre_postinstall - postinstall tool for calibre calibre-server - calibre content server calibre - launch Calibre Graphical User Interface comic2epub - convert comic from CBZ or CBR to an EPUB ebook comic2lrf - convert comic from CBZ or CBR to an LRF ebook ebook-viewer - view ebook epub2lrf - convert ebook from EPUB to LRF epub-meta - read and write metadata from an EPUB ebook file fb22lrf - convert ebook from FB2 to LRF fb2-meta - read and write metadata from FB2 file feeds2disk - download data from feeds feeds2epub - download data from feeds and save to EPUB ebook feeds2lrf - download data from feeds and save to LRF ebook html2epub - convert HTML file to EPUB ebook html2lrf - convert HTML file to LRF ebook html2oeb - follow all links in an HTML file and collect them imp-meta - read and write metadata from IMP file isbndb - fetch metadata for books from isndb.com librarything - fetch a cover image for the book identified by ISBN from LibraryThing.com lit2lrf - convert ebook from LIT to LRF lit2oeb - convert ebook from LIT to OEB lit-meta - read and write metadata from a LIT ebook file lrf2html - convert LRF file into an HTML file lrf2lrs - convert LRF file into an LRS (XML UTF-8 encoded) file lrf-meta - read and write metadata from LRF ebook file lrfviewer - view LRF ebook lrs2lrf - compile an LRS file into an LRF file markdown-calibre - markdown tool for calibre mobi2lrf - convert MOBI file to LRF ebook mobi2oeb - convert MOBI file to OEB odt2oeb - convert ODT file to OEB odt-meta - read and write metadata from an ODT file oeb2lit - convert OEB file to LIT ebook opf-meta - read and write metadata from an OPF file pdf2lrf - convert PDF file to LRF ebook pdf-meta - read and write metadata from a PDF file pdfreflow - convert a PDF file to a HTML file prs500 - control PRS 500 devices rb-meta - read and write metadata from an RB file rtf2lrf - convert RTF to LRF ebook rtf-meta - read and write metadata from an RTF file txt2lrf - convert TXT to LRF ebook web2disk - download a site from the web web2lrf - download a site from the web and convert it into an LRF ebook debian/man/calibre-fontconfig.txt0000664000000000000000000000010512303557660014242 0ustar Usage: calibre-fontconfig [options] This program is part of Calibre debian/man/imp-meta.txt0000664000000000000000000000010612303557660012221 0ustar Usage: imp-meta file.imp Read and write metadata from an ebook file. debian/man/pdf-meta.txt0000664000000000000000000000010612303557660012205 0ustar Usage: pdf-meta file.pdf Read and write metadata from an ebook file. debian/man/lrfviewer.txt0000664000000000000000000000175512303557660012530 0ustar Usage: lrfviewer [options] book.lrf Read the LRF ebook book.lrf Whenever you pass arguments to lrfviewer that have spaces in them, enclose the arguments in quotation marks. Options: --version show program's version number and exit -h, --help show this help message and exit --redirect-console-output Redirect console output to a dialog window (both stdout and stderr). Useful on windows where GUI apps do not have a output streams. --verbose Print more information about the rendering process --visual-debug Turn on visual aids to debugging the rendering engine --disable-hyphenation Disable hyphenation. Should significantly speed up rendering. --white-background By default the background is off white as I find this easier on the eyes. Use this option to make the background pure white. --profile Profile the LRF renderer Created by Kovid Goyal debian/man/rb-meta.txt0000664000000000000000000000010412303557660012035 0ustar Usage: rb-meta file.rb Read and write metadata from an ebook file. debian/man/prs500.txt0000664000000000000000000000062412303557660011546 0ustar Usage: prs500 [options] command args command is one of: info, books, df, ls, cp, mkdir, touch, cat, rm For help on a particular command: prs500 command Options: --version show program's version number and exit --log-packets print out packet stream to stdout. The numbers in the left column are byte offsets that allow the packet size to be read off easily. debian/patches/0000775000000000000000000000000012303557660010626 5ustar debian/patches/dont_build_unrar_plugin.patch0000664000000000000000000000426312303557660016564 0ustar Author: Dmitry Shachnev Description: do not build unrar extension as we strip unrar from the tarball Forwarded: not-needed Last-Update: 2013-04-04 Index: calibre/setup/extensions.py =================================================================== --- calibre.orig/setup/extensions.py 2014-02-02 10:42:14.510954007 +0100 +++ calibre/setup/extensions.py 2014-02-02 10:42:14.502954007 +0100 @@ -209,24 +209,6 @@ sip_files=['calibre/ebooks/pdf/render/qt_hack.sip'] ), - Extension('unrar', - ['unrar/%s.cpp'%(x.partition('.')[0]) for x in ''' - rar.o strlist.o strfn.o pathfn.o savepos.o smallfn.o global.o file.o - filefn.o filcreat.o archive.o arcread.o unicode.o system.o - isnt.o crypt.o crc.o rawread.o encname.o resource.o match.o - timefn.o rdwrfn.o consio.o options.o ulinks.o errhnd.o rarvm.o - secpassword.o rijndael.o getbits.o sha1.o extinfo.o extract.o - volume.o list.o find.o unpack.o cmddata.o filestr.o scantree.o - '''.split()] + ['calibre/utils/unrar.cpp'], - inc_dirs=['unrar'], - cflags=[('/' if iswindows else '-') + x for x in ( - 'DSILENT', 'DRARDLL', 'DUNRAR')] + ( - [] if iswindows else ['-D_FILE_OFFSET_BITS=64', - '-D_LARGEFILE_SOURCE']), - optimize_level=2, - libraries=['User32', 'Advapi32', 'kernel32', 'Shell32'] if iswindows else [] - ), - ] Index: calibre/src/calibre/ebooks/metadata/archive.py =================================================================== --- calibre.orig/src/calibre/ebooks/metadata/archive.py 2014-02-02 10:42:14.510954007 +0100 +++ calibre/src/calibre/ebooks/metadata/archive.py 2014-02-02 10:42:14.502954007 +0100 @@ -42,7 +42,7 @@ description = _('Extract common e-book formats from archives ' '(zip/rar) files. Also try to autodetect if they are actually ' 'cbz/cbr files.') - file_types = set(['zip', 'rar']) + file_types = set(['zip']) supported_platforms = ['windows', 'osx', 'linux'] on_import = True debian/patches/use-system-feedparser.patch0000664000000000000000000000351112303557660016103 0ustar Index: calibre/recipes/lenta_ru.recipe =================================================================== --- calibre.orig/recipes/lenta_ru.recipe 2013-12-06 07:22:25.477237324 +0100 +++ calibre/recipes/lenta_ru.recipe 2013-12-06 07:22:25.473237324 +0100 @@ -4,11 +4,14 @@ Lenta.ru ''' -from calibre.web.feeds.feedparser import parse from calibre.ebooks.BeautifulSoup import Tag from calibre.web.feeds.news import BasicNewsRecipe +from feedparser import parse +from functools import partial import re +parse = partial(parse, agent='Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11') + class LentaRURecipe(BasicNewsRecipe): title = u'Lenta.ru: \u041d\u043e\u0432\u043e\u0441\u0442\u0438' __author__ = 'Nikolai Kotchetkov' Index: calibre/src/calibre/web/feeds/__init__.py =================================================================== --- calibre.orig/src/calibre/web/feeds/__init__.py 2013-12-06 07:22:25.477237324 +0100 +++ calibre/src/calibre/web/feeds/__init__.py 2013-12-06 07:22:25.473237324 +0100 @@ -11,6 +11,10 @@ from calibre import entity_to_unicode, strftime from calibre.utils.date import dt_factory, utcnow, local_tz from calibre.utils.cleantext import clean_ascii_chars +from feedparser import parse +from functools import partial + +parse = partial(parse, agent='Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11') class Article(object): @@ -331,7 +335,6 @@ max_articles_per_feed=100, get_article_url=lambda item: item.get('link', None), log=default_log): - from calibre.web.feeds.feedparser import parse # Handle unclosed escaped entities. They trip up feedparser and HBR for one # generates them raw_xml = re.sub(r'(&#\d+)([^0-9;])', r'\1;\2', raw_xml) debian/patches/series0000664000000000000000000000035512303557660012046 0ustar # cherrypicked from/accepted into trunk: # sent upstream # local packaging fixes no_updates_dialog.patch disable_plugins.py use-system-feedparser.patch python_multiarch_inc.patch use_system_markdown.patch dont_build_unrar_plugin.patch debian/patches/disable_plugins.py0000664000000000000000000000202212303557660014340 0ustar Description: Disable plugin dialog. It uses a totally non-authenticated and non-trusted way of installing arbitrary code. Author: Martin Pitt Bug-Debian: http://bugs.debian.org/640026 Index: calibre-0.8.29+dfsg/src/calibre/gui2/actions/preferences.py =================================================================== --- calibre-0.8.29+dfsg.orig/src/calibre/gui2/actions/preferences.py 2011-12-16 05:49:14.000000000 +0100 +++ calibre-0.8.29+dfsg/src/calibre/gui2/actions/preferences.py 2011-12-20 19:29:04.798468930 +0100 @@ -28,8 +28,6 @@ pm.addAction(QIcon(I('config.png')), _('Preferences'), self.do_config) cm('welcome wizard', _('Run welcome wizard'), icon='wizard.png', triggered=self.gui.run_wizard) - cm('plugin updater', _('Get plugins to enhance calibre'), - icon='plugins/plugin_updater.png', triggered=self.get_plugins) if not DEBUG: pm.addSeparator() cm('restart', _('Restart in debug mode'), icon='debug.png', debian/patches/no_updates_dialog.patch0000664000000000000000000000201712303557660015327 0ustar # Description: Disable update check by default. Index: calibre/src/calibre/gui2/main.py =================================================================== --- calibre.orig/src/calibre/gui2/main.py 2014-02-02 10:41:28.470954623 +0100 +++ calibre/src/calibre/gui2/main.py 2014-02-02 10:41:56.546954247 +0100 @@ -37,8 +37,8 @@ help=_('Start minimized to system tray.')) parser.add_option('-v', '--verbose', default=0, action='count', help=_('Ignored, do not use. Present only for legacy reasons')) - parser.add_option('--no-update-check', default=False, action='store_true', - help=_('Do not check for updates')) + parser.add_option('--update-check', dest='no_update_check', default=True, action='store_false', + help=_('Check for updates')) parser.add_option('--ignore-plugins', default=False, action='store_true', help=_('Ignore custom plugins, useful if you installed a plugin' ' that is preventing calibre from starting')) debian/patches/python_multiarch_inc.patch0000664000000000000000000000162412303557660016074 0ustar Description: Use python-config instead of sysconfig.get_python_inc(), as the latter does not work with multiarch-split include files. Author: Martin Pitt Bug-Ubuntu: https://launchpad.net/bugs/1094246 Index: calibre/setup/extensions.py =================================================================== --- calibre.orig/setup/extensions.py 2014-02-02 10:42:08.074954093 +0100 +++ calibre/setup/extensions.py 2014-02-02 10:42:08.066954093 +0100 @@ -300,7 +300,11 @@ if islinux: cflags.append('-pthread') ldflags.append('-shared') - cflags.append('-I'+sysconfig.get_python_inc()) + import sys + config = subprocess.Popen([sys.executable + '-config', '--includes'], + stdout=subprocess.PIPE) + cflags += config.communicate()[0].strip().split() + assert config.returncode == 0 ldflags.append('-lpython'+sysconfig.get_python_version()) debian/patches/use_system_markdown.patch0000664000000000000000000000137512303557660015757 0ustar Author: Dmitry Shachnev Description: use system python-markdown Forwarded: not-needed Last-Update: 2013-04-04 Index: calibre/src/calibre/library/comments.py =================================================================== --- calibre.orig/src/calibre/library/comments.py 2013-10-14 11:55:06.400012719 +0200 +++ calibre/src/calibre/library/comments.py 2013-10-14 11:56:04.672012560 +0200 @@ -12,7 +12,7 @@ CData, Comment, Declaration, ProcessingInstruction from calibre import prepare_string_for_xml from calibre.utils.html2text import html2text -from calibre.ebooks.markdown import Markdown +from markdown import Markdown # Hackish - ignoring sentences ending or beginning in numbers to avoid # confusion with decimal points. debian/README.source0000664000000000000000000000040612303557660011356 0ustar Updating this package is done via the get-orig-source rule. This ensures that all required changes are made to meet the dfsg. This includes removing of propriety fonts and linking against Liberation fonts. This package is patched using the quilt patch system. debian/control0000664000000000000000000001214312303557660010603 0ustar Source: calibre Section: text Priority: extra Build-Depends: cdbs (>= 0.4.43), debhelper (>= 7), dh-buildinfo, python2.7-dev, python-setuptools, txt2man, python-qt4-dev (>= 4.9.6), python-pil | python-imaging, python-lxml (>= 3.2.1), python-mechanize (>= 0.2.5), python-beautifulsoup (>= 3.0.5), python-dateutil, python-pkg-resources, python-cssutils (>= 0.9.9~), python-cssselect (>= 0.7.1), python-cherrypy3, python-markdown, python-pyparsing, python-routes, python-chardet, python-netifaces, pyqt4-dev-tools, libmagickwand-dev, libsqlite3-dev, python-sip-dev, libqt4-dev, libqt4-private-dev, libicu-dev, libmtp-dev (>= 1.1.5), poppler-utils, libpodofo-dev (>= 0.8.2), libboost-dev, libchm-dev Maintainer: Miriam Ruiz Uploaders: Martin Pitt Standards-Version: 3.9.5 XS-Python-Version: >= 2.7 Homepage: http://calibre-ebook.com Vcs-Bzr: https://code.launchpad.net/~calibre-packagers/calibre/debian Package: calibre Architecture: all Depends: python2.7, python-dbus, python-pil | python-imaging, python-lxml (>= 3.2.1), python-mechanize (>= 0.2.5), python-beautifulsoup (>= 3.0.5), python-pkg-resources, python-cssutils (>= 0.9.9~), python-cssselect (>= 0.7.1), python-cherrypy3 (>= 3.1.1), python-dateutil, python-feedparser, python-markdown, python-qt4 (>= ${pyqt:Version}), python-pyparsing, python-routes, python-chardet, python-netifaces, python-apsw (>= 3.7.17), xdg-utils, imagemagick, poppler-utils, fonts-liberation, libjs-mathjax (>= 2.1+20121028-1), calibre-bin (>= ${source:Version}), ${misc:Depends} Recommends: python-dnspython (>= 1.6.0) Description: e-book converter and library management Calibre is meant to be a complete e-library solution. It includes library management, format conversion, news feeds to e-book conversion as well as e-book reader sync features. . Calibre is primarily an e-book cataloging program. It manages your e-book collection for you. It is designed around the concept of the logical book, i.e. a single entry in the database that may correspond to e-books in several formats. It also supports conversion from a dozen different e-book formats to LRF and EPUB. A graphical interface to the conversion software can be accessed easily by just clicking the "Convert E-books" button. . Supported input formats are: MOBI, LIT, PRC, EPUB, ODT, HTML, CBR, CBZ, RTF, TXT, PDF and LRS. . Calibre has a modular device driver design that makes adding support for different e-reader devices easy. At the moment, it has support for the SONY PRS 500/505/700 and the iPhone (with the stanza reader software). Syncing supports updating metadata on the device from metadata in the library and the creation of collections on the device based on the tags defined in the library view. If an book has more than one format available, calibre automatically chooses the best format when uploading to the device. . Calibre can automatically fetch news from a number of websites/RSS feeds, format the news into a e-book and upload to a connected device. There is support for generating LRF/EPUB e-books. The e-books include the *full* versions of the articles, not just the summaries. . Calibre has also a built-in e-book viewer that can display all the major e-book formats. Package: calibre-bin Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${sip:Depends}, python2.7 Recommends: calibre (>= ${source:Version}) Description: e-book converter and library management Calibre is meant to be a complete e-library solution. It includes library management, format conversion, news feeds to e-book conversion as well as e-book reader sync features. . Calibre is primarily an e-book cataloging program. It manages your e-book collection for you. It is designed around the concept of the logical book, i.e. a single entry in the database that may correspond to e-books in several formats. It also supports conversion from a dozen different e-book formats to LRF and EPUB. A graphical interface to the conversion software can be accessed easily by just clicking the "Convert E-books" button. . Supported input formats are: MOBI, LIT, PRC, EPUB, ODT, HTML, CBR, CBZ, RTF, TXT, PDF and LRS. . Calibre has a modular device driver design that makes adding support for different e-reader devices easy. At the moment, it has support for the SONY PRS 500/505/700 and the iPhone (with the stanza reader software). Syncing supports updating metadata on the device from metadata in the library and the creation of collections on the device based on the tags defined in the library view. If an book has more than one format available, calibre automatically chooses the best format when uploading to the device. . Calibre can automatically fetch news from a number of websites/RSS feeds, format the news into a e-book and upload to a connected device. There is support for generating LRF/EPUB e-books. The e-books include the *full* versions of the articles, not just the summaries. . Calibre has also a built-in e-book viewer that can display all the major e-book formats. . This package contains the compiled architecture dependent plugins. debian/calibre.install0000664000000000000000000000050412303557660012167 0ustar usr/bin #usr/lib/udev lib/ # udev rules are useless right now usr/lib/calibre/calibre/ usr/lib/calibre/odf usr/lib/calibre/templite usr/lib/calibre/html5lib usr/lib/calibre/qtcurve usr/lib/calibre/regex usr/lib/calibre/six.py usr/share/ ../local/*.desktop usr/share/applications ../local/mime/*.xml usr/share/mime/packages/ debian/copyright0000664000000000000000000006042512303557660011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: calibre Upstream-Contact: Kovid Goyal Source: http://calibre-ebook.com/downloads Files: * Copyright: Copyright (C) 2008 Kovid Goyal License: GPL-3 The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-3 on Debian systems. Files: src/calibre/ebooks/pdf/utils.h Copyright: Copyright 2009 Kovid Goyal License: GPL-2+ The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-2 on Debian systems. Files: src/calibre/ebooks/BeautifulSoup.py Copyright: Copyright (c) 2004-2007, Leonard Richardson License: BSD-3-Clause All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of the the Beautiful Soup Consortium and All Night Kosher Bakery nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE, DAMMIT. Files: src/calibre/ebooks/chardet/* Copyright: Copyright (C) 1998-2001 Netscape Communications Corporation License: LGPL-2.1+ The full text of the LGPL is distributed as in /usr/share/common-licenses/LGPL-2.1 on Debian systems. Files: src/calibre/ebooks/hyphenate.py Copyright: Copyright (C) 1990, 2004, 2005 Gerard D.C. Kuiken. License: other Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Files: /src/cherrypy/* Copyright: Copyright (c) 2004-2007, CherryPy Team (team@cherrypy.org) Copyright (C) 2005, Tiago Cogumbreiro License: BSD-3-Clause All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the CherryPy Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/odf/* Copyright: Copyright (C) 2006-2008 Søren Roug, European Environment Agency License: LGPL-2.1+ The full text of the LGPL is distributed as in /usr/share/common-licenses/LGPL-2.1 on Debian systems. Files: src/odf/teletype.py src/odf/easyliststyle.py Copyright: Copyright (C) 2008, J. David Eisenberg License: GPL-2+ The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-2 on Debian systems. Files: src/pyPdf/* Copyright: Copyright (c) 2006, Mathieu Fenniak Copyright (c) 2007, Ashish Kulkarni License: BSD-3-Clause All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/calibre/utils/lzx/* Copyright: Copyright (C) 2002, Matthew T. Russotto Copyright (C) 2008, Marshall T. Vandegrift Copyright (C) 2006-2008, Alexander Chemeris License: LGPL-2.1 The full text of the LGPL is distributed as in /usr/share/common-licenses/LGPL-2.1 on Debian systems. Files: src/calibre/utils/lzx/msstdint.h Copyright: Copyright (C) 2006-2008, Alexander Chemeris License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. The name of the author may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/calibre/utils/pyparsing.py Copyright: Copyright (c) 2003-2008, Paul T. McGuire License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: src/calibre/utils/PythonMagickWand.py Copyright: (c) 2007 - Achim Domma - domma@procoders.net License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: src/calibre/utils/msdes/d3des.h src/calibre/utils/msdes/des.c Copyright: Copyright (C) 1988,1989,1990,1991,1992, Richard Outerbridge License: Other THIS SOFTWARE PLACED IN THE PUBLIC DOMAIN BY THE AUTHOUR Files: src/calibre/utils/msdes/msdesmodule.c Copyright: Copyright (C) 2008, Marshall T. Vandegrift License: GPL-3 The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-3 on Debian systems. Files: src/calibre/utils/msdes/spr.h Copyright: Copyright (C) 2002, Dan A. Jackson License: GPL-2+ The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-2 on Debian systems. Files: src/calibre/gui2/pictureflow/* Copyright: (C) Copyright 2007 Trolltech ASA License: BSD-3-Clause All rights reserved. . This is version of the Pictureflow animated image show widget modified by Trolltech ASA. . . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY TROLLTECH ASA ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/calibre/ebooks/lit/* Copyright: 2008, Marshall T. Vandegrift License: GPL-3 The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-3 on Debian systems. Files: src/calibre/ebooks/lrf/* Copyright: 2008, Anatoly Shipitsin copyright 2002 Paul Henry Tremblay Copyright (C) 2008 B.Scott Wxby [bswxby] Copyright (C) 2007 David Chen SonyReaderDaveChenorg Copyright (c) 2007 Mike Higgins (Falstaff) License: GPL-3 The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-3 on Debian systems. Files: src/calibre/ebooks/rtf2xml/* Copyright: copyright 2002 Paul Henry Tremblay License: GPL The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-2 on Debian systems. Files: src/calibre/web/feeds/feedparser.py Copyright: Copyright (c) 2002-2006, Mark Pilgrim License: BSD-2-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/calibre/web/feeds/recipes/* Copyright: 2008, Darko Miletic 2008, Mathieu Godlewski Copyright (C) 2008 B.Scott Wxby [bswxby] Copyright (C) 2007 David Chen SonyReaderDaveChenorg 2008, Derry FitzGerald License: GPL-3 The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-3 on Debian systems. Files: src/calibre/ebooks/metadata/* Copyright: 2008, Ashish Kulkarni Copyright (C) 2006 Søren Roug, European Environment Agency License: GPL-3 The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-3 on Debian systems. Files: src/calibre/translations/* Copyright: Copyright (C) 2007, Kovid Goyal Copyright (C) 2008, Rosetta Contributors and Canonical Ltd. License: GPL-3 The full text of the GPL is distributed as in /usr/share/common-licenses/GPL-3 on Debian systems. Files: src/calibre/gui2/viewer/jquery.js src/calibre/gui2/viewer/jquery_scrollTo.js src/calibre/library/static/date.js Copyright: Copyright (C) 2008, John Resig (jquery.com) Copyright (C) 2007-2008, Ariel Flesler - aflesler@gmail.com | http://flesler.blogspot.com Copyright (C) 2006-2007, Coolite Inc. (http://www.coolite.com/) License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: src/calibre/ebooks/lrf/fonts/liberation/* Copyright: Copyright (C) 2007, Red Hat, Inc. All rights reserved. License: GPL-2.0-with-font-exception-and-additional-exception Copyright (C) 2007, Red Hat, Inc. All rights reserved. LIBERATION is a trademark of Red Hat, Inc. . This agreement governs the use of the Software and any updates to the Software, regardless of the delivery mechanism. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to the user ("Client") a license to this work pursuant to the GNU General Public License v.2 with the exceptions set forth below and such other terms as our set forth in this End User License Agreement. . 1. The Software and License Exception. LIBERATION font software (the "Software") consists of TrueType-OpenType formatted font software for rendering LIBERATION typefaces in sans serif, serif, and monospaced character styles. You are licensed to use, modify, copy, and distribute the Software pursuant to the GNU General Public License v.2 with the following exceptions: . (a) As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. . (b) As a further exception, any distribution of the object code of the Software in a physical product must provide you the right to access and modify the source code for the Software and to reinstall that modified version of the Software in object code form on the same physical product on which you received it. . 2. Intellectual Property Rights. The Software and each of its components, including the source code, documentation, appearance, structure and organization are owned by Red Hat and others and are protected under copyright and other laws. Title to the Software and any component, or to any copy, modification, or merged portion shall remain with the aforementioned, subject to the applicable license. The "LIBERATION" trademark is a trademark of Red Hat, Inc. in the U.S. and other countries. This agreement does not permit Client to distribute modified versions of the Software using Red Hat's trademarks. If Client makes a redistribution of a modified version of the Software, then Client must modify the files names to remove any reference to the Red Hat trademarks and must not use the Red Hat trademarks in any way to reference or promote the modified Software. . 3. Limited Warranty. To the maximum extent permitted under applicable law, the Software is provided and licensed "as is" without warranty of any kind, expressed or implied, including the implied warranties of merchantability, non-infringement or fitness for a particular purpose. Red Hat does not warrant that the functions contained in the Software will meet Client's requirements or that the operation of the Software will be entirely error free or appear precisely as described in the accompanying documentation. . 4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential damages, including lost profits or lost savings arising out of the use or inability to use the Software, even if Red Hat or such dealer has been advised of the possibility of such damages. . 5. General. If any provision of this agreement is held to be unenforceable, that shall not affect the enforceability of the remaining provisions. This agreement shall be governed by the laws of the State of North Carolina and of the United States, without regard to any conflict of laws provisions, except that the United Nations Convention on the International Sale of Goods shall not apply. Files: installer/cx_Freeze/* Copyright: Copyright © 2007-2008, Colt Engineering, Edmonton, Alberta, Canada. Copyright © 2001-2006, Computronix (Canada) Ltd., Edmonton, Alberta, Canada. License: other All rights reserved. . NOTE: this license is derived from the Python Software Foundation License which can be found at http://www.python.org/psf/license . License for cx_Freeze 4.0.1 --------------------------- . 1. This LICENSE AGREEMENT is between the copyright holders and the Individual or Organization ("Licensee") accessing and otherwise using cx_Freeze software in source or binary form and its associated documentation. . 2. Subject to the terms and conditions of this License Agreement, the copyright holders hereby grant Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use cx_Freeze alone or in any derivative version, provided, however, that this License Agreement and this notice of copyright are retained in cx_Freeze alone or in any derivative version prepared by Licensee. . 3. In the event Licensee prepares a derivative work that is based on or incorporates cx_Freeze or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to cx_Freeze. . 4. The copyright holders are making cx_Freeze available to Licensee on an "AS IS" basis. THE COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, THE COPYRIGHT HOLDERS MAKE NO AND DISCLAIM ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF CX_FREEZE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. . 5. THE COPYRIGHT HOLDERS SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF CX_FREEZE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING CX_FREEZE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. . 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. . 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between the copyright holders and Licensee. This License Agreement does not grant permission to use copyright holder's trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. . 8. By copying, installing or otherwise using cx_Freeze, Licensee agrees to be bound by the terms and conditions of this License Agreement. . Computronix® is a registered trademark of Computronix (Canada) Ltd. debian/changelog0000664000000000000000000005125712313271074011054 0ustar calibre (1.25.0+dfsg-1build1) trusty; urgency=medium * No-change rebuild against sip 4.15.5. -- Dmitry Shachnev Sat, 22 Mar 2014 15:20:30 +0400 calibre (1.25.0+dfsg-1) unstable; urgency=medium * New upstream release. * debian/rules: Drop the removal of manual/images/valid.png, got dropped upstream. * debian/copyright: Update copyrights, and fix wrong copyright-1.0 syntax. Thanks Felix Gruber! * debian/control: Remove trailing spaces. * debian/control: Bump minimal dependencies to the versions at http://calibre-ebook.com/download_linux. (see #738642) * debian/rules: Ignore bash completion files, until we figure out what to build-depend on to make these files also built in minimal schroots. -- Martin Pitt Thu, 27 Feb 2014 07:48:06 +0100 calibre (1.22.0+dfsg1-1) unstable; urgency=medium [ Gary Preston ] * get-orig-source: - Remove non-free manual/images/valid.png. (Closes: #735340) - Remove unnecessary and wrong gunzip switch from tar command. - wget original source for jquery ui and jquery multiselect and add them as *.js.orig next to their whitespace-compressed versions. (Closes: #735354) -- Martin Pitt Wed, 05 Feb 2014 07:22:28 +0100 calibre (1.22.0+dfsg-1) unstable; urgency=medium * New upstream release. * debian/copyright: Update to 1.0 copyright standard. Thanks Felix Gruber! (LP: #737343) -- Martin Pitt Sun, 02 Feb 2014 10:46:11 +0100 calibre (1.14.0+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #731502) * Depend on python-pil | python-imaging now, upstream source is compatible with both. (Closes: #731501) -- Martin Pitt Fri, 06 Dec 2013 08:28:47 +0100 calibre (1.9.0+dfsg-1) unstable; urgency=low * New upstream release. * debian/calibre.install: Install new module. * Bump Standards-Version to 3.9.5, no changes necessary. -- Martin Pitt Mon, 04 Nov 2013 11:02:15 +0100 calibre (1.5.0+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #722962) * Drop removal of non-free fonts, they got removed upstream. * use_system_markdown.patch: Adjust for new upstream release. * Drop debian/local/calibre-mount-helper and its installation in debian/rules, upstream removed the mount-helper. * debian/local/calibre-gui.desktop: Add GenericName, thanks Ronny Standtke. (Closes: #662838) -- Martin Pitt Mon, 14 Oct 2013 12:12:07 +0200 calibre (1.0.0+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #720836) * debian/calibre.install: Drop usr/etc, not shipped by upstream any more. * debian/control: Add python-apsw dependency. -- Martin Pitt Mon, 26 Aug 2013 07:33:55 +0200 calibre (0.9.41+dfsg-1) unstable; urgency=low * New upstream release. * debian/local/calibre.desktop: Rename to calibre-gui.desktop to match its window class. (LP: #1206687) * Add debian/local/ebook-viewer.desktop, so that one can directly open *.epub or *.mobi files in file browsers. Thanks Korey Lu! (Closes: #664182) * Make it possible to auto-start calibre when connecting an e-book reader device: - Add debian/local/mime/calibre.xml MIME association, install in debian/calibre.install. - debian/local/calibre-gui.desktop: Add MIME type and file argument. - Thanks to Thanks Korey Lu! (Closes: #715246) -- Martin Pitt Thu, 01 Aug 2013 18:17:22 +0200 calibre (0.9.31+dfsg-1) unstable; urgency=low * New upstream release. * Rebuild against current sip4 ABI, this makes the package installable again. (Closes: #708613) * Bump Standards-Version to 3.9.4, no changes necessary. -- Martin Pitt Tue, 21 May 2013 08:56:01 +0200 calibre (0.9.27+dfsg-1) experimental; urgency=low Upload to experimental as unstable's mathjax version is too old. [ Dmitry Shachnev ] * Remove non-free bundled copy of unrar. (Closes: #704977, #702816) * Remove bundled copy of mathjax. (Closes: #700838) * Remove bundled copy of python-markdown. * Make get-orig-tarball downloading the correct version. * Remove *.pyc, *.qrc, *.so and *_ui.py files in clean target. [ Martin Pitt ] * New upstream release. * dont_build_unrar_plugin.patch: Also remove "rar" as accepted file extension. -- Martin Pitt Tue, 23 Apr 2013 21:58:12 +0200 calibre (0.9.18+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #699700) * Unfuzz patches. * Add new libqt4-private-dev build dependency, required by this version. -- Martin Pitt Tue, 12 Feb 2013 16:45:34 +0100 calibre (0.9.11+dfsg-1) unstable; urgency=low * New upstream release. * Add missing python-cssselect dependency. * Add python_multiarch_inc.patch: Use python-config instead of sysconfig.get_python_inc(), as the latter does not work with multiarch-split include files. (LP: #1094246) -- Martin Pitt Fri, 28 Dec 2012 14:31:49 +0100 calibre (0.9.0+dfsg-1) unstable; urgency=low * New upstream release. * debian/control, debian/rules: ttf-liberation is no more, move to fonts-liberation. Thanks to Kan-Ru Chen! (Closes: #674838) * debian/calibre.install: Drop pyPdf, not shipped upstream any more. * debian/control: Add new python-netifaces dependency. -- Martin Pitt Wed, 03 Oct 2012 23:18:14 +0200 calibre (0.8.64+dfsg-1) unstable; urgency=low * New upstream release: - Update license of the quick start guide to be DFSG compatible. Thanks to Christophe Siraut for sorting this out! (Closes: #653328) * debian/control: Add new libmtp-dev build dependency. * debian/control: Stricter python-mechanize dependency. (Closes: #684616) -- Martin Pitt Thu, 16 Aug 2012 09:55:40 +0200 calibre (0.8.60+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #677956) * debian/control: New upstream release uses poppler-utils directly, drop libpoppler-private-dev and libpoppler-qt4-dev build dependencies. (Closes: #679883) * Drop manpages-installation.patch, does not apply any more. * debian/control: Fix "upports" typo. (Closes: #678686) * debian/rules: Update source path for logo.png. * debian/rules: Drop manpage path installation fix, as upstream does not install manpages any more. * debian/calibre.install: install new file qtcurve/test_rendering.py. -- Martin Pitt Sat, 21 Jul 2012 18:14:54 +0200 calibre (0.8.51+dfsg-1) unstable; urgency=low * New upstream release. * Rebuild against python-sip du jour. (Closes: #671809) * debian/control: Bump python-cssutils dependency to >= 0.9.0, to ensure that we have the "validate" keyword available. -- Martin Pitt Mon, 14 May 2012 12:13:07 +0200 calibre (0.8.49+dfsg-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release. (Closes: #640021) * debian/control, debian/rules: Remove internal feedparser Python module. Add python-feedparser as binary dependency. (Closes: #555352) * debian/control: Bump Standards-Version (no changes needed). * debian/watch: Upstream switched to *.tar.xz, update accordingly. (Closes: #618948) * debian/rules: Fix images permissions. -- Kefu Chai Sun, 29 Apr 2012 20:06:10 +0800 calibre (0.8.41+dfsg-1) unstable; urgency=low * New upstream release. * debian/control: Add libpoppler-private-dev build dependency, thanks Pino Toscano. (Closes: #660114) -- Martin Pitt Sat, 03 Mar 2012 22:02:28 +0100 calibre (0.8.38+dfsg-1) unstable; urgency=low * New upstream release. * debian/control: Bump Standards-Version to 3.9.2. No changes necessary. -- Martin Pitt Fri, 10 Feb 2012 07:35:00 +0100 calibre (0.8.34+dfsg-1) unstable; urgency=low * New upstream version. (Closes: #654751) * debian/rules: Do not install calibre copy of chardet; instead, add build/binary python-chardet dependency. * Add disable_plugins.py: Disable plugin dialog. It uses a totally non-authenticated and non-trusted way of installing arbitrary code. (Closes: #640026) * debian/rules: Install with POSIX locale, to avoid installing translated manpages into the standard locations. (Closes: #646674) -- Martin Pitt Sat, 07 Jan 2012 11:22:54 +0100 calibre (0.8.29+dfsg-1) unstable; urgency=low * New upstream release. * debian/control, debian/rules: Always depend on the python-qt4 which we build against. This will still not stop the PyQt4 guys to break their ABI with every single microrelease, but at least the dependency will automatically become tighter with every calibre rebuild now. (Closes: #651496) * debian/control: Drop python-django-tagging dependency, not used any more. (Closes: #651156) * debian/rules: Fix half of the manpages landing in the wrong path. (Closes: #646674) * debian/control: Drop dependency to python-encutils. calibre does not use it explicitly any more. (Closes: #649558) -- Martin Pitt Tue, 20 Dec 2011 16:02:01 +0100 calibre (0.8.28+dfsg-1) unstable; urgency=low * debian/rules get-orig-source: Upstream switched to *.tar.xz, update accordingly. * New upstream release. -- Martin Pitt Tue, 06 Dec 2011 08:33:19 +0100 calibre (0.8.25+dfsg-1) unstable; urgency=low [ Ritesh Raj Sarraf ] * New upstream release. [ Martin Pitt ] * debian/control: Bump python-qt4 build/binary dependencies against PyQt4 to >= 4.8. Yay for continuous ABI breaks. (Closes: #647268, #647819) -- Martin Pitt Fri, 11 Nov 2011 09:01:24 +0100 calibre (0.8.21+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #642517) * debian/control: Revert accidental X-Ubuntu-Original-Maintainer change. (Closes: #644029) -- Martin Pitt Tue, 04 Oct 2011 10:29:28 +0200 calibre (0.8.8+dfsg-1) unstable; urgency=low [ Martin Pitt ] * New upstream version. * Fix wrong libmagick4 transition bug number in previous changelog. * manpages-installation.patch: Update for new upstream version. * debian/control: Fix spelling errors. Thanks Paul Stewart! (LP: #803684, LP: #803676) [ Michael Wild ] * Don't remove pyPdf from installation, it is a modified version (Closes: #631266, LP: #800551) - debian/control: drop dependencies on python-pypdf - debian/rules: do not remove pyPdf directory - debian/calibre.install: install usr/lib/calibre/pyPdf -- Martin Pitt Thu, 07 Jul 2011 09:35:43 +0200 calibre (0.8.2+dfsg-1) unstable; urgency=low * Rebuild against libmagick 4. (Closes: #625556) * debian/watch: Update for new location on sourceforge. * Drop kfreebsd.patch, fixed upstream. * Unfuzz the other two patches. * debian/control: Change build dependency to unversioned libboost-dev. * debian/rules: Drop fixing recipes permissions, they are installed as a zip file now. * debian/rules: Rewrite weird "env python2" style hashbang lines to use standard /usr/bin/python. * debian/control, debian/rules: Force usage of python2.7 for now, as long as it is not the default yet. The new upstream version requires it now. * debian/control: Remove unnecessary python-pythonmagick dependency. (Closes: #628640) -- Martin Pitt Tue, 31 May 2011 07:38:22 +0200 calibre (0.7.50+dfsg-2) unstable; urgency=low * debian/control: Build with libpodofo-dev to enable PDF metadata. (Closes: #619632) * debian/control: Add libboost1.42-dev build dependency. Apparently it is needed in some setups. (Closes: #619807) * debian/rules: Call dh_sip to generate a proper sip API dependency, to prevent crashes like #616372 for partial upgrades. * debian/control: Bump python-qt4 dependency to >= 4.8.3-2, which reportedly fixes crashes on startup. (Closes: #619701, #620125) -- Martin Pitt Tue, 12 Apr 2011 11:29:25 +0200 calibre (0.7.50+dfsg-1) unstable; urgency=low * New upstream release. * Rebuild against current python-sip ABI. (Closes: #616372, #619238) * debian/control: Add poppler-utils dependency to ensure that pdftohtml is available. (Closes: #612041) -- Martin Pitt Thu, 24 Mar 2011 23:11:22 +0100 calibre (0.7.44+dfsg-1) unstable; urgency=low [ Martin Pitt ] * New upstream release. * debian/rules: Update get-orig-source for reorganized upstream download URL. [ Jose Ernesto Davila Pantoja ] * debian/control: - Support was misspelled as upport. (Closes: LP: #706221) - Removed python-routes from Recommends, it's already a Depends. -- Martin Pitt Fri, 11 Feb 2011 10:19:12 +0100 calibre (0.7.43+dfsg-1) unstable; urgency=low * New upstream release. * debian/control: Replace obsolete "sip4" build dependency with python-sip-dev. (Closes: #611092) * debian/control: Fix forgotten hardcoded python2.6 dependency. * debian/control: Add missing ${sip:Depends} to -bin. -- Martin Pitt Mon, 31 Jan 2011 12:49:13 +0100 calibre (0.7.42+dfsg-1) unstable; urgency=low [ Jonathan Carter ] * Use calibre icon for LRF Viewer until it has its own one (Closes: #606900, LP: #704075) [ Martin Pitt ] * New upstream release. * Drop 00upstream_content_server_xss.patch, in upstream release now. * no_updates_dialog.patch: Unfuzz for new release. -- Martin Pitt Tue, 25 Jan 2011 13:12:02 +0100 calibre (0.7.38+dfsg-2) unstable; urgency=low * debian/copyright: Update according to current upstream COPYING. In particular, the pdfreflow extension is now distributed under GPL-2+. This permits linking against poppler (which is GPL 2 only). (Closes: #609581) * Add kfreebsd.patch: Fix building under GNU/kFreeBSD, thanks Petr Salinger! (Closes: #609557) -- Martin Pitt Wed, 12 Jan 2011 22:25:48 -0600 calibre (0.7.38+dfsg-1) unstable; urgency=low * New upstream release: - Fix path traversal vulnerability in the content server (not enabled by default). See http://bugs.calibre-ebook.com/ticket/7980, http://www.waraxe.us/advisory-77.html. First half of #608822 * debian/control: Add new build dependency libicu-dev. * Add 00upstream_content_server_xss.patch: Fix XSS vulnerability in the content server, the other half of above issue. (Closes: #608822) Patch cherrypicked from upstream bzr (r7531) -- Martin Pitt Mon, 10 Jan 2011 09:18:13 -0600 calibre (0.7.32+dfsg-1) unstable; urgency=low * New upstream release. * debian/rules, debian/copyright, debian/control, debian/watch: Update to new upstream page domain name. * manpages-installation.patch: Install manpages under /usr/share/man under KFreeBSD, too. (part of #604267) * debian/rules: Remove bogus /config directory which the KFreeBSD installation creates. (Closes: #604267) * debian/control: Add new build/binary dependency python-pythonmagick, and new build dependency libsqlite3-dev. -- Martin Pitt Sun, 05 Dec 2010 13:59:11 +0100 calibre (0.7.29+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #600787) - Fixes handling of epubs with different local/global encoding. (Closes: #597533) - Removes remaining string-type exceptions. (Closes: #585216) * debian/control: Add recommends to python-dnspython. (Closes: #604120) * debian/control: Bump python-qt4 dependencies to >= 4.7.3. (Closes: #584855) * debian/rules: Remove internal copy of pyparsing and replace imports with system library. Add python-pyparsing build and binary dependency. (Closes: #555368) * debian/control, debian/rules: Remove hacks to force Python 2.6, that version is the default now. * debian/rules: Call dh_install with --fail-missing. * debian/calibre.install: Install new templite module. * debian/control, debian/rules: Remove internal routes Python module. Add python-routes build and binary dependency. -- Martin Pitt Sat, 20 Nov 2010 17:51:59 +0100 calibre (0.7.18+dfsg-1) unstable; urgency=low * New upstream release, with support for more devices, more news recipes, and bug fixes. * debian/local/calibre-mount-helper: Exit with nonzero if mounting failed, to avoid calibre getting confused. Thanks Olaf Leidinger! -- Martin Pitt Mon, 13 Sep 2010 10:03:42 +0200 calibre (0.7.13+dfsg-1) unstable; urgency=low * New upstream version. * debian/control: Add python-routes recommends. (Closes: #590561) * Convert to 3.0 (quilt) source format. * Bump debhelper compat level to 7, and drop now obsolete DEB_DH_INSTALL_SOURCEDIR in debian/rules. * debian/control: Add missing ${misc:Depends}. * debian/control: Bump Standards-Version to 3.9.1. * debian/copyright: Replace obsolete reference to /usr/share/common-licenses/BSD with their verbatim text from the original source. * debian/rules: Remove invalid hashbang lines from *.recipe, these have no __main__. -- Martin Pitt Wed, 11 Aug 2010 11:30:57 +0200 calibre (0.7.7+dfsg-1) unstable; urgency=low * New upstream release. - Fixes wrong version display in main window. (Closes: #587281) -- Martin Pitt Fri, 09 Jul 2010 10:35:31 +0200 calibre (0.7.2+dfsg-1) unstable; urgency=low * New major upstream version. See http://calibre-ebook.com/new-in/seven for details. * Refresh patches to apply cleanly. * debian/control: Bump python-cssutils to >= 0.9.7~ to ensure the existence of the CSSRuleList.rulesOfType attribute. This makes epub conversion work again. (Closes: #584756) * Add debian/local/calibre-mount-helper: Simple and safe replacement for upstream's calibre-mount-helper, using udisks --mount and eject. (Closes: #584915, LP: #561958) -- Martin Pitt Mon, 21 Jun 2010 10:18:08 +0200 calibre (0.6.54+dfsg-1) unstable; urgency=low * New upstream release. Please see http://calibre.kovidgoyal.net/new_in_6/ for the list of new features and changes. (Closes: #539343, #575546, LP: #529730) - Fixes crashes on startup. (Closes: #533428, #539119) - Fixes "invalid type" errors. (Closes: #545858) * Overhaul and update the packaging for the new release's build system. Changes taken from the Ubuntu branch/package. * debian/control: Bump Python dependencies to 2.6, since upstream needs it now. * debian/rules: Force all hashbang lines to #!/usr/bin/python2.6, as long as 2.5 is still the default in Debian. * Bump Standards-Version to 3.8.4. -- Martin Pitt Sun, 23 May 2010 15:34:44 +0200 calibre (0.5.14+dfsg-1) unstable; urgency=low * New upstream release. * debian/rules, get-orig-source: Do not unpack newly generated orig tarball if we don't have unpackaged upstream sources in the tree (such as when building with bzr-buildpackage). -- Martin Pitt Sat, 06 Jun 2009 17:18:02 +0200 calibre (0.5.11+dfsg-2) unstable; urgency=low * debian/rules, debian/control: Remove upstream shipped copy of python-django-tagging. Depend on the package instead. (Closes: #528091) * debian/control: Use my @debian.org Uploaders: address. * debian/control: Bump Standards-Version (no changes necesssary). -- Martin Pitt Thu, 14 May 2009 08:15:23 +0200 calibre (0.5.11+dfsg-1) unstable; urgency=low * New upstream release. * debian/control: Drop Ubuntu specific python-mechanize binary dependency as well (brown paperbag). (Closes: #525612) -- Martin Pitt Sun, 10 May 2009 21:00:35 +0200 calibre (0.5.9+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #525339) * manpages-installation.patch: Encode generated manpages as UTF-8, to avoid UnicodeDecodeErrors when writing them out to files. * debian/control: Demote calibre dependency of calibre-bin to Recommends:, which is sufficient and avoids a circular dependency. (Closes: #522059) * debian/control: Drop build dependency help2man, current version does not need it any more. * debian/control: Drop versioned build dependency on python-mechanize, current sid version is enough. * debian/rules: Copy "setup.py install" command from cdbs' python-distutils.mk, since the current version broke this. This is a hackish workaround until #525436 gets fixed. * debian/rules: Drop using $(wildcard ), use `ls`; the former does not work any more. -- Martin Pitt Sun, 05 Apr 2009 18:42:16 -0700 calibre (0.4.143+dfsg-1) unstable; urgency=low [ Martin Pitt ] * Initial release, packaging by Miriam Ruiz and Martin Pitt . Closes: #482680 -- Miriam Ruiz Thu, 08 Jan 2009 21:42:04 +0100 debian/rules0000775000000000000000000001000712303557660010255 0ustar #!/usr/bin/make -f SETUP=python2.7 setup.py # This filters out *.so for the package "calibre". With this, we can # install usr/lib in calibre.install and just leave out the binary # bits. DEB_DH_INSTALL_ARGS = -Xusr/etc/bash_completion.d $(if $(findstring -bin,$(cdbs_curpkg)),,-X*.so) --fail-missing DEB_DH_GENCONTROL_ARGS = -- -Vpyqt:Version=$(shell dpkg-query -f'$${Version}' -W python-qt4) include /usr/share/cdbs/1/rules/debhelper.mk common-build-arch:: [ -d build ] || $(SETUP) build common-install-arch common-install-indep:: debian/tmp dh_buildinfo dh_sip debian/tmp: env -u LANG -u LC_ALL -u LANGUAGE -u LC_MESSAGES CALIBRE_CONFIG_DIRECTORY=debian/tmp/config $(SETUP) install --root=debian/tmp/usr # remove bundled python libraries which are provided by system # packages rm -r debian/tmp/usr/lib/calibre/cherrypy rm -r debian/tmp/usr/lib/calibre/routes rm -r debian/tmp/usr/lib/calibre/chardet rm debian/tmp/usr/lib/calibre/calibre/utils/pyparsing.py rm debian/tmp/usr/lib/calibre/calibre/web/feeds/feedparser.py find debian/tmp/ -name '*.py' | xargs sed -i 's/calibre.utils.pyparsing/pyparsing/g' find debian/tmp/ -name '*.py' | xargs sed -i 's/calibre.ebooks.markdown/markdown/g' # not needed rm debian/tmp/usr/bin/calibre-uninstall # do not ship a copy of fonts-liberation rm -r debian/tmp/usr/share/calibre/fonts/liberation/ ln -s /usr/share/fonts/truetype/liberation/ debian/tmp/usr/share/calibre/fonts/liberation # use system mathjax rm -rf debian/tmp/usr/share/calibre/viewer/mathjax ln -s /usr/share/javascript/mathjax debian/tmp/usr/share/calibre/viewer/mathjax # fix executable permissions find debian/tmp/usr/lib/calibre/calibre -type f | xargs chmod a-x find debian/tmp/usr/share/calibre/images -type f | xargs chmod a-x # add icon mkdir -p debian/tmp/usr/share/pixmaps/ cp manual/resources/logo.png debian/tmp/usr/share/pixmaps/calibre-gui.png # remove bogus files on KFreeBSD installation rm -rf debian/tmp/config # fix "env python2" style hashbangs find debian/tmp -type f | xargs sed -i '1 { /^#!.*python/ s_^.*$$_#!/usr/bin/python2.7_ }' install/calibre:: # Create and install some of the man pages env -u LANG -u LC_ALL -u LANGUAGE -u LC_MESSAGES $(MAKE) -C debian/man VERSION="$(MAIN_VERSION)" clean:: rm -rf debian/orig [ ! -d build ] || $(SETUP) build -c $(MAKE) -C debian/man clean find . -name *.pyc -delete find . -name *.so -delete find . -name *.qrc -delete find . -name *_ui.py -delete # Downloads the current upstream release according to debian/changelog, removes # some bundled software copies, non-free image and replaces the non-free prs500 # TTFs with symlinks to their free liberation fonts counterparts. This also # updates the unpacked source tree to the new upstream version and adds the # original non-minimized javascript source for jquery. get-orig-source: set -e; \ V=`dpkg-parsechangelog | sed -rn '/^Version:/ {s/^Version: ([0-9.]+).*$$/\1/; p}'`; \ mkdir -p debian/orig; cd debian/orig; \ wget -O - https://downloads.sourceforge.net/project/calibre/$$V/calibre-$$V.tar.xz | xz -cd | tar x; \ \ wget -O - https://github.com/ehynds/jquery-ui-multiselect-widget/archive/1.5.tar.gz | tar zx; \ \ cp jquery-ui-multiselect-widget-1.5/src/jquery.multiselect.js calibre/resources/content_server/jquery.multiselect.min.js.orig; \ rm -rf 1.5.tar.gz jquery-ui-multiselect-widget-1.5; \ \ wget https://jqueryui.com/resources/download/jquery-ui-1.8.5.zip && unzip jquery-ui-1.8.5.zip; \ cp jquery-ui-1.8.5/ui/jquery-ui.js calibre/resources/content_server/jquery_ui/js/jquery-ui-1.8.5.custom.js.orig; \ rm -rf jquery-ui-1.8.5; \ rm jquery-ui-1.8.5.zip; \ \ D=`pwd`; rm -f calibre*/src/odf/thumbnail.py; \ rm -rf calibre*/src/unrar; \ rm -rf calibre*/resources/viewer/mathjax; \ rm -rf calibre*/src/calibre/ebooks/markdown; \ cd $$D; tar c . | xz -9 > ../../../calibre_$$V+dfsg.orig.tar.xz; \ cd ../..; rm -r debian/orig; \ find -mindepth 1 -maxdepth 1 ! -name '.bzr*' ! -name debian | xargs rm -rf; \ [ ! -e setup.py ] || tar xf ../calibre_$$V+dfsg.orig.tar.xz --strip-components 2 debian/calibre.README.Debian0000664000000000000000000000132212303557660012636 0ustar calibre for Debian ================== Customizing LRF fonts --------------------- By default, the calibre package maps the LRF standard fonts to the the free Liberation fonts (package fonts-liberation): Swis721 BT Roman -> LiberationSans-Regular.ttf Dutch801 Rm BT Roman -> LiberationSerif-Regular.ttf Courier10 BT Roman -> LiberationMono-Regular.ttf You can customize this mapping by creating a directory /etc/calibre/fonts with three symlinks (or files) to the TrueType fonts you want to use: /etc/calibre/fonts/tt0003m_.ttf -> point to Swis721 BT Roman font /etc/calibre/fonts/tt0011m_.ttf -> point to Dutch801 Rm BT Roman font /etc/calibre/fonts/tt0419m_.ttf -> point to Courier10 BT Roman font debian/source/0000775000000000000000000000000012303557660010477 5ustar debian/source/format0000664000000000000000000000001412303557660011705 0ustar 3.0 (quilt) debian/local/0000775000000000000000000000000012303557660010271 5ustar debian/local/mime/0000775000000000000000000000000012303557660011220 5ustar debian/local/mime/calibre.xml0000664000000000000000000000047012303557660013344 0ustar E-Book reader debian/local/lrfviewer.desktop0000664000000000000000000000032712303557660013673 0ustar [Desktop Entry] Type=Application Name=LRF Viewer Comment=Viewer for LRF files (SONY ebook format files) TryExec=lrfviewer Exec=lrfviewer %F Icon=calibre MimeType=application/x-sony-bbeb; Categories=Graphics;Viewer; debian/local/ebook-viewer.desktop0000664000000000000000000000034212303557660014261 0ustar [Desktop Entry] Type=Application Name=E-Book Viewer Comment=E-Book Viewer TryExec=ebook-viewer Exec=ebook-viewer %F Icon=calibre MimeType=application/x-mobipocket-ebook;application/epub+zip; Categories=Office;Graphics;Viewer; debian/local/calibre-gui.desktop0000664000000000000000000000057712303557660014060 0ustar [Desktop Entry] Type=Application Name=calibre GenericName=E-book library management GenericName[de]=E-Book Bibliotheksverwaltung Comment=E-book library management Comment[es]=aplicación para la gestión de libros electrónicos Comment[de]=E-Book Bibliotheksverwaltung Exec=calibre %f Icon=calibre-gui Categories=Office;Database;FileTools;Viewer;Qt; MimeType=x-content/ebook-reader; debian/calibre-bin.install0000664000000000000000000000004112303557660012731 0ustar usr/lib/calibre/calibre/plugins/ debian/calibre.manpages0000664000000000000000000000001712303557660012313 0ustar debian/man/*.1 debian/watch0000664000000000000000000000035712303557660010235 0ustar # watch control file for uscan # see uscan(1) for format # Compulsory line, this is a version 3 file version=3 # remove +dfsg upstream version suffix opts=dversionmangle=s/\+dfsg$// \ http://sf.net/calibre/calibre-(\d[\d\.]*)\.tar\.xz debian/compat0000664000000000000000000000000212303557660010375 0ustar 7 debian/calibre.preinst0000664000000000000000000000153012303557660012205 0ustar #!/bin/sh set -e rm_conffile() { PKGNAME="calibre" CONFFILE="$1" if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" lt-nl "0.6.3"; then rm_conffile "/etc/udev/rules.d/95-calibre.rules" fi if [ ! -h /usr/share/calibre/viewer/mathjax ]; then rm -rf /usr/share/calibre/viewer/mathjax fi esac exit 0 #DEBHELPER#