Up to [cvs.NetBSD.org] / pkgsrc / graphics / py-mcomix
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Forget Python 3.10
*: recursive bump for pcre2 10.49
*: revbump for pcre2 symbol versioning change
*: recursive bump for pcre2 10.48
py-mcomix: update to 3.2.0. ### Bug fixes - Adapt keybinding handling to changed API of Gtk.accelerator_parse in newer versions of Gtk. This fixes broken keybindings. - The pytest package needed for running MComix' unit tests is now installed when installing the `dev` dependency group. ### Features - MComix now respects the XDG Thumbnail Directory specification (again), and will store thumbnails relative to XDG_CACHE_HOME instead of relative to the home directory on UNIX systems. Nothing changes on Windows. Note: Existing thumbnails in the former cache directory ($HOME/.thumbnails) are not moved automatically by this update. - Added new sort order option (GLib order) that uses GTK collate keys when computing file order.
*: limit Python versions due to py-numpy dropping Python 3.11 support
py-mcomix: use gzcat for .gz files
py-mcomix: update to 3.1.1. # MComix 3.1.1 ## Release date: 2025-09-06 ### Bug fixes - Added official mime types for CBZ/CBR comic books to desktop metadata file. - Fix "context has already been set" error in Python 3.13. # MComix 3.1.0 ## Release date: 2024-01-21 ### Features - Image colors can be negated in the Image Enhancement dialog. Furthermore, enhancements now apply to most UI elements, such as sidebar thumbnails, magnified lens image and library covers. - "Fit to size" has been generalised. Bounds can now be set independently for width and height, and different bounds can be applied to wide pages and other pages. ### Bug Fixes - Fixed regression from 2.0.0 in Library collection list. The bug prevented drag-and-dropping books from the main book area into a collection. - Added official MIME types for CBZ/CBR files to list of supported archive formats. - Fixed a bug that caused the "Recent" pseudo-collection in the Library to be displayed with the wrong localized name in some cases. - Fixed error when re-opening an archive in double-page mode, thanks to a patch by Spencer Berger. - Improved robustness to invalid UTF-8. - Fixed copy/paste error in application metadata XML file (thanks to Emfox Zhou) - The library search field now considers not only the book name, but also its full path, as the tooltip already stated. # MComix 3.0.0 ## Release date: 2023-09-16 ### Breaking Changes - MComix no longer uses the now obsolete setup.py-based installation and packaging. Instead, it is based on pyproject.toml with setuptools as build backend (since MComix already had a dependency on it anyway). - Due to this change, application meta files (such as mcomix.desktop) that usually go into /usr/share are no longer copied automatically by the installation process, since the Python ecosystem is moving away from packaging files outside of the Python package itself. - Source archives will be distributed in .tar.gz format only, since this is what the Python packaging specifications mandate. - When the package is installed, simply run "mcomix". `mcomixstarter.py` is no longer needed. - Refer to the installation documentation at https://sourceforge.net/p/mcomix/wiki/Installation/ for more information. - The Windows all-in-one ZIP package is now called simply mcomix-win64-\<version\>.zip. - Former `README` and `ChangeLog` have been converted to Markdown format and are now called `README.md` and `ChangeLog.md`. - On Win32, the MComix user folder, formerly in `%HOMEPATH%/MComix`, has been moved to `%APPDATA%/MComix` to be more in line with regular Windows directory conventions. The old directory will be automatically migrated on startup. ### Bug fixes - Fix regression from version 2.0.0 that triggered the wrong hotkey functionality when the SHIFT modifier was involved on Windows (for example, SHIFT+Space only triggered Space) - MComix should now be properly selectable as default application on Windows in the "Open with..." shell dialog. - Fixed broken thumbnail generation using the Python PDF extraction manager on Windows. - Fixed bug in Python PDF extraction that prevented rotated PDF images being displayed without rotation. - Fixed regression from version 2.2.0 that broke archive password handling. - MComix previously didn't remember to restore the "maximized" window state when restarting. - Fixed window not being restored at correct position after restarting when runnig on Windows. ### Features - MComix automatically switches to a dark theme if Windows color settings are set to "Dark". - MComix now has a Windows MSI installer. Users no longer have to manually extract the ZIP archive and move around files. # MComix 2.3.0 ## Release date: 2023-08-26 ### Bug fixes - Updated the bundled UnRAR64.dll in the Win32 All-In-One package to the latest version. Old versions may or may not be affected by a remote code execution vulnerability recently fixed in WinRAR 6.23. - Restored Python 3.7 compatibility in native PDF extractor. - Added missing pdf_native submodule to source distribution. ### Features - MComix now offers a high-resolution application icon. # MComix 2.2.1 ## Release date: 2023-07-12 ### Bug fixes - Added missing vendor package to source distribution. # MComix 2.2.0 ## Release date: 2023-07-11 ### Bug fixes - Fixed incorrect PDF transformations on systems using a recent version of MuPDF. - Fixed incompatibility with Pillow 10.0.0 due to bug in version check. ### Features - MComix can now use the PyMuPDF Python package to provide PDF reading capabilities, with improved extraction/decoding speed. - Added support for MobiPocket (AZW3) format books. Archives with DRM are not supported. - The OSD now shows the current page and the total number of pages. - The tabs of the Preferences dialog are scrollable so all dialog tabs can be properly used on smaller screens. - Updated the simplified Chinese translation. # MComix 2.1.1 ## Release date: 2023-05-15 ### Bug fixes - 7z.dll is again bundled with Windows all-in-one package. - Improved quality and speed of the magnifying lens. - Added new de facto IEC prefixes. - Window size should be remembered correctly again when restarting the application. - Replaced usage of deprecated GTK threading/timer functionality. - Fixed GLib application name. This improves integration with Gnome.
*: recursive bump for removal of cairo's xcb option
*: switch all sourceforge HOMEPAGEs to https
*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
py-mcomix: convert to wheel.mk Bump PKGREVISION.
*: bump for cairo buildlink3.mk change lzo was made an option
*: recursive bump for cairo dependency changes
*: revebump for new brotli option for freetype2 Addresses PR 57693
*: update for Python base package change Instead of depending on one of the removed packages (that are now included in the base Python packages), include batteries-included.mk to require a Python version that supplies them. Remove now included packages. Bump PKGREVISION.
py-mcomix: fix DEPENDS line
*: Recursive revbup from graphics/freetype2
py-mcomix: update to 2.1.0.
MComix 2.1.0
Release date: 2022-12-17
BUG FIXES
- Fixed byte/unicode error in library search text field.
- Fixed DPI detection for PDFs which cannot be decoded using UTF-8.
- Fixed magnifying lens errors when image was rotated.
- Fixed another byte/unicode error in file chooser dialog.
- 7z archives with encrypted header could not be extracted on Windows,
as MComix did not properly parse that the archive needed password input.
FEATURES
- Added option to customize space between pages in double-page mode.
- Added options to open first file/archive when going backwards to
previous archive/directory.
- The "Fit to same size" option now results in more aggressively distorted
images to make them fit, if necessary. The old, more conservative
behaviour is available via the "Prefer same size" option.
MComix 2.0.2
Release date: 2022-05-20
BUG FIXES
- Fixed bytes/unicode error in library 'Add collection' dialog.
- Fixed missing localization and image resources after calling
"setup.py install"
- Fixed bytes/unicode error in unrar executable extraction handler.
- Fixed one more instance of incorrect color conversion from preferences.
MComix 2.0.1
Release date: 2022-03-09
BUG FIXES
- Fixed conversion of unexpected color values from stored preferences.
- Fixed error trying to display page file size within archives where
members have not been extracted yet.
- Fixed bytes/unicode error in the library 'Add Book' dialog.
- Fixed endless password popup when library fails to genrate thumbnail
for password-protected archive.
- Handle error when thumbnail metadata Thumb::MTime is a floating point
number.
- Fixed alphanumeric sort for names with mismatched text/number patterns.
- Fixed unicode/bytes error in "Save as" dialog, as well as errors
when saving double-page images.
- Reduced declared minimum PyGObject version to 3.36.0 as well as
PyCairo to 1.16.0.
- Fixed minimum Pillow requirement in code not matching setup.py.
MComix 2.0.0
Release date: 2022-01-29
BREAKING CHANGES
- MComix now requires Python 3.7 or newer, as well as GTK+ 3, PyGObject, and
PyCairo. Minimum Pillow version has been increased to 6.0.0.
- MComix no longer depends on the setuptools module. Optional dependencies
on czipfile and subprocess32 have been removed, since they are no longer
supported or necessary for Python 3.
KNOWN ISSUES
- The MComix window will not remember its last position on Windows. Code
that works on Linux causes the window to fly off the screen for some
reason.
FEATURES
- Animated image formats are now supported. Previously, MComix would only
display the first frame.
- Supported image formats are now a combination of formats supported by
GDK/Pixbuf and Pillow formats.
TRANSLATION
- Added Lithuanian translation
- Updated Swedish and Korean translation
*: set USE_PKG_RESOURCES for some more packages
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
Use py-Pillow6
*: Convert broken sourceforge HOMEPAGEs back to http
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
graphics: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8
py-mcomix: Fix incompatibility with PIL 6.0.0. Using upstream patch. Bump PKGREVISION.
Omit mentions of python 34 and 35, after those were removed. - Includes some whitespace changes, to be handled in a separate commit.
extend PYTHON_VERSIONS_ for Python 3.7
py-mcomix: switch to py-Pillow. Bump PKGREVISION.
Add python-3.6 to incompatible versions.
fix read subprocess stdout line by line. Bump PKGREVISION.
Add dependency to databases/py-sqlite3.
Add dependency to archivers/py-czipfile.
Remove python33: adapt all packages that refer to it.
Updated py-mcomix to 1.2.1.
MComix 1.2.1
Release date: 2016-02-12
ENVIRONMENT/LOCALE/TRANSLATIONS:
- Fixed a bug that made it impossible to open a book with MComix directly if
the path contains spaces (Windows only)
- Updated libraries for the Windows distribution: UnRAR DLL
MComix 1.2
Release date: 30.01.2016
GUI/MAIN:
- If metadata-based rotation is enabled, PNG files will be automatically
rotated as well.
- Double page mode respects Exif rotation now.
- Some transformation issues have been fixed. In double page mode, all
transformations are applied to the union of both pages. Also, reflection
is performed first, followed by rotation.
- Some OSD issues have been fixed.
- When flipping pages, the content of the viewport does not appear
somewhere else first anymore.
- The default scaling quality is now "Bilinear".
GUI/THUMBNAILER:
- The thumbnailer now displays page numbers in a reasonable color
appropriate for the respective background color.
- The thumbnailer uses the same size for all thumbnails now. If thumbnails
need to be rescaled, it is done using linear interpolation.
- When using the keyboard, the thumbnailer now tries to keep the currently
selected page in the upper half of its area.
- The size of the thumbnailer is calculated more reasonably now.
- Fixed a bug that could lead to crashes if the thumbnailer uses a dynamic
background color.
- The "missing image" icon appears in its original size in the thumbnailer.
- Fix race condition that could lead to thumbnails being rendered with
different sizes.
- Added a workaround for a bug in gdk-pixbuf that could prevent thumbnails
of animated GIF images from being rendered properly. For details, see
https://bugzilla.gnome.org/show_bug.cgi?id=735422
- Re-enabled double buffering for the thumbnailer.
GUI/LIBRARY:
- Some encoding issues with the library have been fixed.
- The cover display in the library has been fixed.
- The book area uses a tighter layout.
- Various other issues with the library have been fixed.
GUI/EDITARCHIVE:
- Applying changes in the "Edit archive" dialog could raise an exception
under certain circumstances. This has been fixed.
- Fixed a bug that prevented MComix from shutting down properly if an
archive with no images in it has been opened or the "Edit archive" dialog
has been used.
- Some issues with displaying thumbnails in the "Edit archive" dialog have
been fixed.
GUI/WM:
- Fullscreen handling has been improved.
- The Preferences dialog is not modal anymore.
- When clicking on the thumbnailer while the main window is unfocused, the
window should be focused only without switching to another page. This has
been fixed so it works properly now.
- Modal dialogs do not immediately hide the mouse cursor in the main area
anymore.
- Fix various minor window manager interaction issues.
- The default window width is now 640 pixels.
GUI/MISC:
- You can select the text in the Properties dialog now.
- The "Continue reading" dialog defaults to "Yes" now.
- Dialogs refresh their respective contents whenever you switch to another
page or book.
- The password dialog now displays the path of the archive.
- Overall widget handling has been fixed and improved. This also eliminates
some GTK warnings.
- Fixed a lot of issues with empty directories and empty archives.
- File name filters and supported formats handling have been improved.
- Various other issues with the Preferences dialog and the Properties
dialog have been fixed.
- Recently opened PDF files are now listed in the "Recent Files" menu.
ENVIRONMENT/LOCALE/TRANSLATIONS:
- The list of supported image formats is now determined dynamically,
depending on the underlying libraries. This might implicitly add support
for image formats such as WebP.
- Due to a bug, PIL (or Pillow) was preferred over GdkPixbuf on Windows
in earlier versions. Now, GdkPixbuf will be preferred on Windows as well.
- MComix uses czipfile when available to speed up extraction of
encrypted zip files.
- Zombie processes will be removed if possible.
- Some issues related to child processes have been fixed. Unnecessary
console windows should not appear anymore.
- File descriptors will be properly closed when possible. This fixes an
issue especially on Windows where files used to stay "locked".
- Searching for external tools (e.g. MuPDF) is performed more properly now.
- Temporary directories will be created only when necessary and will be
deleted as soon as the corresponding book has been closed.
- The shebangs now ask for python2 instead of just python so we do not
accidentally run Python 3.
- comicthumb has been rewritten to make it consistent with MComix.
- Some locale issues have been fixed.
- The French translation has been updated.
- The Russian translation has been updated (by Ulyanich Michael).
- The Korean translation has been updated (by Gyeongmin Bak).
- Fixed PDF support with newer versions of MuPDF (1.7 and 1.8).
- Better support for using the 7z executable: encrypted files are now
supported (including encrypted header support, and for all supported
formats: 7z, RAR and ZIP).
- Fixed an issue with unrar.dll that could lead to crashes if 7z is also
present.
- Improved detection of available RAR extractors. (unrar-free is currently
incompatible with MComix and will be ignored.)
- Fixed support for LHA archives (they were always marked as empty).
- Fixed support for tar.xz archives (they were always marked as empty).
- Updated libraries for the Windows distribution: Pillow 3.1.0 and
UnRAR 5.30
- On Windows, MComix normally appears to be frozen on startup while
fontconfig is updating the font cache. As a workaround, a window will be
displayed.
- Fix MComix not starting when 'auto load last file' is on and the last
attempt at opening a file was an invalid path
- The Windows icon file mcomix.ico has been updated.
MISC:
- The MIME database has been updated.
- The Py2Exe workaround has been removed.
- A Wine-based helper script allows building Windows versions of MComix in
Wine.
- Huge code refactoring, cleanups and documentation updates
- Various minor bug fixes and improvements
- New code and examples for testing, improved logging
- New version numbering scheme in compliance with PEP440
- ChangeLog updated for MComix 1.01
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
PR/50114: Update py-mcomix to 1.01. - Keyboard shortcuts can now be edited from MComix' preference dialog in a new tab "Shortcuts". (by Valentin Gologuzov) Please not that the arrow keys, Backspace and Escape cannot be bound to actions right now, unless you're manually editing the config file. - During database upgrade, MComix did not consider that books in the "Last read" database might no longer exist, leading to program crash. This has been fixed. - Adding a collection with a numeric name to the library made the library unusable. This has been fixed. - Fixed win32 builds missing the 'calendar' module. - Fixed bookmarks not being displayed in the Ubuntu Unity global menu. - Fixed 'Continue reading' not working when files are opened from the command line (by Boris Bogar). - Improved page extraction and caching algorithm, leading to much better responsiveness, especially for viewing large archives. (by Benoit Pierre) - MComix will now always hide the mouse cursor after a period of inactivity, even when not in fullscreen mode. (by Benoit Pierre) - The ALT+Left and ALT+Right keys will now either advance one page, or go back one page, depending on the user being in manga mode. - CTRL plus mouse wheel will now zoom in/out one level. - Manual zooming will now use a logarithmic scale instead of a linear spline. - The library will now use natural sorting for "Sort by name" and "Sort by path" instead of alphanumeric sorting, bringing it in line with most other sorting done by MComix. - Adding a book to a collection with the same book already existing in another collection did not immediately show the book in the library main view when the new collection was already selected. - MComix can now use the '7z' executable to read .tar.xz and .tar.lzma archives. - ZIP archives using BZIP2 compression will now fall back to external unzip/7z instead of failing (by Awad Mackie). - MComix can now read PDF files using tools provided by mupdf, namely mutool and mudraw. (by Benoit Pierre) - Double page mode will not implicitly resize images anymore. - The smart scrolling algorithm has been improved. - Some issues with the magnifying glass have been fixed. - Some new variables have been introduced that you can use when running external commands. See the documentation for details: https://sourceforge.net/p/mcomix/wiki/External_Commands - MComix will now use the current GTK theme's icons for Next/Previous buttons. - Added AppData meta information for software repositories. - Updated traditional Chinese translation (by Wayne Su).
Fix build with py-setuptools-0.8.
Fixes dependency versions, allow py-imaging again.
There was no py-imaging-2.12.0 or higher, so just depend on py-Pillow.
Import py-mcomix-1.00 as graphics/py-mcomix. Based on PR pkg/48992 by NONAKA Kimihiro. MComix is a user-friendly, customizable image viewer. It is specifically designed to handle comic books, but also serves as a generic viewer. It reads images in ZIP, RAR, 7Zip or tar archives as well as plain image files.