<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Maintenance</title><link>https://sourceforge.net/p/mcomix/wiki/Maintenance/</link><description>Recent changes to Maintenance</description><atom:link href="https://sourceforge.net/p/mcomix/wiki/Maintenance/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 03 Dec 2023 09:57:48 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mcomix/wiki/Maintenance/feed" rel="self" type="application/rss+xml"/><item><title>Maintenance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintenance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v13
+++ v14
@@ -56,7 +56,7 @@

 This will create `mcomix-version.tar.gz` in the `dist` subfolder, ready for uploading. Note that the command should not be run on a Windows machine, to avoid files in the archive having executable permission bits set. Building the Windows packages is a bit more difficult and requires:

-1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`, `mingw-w64-x86_64-python-ujson`, `mingw-w64-x86_64-python-pymupdf`. 
+1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`, `mingw-w64-x86_64-python-ujson`, `mingw-w64-x86_64-python-pymupdf`, `mingw-w64-x86_64-libjxl`. 
 2. Make sure to update to the latest version of these packages before starting the release with `pacman -Syuu`.
 3. The Python 3 package `pyinstaller` is automatically installed when development dependencies have been installed, but it shoulld be updated to the latest version with `pip-review --auto --local`
 4. The installer script expects optional archive extractors in the directory `../mcomix-other`,  relative to MComix' root directory.  At this time, those are:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Sun, 03 Dec 2023 09:57:48 -0000</pubDate><guid>https://sourceforge.net066169cb6e997ed98dd528194a8edd7319288048</guid></item><item><title>Maintenance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintenance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Wed, 04 Oct 2023 10:14:27 -0000</pubDate><guid>https://sourceforge.net20ab6f0ede7274000230de8aa733b90d4f948e2e</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -76,7 +76,7 @@
 Afterwards, switch back to a regular Windows console and build the MSI installer. This requires the [WiX toolset](https://wixtoolset.org/docs/wix3/) on your PATH. Navigate to MComix' root folder and execute:

 ~~~~~~~
-::: bash
+:::bash
 python win32/build_msi.py
 ~~~~~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Tue, 19 Sep 2023 05:27:27 -0000</pubDate><guid>https://sourceforge.net4e555cd01c694326c80dc16c5d3cdaf3b9ba4983</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -37,58 +37,67 @@

 The following steps should be performed prior to releasing a new version.

-1. Make sure the `ChangeLog` is up-to-date. Add a "Release Date" line below the line indicating the current version.
-2. Edit `mcomix/constants.py` and make sure the `VERSION` constant is correct and final. Remove the `-dev` suffix if required.
+1. Make sure the `ChangeLog.md` is up-to-date. Add a "Release Date" line below the line indicating the current version.
+2. Edit `mcomix/constants.py` and make sure the `VERSION` constant is correct and final. Remove the `-dev0` suffix if required.
 3. Update the translation template as outlined above if required.
 4. Commit changes to Git with a message indicating that the current commit marks a new version, for example "MComix 1.3.0".
-5. Create an [annotated tag ](https://git-scm.com/book/en/v2/Git-Basics-Tagging) with the version number, for example "1.3.0", using the command `git tag -a 1.3.0 -m "Version 1.3.0"`
+5. Create an [annotated tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging) with the version number, for example "1.3.0", using the command `git tag -a 1.3.0 -m "Version 1.3.0"`


 Compiling the distribution files
 --------------------------------

-The source distribution files can be created from any system with Python installed. Simply execute on a Linux machine from the root directory:
+The source distribution files can be created from any system with Python installed. When following the steps to set up a development environment on [Installation], the `build` module can be used to create the source package.

 ~~~~~~
 :::bash
-python3 setup.py sdist --formats=gztar,zip
+python3 -m build -s
 ~~~~~~

-This will create `mcomix-version.tar.gz` and `mcomix-version.zip` in the `dist` subfolder, ready for uploading. Note that the tar archive should not be created on a Windows machine, to avoid files in the archive having executable permission bits set. Building the all-in-one Windows archive is a bit more difficult and requires:
+This will create `mcomix-version.tar.gz` in the `dist` subfolder, ready for uploading. Note that the command should not be run on a Windows machine, to avoid files in the archive having executable permission bits set. Building the Windows packages is a bit more difficult and requires:

-1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`, `mingw-w64-x86_64-python-pymupdf`. 
+1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`, `mingw-w64-x86_64-python-ujson`, `mingw-w64-x86_64-python-pymupdf`. 
 2. Make sure to update to the latest version of these packages before starting the release with `pacman -Syuu`.
-3. The Python 3 package pyinstaller must be installed using pip: `python3 -m pip install pyinstaller` (and updated with `python3 -m pip install -U pyinstaller`)
+3. The Python 3 package `pyinstaller` is automatically installed when development dependencies have been installed, but it shoulld be updated to the latest version with `pip-review --auto --local`
 4. The installer script expects optional archive extractors in the directory `../mcomix-other`,  relative to MComix' root directory.  At this time, those are:
 4.1. `../mcomix-other/7z/7z.exe`, `../mcomix-other/7z/License.txt` (from [7-zip](https://www.7-zip.org/download.html))
 4.2. `../mcomix-other/mutool/COPYING.txt`, `../mcomix-other/mutool/mutool.exe` (from [mupdf](https://mupdf.com/releases/index.html))
 4.3. `../mcomix-other/unrar/license.txt`, `../mcomix-other/unrar/UnRAR64.dll7` (from [WinRar](https://www.rarlab.com/rar_add.htm))

-Afterwards, open a shell in MComix root directory and execute:
+Afterwards, open a MINGW64 shell in MComix root directory and execute:

 ~~~~~~
 :::bash
-python3 win32/build_pyinstaller.py
+python win32/build_pyinstaller.py
 ~~~~~~

-This will compile all necessary libraries and files, and copy them to the directory `dist`. All that is left now is starting MComix.exe from that directory (does it run?), renaming the directory to `MComix-version`, create a ZIP archive containing the directory, and renaming the ZIP archive to `mcomix-version.win64.all-in-one.zip`.
+This will compile all necessary libraries and files, and copy them to the directory `dist`.

+Afterwards, switch back to a regular Windows console and build the MSI installer. This requires the [WiX toolset](https://wixtoolset.org/docs/wix3/) on your PATH. Navigate to MComix' root folder and execute:
+
+~~~~~~~
+::: bash
+python win32/build_msi.py
+~~~~~~~
+
+You will be notified if problems occured while the installer is building. The finished installer will be placed in the `dist` directory.

 Uploading a new release
 -----------------------

-The procedure is fairly straight-forward. First, switch to the list of files on MComix' project page, then create a new folder corresponding the the version to be released, e.g. `MComix 1.3.0`. Open the folder, click on the "Add file" button, and upload the previously created archive files (`mcomix-version.tar.gz`, `mcomix-version.zip` and `mcomix-version.win64.all-in-one.zip`). When uploading has finished, the now uploaded files should be selected as default files for people visiting the MComix project page. To do this, click on the (i) icon to the right of each file.
+The procedure is fairly straight-forward. First, switch to the list of files on MComix' project page, then create a new folder corresponding the the version to be released, e.g. `MComix 1.3.0`. Open the folder, click on the "Add file" button, and upload the previously created archive files (`mcomix-version.tar.gz`, `mcomix-win64-version.zip` and `mcomix-win64-version,msi`). When uploading has finished, the now uploaded files should be selected as default files for people visiting the MComix project page. To do this, click on the (i) icon to the right of each file.

-1. Mark the win32 all-in-one archive as default file for Windows.
-2. Mark the tar.gz archive as default file for everything else, except "Others".
-3. Mark the zip archive as default for "Others".
+1. Mark the MSI installer as default file for Windows.
+2. Mark the tar.gz archive as default file for everything else.

-At this point, creating a news entry containing the changes in this version (copy-pasted from `ChangeLog`) might be advisable.
+Sometimes, uploading the windows packages using the web form can time out. In this case, the files can be uploaded with scp following the [SCP upload manual](https://sourceforge.net/p/forge/documentation/SCP/) of SourceForge.
+
+At this point, creating a news entry containing the changes in this version (copy-pasted from `ChangeLog.md`) might be advisable.


 Post-release tasks
 ------------------

-After releasing a new version, it is helpful to edit `mcomix/constants.py` and increase the version number. Also append `-dev` so that people running MComix from Git source have some indicator that they're running a work-in-progress version.
+After releasing a new version, it is helpful to edit `mcomix/constants.py` and increase the version number. Also append `-dev0` so that people running MComix from Git source have some indicator that they're running a work-in-progress version.

 On SourceForge, new milestones corresponding to the new version should be started and the old milestones marked as closed. Only the "Support Requests" and "Bugs" trackers need milestones. The milestone "Git" should always be open. The milestone is mainly useful for people reporting bugs - this allows to identify the version where the bug occurs, or -alternatively- where the bug has been fixed.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Sat, 16 Sep 2023 19:42:47 -0000</pubDate><guid>https://sourceforge.netbad8a97f0952cc36896125e77b9c96529328ab26</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -56,7 +56,7 @@

 This will create `mcomix-version.tar.gz` and `mcomix-version.zip` in the `dist` subfolder, ready for uploading. Note that the tar archive should not be created on a Windows machine, to avoid files in the archive having executable permission bits set. Building the all-in-one Windows archive is a bit more difficult and requires:

-1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`. 
+1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`, `mingw-w64-x86_64-python-pymupdf`. 
 2. Make sure to update to the latest version of these packages before starting the release with `pacman -Syuu`.
 3. The Python 3 package pyinstaller must be installed using pip: `python3 -m pip install pyinstaller` (and updated with `python3 -m pip install -U pyinstaller`)
 4. The installer script expects optional archive extractors in the directory `../mcomix-other`,  relative to MComix' root directory.  At this time, those are:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Mon, 03 Jul 2023 19:31:25 -0000</pubDate><guid>https://sourceforge.net19cd3f0d45e2a416587974f4d6dd24b82ae64bcc</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -47,14 +47,14 @@
 Compiling the distribution files
 --------------------------------

-The source distribution files can be created from any system with Python installed. Simply execute from the root directory:
+The source distribution files can be created from any system with Python installed. Simply execute on a Linux machine from the root directory:

 ~~~~~~
 :::bash
 python3 setup.py sdist --formats=gztar,zip
 ~~~~~~

-This will create `mcomix-version.tar.gz` and `mcomix-version.zip` in the `dist` subfolder, ready for uploading. Building the all-in-one Windows archive is a bit more difficult and requires:
+This will create `mcomix-version.tar.gz` and `mcomix-version.zip` in the `dist` subfolder, ready for uploading. Note that the tar archive should not be created on a Windows machine, to avoid files in the archive having executable permission bits set. Building the all-in-one Windows archive is a bit more difficult and requires:

 1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`. 
 2. Make sure to update to the latest version of these packages before starting the release with `pacman -Syuu`.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Sun, 12 Mar 2023 11:19:29 -0000</pubDate><guid>https://sourceforge.net097ddf9d081463f1168384beb55bb98f182b9c45</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -60,7 +60,7 @@
 2. Make sure to update to the latest version of these packages before starting the release with `pacman -Syuu`.
 3. The Python 3 package pyinstaller must be installed using pip: `python3 -m pip install pyinstaller` (and updated with `python3 -m pip install -U pyinstaller`)
 4. The installer script expects optional archive extractors in the directory `../mcomix-other`,  relative to MComix' root directory.  At this time, those are:
-4.1. `../mcomix-other/7z/7z.dll`, `../mcomix-other/7z/7z.exe`, `../mcomix-other/7z/License.txt` (from [7-zip](https://www.7-zip.org/download.html))
+4.1. `../mcomix-other/7z/7z.exe`, `../mcomix-other/7z/License.txt` (from [7-zip](https://www.7-zip.org/download.html))
 4.2. `../mcomix-other/mutool/COPYING.txt`, `../mcomix-other/mutool/mutool.exe` (from [mupdf](https://mupdf.com/releases/index.html))
 4.3. `../mcomix-other/unrar/license.txt`, `../mcomix-other/unrar/UnRAR64.dll7` (from [WinRar](https://www.rarlab.com/rar_add.htm))

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Sat, 17 Dec 2022 12:52:44 -0000</pubDate><guid>https://sourceforge.net6743b3eba1de853d96e32644b4bce1981819a1f5</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -58,7 +58,7 @@

 1. A MSYS2 installation with the following packages: `mingw-w64-x86_64-python3-pillow`, `mingw-w64-x86_64-gtk3`, `mingw-w64-x86_64-python3`, `mingw-w64-x86_64-python3-gobject`, `mingw-w64-x86_64-python3-pip`. 
 2. Make sure to update to the latest version of these packages before starting the release with `pacman -Syuu`.
-3. The Python 3 package pyinstaller must be installed using pip: `python3 -m pip install pyinstaller`
+3. The Python 3 package pyinstaller must be installed using pip: `python3 -m pip install pyinstaller` (and updated with `python3 -m pip install -U pyinstaller`)
 4. The installer script expects optional archive extractors in the directory `../mcomix-other`,  relative to MComix' root directory.  At this time, those are:
 4.1. `../mcomix-other/7z/7z.dll`, `../mcomix-other/7z/7z.exe`, `../mcomix-other/7z/License.txt` (from [7-zip](https://www.7-zip.org/download.html))
 4.2. `../mcomix-other/mutool/COPYING.txt`, `../mcomix-other/mutool/mutool.exe` (from [mupdf](https://mupdf.com/releases/index.html))
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Thu, 17 Feb 2022 20:29:37 -0000</pubDate><guid>https://sourceforge.net6b9829b7b52a1807ad180aa20d90bec28b09f576</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -71,13 +71,13 @@
 python3 win32/build_pyinstaller.py
 ~~~~~~

-This will compile all necessary libraries and files, and copy them to the directory `dist`. All that is left now is starting MComix.exe from that directory (does it run?), renaming the directory to `MComix-version`, create a ZIP archive containing the directory, and renaming the ZIP archive to `mcomix-version.win32.all-in-one.zip`.
+This will compile all necessary libraries and files, and copy them to the directory `dist`. All that is left now is starting MComix.exe from that directory (does it run?), renaming the directory to `MComix-version`, create a ZIP archive containing the directory, and renaming the ZIP archive to `mcomix-version.win64.all-in-one.zip`.


 Uploading a new release
 -----------------------

-The procedure is fairly straight-forward. First, switch to the list of files on MComix' project page, then create a new folder corresponding the the version to be released, e.g. `MComix 1.3.0`. Open the folder, click on the "Add file" button, and upload the previously created archive files (`mcomix-version.tar.gz`, `mcomix-version.zip` and `mcomix-version.win32.all-in-one.zip`). When uploading has finished, the now uploaded files should be selected as default files for people visiting the MComix project page. To do this, click on the (i) icon to the right of each file.
+The procedure is fairly straight-forward. First, switch to the list of files on MComix' project page, then create a new folder corresponding the the version to be released, e.g. `MComix 1.3.0`. Open the folder, click on the "Add file" button, and upload the previously created archive files (`mcomix-version.tar.gz`, `mcomix-version.zip` and `mcomix-version.win64.all-in-one.zip`). When uploading has finished, the now uploaded files should be selected as default files for people visiting the MComix project page. To do this, click on the (i) icon to the right of each file.

 1. Mark the win32 all-in-one archive as default file for Windows.
 2. Mark the tar.gz archive as default file for everything else, except "Others".
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Sat, 29 Jan 2022 12:40:40 -0000</pubDate><guid>https://sourceforge.netc96edc5cf88925de53c37819a02056ddd1269d40</guid></item><item><title>Maintainance modified by Oddegamra</title><link>https://sourceforge.net/p/mcomix/wiki/Maintainance/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -51,7 +51,7 @@

 ~~~~~~
 :::bash
-python setup.py sdist --formats=gztar,zip
+python3 setup.py sdist --formats=gztar,zip
 ~~~~~~

 This will create `mcomix-version.tar.gz` and `mcomix-version.zip` in the `dist` subfolder, ready for uploading. Building the all-in-one Windows archive is a bit more difficult and requires:
@@ -68,7 +68,7 @@

 ~~~~~~
 :::bash
-python win32/build_pyinstaller.py
+python3 win32/build_pyinstaller.py
 ~~~~~~

 This will compile all necessary libraries and files, and copy them to the directory `dist`. All that is left now is starting MComix.exe from that directory (does it run?), renaming the directory to `MComix-version`, create a ZIP archive containing the directory, and renaming the ZIP archive to `mcomix-version.win32.all-in-one.zip`.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oddegamra</dc:creator><pubDate>Thu, 27 Jan 2022 05:09:04 -0000</pubDate><guid>https://sourceforge.net695e7a60e768943bae421fa4f420c3db63e13228</guid></item></channel></rss>