pkgsrc/misc/calibre/Makefile

218 lines
9.7 KiB
Makefile
Raw Normal View History

2012-10-09 01:00:34 +02:00
# $NetBSD: Makefile,v 1.46 2012/10/08 23:02:04 adam Exp $
#
Update to 0.8.69 * Depend on qt4-qdbus * Fix build on NetBSD at least * Many improvements * Many bugfixes Changelog: In detail, see http://www.calibre-ebook.com/whats-new E-book viewer: Support the display of mathematics in e-books. Supports both embedded TeX and MathML [0.8.66] The calibre ebook viewer can now display embedded mathematics (symbols, equations, fractions, matrices, etc.) in EPUB and HTML ebooks. For details, see: http://manual.calibre-ebook.com/typesetting_math.html [External link] A new wireless device driver. This allows connecting wirelessly to a device running a 'smart' calibre client [0.8.65] The wireless connection functions just as if the device was plugged into the computer by USB cable. Currently, Android devices are supported. See https://play.google.com/store/apps/details?id=com.multipie.calibreandroid [External link] E-book viewer: Add a paged mode that splits up the text into pages, like in a paper book instead of presenting it as a single column. To activate click the button with the yellow scroll icon in the top right corner. [0.8.61] In paged mode, the ebook viewer no longer cuts off the last line of text at the bottom of the screen, and it respects CSS page-break directives. You can also set page margins and control the number of pages displayed on screen by clicking the Preferences button in the viewer and going to 'Text layout in paged mode'. When searching, allow use of un-accented characters to match accented characters in all fields and all languages (not just authors and English as before) [0.8.60] The rules for matching un-accented characters are done in a language dependent way. So if your calibre interface language is set to English, n will match both n and ©ç, but if it is set to Spanish, it will match only n, as in Spanish ©ç is a separate alphabet in Spanish. This makes searching a little slower, so if you have a very large library you can turn it off via Preferences->Searching. PDF Output: Full pagination support. No more cutoff bottom line. [0.8.57] Fixes a long standing bug in calibre's PDF Output that caused the bottom line of some pages to be partially cut off and prevented top and bottom margins from working. Make the new calibre style default on Windows and OS X. [0.8.56] This change gives a more 'modern' feel to the calibre user interface with focus highlighting, gradients, rounded corners, etc. In case you prefer the old look, you can restore under Preferences->Look & Feel->User interface style E-book viewer: The Table of contents panel now tracks the current position in the book. As you scroll through the book, the entry you are currently on is highlighted. [0.8.54] To see this feature in action, open the Table of Contents panel in the viewer by clicking the button with three blue lines on it. As you page through the book, the chapter you are reading currently is highlighted in the Table of Contents Panel. Obviously, this will only work if the book you are reading has a Table of Contents. You can also use the Ctrl+PgUp and Ctrl+PgDn keys to quickly skip between chapters.
2012-09-19 17:38:26 +02:00
DISTNAME= calibre-0.8.69
2012-10-09 01:00:34 +02:00
PKGREVISION= 2
CATEGORIES= misc
pkgsrc changes: - switch MASTER_SITE to SF.net mirror, so that we can fetch older distfiles - Try to simplify FIX_PYTHON list handling - Remove SPECIAL_PERMS since bin/calibre-mount-helper has been ¨removed¨ by upstream - it still is installed but is basically doing nothing. This is to address SA46620. upstream changes: Release: 0.8.26 [12 Nov, 2011] ------------------------------ New Features: Tweak to control sorting of date type columns. You can choose to have them sorted only by displayed fields Driver for the Trekstor 3.0 Performance improvements when evaluating templates, and in particular general program mode templates Bug Fixes: ODT Input: When converting to EPUB improve handling of large images placed inside small frames, to prevent them from obscuring text. Closes tickets: 860272 [External link] , 884759 [External link] EPUB Input: Automatically strip entries of type application/text from the spine. Apparently there are EPUB production tools out there that create them. Closes tickets: 884792 [External link] Keep the startup splash screen visible until the GUI has fully completed initializing. Closes tickets: 885827 [External link] ODT Input: Fix handling of span tags containing only whitespace. Closes tickets: 887311 [External link] On windows when changing title or author via the main book list, handle the case of one of the books files being open in another program more gracefully. Closes tickets: 880585 [External link] When adding a format to an existing book record, ensure that no changes are made to the database until after the file operations have succeeded. Fix bug that prevented configuring which fields to download metadata for when adding books by ISBN Closes tickets: 856076 [External link] Fix Japanese characters not being crrectly displayed on index pages in news downloads for the SONY T1 Closes tickets: 888029 [External link] Get Books: Fix booleans in search expressions not working in non-English calibre versions Closes tickets: 887554 [External link] Fix a bug in the support for hours/minutes/seconds in datetime format strings Closes tickets: 887412 [External link] Treat an author_sort value of 'Unknown' the same way as unknown authors are treated in template processing Detect SD card in Kobo Vox Amazon metadata download: Workaround for change in Amazon website causing some books to have incorrect ratings downloaded New news sources: Techtarget by Julio Map Improved news sources: Metro NL The Independent Frankfurter Rundschau L'Espresso Il Giornale Berlingske.dk Suedeutsche Zeitung Release: 0.8.25 [06 Nov, 2011] ------------------------------ New Features: Drivers for the LG Optimus 2X, HTC Incredible S, Samsung Stratosphere and the Kobo Vox Closes tickets: 886558 [External link] , 885058 [External link] , 884762 [External link] , 884039 [External link] Get books: Add ebookpoint.pl store Support hour/minute/seconds in datetime format strings in the template language and in tweaks Bug Fixes: Fix Book detils preferences showing custom columns even after they have been deleted Closes tickets: 884799 [External link] Replace use of insecure tempfile in the bundled rtf2xml library. Closes tickets: 885245 [External link] Remove the suid mount helper used on linux and bsd, as it proved impossible to make it secure. Closes tickets: 885027 [External link] This means that if you are on BSD or an older linux distribution, without support for udisks, device detection will no longer work in calibre. You will have to either mount the devices by hand before starting calibre, or stick with version 0.8.24 (the vulnerability in the mount helper is a privilege escalation, which is relatively harmless on the vast majority of single user systems). Do not error out if there is an invalid regex for title sort set in tweaks Content server: Fix another place where --url-prefix was forgotten Closes tickets: 885332 [External link] HTML Input: Limit memory consumption when converting HTML files that link to large binary files. Closes tickets: 884821 [External link] T1 driver: Workaround for T1 showing error messages when opening some news downloads on the device Kobo driver: Fix longstanding bug that would prevent re-adding a epub that has been previously deleted from the Kobo using calibre Fix partial cover search not resuming after pressing back in the metadata download dialog Closes tickets: 875196 [External link] T1 driver: Fix auto refresh covers option Content server: Do not show tracebacks in HTML output when not running in develop mode Textile output; Fix out of memory issue when dealing with large margins. New news sources: b365 Realitatea and Catavencii by Silviu Cotoara Various Greek news sources by Stelios Real world economics blog by Julio Map Improved news sources: The Independent Die Zeit subscription version NIN online Science News Updated Daily Mirror Science AAAS
2011-11-13 17:08:31 +01:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calibre/}
Updated misc/calibre to 0.8.36 pkgsrc changes: - upstream archive to .tar.xz, modify Makefile accordingly. - Rely on pkgsrc libraries when possible (py-html5lib and py-chardet). Upstream changes: - version: 0.8.36 date: 2011-01-20 new features: - title: "Decrease startup time for large libraries with at least one composite custom column by reading format info on demand" - title: "When automatically deleting news older than x days, from the calibre library, only delete the book if it both has the tag News and the author calibre. This prevents accidental deletion of books tagged with News by the user." - title: "Driver for Infibeam Pi 2" - title: "Add a Tag Editor for tags like custom columns to the edit metadata dialog" bug fixes: - title: "E-book viewer: Fix regression in 0.8.35 that caused viewer to raise an error on books that did not define a language" - title: "Content server: Fix grouping for categories based on custom columns." tickets: [919011] - title: "Edit metadata dialog: When setting the series from a format or via metadata download, ensure that the series index is not automatically changed, when closing the dialog." tickets: [918751] - title: "When reading metadata from Topaz (azw1) files, handle non ascii metadata correctly." tickets: [917419] - title: "CHM Input: Do not choke on CHM files with non ascii internal filenames on windows." tickets: [917696] - title: "Fix reading metadata from CHM files with non-ascii titles" - title: "Fix HTML 5 parser choking on comments" - title: "If calibre is started from a directory that does not exist, automatically use the home directory as the working directory, instead of crashing" - title: "Fix iriver story HD Wi-Fi device and external SD card swapped" tickets: [916364] - title: "Content server: Fix ugly URLs for specific format download in the book details and permalink panels" - title: "When adding FB2 files do not set the date field from the metadata in the file" improved recipes: - OReilly Premuim - Variety - Blic - New Journal of Physics - Der Tagesspiegel new recipes: - title: Tweakers.net author: Roedi06 - title: Village Voice author: Barty - title: Edge.org Conversations author: levien - title: Novi list - printed edition author: Darko Miletic - version: 0.8.35 date: 2011-01-13 new features: - title: "Metadata plugboards: Allow creation of plugboards for email delivery." tickets: [914012] - title: "Tweak EPUB: Also allow tweaking of HTMLZ files (when both EPUB and HTMLZ are present, EPUB is preferred, this can be changed via Preferences->Tweaks)." - title: "TXT Input: Support direct conversion of files with extensions .md, .markdown and .textile." tickets: [912931] - title: "E-book viewer: Speed up the optional hyphenation algorithm by upgrading the hyphenator library calibre uses" - title: "Drivers for PocketBook 611, Motorola Razr Droid and Onyx Boox i62" bug fixes: - title: "MOBI Output: When converting a paragraph that contains only a non-breaking space into a line break, ignore paragraphs with height less than 2pt." tickets: [915150] - title: "MOBI Input: Handle MOBI files that specify anchor point exactly at pagebreaks. These are apparently produced by John Wiley and Sons." tickets: [914036] - title: "Fetch news dialog: The Download now button is no longer scrolled out of view on OS X for news sources that require credentials" - title: "Fix commas being removed from author names when generating filenames in the calibre library" - title: "ODT Input: Dont crash on empty links" - title: "ebook-convert: Allow use of leading ./ when specifying output file names." tickets: [913954] - title: "Fix deleting of hierarchical searches broken in Tag Browser" tickets: [912345] - title: "Metadata search and replace: Fix rendering error when choosing {template}" tickets: [913154] - title: "Fix calibre not starting when stray .po files are present in the working directory" tickets: [913054] - title: "Do not error out when getting metadata for authors if the author name has either ::: or :#: in it." tickets: [912713] improved recipes: - Pagina 12 - USA Today - LWN Weekly - Seattle Times - San Jose Mercury - Grantland.com new recipes: - title: Lega Nerd and Pambianco author: faber1971 - title: Various Turkish news sources author: asalet_r - title: Microwave Journal author: Kiavash - title: OReilly Premium author: TechnoCat - title: Hamilton Spectator and Tillsonburg/Norfolk County author: Eric Coolman - title: Opinion Bolivia author: Piet van Oostrum - title: ideal.es author: Josemi Liebana - title: Novilist Portal author: Darko Miletic - version: 0.8.34 date: 2012-01-06 new features: - title: "Apple driver: Set the year field in iTunes based on the published date in calibre." tickets: [909050] - title: "EPUB Input: When converting a file that has entries in the manifest that do no exist, remove them, instead of aborting the conversion." tickets: [910933] - title: "Kindle driver: Ensure page counts are correctly sent to the device when connecting to Kindle 4/Touch." tickets: [910279] - title: "Allow user to set the number of recently viewed books shown in the dropdown menu of the view button, via a tweak in Preferences->Tweaks." tickets: [910292] bug fixes: - title: "Fix regression in 0.8.33 that caused calibre to crash when starting the Content Server, if the port the content server is trying to listen on is blocked/busy." tickets: [910512] - title: "MOBI Input: Fix regression that caused a mixup of images when the MOBI file header contains an incorrect first image index pointer." tickets: [911243] - title: "Do not remove leading and trailing spaces from the replace fields in the Search and Replace conversion options" tickets: [910523] - title: "Conversion pipeline: Fix regression in 0.8.31 that broke parsing of documents containing a self closing <title/> tag." tickets: [910325] improved recipes: - Kopalnia Wiedzy - Alternet - Tagesspiegel - Philadelphia Inquirer - Seattle Times - La Razon new recipes: - title: Various Italian news sources author: faber1971 - title: money.pl author: intromatyk - title: Diario Rio Negro author: Darko Miletic. - title: FHM UK author: Dave Asbury - version: 0.8.33 date: 2011-12-30 new features: - title: "LIT Input: Switch to non-recursive algorithm, to allow conversion of files with deeply nested markup." tickets: [909535] - title: "Content server: Do not show the original_* formats in the mobile interface. Also upgrade to the latest CherryPy release." - title: "E-book viewer: Add option in viewer preferences to control how much the font size is changed when you click the make fonts bigger/smaller buttons." tickets: [908980] - title: "E-book viewer: Allow changing font size via Ctrl+Mouse wheel" tickets: [908975] - title: "Kobo driver: Hide previews and recommendations from the book list. You can customize the Kobo plugin if you would like to see them via Preferences->Plugins" bug fixes: - title: "Copy to library: Fix title sort not being copied" - title: "PDF Output: Add custom size conversion option to the GUI (it was only present on the command line before)" - title: "Add missing --keep-ligatures option to the ebook-convert command line" tickets: [909182] - title: "Fix rendering of non ascii characters in generated masthead images when downloading news for the Kindle" - title: "Linux binary: Disable qt-sp-api as it causes crashes/performance issues on various distros" - title: "E-book viewer: Ensure that reference mode highlighting is removed from the book when reference mode is closed." tickets: [908982] - title: "Fix unable to load plugins from files on GNOME/XFCE desktops" - title: "Fix regression that broke customizing toolbars on non English calibre installs" - title: "Conversion pipeline: Disable HTML 5 parsing if it results in deeply nested trees." tickets: [908818] - title: "Do not loose position in book list on device connection/sync, if a search is active." tickets: [908553] - title: "Fix regression in 0.8.32 that broke deleting books if the path to the library contained non-ascii characters on linux" tickets: [908068] improved recipes: - Echo Online - La Razon new recipes: - title: NYTimes Global author: Krittika Goyal - title: Grantland author: Barty - version: 0.8.32 date: 2011-12-23 new features: - title: "Linux: When deleting books, send them to the recycle bin, instead of permanently deleting. This is the same behavior as on Windows and OS X." - title: "Add a checkbox to allow users to disable the popup that asks if books should be auto-converted before sending to device" - title: "Drivers for Droid Razr, Samsung GT-I9003 and Bookeen Odyssey" tickets: [906356, 906056, 905862] - title: "Allow passing multiple filenames as command line arguments to calibre, to add multiple books." tickets: [907968] bug fixes: - title: "MOBI Output: Fix regression in 0.8.30 that caused the use of hidden heading elements for the TOC to generate links in the wrong place." tickets: [907156] - title: "EPUB Output: Ensure directories have the correct permissions bits set when unzipping an epub with unzip on Unix" - title: "Fix bottom most shortcuts in keyboard shortcuts for viewer not editable" - title: "EPUB Output: Fix handling of self closing <audio> tags." tickets: [906521] - title: "MOBI Input: Map invalid <o:p> tags to <p> tags before parsing, to handle broken nesting." tickets: [905715] - title: "Conversion pipeline: HTML5 parsing: Fix handling of XML namespaces. Fixes regression in 0.8.30 that caused some articles in some news downloads to appear blank when viewed in Adobe Digital Editions based readers" - title: "Get Books: Gandalf store, fix price and cover detection" - title: "EPUB Output: Fix the Flatten filenames option in EPUB Output causing duplicated manifest ids in rare cases." tickets: [905692] - title: "When adding books via ISBN, show the user the list of invalid ISBNs that will be ignored, if any, before starting the add operation." tickets: [905690] - title: "Fix unsmarten punctuation conversion option broken in 0.8.31." tickets: [905596] - title: "Fix broken evaluation of composite columns in save-to-disk" improved recipes: - Cosmopolitan UK - Hindustan Times - HVG - moneynews.com - Ming Pao - Glasgow Herald - Times of India - Focus Magazine - Hacker News - Independent - Sueddeutsche new recipes: - title: Prospect Magazine UK author: Barty and duoloz - title: Elet es Irodalom and NOL author: Bigpapa - title: Salonica Press News author: SteliosGero - title: Echo Online author: Armin Geller - title: Various Polish news sources author: fenuks - title: Various Italian news sources author: faber1971 - version: 0.8.31 date: 2011-12-16 new features: - title: "Conversion engine: When parsing invalid XHTML use the HTML 5 algorithm, for greater robustness." tickets: [901466] - title: "Driver for PocketBook 611 and Lenovo IdeaPad" - title: "Allow customization of the order in which custom column editing is performed in the edit metadata dialog. Setting is available via Preferences->Tweaks." tickets: [902731] - title: "MOBI news download: Allow recipes to set a thumbnail for entries in the periodical table of contents. Currently used by the NYTimes, WSJ, Independent, GUardian and Globe and Mail recipes" tickets: [900130] - title: "E-book viewer: Add an option to the right click menu to search for the currently selected word" - title: "Automatically hide the no internet connection available error message if the connection is restored before the user clicks OK" bug fixes: - title: "Fix comments not hidden in Book details panel when they are turned off via Preferences->Look & Feel->Book Details" - title: "E-book viewer: Do not popup an error message if the user tries to use the mouse wheel to scroll before a document is loaded." tickets: [903449] - title: "Add docx to the list of ebook extensions." tickets: [903452] - title: "When downloading metadata from non-English Amazon websites, do not correct the case of book titles." - title: "Fix regression in 0.8.30 that broke bulk conversion of a single book." tickets: [902506] - title: "When minimized to system tray do not display the no internet connection error as a dialog box, instead use a system tray notification" - title: "Catalog generation: Include the series_index field for custom series columns as well" - title: "Comic Input: Do not rescale images when using the Tablet output profile (or any output profile with a screen size larger than 3000x3000)" - title: "HTML Input: Ignore unparseable URLs instead of crashing on them." tickets: [902372] improved recipes: - La Republica - CND - Berliner Zeitung - Zaman Gazetesi new recipes: - title: CND Weekly author: Derek Liang - title: descopera.org author: Marius Ignatescu - title: Rynek Zdrowia author: spi630 - version: 0.8.30 date: 2011-12-09 new features: - title: "Get Books: Add amazon.es and amazon.it" - title: "Bulk convert dialog: Disable the Use saved conversion settings checkbox when none of the books being converted has saved conversion settings" - title: "ebook-viewer: And a command line switch to specify the position at which the file should be opened." tickets: [899325] - title: "Distribute calibre source code compressed with xz instead of gzip for a 40% reduction in size" bug fixes: - title: "Get Books: Fix ebooks.com and amazon.fr. Fix cover display in Diesel ebooks store." - title: "HTML Input: Fix regression that broke processing of a small fraction of HTML files encoded in a multi-byte character encoding." tickets: [899691] - title: "Greatly reduce the delay at the end of a bulk metadata edit operation that operates on a very large number (thousands) of books" - title: "Template language: Fix the subitems formatter function to split only when the period is surrounded by non-white space and not another period" - title: "Fix ampersands in titles not displaying in the Cover Browser" - title: "MOBI Output: Do not ignore an empty anchor at the end of a block element." - title: "MOBI Output: Handle links to inline anchors placed inside large blocks of text correctly, i.e. the link should not point to the start of the block." tickets: [899831] - title: "E-book viewer: Fix searching for text that is represented as entities in the underlying HTML." tickets: [899573] - title: "Have the Esc shortcut perform exactly the same set of actions as clicking the clear button." tickets: [900048] - title: "Prevent the adding books dialog from becoming too wide" - title: "Fix custom column editing not behaving correctly with the Previous button in the edit metadata dialog." tickets: [899836] - title: "T1 driver. More fixes to datetime handling to try to convince the T1's buggy firmware to not rescan metadata." tickets: [899514] - title: "Only allow searching via non accented author names if the user interface language in calibre is set to English." tickets: [899227] improved recipes: - Die Zeit subscription - Metro UK - suedeutsche.de new recipes: - title: Blues News author: Oskar Kunicki - title: "TVXS" author: Hargikas
2012-01-21 18:53:32 +01:00
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.calibre-ebook.com/
COMMENT= E-book library management application
LICENSE= gnu-gpl-v3
DEPENDS+= help2man>=1.36.4:../../converters/help2man
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= xdg-utils>=1.0.2:../../misc/xdg-utils
DEPENDS+= poppler-utils-[0-9]*:../../print/poppler-utils
DEPENDS+= ${PYPKGPREFIX}-dns>=1.6.0:../../net/py-dns
DEPENDS+= ${PYPKGPREFIX}-lxml>=2.2.1:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-dateutil>=1.4.1:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-beautifulsoup>=3.0.5:../../www/py-beautifulsoup
DEPENDS+= ${PYPKGPREFIX}-mechanize>=0.1.11nb1:../../www/py-mechanize
Update misc/calibre to 0.8.50 pkgsrc changes: --------------- - Depends on textproc/py-ccsutils >=0.9.9. Upstream changes: ----------------- Release 0.8.50 - May 04, 2012 ============================= New Features Tweak Book: Allow tweaking of KF8 MOBI files. Useful to fine-tune the result of a conversion. Right click on the book and select Tweak Book to use the feature. Note that tweaking a MOBI file that contains both KF8 and older MOBI6 will cause the MOBI6 version to be discarded. AZW3 output plugin. This output plugin generates pure KF8 mobi files. These only work on the Kindle Fire and Kindle Touch with latest firmware. Conversion: Allow easy re-ordering of the search and replace expressions in the conversion dialog. Also apply the expressions in the same order that they were entered when doing the conversion. Automatically add the Tag 'Sample Book' when an Amazon sample is added to calibre FB2 Input: Better handling of inline images. Closes tickets: 989869 Bug Fixes KF8 Output: Fix section to section jumps not working for documents with multi-level ToCs EPUB Input: Handle the case of the metadata ToC containing a reference to the cover HTML file. Closes tickets: 993812 CHM Input: Handle files with deeply nested markup and non html files listed at the start of the manifest. Closes tickets: 993607 KF8 Output: Workaround Kindle Touch bug that causes the book to be rendered as black pages when a height is specified for <body> Fix regression in 0.8.49 that broke italics detection in heuristic processing on 32-bit systems. Closes tickets: 991380 KF8 Output: Fix joint MOBI6/KF8 books not being recognized as MOBI files by older Kindles KF8 Output: Fix errors when processing documents with HTML comments and/or XML processing instructions Get Books: Amazon fix prices not being found. B&N fix details link. ebooks.com: fix cover image. Website changes to various EU stores FB2 Input: More robust base64 decoding to handle embedded images that are incorrectly encoded. Closes tickets: 990929 Fix scrolling with the cover browser updating only the selection in the book list, not the current book. Closes tickets: 990881 Save to Disk: Do not run out memory when saving very large files on systems with low RAM. Closes tickets: 990741 FB2 Output: Use 2 letter language codes in preference to 3-letter ones to not break poorly implemented FB2 readers Closes tickets: 990026 EPUB Input: Auto set the media-type for OPF manifest entries with an empty media-type New news sources George Monbiot by Darko Miletic El Mundo by atordo AraInfo and Diagonal by Ruben Pollan Improved news sources National Post Daily Mirror Sun Newsweek Polska Max-Planck derStandard tweakers.net Release 0.8.49 - Apr 27, 2012 ============================= New Features Experimental support for generating Amazon's new KF8 format MOBI files calibre can now generate Amazon's new KF8 format MOBI files. To turn on this feature, go to Preferences->Tweaks and click Plugin Tweaks. In the box add: test_mobi_output_type = 'both' calibre will now produce MOBI files that have both the old MOBI format and the new KF8 format in them. To learn more about KF8, see: http://www.amazon.com/gp/feature.html?docId=1000729511 Note that calibre support for KF8 is still experimental and there will likely be bugs. Upgrade to using cssutils 0.9.9 for CSS parsing. Improved speed and robustness. Show cover size in a tooltip in the conversion dialog Closes tickets: 986958 [External link] Driver for Nook Simple Touch with Glow Light Closes tickets: 989264 [External link] Bug Fixes Heuristics: When italicizing words do not operate on words not in between HTML tags. Closes tickets: 986298 [External link] Fix (I hope) the bulk metadata download process crashing for some people on OS X when clicking the Yes button to apply the updates. Closes tickets: 986658 [External link] Fix tooltip not being updated in the book details panel when pasting in a new cover Closes tickets: 986958 [External link] Cover Browser: Wrap the title on space only, not in between words. Closes tickets: 986516 [External link] Edit metadata dialog: If a permission denied error occurs when clicking the next or prev buttons, stay on the current book. Closes tickets: 986903 [External link] Fix heuristics not removing unnecessary hyphens from the end of lines. Closes tickets: 822744 [External link] New news sources Berria by Alayn Gortazar Sol Haber by Onur Gungor Telam by Darko Miletic Richmond Times-Dispatch by jde Improved news sources Metro Nieuws NL Der Tagesspiegel
2012-05-06 10:34:14 +02:00
DEPENDS+= ${PYPKGPREFIX}-cssutils>=0.9.9:../../textproc/py-cssutils
# Let's depend on the ones we have in pkgsrc instead of the bundled ones.
DEPENDS+= ${PYPKGPREFIX}-Pdf-[0-9]*:../../print/py-Pdf
DEPENDS+= ${PYPKGPREFIX}-cherrypy-[0-9]*:../../www/py-cherrypy
Updated misc/calibre to 0.8.36 pkgsrc changes: - upstream archive to .tar.xz, modify Makefile accordingly. - Rely on pkgsrc libraries when possible (py-html5lib and py-chardet). Upstream changes: - version: 0.8.36 date: 2011-01-20 new features: - title: "Decrease startup time for large libraries with at least one composite custom column by reading format info on demand" - title: "When automatically deleting news older than x days, from the calibre library, only delete the book if it both has the tag News and the author calibre. This prevents accidental deletion of books tagged with News by the user." - title: "Driver for Infibeam Pi 2" - title: "Add a Tag Editor for tags like custom columns to the edit metadata dialog" bug fixes: - title: "E-book viewer: Fix regression in 0.8.35 that caused viewer to raise an error on books that did not define a language" - title: "Content server: Fix grouping for categories based on custom columns." tickets: [919011] - title: "Edit metadata dialog: When setting the series from a format or via metadata download, ensure that the series index is not automatically changed, when closing the dialog." tickets: [918751] - title: "When reading metadata from Topaz (azw1) files, handle non ascii metadata correctly." tickets: [917419] - title: "CHM Input: Do not choke on CHM files with non ascii internal filenames on windows." tickets: [917696] - title: "Fix reading metadata from CHM files with non-ascii titles" - title: "Fix HTML 5 parser choking on comments" - title: "If calibre is started from a directory that does not exist, automatically use the home directory as the working directory, instead of crashing" - title: "Fix iriver story HD Wi-Fi device and external SD card swapped" tickets: [916364] - title: "Content server: Fix ugly URLs for specific format download in the book details and permalink panels" - title: "When adding FB2 files do not set the date field from the metadata in the file" improved recipes: - OReilly Premuim - Variety - Blic - New Journal of Physics - Der Tagesspiegel new recipes: - title: Tweakers.net author: Roedi06 - title: Village Voice author: Barty - title: Edge.org Conversations author: levien - title: Novi list - printed edition author: Darko Miletic - version: 0.8.35 date: 2011-01-13 new features: - title: "Metadata plugboards: Allow creation of plugboards for email delivery." tickets: [914012] - title: "Tweak EPUB: Also allow tweaking of HTMLZ files (when both EPUB and HTMLZ are present, EPUB is preferred, this can be changed via Preferences->Tweaks)." - title: "TXT Input: Support direct conversion of files with extensions .md, .markdown and .textile." tickets: [912931] - title: "E-book viewer: Speed up the optional hyphenation algorithm by upgrading the hyphenator library calibre uses" - title: "Drivers for PocketBook 611, Motorola Razr Droid and Onyx Boox i62" bug fixes: - title: "MOBI Output: When converting a paragraph that contains only a non-breaking space into a line break, ignore paragraphs with height less than 2pt." tickets: [915150] - title: "MOBI Input: Handle MOBI files that specify anchor point exactly at pagebreaks. These are apparently produced by John Wiley and Sons." tickets: [914036] - title: "Fetch news dialog: The Download now button is no longer scrolled out of view on OS X for news sources that require credentials" - title: "Fix commas being removed from author names when generating filenames in the calibre library" - title: "ODT Input: Dont crash on empty links" - title: "ebook-convert: Allow use of leading ./ when specifying output file names." tickets: [913954] - title: "Fix deleting of hierarchical searches broken in Tag Browser" tickets: [912345] - title: "Metadata search and replace: Fix rendering error when choosing {template}" tickets: [913154] - title: "Fix calibre not starting when stray .po files are present in the working directory" tickets: [913054] - title: "Do not error out when getting metadata for authors if the author name has either ::: or :#: in it." tickets: [912713] improved recipes: - Pagina 12 - USA Today - LWN Weekly - Seattle Times - San Jose Mercury - Grantland.com new recipes: - title: Lega Nerd and Pambianco author: faber1971 - title: Various Turkish news sources author: asalet_r - title: Microwave Journal author: Kiavash - title: OReilly Premium author: TechnoCat - title: Hamilton Spectator and Tillsonburg/Norfolk County author: Eric Coolman - title: Opinion Bolivia author: Piet van Oostrum - title: ideal.es author: Josemi Liebana - title: Novilist Portal author: Darko Miletic - version: 0.8.34 date: 2012-01-06 new features: - title: "Apple driver: Set the year field in iTunes based on the published date in calibre." tickets: [909050] - title: "EPUB Input: When converting a file that has entries in the manifest that do no exist, remove them, instead of aborting the conversion." tickets: [910933] - title: "Kindle driver: Ensure page counts are correctly sent to the device when connecting to Kindle 4/Touch." tickets: [910279] - title: "Allow user to set the number of recently viewed books shown in the dropdown menu of the view button, via a tweak in Preferences->Tweaks." tickets: [910292] bug fixes: - title: "Fix regression in 0.8.33 that caused calibre to crash when starting the Content Server, if the port the content server is trying to listen on is blocked/busy." tickets: [910512] - title: "MOBI Input: Fix regression that caused a mixup of images when the MOBI file header contains an incorrect first image index pointer." tickets: [911243] - title: "Do not remove leading and trailing spaces from the replace fields in the Search and Replace conversion options" tickets: [910523] - title: "Conversion pipeline: Fix regression in 0.8.31 that broke parsing of documents containing a self closing <title/> tag." tickets: [910325] improved recipes: - Kopalnia Wiedzy - Alternet - Tagesspiegel - Philadelphia Inquirer - Seattle Times - La Razon new recipes: - title: Various Italian news sources author: faber1971 - title: money.pl author: intromatyk - title: Diario Rio Negro author: Darko Miletic. - title: FHM UK author: Dave Asbury - version: 0.8.33 date: 2011-12-30 new features: - title: "LIT Input: Switch to non-recursive algorithm, to allow conversion of files with deeply nested markup." tickets: [909535] - title: "Content server: Do not show the original_* formats in the mobile interface. Also upgrade to the latest CherryPy release." - title: "E-book viewer: Add option in viewer preferences to control how much the font size is changed when you click the make fonts bigger/smaller buttons." tickets: [908980] - title: "E-book viewer: Allow changing font size via Ctrl+Mouse wheel" tickets: [908975] - title: "Kobo driver: Hide previews and recommendations from the book list. You can customize the Kobo plugin if you would like to see them via Preferences->Plugins" bug fixes: - title: "Copy to library: Fix title sort not being copied" - title: "PDF Output: Add custom size conversion option to the GUI (it was only present on the command line before)" - title: "Add missing --keep-ligatures option to the ebook-convert command line" tickets: [909182] - title: "Fix rendering of non ascii characters in generated masthead images when downloading news for the Kindle" - title: "Linux binary: Disable qt-sp-api as it causes crashes/performance issues on various distros" - title: "E-book viewer: Ensure that reference mode highlighting is removed from the book when reference mode is closed." tickets: [908982] - title: "Fix unable to load plugins from files on GNOME/XFCE desktops" - title: "Fix regression that broke customizing toolbars on non English calibre installs" - title: "Conversion pipeline: Disable HTML 5 parsing if it results in deeply nested trees." tickets: [908818] - title: "Do not loose position in book list on device connection/sync, if a search is active." tickets: [908553] - title: "Fix regression in 0.8.32 that broke deleting books if the path to the library contained non-ascii characters on linux" tickets: [908068] improved recipes: - Echo Online - La Razon new recipes: - title: NYTimes Global author: Krittika Goyal - title: Grantland author: Barty - version: 0.8.32 date: 2011-12-23 new features: - title: "Linux: When deleting books, send them to the recycle bin, instead of permanently deleting. This is the same behavior as on Windows and OS X." - title: "Add a checkbox to allow users to disable the popup that asks if books should be auto-converted before sending to device" - title: "Drivers for Droid Razr, Samsung GT-I9003 and Bookeen Odyssey" tickets: [906356, 906056, 905862] - title: "Allow passing multiple filenames as command line arguments to calibre, to add multiple books." tickets: [907968] bug fixes: - title: "MOBI Output: Fix regression in 0.8.30 that caused the use of hidden heading elements for the TOC to generate links in the wrong place." tickets: [907156] - title: "EPUB Output: Ensure directories have the correct permissions bits set when unzipping an epub with unzip on Unix" - title: "Fix bottom most shortcuts in keyboard shortcuts for viewer not editable" - title: "EPUB Output: Fix handling of self closing <audio> tags." tickets: [906521] - title: "MOBI Input: Map invalid <o:p> tags to <p> tags before parsing, to handle broken nesting." tickets: [905715] - title: "Conversion pipeline: HTML5 parsing: Fix handling of XML namespaces. Fixes regression in 0.8.30 that caused some articles in some news downloads to appear blank when viewed in Adobe Digital Editions based readers" - title: "Get Books: Gandalf store, fix price and cover detection" - title: "EPUB Output: Fix the Flatten filenames option in EPUB Output causing duplicated manifest ids in rare cases." tickets: [905692] - title: "When adding books via ISBN, show the user the list of invalid ISBNs that will be ignored, if any, before starting the add operation." tickets: [905690] - title: "Fix unsmarten punctuation conversion option broken in 0.8.31." tickets: [905596] - title: "Fix broken evaluation of composite columns in save-to-disk" improved recipes: - Cosmopolitan UK - Hindustan Times - HVG - moneynews.com - Ming Pao - Glasgow Herald - Times of India - Focus Magazine - Hacker News - Independent - Sueddeutsche new recipes: - title: Prospect Magazine UK author: Barty and duoloz - title: Elet es Irodalom and NOL author: Bigpapa - title: Salonica Press News author: SteliosGero - title: Echo Online author: Armin Geller - title: Various Polish news sources author: fenuks - title: Various Italian news sources author: faber1971 - version: 0.8.31 date: 2011-12-16 new features: - title: "Conversion engine: When parsing invalid XHTML use the HTML 5 algorithm, for greater robustness." tickets: [901466] - title: "Driver for PocketBook 611 and Lenovo IdeaPad" - title: "Allow customization of the order in which custom column editing is performed in the edit metadata dialog. Setting is available via Preferences->Tweaks." tickets: [902731] - title: "MOBI news download: Allow recipes to set a thumbnail for entries in the periodical table of contents. Currently used by the NYTimes, WSJ, Independent, GUardian and Globe and Mail recipes" tickets: [900130] - title: "E-book viewer: Add an option to the right click menu to search for the currently selected word" - title: "Automatically hide the no internet connection available error message if the connection is restored before the user clicks OK" bug fixes: - title: "Fix comments not hidden in Book details panel when they are turned off via Preferences->Look & Feel->Book Details" - title: "E-book viewer: Do not popup an error message if the user tries to use the mouse wheel to scroll before a document is loaded." tickets: [903449] - title: "Add docx to the list of ebook extensions." tickets: [903452] - title: "When downloading metadata from non-English Amazon websites, do not correct the case of book titles." - title: "Fix regression in 0.8.30 that broke bulk conversion of a single book." tickets: [902506] - title: "When minimized to system tray do not display the no internet connection error as a dialog box, instead use a system tray notification" - title: "Catalog generation: Include the series_index field for custom series columns as well" - title: "Comic Input: Do not rescale images when using the Tablet output profile (or any output profile with a screen size larger than 3000x3000)" - title: "HTML Input: Ignore unparseable URLs instead of crashing on them." tickets: [902372] improved recipes: - La Republica - CND - Berliner Zeitung - Zaman Gazetesi new recipes: - title: CND Weekly author: Derek Liang - title: descopera.org author: Marius Ignatescu - title: Rynek Zdrowia author: spi630 - version: 0.8.30 date: 2011-12-09 new features: - title: "Get Books: Add amazon.es and amazon.it" - title: "Bulk convert dialog: Disable the Use saved conversion settings checkbox when none of the books being converted has saved conversion settings" - title: "ebook-viewer: And a command line switch to specify the position at which the file should be opened." tickets: [899325] - title: "Distribute calibre source code compressed with xz instead of gzip for a 40% reduction in size" bug fixes: - title: "Get Books: Fix ebooks.com and amazon.fr. Fix cover display in Diesel ebooks store." - title: "HTML Input: Fix regression that broke processing of a small fraction of HTML files encoded in a multi-byte character encoding." tickets: [899691] - title: "Greatly reduce the delay at the end of a bulk metadata edit operation that operates on a very large number (thousands) of books" - title: "Template language: Fix the subitems formatter function to split only when the period is surrounded by non-white space and not another period" - title: "Fix ampersands in titles not displaying in the Cover Browser" - title: "MOBI Output: Do not ignore an empty anchor at the end of a block element." - title: "MOBI Output: Handle links to inline anchors placed inside large blocks of text correctly, i.e. the link should not point to the start of the block." tickets: [899831] - title: "E-book viewer: Fix searching for text that is represented as entities in the underlying HTML." tickets: [899573] - title: "Have the Esc shortcut perform exactly the same set of actions as clicking the clear button." tickets: [900048] - title: "Prevent the adding books dialog from becoming too wide" - title: "Fix custom column editing not behaving correctly with the Previous button in the edit metadata dialog." tickets: [899836] - title: "T1 driver. More fixes to datetime handling to try to convince the T1's buggy firmware to not rescan metadata." tickets: [899514] - title: "Only allow searching via non accented author names if the user interface language in calibre is set to English." tickets: [899227] improved recipes: - Die Zeit subscription - Metro UK - suedeutsche.de new recipes: - title: Blues News author: Oskar Kunicki - title: "TVXS" author: Hargikas
2012-01-21 18:53:32 +01:00
DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config pax
PYTHON_VERSIONS_ACCEPTED= 27
PYDISTUTILSPKG= yes
PYSETUPOPTARGS= # empty
PYSETUPINSTALLARGS= --prefix=${PREFIX} --root=${DESTDIR:Q}${PREFIX}
WRKSRC= ${WRKDIR}/calibre
INSTALLATION_DIRS= share/applications
INSTALLATION_DIRS= share/icons
INSTALLATION_DIRS= share/calibre/recipes
FIX_PYTHON_PATHS+= recipes/*.recipe
FIX_PYTHON_PATHS+= resources/catalog/*.py
FIX_PYTHON_PATHS+= resources/*.py
FIX_PYTHON_PATHS+= *.py
FIX_PYTHON_PATHS+= setup/*.py
FIX_PYTHON_PATHS+= setup/installer/*.py
FIX_PYTHON_PATHS+= setup/installer/linux/*.py
FIX_PYTHON_PATHS+= setup/installer/osx/*.py
FIX_PYTHON_PATHS+= setup/installer/osx/app/*.py
FIX_PYTHON_PATHS+= setup/installer/windows/*.py
FIX_PYTHON_PATHS+= src/calibre/*.py
FIX_PYTHON_PATHS+= src/calibre/customize/*.py
FIX_PYTHON_PATHS+= src/calibre/db/*.py
FIX_PYTHON_PATHS+= src/calibre/db/tests/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/android/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/eslick/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/folder_device/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/iriver/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/kobo/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/prs505/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/prst1/*.py
FIX_PYTHON_PATHS+= src/calibre/devices/teclast/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/chm/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/comic/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/compression/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/conversion/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/conversion/plugins/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/djvu/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/epub/fix/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/epub/*.py
Update misc/calibre to 0.8.50 pkgsrc changes: --------------- - Depends on textproc/py-ccsutils >=0.9.9. Upstream changes: ----------------- Release 0.8.50 - May 04, 2012 ============================= New Features Tweak Book: Allow tweaking of KF8 MOBI files. Useful to fine-tune the result of a conversion. Right click on the book and select Tweak Book to use the feature. Note that tweaking a MOBI file that contains both KF8 and older MOBI6 will cause the MOBI6 version to be discarded. AZW3 output plugin. This output plugin generates pure KF8 mobi files. These only work on the Kindle Fire and Kindle Touch with latest firmware. Conversion: Allow easy re-ordering of the search and replace expressions in the conversion dialog. Also apply the expressions in the same order that they were entered when doing the conversion. Automatically add the Tag 'Sample Book' when an Amazon sample is added to calibre FB2 Input: Better handling of inline images. Closes tickets: 989869 Bug Fixes KF8 Output: Fix section to section jumps not working for documents with multi-level ToCs EPUB Input: Handle the case of the metadata ToC containing a reference to the cover HTML file. Closes tickets: 993812 CHM Input: Handle files with deeply nested markup and non html files listed at the start of the manifest. Closes tickets: 993607 KF8 Output: Workaround Kindle Touch bug that causes the book to be rendered as black pages when a height is specified for <body> Fix regression in 0.8.49 that broke italics detection in heuristic processing on 32-bit systems. Closes tickets: 991380 KF8 Output: Fix joint MOBI6/KF8 books not being recognized as MOBI files by older Kindles KF8 Output: Fix errors when processing documents with HTML comments and/or XML processing instructions Get Books: Amazon fix prices not being found. B&N fix details link. ebooks.com: fix cover image. Website changes to various EU stores FB2 Input: More robust base64 decoding to handle embedded images that are incorrectly encoded. Closes tickets: 990929 Fix scrolling with the cover browser updating only the selection in the book list, not the current book. Closes tickets: 990881 Save to Disk: Do not run out memory when saving very large files on systems with low RAM. Closes tickets: 990741 FB2 Output: Use 2 letter language codes in preference to 3-letter ones to not break poorly implemented FB2 readers Closes tickets: 990026 EPUB Input: Auto set the media-type for OPF manifest entries with an empty media-type New news sources George Monbiot by Darko Miletic El Mundo by atordo AraInfo and Diagonal by Ruben Pollan Improved news sources National Post Daily Mirror Sun Newsweek Polska Max-Planck derStandard tweakers.net Release 0.8.49 - Apr 27, 2012 ============================= New Features Experimental support for generating Amazon's new KF8 format MOBI files calibre can now generate Amazon's new KF8 format MOBI files. To turn on this feature, go to Preferences->Tweaks and click Plugin Tweaks. In the box add: test_mobi_output_type = 'both' calibre will now produce MOBI files that have both the old MOBI format and the new KF8 format in them. To learn more about KF8, see: http://www.amazon.com/gp/feature.html?docId=1000729511 Note that calibre support for KF8 is still experimental and there will likely be bugs. Upgrade to using cssutils 0.9.9 for CSS parsing. Improved speed and robustness. Show cover size in a tooltip in the conversion dialog Closes tickets: 986958 [External link] Driver for Nook Simple Touch with Glow Light Closes tickets: 989264 [External link] Bug Fixes Heuristics: When italicizing words do not operate on words not in between HTML tags. Closes tickets: 986298 [External link] Fix (I hope) the bulk metadata download process crashing for some people on OS X when clicking the Yes button to apply the updates. Closes tickets: 986658 [External link] Fix tooltip not being updated in the book details panel when pasting in a new cover Closes tickets: 986958 [External link] Cover Browser: Wrap the title on space only, not in between words. Closes tickets: 986516 [External link] Edit metadata dialog: If a permission denied error occurs when clicking the next or prev buttons, stay on the current book. Closes tickets: 986903 [External link] Fix heuristics not removing unnecessary hyphens from the end of lines. Closes tickets: 822744 [External link] New news sources Berria by Alayn Gortazar Sol Haber by Onur Gungor Telam by Darko Miletic Richmond Times-Dispatch by jde Improved news sources Metro Nieuws NL Der Tagesspiegel
2012-05-06 10:34:14 +02:00
FIX_PYTHON_PATHS+= src/calibre/ebooks/fb2/__init__.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/html/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/iterator/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/lit/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/lrf/html/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/lrf/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/lrf/pylrs/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/markdown/extensions/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/metadata/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/metadata/book/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/metadata/book/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/metadata/sources/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/mobi/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/mobi/debug/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/mobi/reader/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/mobi/writer2/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/mobi/writer8/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/odt/__init__.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/oeb/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/oeb/display/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/oeb/display/test-cfi/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/oeb/transforms/*.py
Update misc/calibre to 0.8.50 pkgsrc changes: --------------- - Depends on textproc/py-ccsutils >=0.9.9. Upstream changes: ----------------- Release 0.8.50 - May 04, 2012 ============================= New Features Tweak Book: Allow tweaking of KF8 MOBI files. Useful to fine-tune the result of a conversion. Right click on the book and select Tweak Book to use the feature. Note that tweaking a MOBI file that contains both KF8 and older MOBI6 will cause the MOBI6 version to be discarded. AZW3 output plugin. This output plugin generates pure KF8 mobi files. These only work on the Kindle Fire and Kindle Touch with latest firmware. Conversion: Allow easy re-ordering of the search and replace expressions in the conversion dialog. Also apply the expressions in the same order that they were entered when doing the conversion. Automatically add the Tag 'Sample Book' when an Amazon sample is added to calibre FB2 Input: Better handling of inline images. Closes tickets: 989869 Bug Fixes KF8 Output: Fix section to section jumps not working for documents with multi-level ToCs EPUB Input: Handle the case of the metadata ToC containing a reference to the cover HTML file. Closes tickets: 993812 CHM Input: Handle files with deeply nested markup and non html files listed at the start of the manifest. Closes tickets: 993607 KF8 Output: Workaround Kindle Touch bug that causes the book to be rendered as black pages when a height is specified for <body> Fix regression in 0.8.49 that broke italics detection in heuristic processing on 32-bit systems. Closes tickets: 991380 KF8 Output: Fix joint MOBI6/KF8 books not being recognized as MOBI files by older Kindles KF8 Output: Fix errors when processing documents with HTML comments and/or XML processing instructions Get Books: Amazon fix prices not being found. B&N fix details link. ebooks.com: fix cover image. Website changes to various EU stores FB2 Input: More robust base64 decoding to handle embedded images that are incorrectly encoded. Closes tickets: 990929 Fix scrolling with the cover browser updating only the selection in the book list, not the current book. Closes tickets: 990881 Save to Disk: Do not run out memory when saving very large files on systems with low RAM. Closes tickets: 990741 FB2 Output: Use 2 letter language codes in preference to 3-letter ones to not break poorly implemented FB2 readers Closes tickets: 990026 EPUB Input: Auto set the media-type for OPF manifest entries with an empty media-type New news sources George Monbiot by Darko Miletic El Mundo by atordo AraInfo and Diagonal by Ruben Pollan Improved news sources National Post Daily Mirror Sun Newsweek Polska Max-Planck derStandard tweakers.net Release 0.8.49 - Apr 27, 2012 ============================= New Features Experimental support for generating Amazon's new KF8 format MOBI files calibre can now generate Amazon's new KF8 format MOBI files. To turn on this feature, go to Preferences->Tweaks and click Plugin Tweaks. In the box add: test_mobi_output_type = 'both' calibre will now produce MOBI files that have both the old MOBI format and the new KF8 format in them. To learn more about KF8, see: http://www.amazon.com/gp/feature.html?docId=1000729511 Note that calibre support for KF8 is still experimental and there will likely be bugs. Upgrade to using cssutils 0.9.9 for CSS parsing. Improved speed and robustness. Show cover size in a tooltip in the conversion dialog Closes tickets: 986958 [External link] Driver for Nook Simple Touch with Glow Light Closes tickets: 989264 [External link] Bug Fixes Heuristics: When italicizing words do not operate on words not in between HTML tags. Closes tickets: 986298 [External link] Fix (I hope) the bulk metadata download process crashing for some people on OS X when clicking the Yes button to apply the updates. Closes tickets: 986658 [External link] Fix tooltip not being updated in the book details panel when pasting in a new cover Closes tickets: 986958 [External link] Cover Browser: Wrap the title on space only, not in between words. Closes tickets: 986516 [External link] Edit metadata dialog: If a permission denied error occurs when clicking the next or prev buttons, stay on the current book. Closes tickets: 986903 [External link] Fix heuristics not removing unnecessary hyphens from the end of lines. Closes tickets: 822744 [External link] New news sources Berria by Alayn Gortazar Sol Haber by Onur Gungor Telam by Darko Miletic Richmond Times-Dispatch by jde Improved news sources Metro Nieuws NL Der Tagesspiegel
2012-05-06 10:34:14 +02:00
FIX_PYTHON_PATHS+= src/calibre/ebooks/pdb/haodoo/__init__.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/pdf/__init__.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/pdf/reflow.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/readability/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/rtf/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/rtf2xml/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/snb/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/textile/*.py
FIX_PYTHON_PATHS+= src/calibre/ebooks/txt/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/actions/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/add_wizard/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/catalog/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/convert/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/dialogs/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/library/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/metadata/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/preferences/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/progress_indicator/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/tag_browser/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/viewer/*.py
FIX_PYTHON_PATHS+= src/calibre/gui2/wizard/*.py
FIX_PYTHON_PATHS+= src/calibre/library/*.py
FIX_PYTHON_PATHS+= src/calibre/library/catalogs/*.py
FIX_PYTHON_PATHS+= src/calibre/library/server/*.py
FIX_PYTHON_PATHS+= src/calibre/manual/*.py
FIX_PYTHON_PATHS+= src/calibre/manual/plugin_examples/helloworld/*.py
FIX_PYTHON_PATHS+= src/calibre/manual/plugin_examples/interface_demo/*.py
FIX_PYTHON_PATHS+= src/calibre/trac/*.py
FIX_PYTHON_PATHS+= src/calibre/translations/*.py
FIX_PYTHON_PATHS+= src/calibre/utils/*.py
FIX_PYTHON_PATHS+= src/calibre/utils/fonts/*.py
FIX_PYTHON_PATHS+= src/calibre/utils/ipc/*.py
FIX_PYTHON_PATHS+= src/calibre/utils/magick/*.py
FIX_PYTHON_PATHS+= src/calibre/utils/podofo/*.py
FIX_PYTHON_PATHS+= src/calibre/utils/pyconsole/*.py
FIX_PYTHON_PATHS+= src/calibre/utils/wmf/*.py
FIX_PYTHON_PATHS+= src/calibre/web/feeds/*.py
FIX_PYTHON_PATHS+= src/calibre/web/feeds/recipes/*.py
FIX_PYTHON_PATHS+= src/calibre/web/fetch/*.py
FIX_PYTHON_PATHS+= src/calibre/web/jsbrowser/*.py
FIX_PYTHON_PATHS+= src/templite/*.py
SUBST_CLASSES+= prefix
SUBST_SED.prefix= -e "s,^QMAKE =.*,QMAKE = '${PREFIX}/qt4/bin/qmake',"
SUBST_MESSAGE.prefix= Fixing path to QMAKE
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= setup/build_environment.py
pkgsrc changes: - switch MASTER_SITE to SF.net mirror, so that we can fetch older distfiles - Try to simplify FIX_PYTHON list handling - Remove SPECIAL_PERMS since bin/calibre-mount-helper has been ¨removed¨ by upstream - it still is installed but is basically doing nothing. This is to address SA46620. upstream changes: Release: 0.8.26 [12 Nov, 2011] ------------------------------ New Features: Tweak to control sorting of date type columns. You can choose to have them sorted only by displayed fields Driver for the Trekstor 3.0 Performance improvements when evaluating templates, and in particular general program mode templates Bug Fixes: ODT Input: When converting to EPUB improve handling of large images placed inside small frames, to prevent them from obscuring text. Closes tickets: 860272 [External link] , 884759 [External link] EPUB Input: Automatically strip entries of type application/text from the spine. Apparently there are EPUB production tools out there that create them. Closes tickets: 884792 [External link] Keep the startup splash screen visible until the GUI has fully completed initializing. Closes tickets: 885827 [External link] ODT Input: Fix handling of span tags containing only whitespace. Closes tickets: 887311 [External link] On windows when changing title or author via the main book list, handle the case of one of the books files being open in another program more gracefully. Closes tickets: 880585 [External link] When adding a format to an existing book record, ensure that no changes are made to the database until after the file operations have succeeded. Fix bug that prevented configuring which fields to download metadata for when adding books by ISBN Closes tickets: 856076 [External link] Fix Japanese characters not being crrectly displayed on index pages in news downloads for the SONY T1 Closes tickets: 888029 [External link] Get Books: Fix booleans in search expressions not working in non-English calibre versions Closes tickets: 887554 [External link] Fix a bug in the support for hours/minutes/seconds in datetime format strings Closes tickets: 887412 [External link] Treat an author_sort value of 'Unknown' the same way as unknown authors are treated in template processing Detect SD card in Kobo Vox Amazon metadata download: Workaround for change in Amazon website causing some books to have incorrect ratings downloaded New news sources: Techtarget by Julio Map Improved news sources: Metro NL The Independent Frankfurter Rundschau L'Espresso Il Giornale Berlingske.dk Suedeutsche Zeitung Release: 0.8.25 [06 Nov, 2011] ------------------------------ New Features: Drivers for the LG Optimus 2X, HTC Incredible S, Samsung Stratosphere and the Kobo Vox Closes tickets: 886558 [External link] , 885058 [External link] , 884762 [External link] , 884039 [External link] Get books: Add ebookpoint.pl store Support hour/minute/seconds in datetime format strings in the template language and in tweaks Bug Fixes: Fix Book detils preferences showing custom columns even after they have been deleted Closes tickets: 884799 [External link] Replace use of insecure tempfile in the bundled rtf2xml library. Closes tickets: 885245 [External link] Remove the suid mount helper used on linux and bsd, as it proved impossible to make it secure. Closes tickets: 885027 [External link] This means that if you are on BSD or an older linux distribution, without support for udisks, device detection will no longer work in calibre. You will have to either mount the devices by hand before starting calibre, or stick with version 0.8.24 (the vulnerability in the mount helper is a privilege escalation, which is relatively harmless on the vast majority of single user systems). Do not error out if there is an invalid regex for title sort set in tweaks Content server: Fix another place where --url-prefix was forgotten Closes tickets: 885332 [External link] HTML Input: Limit memory consumption when converting HTML files that link to large binary files. Closes tickets: 884821 [External link] T1 driver: Workaround for T1 showing error messages when opening some news downloads on the device Kobo driver: Fix longstanding bug that would prevent re-adding a epub that has been previously deleted from the Kobo using calibre Fix partial cover search not resuming after pressing back in the metadata download dialog Closes tickets: 875196 [External link] T1 driver: Fix auto refresh covers option Content server: Do not show tracebacks in HTML output when not running in develop mode Textile output; Fix out of memory issue when dealing with large margins. New news sources: b365 Realitatea and Catavencii by Silviu Cotoara Various Greek news sources by Stelios Real world economics blog by Julio Map Improved news sources: The Independent Die Zeit subscription version NIN online Science News Updated Daily Mirror Science AAAS
2011-11-13 17:08:31 +01:00
# This one is for /usr/bin/env python (or even /usr/bin/env Python or /usr/bin/python2)
SUBST_CLASSES+= path
SUBST_SED.path= -e "s,\#! */usr/bin/env *[Pp]ython[0-9.]*,\#!${PYTHONBIN},"
SUBST_MESSAGE.path= Fixing path to python.
SUBST_STAGE.path= post-patch
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/kompiutierra.recipe
REPLACE_PYTHON+= recipes/trouw.recipe
pkgsrc changes: - switch MASTER_SITE to SF.net mirror, so that we can fetch older distfiles - Try to simplify FIX_PYTHON list handling - Remove SPECIAL_PERMS since bin/calibre-mount-helper has been ¨removed¨ by upstream - it still is installed but is basically doing nothing. This is to address SA46620. upstream changes: Release: 0.8.26 [12 Nov, 2011] ------------------------------ New Features: Tweak to control sorting of date type columns. You can choose to have them sorted only by displayed fields Driver for the Trekstor 3.0 Performance improvements when evaluating templates, and in particular general program mode templates Bug Fixes: ODT Input: When converting to EPUB improve handling of large images placed inside small frames, to prevent them from obscuring text. Closes tickets: 860272 [External link] , 884759 [External link] EPUB Input: Automatically strip entries of type application/text from the spine. Apparently there are EPUB production tools out there that create them. Closes tickets: 884792 [External link] Keep the startup splash screen visible until the GUI has fully completed initializing. Closes tickets: 885827 [External link] ODT Input: Fix handling of span tags containing only whitespace. Closes tickets: 887311 [External link] On windows when changing title or author via the main book list, handle the case of one of the books files being open in another program more gracefully. Closes tickets: 880585 [External link] When adding a format to an existing book record, ensure that no changes are made to the database until after the file operations have succeeded. Fix bug that prevented configuring which fields to download metadata for when adding books by ISBN Closes tickets: 856076 [External link] Fix Japanese characters not being crrectly displayed on index pages in news downloads for the SONY T1 Closes tickets: 888029 [External link] Get Books: Fix booleans in search expressions not working in non-English calibre versions Closes tickets: 887554 [External link] Fix a bug in the support for hours/minutes/seconds in datetime format strings Closes tickets: 887412 [External link] Treat an author_sort value of 'Unknown' the same way as unknown authors are treated in template processing Detect SD card in Kobo Vox Amazon metadata download: Workaround for change in Amazon website causing some books to have incorrect ratings downloaded New news sources: Techtarget by Julio Map Improved news sources: Metro NL The Independent Frankfurter Rundschau L'Espresso Il Giornale Berlingske.dk Suedeutsche Zeitung Release: 0.8.25 [06 Nov, 2011] ------------------------------ New Features: Drivers for the LG Optimus 2X, HTC Incredible S, Samsung Stratosphere and the Kobo Vox Closes tickets: 886558 [External link] , 885058 [External link] , 884762 [External link] , 884039 [External link] Get books: Add ebookpoint.pl store Support hour/minute/seconds in datetime format strings in the template language and in tweaks Bug Fixes: Fix Book detils preferences showing custom columns even after they have been deleted Closes tickets: 884799 [External link] Replace use of insecure tempfile in the bundled rtf2xml library. Closes tickets: 885245 [External link] Remove the suid mount helper used on linux and bsd, as it proved impossible to make it secure. Closes tickets: 885027 [External link] This means that if you are on BSD or an older linux distribution, without support for udisks, device detection will no longer work in calibre. You will have to either mount the devices by hand before starting calibre, or stick with version 0.8.24 (the vulnerability in the mount helper is a privilege escalation, which is relatively harmless on the vast majority of single user systems). Do not error out if there is an invalid regex for title sort set in tweaks Content server: Fix another place where --url-prefix was forgotten Closes tickets: 885332 [External link] HTML Input: Limit memory consumption when converting HTML files that link to large binary files. Closes tickets: 884821 [External link] T1 driver: Workaround for T1 showing error messages when opening some news downloads on the device Kobo driver: Fix longstanding bug that would prevent re-adding a epub that has been previously deleted from the Kobo using calibre Fix partial cover search not resuming after pressing back in the metadata download dialog Closes tickets: 875196 [External link] T1 driver: Fix auto refresh covers option Content server: Do not show tracebacks in HTML output when not running in develop mode Textile output; Fix out of memory issue when dealing with large margins. New news sources: b365 Realitatea and Catavencii by Silviu Cotoara Various Greek news sources by Stelios Real world economics blog by Julio Map Improved news sources: The Independent Die Zeit subscription version NIN online Science News Updated Daily Mirror Science AAAS
2011-11-13 17:08:31 +01:00
REPLACE_PYTHON+= src/calibre/ebooks/markdown/extensions/*.py
REPLACE_PYTHON+= src/calibre/ebooks/metadata/odt.py
pkgsrc changes: - switch MASTER_SITE to SF.net mirror, so that we can fetch older distfiles - Try to simplify FIX_PYTHON list handling - Remove SPECIAL_PERMS since bin/calibre-mount-helper has been ¨removed¨ by upstream - it still is installed but is basically doing nothing. This is to address SA46620. upstream changes: Release: 0.8.26 [12 Nov, 2011] ------------------------------ New Features: Tweak to control sorting of date type columns. You can choose to have them sorted only by displayed fields Driver for the Trekstor 3.0 Performance improvements when evaluating templates, and in particular general program mode templates Bug Fixes: ODT Input: When converting to EPUB improve handling of large images placed inside small frames, to prevent them from obscuring text. Closes tickets: 860272 [External link] , 884759 [External link] EPUB Input: Automatically strip entries of type application/text from the spine. Apparently there are EPUB production tools out there that create them. Closes tickets: 884792 [External link] Keep the startup splash screen visible until the GUI has fully completed initializing. Closes tickets: 885827 [External link] ODT Input: Fix handling of span tags containing only whitespace. Closes tickets: 887311 [External link] On windows when changing title or author via the main book list, handle the case of one of the books files being open in another program more gracefully. Closes tickets: 880585 [External link] When adding a format to an existing book record, ensure that no changes are made to the database until after the file operations have succeeded. Fix bug that prevented configuring which fields to download metadata for when adding books by ISBN Closes tickets: 856076 [External link] Fix Japanese characters not being crrectly displayed on index pages in news downloads for the SONY T1 Closes tickets: 888029 [External link] Get Books: Fix booleans in search expressions not working in non-English calibre versions Closes tickets: 887554 [External link] Fix a bug in the support for hours/minutes/seconds in datetime format strings Closes tickets: 887412 [External link] Treat an author_sort value of 'Unknown' the same way as unknown authors are treated in template processing Detect SD card in Kobo Vox Amazon metadata download: Workaround for change in Amazon website causing some books to have incorrect ratings downloaded New news sources: Techtarget by Julio Map Improved news sources: Metro NL The Independent Frankfurter Rundschau L'Espresso Il Giornale Berlingske.dk Suedeutsche Zeitung Release: 0.8.25 [06 Nov, 2011] ------------------------------ New Features: Drivers for the LG Optimus 2X, HTC Incredible S, Samsung Stratosphere and the Kobo Vox Closes tickets: 886558 [External link] , 885058 [External link] , 884762 [External link] , 884039 [External link] Get books: Add ebookpoint.pl store Support hour/minute/seconds in datetime format strings in the template language and in tweaks Bug Fixes: Fix Book detils preferences showing custom columns even after they have been deleted Closes tickets: 884799 [External link] Replace use of insecure tempfile in the bundled rtf2xml library. Closes tickets: 885245 [External link] Remove the suid mount helper used on linux and bsd, as it proved impossible to make it secure. Closes tickets: 885027 [External link] This means that if you are on BSD or an older linux distribution, without support for udisks, device detection will no longer work in calibre. You will have to either mount the devices by hand before starting calibre, or stick with version 0.8.24 (the vulnerability in the mount helper is a privilege escalation, which is relatively harmless on the vast majority of single user systems). Do not error out if there is an invalid regex for title sort set in tweaks Content server: Fix another place where --url-prefix was forgotten Closes tickets: 885332 [External link] HTML Input: Limit memory consumption when converting HTML files that link to large binary files. Closes tickets: 884821 [External link] T1 driver: Workaround for T1 showing error messages when opening some news downloads on the device Kobo driver: Fix longstanding bug that would prevent re-adding a epub that has been previously deleted from the Kobo using calibre Fix partial cover search not resuming after pressing back in the metadata download dialog Closes tickets: 875196 [External link] T1 driver: Fix auto refresh covers option Content server: Do not show tracebacks in HTML output when not running in develop mode Textile output; Fix out of memory issue when dealing with large margins. New news sources: b365 Realitatea and Catavencii by Silviu Cotoara Various Greek news sources by Stelios Real world economics blog by Julio Map Improved news sources: The Independent Die Zeit subscription version NIN online Science News Updated Daily Mirror Science AAAS
2011-11-13 17:08:31 +01:00
REPLACE_PYTHON+= src/calibre/utils/*.py
REPLACE_PYTHON+= src/odf/*.py
MAKE_ENV+= FC_INC_DIR=${BUILDLINK_PREFIX.fontconfig}/include/fontconfig
MAKE_ENV+= FC_LIB_DIR=${BUILDLINK_PREFIX.fontconfig}/lib
MAKE_ENV+= PODOFO_INC_DIR=${BUILDLINK_PREFIX.podofo}/include/podofo
MAKE_ENV+= PODOFO_LIB_DIR=${BUILDLINK_PREFIX.podofo}/lib
pkgsrc changes: - switch MASTER_SITE to SF.net mirror, so that we can fetch older distfiles - Try to simplify FIX_PYTHON list handling - Remove SPECIAL_PERMS since bin/calibre-mount-helper has been ¨removed¨ by upstream - it still is installed but is basically doing nothing. This is to address SA46620. upstream changes: Release: 0.8.26 [12 Nov, 2011] ------------------------------ New Features: Tweak to control sorting of date type columns. You can choose to have them sorted only by displayed fields Driver for the Trekstor 3.0 Performance improvements when evaluating templates, and in particular general program mode templates Bug Fixes: ODT Input: When converting to EPUB improve handling of large images placed inside small frames, to prevent them from obscuring text. Closes tickets: 860272 [External link] , 884759 [External link] EPUB Input: Automatically strip entries of type application/text from the spine. Apparently there are EPUB production tools out there that create them. Closes tickets: 884792 [External link] Keep the startup splash screen visible until the GUI has fully completed initializing. Closes tickets: 885827 [External link] ODT Input: Fix handling of span tags containing only whitespace. Closes tickets: 887311 [External link] On windows when changing title or author via the main book list, handle the case of one of the books files being open in another program more gracefully. Closes tickets: 880585 [External link] When adding a format to an existing book record, ensure that no changes are made to the database until after the file operations have succeeded. Fix bug that prevented configuring which fields to download metadata for when adding books by ISBN Closes tickets: 856076 [External link] Fix Japanese characters not being crrectly displayed on index pages in news downloads for the SONY T1 Closes tickets: 888029 [External link] Get Books: Fix booleans in search expressions not working in non-English calibre versions Closes tickets: 887554 [External link] Fix a bug in the support for hours/minutes/seconds in datetime format strings Closes tickets: 887412 [External link] Treat an author_sort value of 'Unknown' the same way as unknown authors are treated in template processing Detect SD card in Kobo Vox Amazon metadata download: Workaround for change in Amazon website causing some books to have incorrect ratings downloaded New news sources: Techtarget by Julio Map Improved news sources: Metro NL The Independent Frankfurter Rundschau L'Espresso Il Giornale Berlingske.dk Suedeutsche Zeitung Release: 0.8.25 [06 Nov, 2011] ------------------------------ New Features: Drivers for the LG Optimus 2X, HTC Incredible S, Samsung Stratosphere and the Kobo Vox Closes tickets: 886558 [External link] , 885058 [External link] , 884762 [External link] , 884039 [External link] Get books: Add ebookpoint.pl store Support hour/minute/seconds in datetime format strings in the template language and in tweaks Bug Fixes: Fix Book detils preferences showing custom columns even after they have been deleted Closes tickets: 884799 [External link] Replace use of insecure tempfile in the bundled rtf2xml library. Closes tickets: 885245 [External link] Remove the suid mount helper used on linux and bsd, as it proved impossible to make it secure. Closes tickets: 885027 [External link] This means that if you are on BSD or an older linux distribution, without support for udisks, device detection will no longer work in calibre. You will have to either mount the devices by hand before starting calibre, or stick with version 0.8.24 (the vulnerability in the mount helper is a privilege escalation, which is relatively harmless on the vast majority of single user systems). Do not error out if there is an invalid regex for title sort set in tweaks Content server: Fix another place where --url-prefix was forgotten Closes tickets: 885332 [External link] HTML Input: Limit memory consumption when converting HTML files that link to large binary files. Closes tickets: 884821 [External link] T1 driver: Workaround for T1 showing error messages when opening some news downloads on the device Kobo driver: Fix longstanding bug that would prevent re-adding a epub that has been previously deleted from the Kobo using calibre Fix partial cover search not resuming after pressing back in the metadata download dialog Closes tickets: 875196 [External link] T1 driver: Fix auto refresh covers option Content server: Do not show tracebacks in HTML output when not running in develop mode Textile output; Fix out of memory issue when dealing with large margins. New news sources: b365 Realitatea and Catavencii by Silviu Cotoara Various Greek news sources by Stelios Real world economics blog by Julio Map Improved news sources: The Independent Die Zeit subscription version NIN online Science News Updated Daily Mirror Science AAAS
2011-11-13 17:08:31 +01:00
#MAKE_ENV+= WITH_USB=no
# Let's depend on the ones we have in pkgsrc instead of the bundled ones.
pre-configure:
Updated misc/calibre to 0.8.36 pkgsrc changes: - upstream archive to .tar.xz, modify Makefile accordingly. - Rely on pkgsrc libraries when possible (py-html5lib and py-chardet). Upstream changes: - version: 0.8.36 date: 2011-01-20 new features: - title: "Decrease startup time for large libraries with at least one composite custom column by reading format info on demand" - title: "When automatically deleting news older than x days, from the calibre library, only delete the book if it both has the tag News and the author calibre. This prevents accidental deletion of books tagged with News by the user." - title: "Driver for Infibeam Pi 2" - title: "Add a Tag Editor for tags like custom columns to the edit metadata dialog" bug fixes: - title: "E-book viewer: Fix regression in 0.8.35 that caused viewer to raise an error on books that did not define a language" - title: "Content server: Fix grouping for categories based on custom columns." tickets: [919011] - title: "Edit metadata dialog: When setting the series from a format or via metadata download, ensure that the series index is not automatically changed, when closing the dialog." tickets: [918751] - title: "When reading metadata from Topaz (azw1) files, handle non ascii metadata correctly." tickets: [917419] - title: "CHM Input: Do not choke on CHM files with non ascii internal filenames on windows." tickets: [917696] - title: "Fix reading metadata from CHM files with non-ascii titles" - title: "Fix HTML 5 parser choking on comments" - title: "If calibre is started from a directory that does not exist, automatically use the home directory as the working directory, instead of crashing" - title: "Fix iriver story HD Wi-Fi device and external SD card swapped" tickets: [916364] - title: "Content server: Fix ugly URLs for specific format download in the book details and permalink panels" - title: "When adding FB2 files do not set the date field from the metadata in the file" improved recipes: - OReilly Premuim - Variety - Blic - New Journal of Physics - Der Tagesspiegel new recipes: - title: Tweakers.net author: Roedi06 - title: Village Voice author: Barty - title: Edge.org Conversations author: levien - title: Novi list - printed edition author: Darko Miletic - version: 0.8.35 date: 2011-01-13 new features: - title: "Metadata plugboards: Allow creation of plugboards for email delivery." tickets: [914012] - title: "Tweak EPUB: Also allow tweaking of HTMLZ files (when both EPUB and HTMLZ are present, EPUB is preferred, this can be changed via Preferences->Tweaks)." - title: "TXT Input: Support direct conversion of files with extensions .md, .markdown and .textile." tickets: [912931] - title: "E-book viewer: Speed up the optional hyphenation algorithm by upgrading the hyphenator library calibre uses" - title: "Drivers for PocketBook 611, Motorola Razr Droid and Onyx Boox i62" bug fixes: - title: "MOBI Output: When converting a paragraph that contains only a non-breaking space into a line break, ignore paragraphs with height less than 2pt." tickets: [915150] - title: "MOBI Input: Handle MOBI files that specify anchor point exactly at pagebreaks. These are apparently produced by John Wiley and Sons." tickets: [914036] - title: "Fetch news dialog: The Download now button is no longer scrolled out of view on OS X for news sources that require credentials" - title: "Fix commas being removed from author names when generating filenames in the calibre library" - title: "ODT Input: Dont crash on empty links" - title: "ebook-convert: Allow use of leading ./ when specifying output file names." tickets: [913954] - title: "Fix deleting of hierarchical searches broken in Tag Browser" tickets: [912345] - title: "Metadata search and replace: Fix rendering error when choosing {template}" tickets: [913154] - title: "Fix calibre not starting when stray .po files are present in the working directory" tickets: [913054] - title: "Do not error out when getting metadata for authors if the author name has either ::: or :#: in it." tickets: [912713] improved recipes: - Pagina 12 - USA Today - LWN Weekly - Seattle Times - San Jose Mercury - Grantland.com new recipes: - title: Lega Nerd and Pambianco author: faber1971 - title: Various Turkish news sources author: asalet_r - title: Microwave Journal author: Kiavash - title: OReilly Premium author: TechnoCat - title: Hamilton Spectator and Tillsonburg/Norfolk County author: Eric Coolman - title: Opinion Bolivia author: Piet van Oostrum - title: ideal.es author: Josemi Liebana - title: Novilist Portal author: Darko Miletic - version: 0.8.34 date: 2012-01-06 new features: - title: "Apple driver: Set the year field in iTunes based on the published date in calibre." tickets: [909050] - title: "EPUB Input: When converting a file that has entries in the manifest that do no exist, remove them, instead of aborting the conversion." tickets: [910933] - title: "Kindle driver: Ensure page counts are correctly sent to the device when connecting to Kindle 4/Touch." tickets: [910279] - title: "Allow user to set the number of recently viewed books shown in the dropdown menu of the view button, via a tweak in Preferences->Tweaks." tickets: [910292] bug fixes: - title: "Fix regression in 0.8.33 that caused calibre to crash when starting the Content Server, if the port the content server is trying to listen on is blocked/busy." tickets: [910512] - title: "MOBI Input: Fix regression that caused a mixup of images when the MOBI file header contains an incorrect first image index pointer." tickets: [911243] - title: "Do not remove leading and trailing spaces from the replace fields in the Search and Replace conversion options" tickets: [910523] - title: "Conversion pipeline: Fix regression in 0.8.31 that broke parsing of documents containing a self closing <title/> tag." tickets: [910325] improved recipes: - Kopalnia Wiedzy - Alternet - Tagesspiegel - Philadelphia Inquirer - Seattle Times - La Razon new recipes: - title: Various Italian news sources author: faber1971 - title: money.pl author: intromatyk - title: Diario Rio Negro author: Darko Miletic. - title: FHM UK author: Dave Asbury - version: 0.8.33 date: 2011-12-30 new features: - title: "LIT Input: Switch to non-recursive algorithm, to allow conversion of files with deeply nested markup." tickets: [909535] - title: "Content server: Do not show the original_* formats in the mobile interface. Also upgrade to the latest CherryPy release." - title: "E-book viewer: Add option in viewer preferences to control how much the font size is changed when you click the make fonts bigger/smaller buttons." tickets: [908980] - title: "E-book viewer: Allow changing font size via Ctrl+Mouse wheel" tickets: [908975] - title: "Kobo driver: Hide previews and recommendations from the book list. You can customize the Kobo plugin if you would like to see them via Preferences->Plugins" bug fixes: - title: "Copy to library: Fix title sort not being copied" - title: "PDF Output: Add custom size conversion option to the GUI (it was only present on the command line before)" - title: "Add missing --keep-ligatures option to the ebook-convert command line" tickets: [909182] - title: "Fix rendering of non ascii characters in generated masthead images when downloading news for the Kindle" - title: "Linux binary: Disable qt-sp-api as it causes crashes/performance issues on various distros" - title: "E-book viewer: Ensure that reference mode highlighting is removed from the book when reference mode is closed." tickets: [908982] - title: "Fix unable to load plugins from files on GNOME/XFCE desktops" - title: "Fix regression that broke customizing toolbars on non English calibre installs" - title: "Conversion pipeline: Disable HTML 5 parsing if it results in deeply nested trees." tickets: [908818] - title: "Do not loose position in book list on device connection/sync, if a search is active." tickets: [908553] - title: "Fix regression in 0.8.32 that broke deleting books if the path to the library contained non-ascii characters on linux" tickets: [908068] improved recipes: - Echo Online - La Razon new recipes: - title: NYTimes Global author: Krittika Goyal - title: Grantland author: Barty - version: 0.8.32 date: 2011-12-23 new features: - title: "Linux: When deleting books, send them to the recycle bin, instead of permanently deleting. This is the same behavior as on Windows and OS X." - title: "Add a checkbox to allow users to disable the popup that asks if books should be auto-converted before sending to device" - title: "Drivers for Droid Razr, Samsung GT-I9003 and Bookeen Odyssey" tickets: [906356, 906056, 905862] - title: "Allow passing multiple filenames as command line arguments to calibre, to add multiple books." tickets: [907968] bug fixes: - title: "MOBI Output: Fix regression in 0.8.30 that caused the use of hidden heading elements for the TOC to generate links in the wrong place." tickets: [907156] - title: "EPUB Output: Ensure directories have the correct permissions bits set when unzipping an epub with unzip on Unix" - title: "Fix bottom most shortcuts in keyboard shortcuts for viewer not editable" - title: "EPUB Output: Fix handling of self closing <audio> tags." tickets: [906521] - title: "MOBI Input: Map invalid <o:p> tags to <p> tags before parsing, to handle broken nesting." tickets: [905715] - title: "Conversion pipeline: HTML5 parsing: Fix handling of XML namespaces. Fixes regression in 0.8.30 that caused some articles in some news downloads to appear blank when viewed in Adobe Digital Editions based readers" - title: "Get Books: Gandalf store, fix price and cover detection" - title: "EPUB Output: Fix the Flatten filenames option in EPUB Output causing duplicated manifest ids in rare cases." tickets: [905692] - title: "When adding books via ISBN, show the user the list of invalid ISBNs that will be ignored, if any, before starting the add operation." tickets: [905690] - title: "Fix unsmarten punctuation conversion option broken in 0.8.31." tickets: [905596] - title: "Fix broken evaluation of composite columns in save-to-disk" improved recipes: - Cosmopolitan UK - Hindustan Times - HVG - moneynews.com - Ming Pao - Glasgow Herald - Times of India - Focus Magazine - Hacker News - Independent - Sueddeutsche new recipes: - title: Prospect Magazine UK author: Barty and duoloz - title: Elet es Irodalom and NOL author: Bigpapa - title: Salonica Press News author: SteliosGero - title: Echo Online author: Armin Geller - title: Various Polish news sources author: fenuks - title: Various Italian news sources author: faber1971 - version: 0.8.31 date: 2011-12-16 new features: - title: "Conversion engine: When parsing invalid XHTML use the HTML 5 algorithm, for greater robustness." tickets: [901466] - title: "Driver for PocketBook 611 and Lenovo IdeaPad" - title: "Allow customization of the order in which custom column editing is performed in the edit metadata dialog. Setting is available via Preferences->Tweaks." tickets: [902731] - title: "MOBI news download: Allow recipes to set a thumbnail for entries in the periodical table of contents. Currently used by the NYTimes, WSJ, Independent, GUardian and Globe and Mail recipes" tickets: [900130] - title: "E-book viewer: Add an option to the right click menu to search for the currently selected word" - title: "Automatically hide the no internet connection available error message if the connection is restored before the user clicks OK" bug fixes: - title: "Fix comments not hidden in Book details panel when they are turned off via Preferences->Look & Feel->Book Details" - title: "E-book viewer: Do not popup an error message if the user tries to use the mouse wheel to scroll before a document is loaded." tickets: [903449] - title: "Add docx to the list of ebook extensions." tickets: [903452] - title: "When downloading metadata from non-English Amazon websites, do not correct the case of book titles." - title: "Fix regression in 0.8.30 that broke bulk conversion of a single book." tickets: [902506] - title: "When minimized to system tray do not display the no internet connection error as a dialog box, instead use a system tray notification" - title: "Catalog generation: Include the series_index field for custom series columns as well" - title: "Comic Input: Do not rescale images when using the Tablet output profile (or any output profile with a screen size larger than 3000x3000)" - title: "HTML Input: Ignore unparseable URLs instead of crashing on them." tickets: [902372] improved recipes: - La Republica - CND - Berliner Zeitung - Zaman Gazetesi new recipes: - title: CND Weekly author: Derek Liang - title: descopera.org author: Marius Ignatescu - title: Rynek Zdrowia author: spi630 - version: 0.8.30 date: 2011-12-09 new features: - title: "Get Books: Add amazon.es and amazon.it" - title: "Bulk convert dialog: Disable the Use saved conversion settings checkbox when none of the books being converted has saved conversion settings" - title: "ebook-viewer: And a command line switch to specify the position at which the file should be opened." tickets: [899325] - title: "Distribute calibre source code compressed with xz instead of gzip for a 40% reduction in size" bug fixes: - title: "Get Books: Fix ebooks.com and amazon.fr. Fix cover display in Diesel ebooks store." - title: "HTML Input: Fix regression that broke processing of a small fraction of HTML files encoded in a multi-byte character encoding." tickets: [899691] - title: "Greatly reduce the delay at the end of a bulk metadata edit operation that operates on a very large number (thousands) of books" - title: "Template language: Fix the subitems formatter function to split only when the period is surrounded by non-white space and not another period" - title: "Fix ampersands in titles not displaying in the Cover Browser" - title: "MOBI Output: Do not ignore an empty anchor at the end of a block element." - title: "MOBI Output: Handle links to inline anchors placed inside large blocks of text correctly, i.e. the link should not point to the start of the block." tickets: [899831] - title: "E-book viewer: Fix searching for text that is represented as entities in the underlying HTML." tickets: [899573] - title: "Have the Esc shortcut perform exactly the same set of actions as clicking the clear button." tickets: [900048] - title: "Prevent the adding books dialog from becoming too wide" - title: "Fix custom column editing not behaving correctly with the Previous button in the edit metadata dialog." tickets: [899836] - title: "T1 driver. More fixes to datetime handling to try to convince the T1's buggy firmware to not rescan metadata." tickets: [899514] - title: "Only allow searching via non accented author names if the user interface language in calibre is set to English." tickets: [899227] improved recipes: - Die Zeit subscription - Metro UK - suedeutsche.de new recipes: - title: Blues News author: Oskar Kunicki - title: "TVXS" author: Hargikas
2012-01-21 18:53:32 +01:00
cd ${WRKSRC} && rm -rf src/cherrypy src/pyPdf src/html5lib src/chardet
post-install:
cd ${WRKSRC}/recipes && pax -wr -pma *.recipe \
${DESTDIR}${PREFIX}/share/calibre/recipes
cd ${WRKSRC} && pax -wr -pma Changelog* README \
COPYRIGHT INSTALL LICENSE.* \
${DESTDIR}${PREFIX}/share/doc/calibre
.include "../../lang/python/application.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/chmlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.libusb+= libusb>=0.1.12
.include "../../devel/libusb/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
BUILDLINK_API_DEPENDS.ImageMagick+= ImageMagick>=6.5.9
.include "../../graphics/ImageMagick/buildlink3.mk"
BUILDLINK_API_DEPENDS.pyimaging+= ${PYPKGPREFIX}-imaging>=1.1.6
.include "../../graphics/py-imaging/buildlink3.mk"
BUILDLINK_API_DEPENDS.libwmf+= libwmf>=0.2.8
.include "../../graphics/libwmf/buildlink3.mk"
.include "../../lang/python/egg.mk"
_PYSETUPTOOLSINSTALLARGS= # empty
# Get rid of --root=${DESTDIR}, use our own version from above instead.
# because the setup.py is not the standard one and behaves differently.
_PYSETUPINSTALLARGS= ${PYSETUPINSTALLARGS} ${PYSETUPOPTARGS} ${_PYSETUPTOOLSINSTALLARGS}
#.include "../../lang/python/extension.mk"
.include "../../print/podofo/buildlink3.mk"
# ??? BUILDLINK_API_DEPENDS.podofo+= podofo>=0.8.2
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
BUILDLINK_API_DEPENDS.poppler-qt4+= poppler-qt4>=0.12.0
.include "../../print/poppler-qt4/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/hal/buildlink3.mk"
BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.82.2
.include "../../sysutils/py-dbus/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../textproc/py-elementtree/buildlink3.mk"
.include "../../x11/py-sip/buildlink3.mk"
BUILDLINK_API_DEPENDS.py-qt4+= ${PYPKGPREFIX}-qt4>=4.7.0
.include "../../x11/py-qt4/buildlink3.mk"
BUILDLINK_API_DEPENDS.qt4-tools+= qt4-tools>=4.7.0
.include "../../x11/qt4-tools/buildlink3.mk"
Update to 0.8.69 * Depend on qt4-qdbus * Fix build on NetBSD at least * Many improvements * Many bugfixes Changelog: In detail, see http://www.calibre-ebook.com/whats-new E-book viewer: Support the display of mathematics in e-books. Supports both embedded TeX and MathML [0.8.66] The calibre ebook viewer can now display embedded mathematics (symbols, equations, fractions, matrices, etc.) in EPUB and HTML ebooks. For details, see: http://manual.calibre-ebook.com/typesetting_math.html [External link] A new wireless device driver. This allows connecting wirelessly to a device running a 'smart' calibre client [0.8.65] The wireless connection functions just as if the device was plugged into the computer by USB cable. Currently, Android devices are supported. See https://play.google.com/store/apps/details?id=com.multipie.calibreandroid [External link] E-book viewer: Add a paged mode that splits up the text into pages, like in a paper book instead of presenting it as a single column. To activate click the button with the yellow scroll icon in the top right corner. [0.8.61] In paged mode, the ebook viewer no longer cuts off the last line of text at the bottom of the screen, and it respects CSS page-break directives. You can also set page margins and control the number of pages displayed on screen by clicking the Preferences button in the viewer and going to 'Text layout in paged mode'. When searching, allow use of un-accented characters to match accented characters in all fields and all languages (not just authors and English as before) [0.8.60] The rules for matching un-accented characters are done in a language dependent way. So if your calibre interface language is set to English, n will match both n and ©ç, but if it is set to Spanish, it will match only n, as in Spanish ©ç is a separate alphabet in Spanish. This makes searching a little slower, so if you have a very large library you can turn it off via Preferences->Searching. PDF Output: Full pagination support. No more cutoff bottom line. [0.8.57] Fixes a long standing bug in calibre's PDF Output that caused the bottom line of some pages to be partially cut off and prevented top and bottom margins from working. Make the new calibre style default on Windows and OS X. [0.8.56] This change gives a more 'modern' feel to the calibre user interface with focus highlighting, gradients, rounded corners, etc. In case you prefer the old look, you can restore under Preferences->Look & Feel->User interface style E-book viewer: The Table of contents panel now tracks the current position in the book. As you scroll through the book, the entry you are currently on is highlighted. [0.8.54] To see this feature in action, open the Table of Contents panel in the viewer by clicking the button with three blue lines on it. As you page through the book, the chapter you are reading currently is highlighted in the Table of Contents Panel. Obviously, this will only work if the book you are reading has a Table of Contents. You can also use the Ctrl+PgUp and Ctrl+PgDn keys to quickly skip between chapters.
2012-09-19 17:38:26 +02:00
BUILDLINK_API_DEPENDS.qt4-qdbus+= qt4-tools>=4.7.0
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"