summaryrefslogtreecommitdiff
path: root/misc/calibre
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-07-12 15:48:01 +0000
committerwiz <wiz@pkgsrc.org>2014-07-12 15:48:01 +0000
commit0d1b4fdfe61e1df34793ead6ebaa86d150e5c9c9 (patch)
tree3af0c987966be42663ea5705ab0667728c2d375f /misc/calibre
parentd21706f20a34002b84bd7cc9a9e9eafc8afafaa9 (diff)
downloadpkgsrc-0d1b4fdfe61e1df34793ead6ebaa86d150e5c9c9.tar.gz
Update to 1.44.0:
- version: 1.44.0 date: 2014-07-11 new features: - title: "Edit Book: Syntax highlight links, images, stylesheet includes, etc. Links that point to missing files are marked as errors. You can Ctrl + click on a highlighted link to jump to the file it points to directly." - title: "Edit Book: Check Book: Add a check for manifest items missing href attributes." tickets: [1339766] - title: "When clicking in the search box, select all existing text, for easy replacement." tickets: [1338862] - title: "Edit Book: Add buttons to change the text alignment of the current paragraph. If you do not see them, go to Preferences->Toolbars and add them to the Text formatting actions toolbar." - title: "Improve performance of rendering the book list when lots of column coloring rules are used" - title: "Kobo driver: Support for new firmware version 3.5" bug fixes: - title: "Edit Book/Book polishing: Do not auto-resolve @import rules in AZW3 files. Also do not add a @namespace rule to all stylesheets that contain tag selectors." - title: "Edit book/Book polishing: Preserve the class attribute on the <html> tag in AZW3 format files." tickets: [1339055] - title: "Edit Book: Fix inline spell check context menu not working when triggered by context menu key or a right clicking at the right edge of the word." - title: "Fix some font directories from fonts.conf being ignored on linux when scanning the system for installed fonts." tickets: [1339257] - title: "Edit book: Spell checker: Treat hyphenated words as single words for spell checking" - title: "Edit Book: When using the spell check dialog to change words, detect any changes made to open files outside the spell check dialog and automatically integrate them, to prevent those changes from being lost." - title: "Update driver for Tolino Shine to handle new firmware" tickets: [1338219] - title: "Book polishing: When changing the cover in an EPUB file, place the newly created cover image in the same folder as other images in the book, rather than the root" - title: "Linux installer: Use pkg-config to get the location for installing the calibre bash completion scripts. pkg-config is used only when installing to /usr." tickets: [1340023] improved recipes: - Science Daily - version: 1.43.0 date: 2014-07-04 new features: - title: "Add a wizard for easily searching date fields in your library. To use it click the advanced search button to the left of the search field. Allows you to search for books whose date is older/newer than a specified date or less/more than a number of days from today and so on." - title: "Driver for Onyx T68." tickets: [1336868] - title: "When reading metadata from file names, allow setting the comments field as well, in addition to title/authros/publisher/series/etc." tickets: [1332582] bug fixes: - title: "Fix a regression in the previous release that broke changing Save to Disk preferences" - title: "Recognize leading articles for the Esperanto language when auto-generating title sorts. " tickets: [1336639] - title: "Edit Book: Fix a regression that caused syncing of the preview panel to the editor cursor position to not work when the cursor is positioned on a blank line in between two tag definitions" - title: "Metadata download: Round the downloaded ratings so that, for example, 3.6 stars becomes 4 stars instead of 3 stars." tickets: [1335696] - title: "Edit Book: Fix a crash when performing some image editing operations on 64 bit calibre builds" - title: "Recognize additional leading articles in the titles of Italian language books" tickets: [1332837] - title: "Edit Book: Fix an occasional spurious error message when using the Live CSS feature" new recipes: - title: Dark Reading author: Brandon Allberry - version: 1.42.0 date: 2014-06-27 new features: - title: "Edit Book: new tool to easily add a cover to the book. It automatically generates the HTML wrapper and takes care of marking the covers files as covers in the OPF." - title: "Edit Book: Improve the performance of inline spell checking, especially noticeable when editing large HTML files (over 100KB in size)." - title: "Edit Book: Run syntax highlighting in the background, reducing user interface latency when editing large files" - title: "Template language: Add a new function (group_re) to use grouping regular expressions with groups, where you can replace the matched groups with result of another template." - title: "Edit Book: Check Book: Add a check for HTML files with non UTF-8 encoding declarations" - title: "Edit Book: Spell check dialog: Add an option to make filtering the word list case sensitive" bug fixes: - title: "Get Books: Fix integration with ebook.de broken by website changes" - title: "MOBI Input: Preserve the dc:rights metadata during conversion." tickets: [1333468] - title: "Edit Book: Fix non-BMP unicode characters causing matching tag highlighting to be slightly off on linux" - title: "Edit Book: When editing HTML files that have charset encoding declarations, automatically change the declared encoding (if any) to UTF-8 on save, since the editor always saves files in the UTF-8 encoding." - title: "Edit Book: Fix various problems when editing EPUB files with non-ascii internal filenames on OS X." tickets: [1317883] - title: "Edit Book: Remove unused CSS: Fix an error if an HTML file links to a missing stylesheet" improved recipes: - Deadspin new recipes: - title: Economic and Political Weekly author: Krittika Goyal - version: 1.41.0 date: 2014-06-21 new features: - title: "New tool to set metadata in the actual book files in the calibre library from the updated metadata in the calibre database." description: "To use it go to Preferences->Toolbars and add the 'Embed metadata' tool to the main toolbar. Then simply select the books whose files you want to update and click the Embed metadata button. Normally, calibre updates metadata in the book files whenever a file is exported from calibre. This tool is useful for people who want the files in the calibre library to have updated metadata as well." type: major - title: "calibredb: Add a new 'embed_metadata' command to update metadata in the actual book files in the calibre library from the calibre database." - title: "Edit Book: Allow customization of toolbars" - title: "Add empty book: When adding empty book records to the library, add an option to also create empty EPUB files. Useful if you intend to subsequently edit these files with the calibre editor. You can access the add empty books feature by right clicking the Add Books button." - title: "Edit book: Remove unused CSS: Add an option to also remove unused class attributes from the HTML" - title: "Edit book: Check Book: Add checks for empty HTML/XML/CSS/image files in the book." tickets: [1329971] - title: "Edit Book: Check Book: Add checks for links whose fragment (the part after the #) points to a location that does not exist" bug fixes: - title: "RTF metadata: Add proper support for unicode characters when reading and writing metadata to RTF files" - title: "RTF metadata: Fix failure to write metadata to RTF files that do not already have an \\info block" - title: "Edit Book: Remove unused CSS: Handle @import rules when checking for unused CSS" - title: "Edit Book: Remove unused css: Prevent failure when book has invalid items marked as stylesheets" - title: "calibredb: Fix set_metadata not working for the series_index field." tickets: [1329724]
Diffstat (limited to 'misc/calibre')
-rw-r--r--misc/calibre/Makefile6
-rw-r--r--misc/calibre/PLIST14
-rw-r--r--misc/calibre/distinfo10
-rw-r--r--misc/calibre/patches/patch-src_calibre_linux.py17
4 files changed, 24 insertions, 23 deletions
diff --git a/misc/calibre/Makefile b/misc/calibre/Makefile
index 76d8cf9525e..70f17b011a5 100644
--- a/misc/calibre/Makefile
+++ b/misc/calibre/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2014/06/14 06:03:50 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2014/07/12 15:48:01 wiz Exp $
-DISTNAME= calibre-1.40.0
+DISTNAME= calibre-1.44.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calibre/}
EXTRACT_SUFX= .tar.xz
@@ -77,6 +77,8 @@ SUBST_FILES.path= ${FIX_PYTHON_PATHS}
# These ones are for replacing python[0-9*] with PYTHONBIN
REPLACE_PYTHON+= recipes/animal_politico.recipe
+REPLACE_PYTHON+= recipes/respekt_magazine.recipe
+REPLACE_PYTHON+= recipes/respekt_web.recipe
REPLACE_PYTHON+= recipes/kompiutierra.recipe
REPLACE_PYTHON+= recipes/trouw.recipe
REPLACE_PYTHON+= src/calibre/ebooks/markdown/extensions/*.py
diff --git a/misc/calibre/PLIST b/misc/calibre/PLIST
index dd7a4809ba4..4fb246c2204 100644
--- a/misc/calibre/PLIST
+++ b/misc/calibre/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2014/06/14 06:03:50 wiz Exp $
+@comment $NetBSD: PLIST,v 1.24 2014/07/12 15:48:01 wiz Exp $
bin/calibre
bin/calibre-complete
bin/calibre-customize
@@ -623,6 +623,7 @@ lib/calibre/calibre/gui2/actions/delete.py
lib/calibre/calibre/gui2/actions/device.py
lib/calibre/calibre/gui2/actions/edit_collections.py
lib/calibre/calibre/gui2/actions/edit_metadata.py
+lib/calibre/calibre/gui2/actions/embed.py
lib/calibre/calibre/gui2/actions/fetch_news.py
lib/calibre/calibre/gui2/actions/help.py
lib/calibre/calibre/gui2/actions/mark_books.py
@@ -1025,6 +1026,8 @@ lib/calibre/calibre/gui2/tweak_book/job.py
lib/calibre/calibre/gui2/tweak_book/live_css.py
lib/calibre/calibre/gui2/tweak_book/main.py
lib/calibre/calibre/gui2/tweak_book/manage_fonts.py
+lib/calibre/calibre/gui2/tweak_book/plugin.py
+lib/calibre/calibre/gui2/tweak_book/polish.py
lib/calibre/calibre/gui2/tweak_book/preferences.py
lib/calibre/calibre/gui2/tweak_book/preview.py
lib/calibre/calibre/gui2/tweak_book/save.py
@@ -1112,6 +1115,7 @@ lib/calibre/calibre/plugins/calibre_style.so
lib/calibre/calibre/plugins/chm_extra.so
lib/calibre/calibre/plugins/chmlib.so
lib/calibre/calibre/plugins/freetype.so
+lib/calibre/calibre/plugins/html.so
lib/calibre/calibre/plugins/hunspell.so
lib/calibre/calibre/plugins/icu.so
lib/calibre/calibre/plugins/lzx.so
@@ -1335,7 +1339,7 @@ share/applications/calibre-ebook-edit.desktop
share/applications/calibre-ebook-viewer.desktop
share/applications/calibre-gui.desktop
share/applications/calibre-lrfviewer.desktop
-share/bash_completion.d/calibre
+share/bash-completion/completions/calibre
share/calibre/builtin_recipes.xml
share/calibre/builtin_recipes.zip
share/calibre/calibre-ebook-root-CA.crt
@@ -1645,7 +1649,9 @@ share/calibre/localization/pykakasi/kanwadict2.pickle
share/calibre/localization/stats.pickle
share/calibre/metadata_sqlite.sql
share/calibre/mime.types
-share/calibre/quick_start.epub
+share/calibre/quick_start/deu.epub
+share/calibre/quick_start/eng.epub
+share/calibre/quick_start/fra.epub
share/calibre/recipes/10minutos.recipe
share/calibre/recipes/180.recipe
share/calibre/recipes/20_minutos.recipe
@@ -1923,6 +1929,7 @@ share/calibre/recipes/dallas.recipe
share/calibre/recipes/danas.recipe
share/calibre/recipes/dani.recipe
share/calibre/recipes/dark_horizons.recipe
+share/calibre/recipes/dark_reading.recipe
share/calibre/recipes/darknet.recipe
share/calibre/recipes/datasport.recipe
share/calibre/recipes/daum_net.recipe
@@ -2084,6 +2091,7 @@ share/calibre/recipes/endgadget_ja.recipe
share/calibre/recipes/entrepeneur.recipe
share/calibre/recipes/epicurious.recipe
share/calibre/recipes/epl_talk.recipe
+share/calibre/recipes/epw.recipe
share/calibre/recipes/equipped.recipe
share/calibre/recipes/escrevinhador.recipe
share/calibre/recipes/esenja.recipe
diff --git a/misc/calibre/distinfo b/misc/calibre/distinfo
index 24fde3ba351..c099cc35f7c 100644
--- a/misc/calibre/distinfo
+++ b/misc/calibre/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.24 2014/06/14 06:03:50 wiz Exp $
+$NetBSD: distinfo,v 1.25 2014/07/12 15:48:01 wiz Exp $
-SHA1 (calibre-1.40.0.tar.xz) = c2bf4b7d50ce661eb66ab8e73f13a7e0de87a0b1
-RMD160 (calibre-1.40.0.tar.xz) = 061b6f9d9ad38ab891f7a94b4c80311ea17c8331
-Size (calibre-1.40.0.tar.xz) = 34457004 bytes
+SHA1 (calibre-1.44.0.tar.xz) = cbf100e05297bc23bb9e45492d71c08e6cc53ee1
+RMD160 (calibre-1.44.0.tar.xz) = d41d5be786c9cbe6319b835806bfa490564b04c0
+Size (calibre-1.44.0.tar.xz) = 36438768 bytes
SHA1 (qt-everywhere-opensource-src-4.8.5.tar.gz) = 745f9ebf091696c0d5403ce691dc28c039d77b9e
RMD160 (qt-everywhere-opensource-src-4.8.5.tar.gz) = 1e7bb099d5d1cda0b663cebe207c846c8d04750d
Size (qt-everywhere-opensource-src-4.8.5.tar.gz) = 241491467 bytes
SHA1 (patch-setup_extensions.py) = 285ab1aff5b0d5f7c0a016f68e705d312a120d65
-SHA1 (patch-src_calibre_linux.py) = 06e953e3a437ae76783d80bf0986bbbece991431
+SHA1 (patch-src_calibre_linux.py) = 5abce220798f9a32ffda45080227a8bc937de838
diff --git a/misc/calibre/patches/patch-src_calibre_linux.py b/misc/calibre/patches/patch-src_calibre_linux.py
index 892b482e69f..84530866733 100644
--- a/misc/calibre/patches/patch-src_calibre_linux.py
+++ b/misc/calibre/patches/patch-src_calibre_linux.py
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_calibre_linux.py,v 1.3 2014/04/16 17:22:30 wiz Exp $
+$NetBSD: patch-src_calibre_linux.py,v 1.4 2014/07/12 15:48:02 wiz Exp $
Lifted from ArchLinux, saves mime and desktop files on disk
instead of trying to add them directly.
@@ -7,9 +7,9 @@ See https://www.archlinux.org/packages/community/x86_64/calibre/ ->
https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/calibre ->
https://projects.archlinux.org/svntogit/community.git/plain/trunk/desktop_integration.patch?h=packages/calibre
---- src/calibre/linux.py.orig 2014-04-04 02:33:40.000000000 +0000
+--- src/calibre/linux.py.orig 2014-07-11 02:19:43.000000000 +0000
+++ src/calibre/linux.py
-@@ -495,18 +495,6 @@ class PostInstall:
+@@ -644,18 +644,6 @@ class PostInstall:
self.setup_completion()
if islinux or isbsd:
self.setup_desktop_integration()
@@ -28,16 +28,7 @@ https://projects.archlinux.org/svntogit/community.git/plain/trunk/desktop_integr
if warn is None and self.warnings:
self.info('\n\nThere were %d warnings\n'%len(self.warnings))
-@@ -564,7 +552,7 @@ class PostInstall:
- if isnetbsd:
- f = os.path.join(self.opts.staging_root, 'share/bash_completion.d/calibre')
- else:
-- f = os.path.join(self.opts.staging_etc, 'bash_completion.d/calibre')
-+ f = os.path.join(self.opts.staging_root, 'usr/share/bash_completion.d/calibre')
- if not os.path.exists(os.path.dirname(f)):
- os.makedirs(os.path.dirname(f))
- bash_comp_dest, zsh_comp_dest = f, None
-@@ -713,56 +701,39 @@ class PostInstall:
+@@ -729,56 +717,39 @@ class PostInstall:
with TemporaryDirectory() as tdir, CurrentDir(tdir), \
PreserveMIMEDefaults():