head	1.35;
access;
symbols
	pkgsrc-2026Q1:1.34.0.2
	pkgsrc-2026Q1-base:1.34
	pkgsrc-2025Q4:1.33.0.2
	pkgsrc-2025Q4-base:1.33
	pkgsrc-2025Q3:1.31.0.4
	pkgsrc-2025Q3-base:1.31
	pkgsrc-2025Q2:1.31.0.2
	pkgsrc-2025Q2-base:1.31
	pkgsrc-2025Q1:1.30.0.8
	pkgsrc-2025Q1-base:1.30
	pkgsrc-2024Q4:1.30.0.6
	pkgsrc-2024Q4-base:1.30
	pkgsrc-2024Q3:1.30.0.4
	pkgsrc-2024Q3-base:1.30
	pkgsrc-2024Q2:1.30.0.2
	pkgsrc-2024Q2-base:1.30
	pkgsrc-2024Q1:1.29.0.4
	pkgsrc-2024Q1-base:1.29
	pkgsrc-2023Q4:1.29.0.2
	pkgsrc-2023Q4-base:1.29
	pkgsrc-2023Q3:1.26.0.2
	pkgsrc-2023Q3-base:1.26
	pkgsrc-2023Q2:1.25.0.4
	pkgsrc-2023Q2-base:1.25
	pkgsrc-2023Q1:1.25.0.2
	pkgsrc-2023Q1-base:1.25
	pkgsrc-2022Q4:1.23.0.8
	pkgsrc-2022Q4-base:1.23
	pkgsrc-2022Q3:1.23.0.6
	pkgsrc-2022Q3-base:1.23
	pkgsrc-2022Q2:1.23.0.4
	pkgsrc-2022Q2-base:1.23
	pkgsrc-2022Q1:1.23.0.2
	pkgsrc-2022Q1-base:1.23
	pkgsrc-2021Q4:1.21.0.8
	pkgsrc-2021Q4-base:1.21
	pkgsrc-2021Q3:1.21.0.6
	pkgsrc-2021Q3-base:1.21
	pkgsrc-2021Q2:1.21.0.4
	pkgsrc-2021Q2-base:1.21
	pkgsrc-2021Q1:1.21.0.2
	pkgsrc-2021Q1-base:1.21
	pkgsrc-2020Q4:1.20.0.8
	pkgsrc-2020Q4-base:1.20
	pkgsrc-2020Q3:1.20.0.6
	pkgsrc-2020Q3-base:1.20
	pkgsrc-2020Q2:1.20.0.4
	pkgsrc-2020Q2-base:1.20
	pkgsrc-2020Q1:1.20.0.2
	pkgsrc-2020Q1-base:1.20
	pkgsrc-2019Q4:1.18.0.4
	pkgsrc-2019Q4-base:1.18
	pkgsrc-2019Q3:1.17.0.2
	pkgsrc-2019Q3-base:1.17
	pkgsrc-2019Q2:1.16.0.2
	pkgsrc-2019Q2-base:1.16
	pkgsrc-2019Q1:1.14.0.6
	pkgsrc-2019Q1-base:1.14
	pkgsrc-2018Q4:1.14.0.4
	pkgsrc-2018Q4-base:1.14
	pkgsrc-2018Q3:1.14.0.2
	pkgsrc-2018Q3-base:1.14
	pkgsrc-2018Q2:1.13.0.4
	pkgsrc-2018Q2-base:1.13
	pkgsrc-2018Q1:1.13.0.2
	pkgsrc-2018Q1-base:1.13
	pkgsrc-2017Q4:1.12.0.10
	pkgsrc-2017Q4-base:1.12
	pkgsrc-2017Q3:1.12.0.8
	pkgsrc-2017Q3-base:1.12
	pkgsrc-2017Q2:1.12.0.4
	pkgsrc-2017Q2-base:1.12
	pkgsrc-2017Q1:1.12.0.2
	pkgsrc-2017Q1-base:1.12
	pkgsrc-2016Q4:1.11.0.2
	pkgsrc-2016Q4-base:1.11
	pkgsrc-2016Q3:1.10.0.2
	pkgsrc-2016Q3-base:1.10
	pkgsrc-2016Q2:1.7.0.2
	pkgsrc-2016Q2-base:1.7
	pkgsrc-2016Q1:1.6.0.4
	pkgsrc-2016Q1-base:1.6
	pkgsrc-2015Q4:1.6.0.2
	pkgsrc-2015Q4-base:1.6
	pkgsrc-2015Q3:1.5.0.2
	pkgsrc-2015Q3-base:1.5
	pkgsrc-2015Q2:1.4.0.6
	pkgsrc-2015Q2-base:1.4
	pkgsrc-2015Q1:1.4.0.4
	pkgsrc-2015Q1-base:1.4
	pkgsrc-2014Q4:1.4.0.2
	pkgsrc-2014Q4-base:1.4
	pkgsrc-2014Q3:1.3.0.2
	pkgsrc-2014Q3-base:1.3;
locks; strict;
comment	@# @;


1.35
date	2026.05.10.18.46.11;	author wiz;	state Exp;
branches;
next	1.34;
commitid	wIJycNzITmloCiFG;

1.34
date	2026.01.27.08.39.48;	author wiz;	state Exp;
branches;
next	1.33;
commitid	f4MYtJVcsY7dz0sG;

1.33
date	2025.11.17.11.00.58;	author wiz;	state Exp;
branches;
next	1.32;
commitid	riyAI0LyQsKiDTiG;

1.32
date	2025.10.23.20.37.44;	author wiz;	state Exp;
branches;
next	1.31;
commitid	1V2hBZn9ypXaCJfG;

1.31
date	2025.04.22.20.19.06;	author wiz;	state Exp;
branches;
next	1.30;
commitid	UTCnakBYECSAr5SF;

1.30
date	2024.04.07.07.34.19;	author wiz;	state Exp;
branches;
next	1.29;
commitid	oMYDjdZchby5qb5F;

1.29
date	2023.11.14.14.02.10;	author wiz;	state Exp;
branches;
next	1.28;
commitid	BZ5vzwBRof1beAME;

1.28
date	2023.11.12.13.22.13;	author wiz;	state Exp;
branches;
next	1.27;
commitid	SjpNXQIV5XeZ3kME;

1.27
date	2023.10.23.06.37.46;	author wiz;	state Exp;
branches;
next	1.26;
commitid	4YdPmMYgk9hutIJE;

1.26
date	2023.07.03.13.06.02;	author wiz;	state Exp;
branches;
next	1.25;
commitid	hkduRlaRDQcoemvE;

1.25
date	2023.01.29.21.16.44;	author ryoon;	state Exp;
branches;
next	1.24;
commitid	QL7aBXsBGmQvUtbE;

1.24
date	2023.01.22.23.51.23;	author wiz;	state Exp;
branches;
next	1.23;
commitid	Bfi4EpDpbeOi0BaE;

1.23
date	2022.01.05.20.07.10;	author wiz;	state Exp;
branches;
next	1.22;
commitid	qXj9iFKz1eiY2unD;

1.22
date	2022.01.04.20.54.06;	author wiz;	state Exp;
branches;
next	1.21;
commitid	CYyhdK9qtoffkmnD;

1.21
date	2021.03.10.18.51.51;	author adam;	state Exp;
branches;
next	1.20;
commitid	u0fsNc9dnfH2jNKC;

1.20
date	2020.03.20.11.57.52;	author nia;	state Exp;
branches;
next	1.19;
commitid	XgzioScE8x0eq81C;

1.19
date	2020.01.18.23.32.18;	author rillig;	state Exp;
branches;
next	1.18;
commitid	shGUwZfkr7sleeTB;

1.18
date	2019.11.02.22.38.02;	author rillig;	state Exp;
branches;
next	1.17;
commitid	amORVXK58QMYqkJB;

1.17
date	2019.09.02.13.20.19;	author adam;	state Exp;
branches;
next	1.16;
commitid	JNtg51I3DnX4jrBB;

1.16
date	2019.05.18.08.30.20;	author wiz;	state Exp;
branches;
next	1.15;
commitid	IpF7JIDUCUl19FnB;

1.15
date	2019.04.26.13.14.01;	author maya;	state Exp;
branches;
next	1.14;
commitid	U4pISddzN4WXpRkB;

1.14
date	2018.07.03.05.03.20;	author adam;	state Exp;
branches;
next	1.13;
commitid	bH4MNADzVzoIfEIA;

1.13
date	2018.01.22.12.50.59;	author wiz;	state Exp;
branches;
next	1.12;
commitid	GbIIzFobbNW33SnA;

1.12
date	2017.01.01.14.43.43;	author wiz;	state Exp;
branches;
next	1.11;
commitid	TmfhF2MIYbgU4hAz;

1.11
date	2016.12.03.04.08.53;	author nonaka;	state Exp;
branches;
next	1.10;
commitid	tSNyEgO12wsBuuwz;

1.10
date	2016.09.01.17.33.28;	author nonaka;	state Exp;
branches;
next	1.9;
commitid	nOgpumIfVDOhWBkz;

1.9
date	2016.07.10.04.07.08;	author nonaka;	state Exp;
branches;
next	1.8;
commitid	pIiskBV39S8lbJdz;

1.8
date	2016.07.09.13.03.51;	author wiz;	state Exp;
branches;
next	1.7;
commitid	k9A2yv7vTRunbEdz;

1.7
date	2016.06.11.14.34.17;	author wiz;	state Exp;
branches;
next	1.6;
commitid	qLdA6pZh4tlcA3az;

1.6
date	2015.12.05.21.25.46;	author adam;	state Exp;
branches;
next	1.5;
commitid	bgA0CynThkP3WNLy;

1.5
date	2015.08.03.14.06.55;	author nonaka;	state Exp;
branches;
next	1.4;
commitid	twgCnw1K0h7suPvy;

1.4
date	2014.12.16.23.02.28;	author wiz;	state Exp;
branches;
next	1.3;
commitid	tsXNlv6ACgGOQj2y;

1.3
date	2014.07.15.23.31.13;	author obache;	state Exp;
branches;
next	1.2;
commitid	E4yhK3z4zixjXwIx;

1.2
date	2014.07.15.17.28.49;	author wiz;	state Exp;
branches;
next	1.1;
commitid	o6P6oS7KMo3eXuIx;

1.1
date	2014.07.15.12.12.17;	author obache;	state Exp;
branches;
next	;
commitid	y6QpvFvsVRGHctIx;


desc
@@


1.35
log
@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.
@
text
@# $NetBSD: Makefile,v 1.34 2026/01/27 08:39:48 wiz Exp $

DISTNAME=	mcomix-3.1.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	graphics python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=mcomix/}

MAINTAINER=	nonakap@@gmail.com
HOMEPAGE=	https://mcomix.sourceforge.net/
COMMENT=	GTK+ comic book viewer
LICENSE=	gnu-gpl-v2

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-Pillow>=6.0.0:../../graphics/py-Pillow
DEPENDS+=	${PYPKGPREFIX}-gobject3>=3.36.0:../../devel/py-gobject3

USE_LANGUAGES=	# none

PYTHON_SELF_CONFLICT=	yes

EXTRA_INSTALL+=	share/applications/mcomix.desktop
EXTRA_INSTALL+=	share/icons/hicolor/16x16/apps/mcomix.png
EXTRA_INSTALL+=	share/icons/hicolor/16x16/mimetypes/application-x-cbr.png
EXTRA_INSTALL+=	share/icons/hicolor/16x16/mimetypes/application-x-cbt.png
EXTRA_INSTALL+=	share/icons/hicolor/16x16/mimetypes/application-x-cbz.png
EXTRA_INSTALL+=	share/icons/hicolor/22x22/apps/mcomix.png
EXTRA_INSTALL+=	share/icons/hicolor/22x22/mimetypes/application-x-cbr.png
EXTRA_INSTALL+=	share/icons/hicolor/22x22/mimetypes/application-x-cbt.png
EXTRA_INSTALL+=	share/icons/hicolor/22x22/mimetypes/application-x-cbz.png
EXTRA_INSTALL+=	share/icons/hicolor/24x24/apps/mcomix.png
EXTRA_INSTALL+=	share/icons/hicolor/24x24/mimetypes/application-x-cbr.png
EXTRA_INSTALL+=	share/icons/hicolor/24x24/mimetypes/application-x-cbt.png
EXTRA_INSTALL+=	share/icons/hicolor/24x24/mimetypes/application-x-cbz.png
EXTRA_INSTALL+=	share/icons/hicolor/32x32/apps/mcomix.png
EXTRA_INSTALL+=	share/icons/hicolor/32x32/mimetypes/application-x-cbr.png
EXTRA_INSTALL+=	share/icons/hicolor/32x32/mimetypes/application-x-cbt.png
EXTRA_INSTALL+=	share/icons/hicolor/32x32/mimetypes/application-x-cbz.png
EXTRA_INSTALL+=	share/icons/hicolor/48x48/apps/mcomix.png
EXTRA_INSTALL+=	share/icons/hicolor/48x48/mimetypes/application-x-cbr.png
EXTRA_INSTALL+=	share/icons/hicolor/48x48/mimetypes/application-x-cbt.png
EXTRA_INSTALL+=	share/icons/hicolor/48x48/mimetypes/application-x-cbz.png
EXTRA_INSTALL+=	share/metainfo/mcomix.metainfo.xml
EXTRA_INSTALL+=	share/mime/packages/mcomix.xml

INSTALLATION_DIRS+=	${PKGMANDIR}/man1
INSTALLATION_DIRS+=	share/applications
INSTALLATION_DIRS+=	share/icons/hicolor/16x16/apps
INSTALLATION_DIRS+=	share/icons/hicolor/16x16/mimetypes
INSTALLATION_DIRS+=	share/icons/hicolor/22x22/apps
INSTALLATION_DIRS+=	share/icons/hicolor/22x22/mimetypes
INSTALLATION_DIRS+=	share/icons/hicolor/24x24/apps
INSTALLATION_DIRS+=	share/icons/hicolor/24x24/mimetypes
INSTALLATION_DIRS+=	share/icons/hicolor/32x32/apps
INSTALLATION_DIRS+=	share/icons/hicolor/32x32/mimetypes
INSTALLATION_DIRS+=	share/icons/hicolor/48x48/apps
INSTALLATION_DIRS+=	share/icons/hicolor/48x48/mimetypes
INSTALLATION_DIRS+=	share/metainfo
INSTALLATION_DIRS+=	share/mime/packages

post-install:
	zcat ${WRKSRC}/share/man/man1/mcomix.1.gz > ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mcomix.1
.for f in ${EXTRA_INSTALL}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${f}
.endfor

.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../lang/python/batteries-included.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.34
log
@*: recursive bump for removal of cairo's xcb option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2025/11/17 11:00:58 wiz Exp $
d3 1
a3 1
DISTNAME=	mcomix-2.1.0
a4 1
PKGREVISION=	8
d21 44
a64 6
MANCOMPRESSED=	yes

SUBST_CLASSES+=		path
SUBST_STAGE.path=	pre-configure
SUBST_FILES.path=	setup.py
SUBST_SED.path=		-e s,share/man,${PKGMANDIR},g
@


1.33
log
@*: switch all sourceforge HOMEPAGEs to https
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2025/10/23 20:37:44 wiz Exp $
d5 1
a5 1
PKGREVISION=	7
@


1.32
log
@*: 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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2025/04/22 20:19:06 wiz Exp $
d10 1
a10 1
HOMEPAGE=	http://mcomix.sourceforge.net/
@


1.31
log
@py-mcomix: convert to wheel.mk

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2024/04/07 07:34:19 wiz Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.30
log
@*: bump for cairo buildlink3.mk change

lzo was made an option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2023/11/14 14:02:10 wiz Exp $
d5 1
a5 1
PKGREVISION=	5
d14 1
a21 4
PYTHON_VERSIONS_INCOMPATIBLE=	27

USE_PKG_RESOURCES=	yes

d34 1
a34 1
.include "../../lang/python/egg.mk"
@


1.29
log
@*: recursive bump for cairo dependency changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2023/11/12 13:22:13 wiz Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.28
log
@*: revebump for new brotli option for freetype2

Addresses PR 57693
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2023/10/23 06:37:46 wiz Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.27
log
@*: 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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2023/07/03 13:06:02 wiz Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.26
log
@py-mcomix: fix DEPENDS line
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2023/01/29 21:16:44 ryoon Exp $
d5 1
a5 1
PKGREVISION=	1
a15 1
DEPENDS+=	${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
d36 1
@


1.25
log
@*: Recursive revbup from graphics/freetype2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2023/01/22 23:51:23 wiz Exp $
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-Pillow>=6.0.0:../../graphics/py-Pillow6
@


1.24
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2022/01/05 20:07:10 wiz Exp $
d5 1
@


1.23
log
@*: set USE_PKG_RESOURCES for some more packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2022/01/04 20:54:06 wiz Exp $
d3 1
a3 1
DISTNAME=	mcomix-1.2.1
a4 1
PKGREVISION=	7
a6 1
EXTRACT_SUFX=	.tar.bz2
d10 1
a10 1
COMMENT=	GTK2 comic book viewer
d13 2
a14 4
DEPENDS+=	${PYPKGPREFIX}-gtk2>=2.12.0:../../x11/py-gtk2
DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow6
DEPENDS+=	${PYPKGPREFIX}-subprocess32-[0-9]*:../../devel/py-subprocess32
DEPENDS+=	${PYPKGPREFIX}-czipfile-[0-9]*:../../archivers/py-czipfile
d19 1
a19 2
PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
EGG_NAME=	${DISTNAME:S/01/1/}
d21 1
a21 1
PYTHON_SELF_CONFLICT=	yes
d33 1
@


1.22
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2021/03/10 18:51:51 adam Exp $
d5 1
a5 1
PKGREVISION=	6
d28 2
@


1.21
log
@Use py-Pillow6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2020/03/20 11:57:52 nia Exp $
d5 1
a5 1
PKGREVISION=	5
@


1.20
log
@*: Convert broken sourceforge HOMEPAGEs back to http
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/01/18 23:32:18 rillig Exp $
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
@


1.19
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2019/11/02 22:38:02 rillig Exp $
d11 1
a11 1
HOMEPAGE=	https://mcomix.sourceforge.net/
@


1.18
log
@graphics: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2019/09/02 13:20:19 adam Exp $
d11 1
a11 1
HOMEPAGE=	http://mcomix.sourceforge.net/
@


1.17
log
@Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2019/05/18 08:30:20 wiz Exp $
d23 1
a23 1
PYTHON_VERSIONS_ACCEPTED=	 27 # py-gtk2
@


1.16
log
@py-mcomix: Fix incompatibility with PIL 6.0.0.

Using upstream patch.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2019/04/26 13:14:01 maya Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	 36 37 # py-gtk2
@


1.15
log
@Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2018/07/03 05:03:20 adam Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.14
log
@extend PYTHON_VERSIONS_ for Python 3.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2018/01/22 12:50:59 wiz Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37 # py-gtk2
@


1.13
log
@py-mcomix: switch to py-Pillow.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/01/01 14:43:43 wiz Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 # py-gtk2
@


1.12
log
@Add python-3.6 to incompatible versions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2016/12/03 04:08:53 nonaka Exp $
d5 1
a5 1
PKGREVISION=	3
d16 1
a16 1
DEPENDS+=	{${PYPKGPREFIX}-imaging>=1.1.5,${PYPKGPREFIX}-Pillow-[0-9]*}:../../graphics/py-imaging
@


1.11
log
@fix read subprocess stdout line by line.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2016/09/01 17:33:28 nonaka Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 # py-gtk2
@


1.10
log
@Add dependency to databases/py-sqlite3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2016/07/10 04:07:08 nonaka Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.9
log
@Add dependency to archivers/py-czipfile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2016/07/09 13:03:51 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
d19 1
@


1.8
log
@Remove python33: adapt all packages that refer to it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2016/06/11 14:34:17 wiz Exp $
d5 1
d18 1
@


1.7
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2015/12/05 21:25:46 adam Exp $
d20 1
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # py-gtk2
@


1.6
log
@Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2015/08/03 14:06:55 nonaka Exp $
d3 1
a3 1
DISTNAME=	mcomix-1.01
@


1.5
log
@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).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2014/12/16 23:02:28 wiz Exp $
d20 1
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # py-gtk2
@


1.4
log
@Fix build with py-setuptools-0.8.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2014/07/15 23:31:13 obache Exp $
d3 1
a3 1
DISTNAME=	mcomix-1.00
d16 1
d21 1
a21 1
EGG_NAME=	${DISTNAME:S/00/0/}
@


1.3
log
@Fixes dependency versions, allow py-imaging again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2014/07/15 17:28:49 wiz Exp $
d20 1
@


1.2
log
@There was no py-imaging-2.12.0 or higher, so just depend on py-Pillow.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2014/07/15 12:12:17 obache Exp $
d14 2
a15 2
DEPENDS+=	${PYPKGPREFIX}-gtk2>=1.15:../../x11/py-gtk2
DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
@


1.1
log
@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.
@
text
@d1 1
a1 1
# $NetBSD$
d15 1
a15 1
DEPENDS+=	{${PYPKGPREFIX}-imaging>=2.12.0,${PYPKGPREFIX}-Pillow-[0-9]*}:../../graphics/py-imaging
@

