Refresh docs after Win build process update

(https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/af2070ce899cd5339027107dba125bf753c4ac59/)
This commit is contained in:
Bill Kendrick 2022-05-16 22:33:16 -07:00
parent 3a0741db8b
commit 83b56e64e6
10 changed files with 887 additions and 294 deletions

View file

@ -144,7 +144,7 @@ Simple DirectMedia Layer library (libSDL)
Windows Windows
November 3, 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp May 16, 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp
<dolphin6k@wmail.plala.or.jp> <dolphin6k@wmail.plala.or.jp>
Compiling Set-Up Compiling Set-Up
@ -174,7 +174,8 @@ Windows
Within the MSYS2 shell, run the following command to install basic Within the MSYS2 shell, run the following command to install basic
development tools: development tools:
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch
gperf
Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to
the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build
@ -182,41 +183,52 @@ Windows
------------------------------------------------------- -------------------------------------------------------
MinGW 64bit (x86_64) toolchains MinGW 64bit (x86_64) compiler and tools
Within the MSYS2 shell, run the following command to install basic 64bit Within the MSYS2 shell, run the following command to install 64bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
64bit (x86_64) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-x86_64-libvorbis
$ pacman -S mingw-w64-x86_64-librsvg $ pacman -S mingw-w64-x86_64-librsvg
$ pacman -S mingw-w64-x86_64-fribidi $ pacman -S mingw-w64-x86_64-fribidi
$ pacman -S mingw-w64-x86_64-libimagequant $ pacman -S mingw-w64-x86_64-libimagequant
$ pacman -S mingw-w64-x86_64-fltk $ pacman -S mingw-w64-x86_64-fltk
$ pacman -S mingw-w64-x86_64-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 64bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "64bit" shell. Open the shell from the "Start This time, use the MinGW "64bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw64 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -234,46 +246,69 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw64 && make && make install $ ./configure --prefix=/mingw64 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw64 && make && make install
Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to
the "ImageMagick" section if you need only a 64bit build environment. the "ImageMagick" section if you need only a 64bit build environment.
------------------------------------------------------- -------------------------------------------------------
MinGW 32bit (i686) toolchains MinGW 32bit (i686) compiler and tools
Within the MSYS2 shell, run the following command to install basic 32bit Within the MSYS2 shell, run the following command to install 32bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
32bit (i686) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-i686-libvorbis
$ pacman -S mingw-w64-i686-librsvg $ pacman -S mingw-w64-i686-librsvg
$ pacman -S mingw-w64-i686-fribidi $ pacman -S mingw-w64-i686-fribidi
$ pacman -S mingw-w64-i686-libimagequant $ pacman -S mingw-w64-i686-libimagequant
$ pacman -S mingw-w64-i686-fltk $ pacman -S mingw-w64-i686-fltk
$ pacman -S mingw-w64-i686-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 32bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "32bit" shell. Open the shell from the "Start This time, use the MinGW "32bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw32 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -291,6 +326,18 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw32 && make && make install $ ./configure --prefix=/mingw32 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw32 && make && make install
ImageMagick ImageMagick
ImageMagick is a compilation of command line tools to create, edit, ImageMagick is a compilation of command line tools to create, edit,

View file

@ -301,7 +301,7 @@
<p style="font-size: small;"> <p style="font-size: small;">
<em> <em>
November 3, 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt; May 16, 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt;
</em> </em>
</p> </p>
</header> </header>
@ -334,7 +334,7 @@
<p> <p>
Within the MSYS2 shell, run the following command to install basic development tools: <blockquote> Within the MSYS2 shell, run the following command to install basic development tools: <blockquote>
<code> <code>
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -345,44 +345,44 @@
</p> </p>
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="64bit" id="64bit"> <a name="64bit" id="64bit">
MinGW 64bit (x86_64) toolchains </a> MinGW 64bit (x86_64) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 64bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
64bit (x86_64) dependency libraries for Tux Paint </h4> 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-x86_64-libvorbis<br/>
$ pacman -S mingw-w64-x86_64-librsvg<br/> $ pacman -S mingw-w64-x86_64-librsvg<br/>
$ pacman -S mingw-w64-x86_64-fribidi<br/> $ pacman -S mingw-w64-x86_64-fribidi<br/>
$ pacman -S mingw-w64-x86_64-libimagequant<br/> $ pacman -S mingw-w64-x86_64-libimagequant<br/>
$ pacman -S mingw-w64-x86_64-fltk<br/> $ pacman -S mingw-w64-x86_64-fltk<br/>
$ pacman -S mingw-w64-x86_64-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -393,14 +393,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 64bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p> This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -426,6 +444,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
<p> <p>
<i> <i>
Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i> Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i>
@ -434,44 +470,44 @@
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="32bit" id="32bit"> <a name="32bit" id="32bit">
MinGW 32bit (i686) toolchains </a> MinGW 32bit (i686) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 32bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 32bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
32bit (i686) dependency libraries for Tux Paint </h4> 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-i686-libvorbis<br/>
$ pacman -S mingw-w64-i686-librsvg<br/> $ pacman -S mingw-w64-i686-librsvg<br/>
$ pacman -S mingw-w64-i686-fribidi<br/> $ pacman -S mingw-w64-i686-fribidi<br/>
$ pacman -S mingw-w64-i686-libimagequant<br/> $ pacman -S mingw-w64-i686-libimagequant<br/>
$ pacman -S mingw-w64-i686-fltk<br/> $ pacman -S mingw-w64-i686-fltk<br/>
$ pacman -S mingw-w64-i686-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -482,14 +518,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 32bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p> This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -515,6 +569,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->

View file

@ -144,7 +144,7 @@ Simple DirectMedia Layer library (libSDL)
Windows Windows
noviembre 3, 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp mayo 16, 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp
<dolphin6k@wmail.plala.or.jp> <dolphin6k@wmail.plala.or.jp>
Compiling Set-Up Compiling Set-Up
@ -174,7 +174,8 @@ Windows
Within the MSYS2 shell, run the following command to install basic Within the MSYS2 shell, run the following command to install basic
development tools: development tools:
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch
gperf
Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to
the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build
@ -182,41 +183,52 @@ Windows
------------------------------------------------------- -------------------------------------------------------
MinGW 64bit (x86_64) toolchains MinGW 64bit (x86_64) compiler and tools
Within the MSYS2 shell, run the following command to install basic 64bit Within the MSYS2 shell, run the following command to install 64bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
64bit (x86_64) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-x86_64-libvorbis
$ pacman -S mingw-w64-x86_64-librsvg $ pacman -S mingw-w64-x86_64-librsvg
$ pacman -S mingw-w64-x86_64-fribidi $ pacman -S mingw-w64-x86_64-fribidi
$ pacman -S mingw-w64-x86_64-libimagequant $ pacman -S mingw-w64-x86_64-libimagequant
$ pacman -S mingw-w64-x86_64-fltk $ pacman -S mingw-w64-x86_64-fltk
$ pacman -S mingw-w64-x86_64-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 64bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "64bit" shell. Open the shell from the "Start This time, use the MinGW "64bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw64 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -234,46 +246,69 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw64 && make && make install $ ./configure --prefix=/mingw64 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw64 && make && make install
Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to
the "ImageMagick" section if you need only a 64bit build environment. the "ImageMagick" section if you need only a 64bit build environment.
------------------------------------------------------- -------------------------------------------------------
MinGW 32bit (i686) toolchains MinGW 32bit (i686) compiler and tools
Within the MSYS2 shell, run the following command to install basic 32bit Within the MSYS2 shell, run the following command to install 32bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
32bit (i686) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-i686-libvorbis
$ pacman -S mingw-w64-i686-librsvg $ pacman -S mingw-w64-i686-librsvg
$ pacman -S mingw-w64-i686-fribidi $ pacman -S mingw-w64-i686-fribidi
$ pacman -S mingw-w64-i686-libimagequant $ pacman -S mingw-w64-i686-libimagequant
$ pacman -S mingw-w64-i686-fltk $ pacman -S mingw-w64-i686-fltk
$ pacman -S mingw-w64-i686-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 32bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "32bit" shell. Open the shell from the "Start This time, use the MinGW "32bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw32 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -291,6 +326,18 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw32 && make && make install $ ./configure --prefix=/mingw32 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw32 && make && make install
ImageMagick ImageMagick
ImageMagick is a compilation of command line tools to create, edit, ImageMagick is a compilation of command line tools to create, edit,

View file

@ -301,7 +301,7 @@
<p style="font-size: small;"> <p style="font-size: small;">
<em> <em>
noviembre 3, 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt; mayo 16, 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt;
</em> </em>
</p> </p>
</header> </header>
@ -334,7 +334,7 @@
<p> <p>
Within the MSYS2 shell, run the following command to install basic development tools: <blockquote> Within the MSYS2 shell, run the following command to install basic development tools: <blockquote>
<code> <code>
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -345,44 +345,44 @@
</p> </p>
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="64bit" id="64bit"> <a name="64bit" id="64bit">
MinGW 64bit (x86_64) toolchains </a> MinGW 64bit (x86_64) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 64bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
64bit (x86_64) dependency libraries for Tux Paint </h4> 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-x86_64-libvorbis<br/>
$ pacman -S mingw-w64-x86_64-librsvg<br/> $ pacman -S mingw-w64-x86_64-librsvg<br/>
$ pacman -S mingw-w64-x86_64-fribidi<br/> $ pacman -S mingw-w64-x86_64-fribidi<br/>
$ pacman -S mingw-w64-x86_64-libimagequant<br/> $ pacman -S mingw-w64-x86_64-libimagequant<br/>
$ pacman -S mingw-w64-x86_64-fltk<br/> $ pacman -S mingw-w64-x86_64-fltk<br/>
$ pacman -S mingw-w64-x86_64-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -393,14 +393,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 64bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p> This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -426,6 +444,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
<p> <p>
<i> <i>
Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i> Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i>
@ -434,44 +470,44 @@
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="32bit" id="32bit"> <a name="32bit" id="32bit">
MinGW 32bit (i686) toolchains </a> MinGW 32bit (i686) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 32bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 32bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
32bit (i686) dependency libraries for Tux Paint </h4> 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-i686-libvorbis<br/>
$ pacman -S mingw-w64-i686-librsvg<br/> $ pacman -S mingw-w64-i686-librsvg<br/>
$ pacman -S mingw-w64-i686-fribidi<br/> $ pacman -S mingw-w64-i686-fribidi<br/>
$ pacman -S mingw-w64-i686-libimagequant<br/> $ pacman -S mingw-w64-i686-libimagequant<br/>
$ pacman -S mingw-w64-i686-fltk<br/> $ pacman -S mingw-w64-i686-fltk<br/>
$ pacman -S mingw-w64-i686-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -482,14 +518,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 32bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p> This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -515,6 +569,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->

View file

@ -147,7 +147,7 @@ Biliothèque Simple DirectMedia Layer (libSDL)
Windows Windows
novembre 3, 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp mai 16, 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp
<dolphin6k@wmail.plala.or.jp> <dolphin6k@wmail.plala.or.jp>
Réglages pour compilation Réglages pour compilation
@ -177,7 +177,8 @@ Windows
Sous le shell MSYS2, exécutez la commande suivante pour installer outils Sous le shell MSYS2, exécutez la commande suivante pour installer outils
basiques pour le développement : basiques pour le développement :
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch
gperf
Allez à la prochaine section "chaînes d'outils MinGW 64bit (x86_64) ", ou Allez à la prochaine section "chaînes d'outils MinGW 64bit (x86_64) ", ou
bien à la section "chaînes d'outils MinGW 32bit (i686)" si vous ne voulez bien à la section "chaînes d'outils MinGW 32bit (i686)" si vous ne voulez
@ -185,43 +186,53 @@ Windows
------------------------------------------------------- -------------------------------------------------------
Chaînes d'outils MinGW 64bit (x86_64) MinGW 64bit (x86_64) compiler and tools
Sous le shell MSYS2, exécutez la commande suivante pour installer outils Sous le shell MSYS2, exécutez la commande suivante pour installer 64bit
basiques pour le développement 64bit : compiler and basic development tools :
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
bibliothèques de dépendance 64bit (x86_64) pour Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" est un petit outil qui examine les fichiers exécutables de windows "ntldd" est un petit outil qui examine les fichiers exécutables de windows
en vue de lister les fichiers DLL (.dll) qui leur sont nécessaires. Le en vue de lister les fichiers DLL (.dll) qui leur sont nécessaires. Le
process de fabrication de Tux Paint pour fournir des fichiers binaires process de fabrication de Tux Paint pour fournir des fichiers binaires
s'en sert pour trouver les fichiers .dll requis. s'en sert pour trouver les fichiers .dll requis.
FLTK est un ensemble d'outils multiplateforme utilisé par "Tux Paint 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config
Config.". Vous pouvez ne pas l'installer si vous compilez seulement "Tux
Paint".
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx} You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-x86_64-libvorbis
$ pacman -S mingw-w64-x86_64-librsvg $ pacman -S mingw-w64-x86_64-librsvg
$ pacman -S mingw-w64-x86_64-fribidi $ pacman -S mingw-w64-x86_64-fribidi
$ pacman -S mingw-w64-x86_64-libimagequant $ pacman -S mingw-w64-x86_64-libimagequant
$ pacman -S mingw-w64-x86_64-fltk $ pacman -S mingw-w64-x86_64-fltk
$ pacman -S mingw-w64-x86_64-ntldd-git
💡 Nota : Fermez l'interpréteur de commandes avant de passer à la suite. 💡 Nota : Fermez l'interpréteur de commandes avant de passer à la suite.
Install SDL_Pango on the 64bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
Cette fois-ci, utilisez le shell MinGW "64bit". Ouvrez le shell depuis le Cette fois-ci, utilisez le shell MinGW "64bit". Ouvrez le shell depuis le
"Menu de Démarrage" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" "Menu de Démarrage" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
SDL_mixer
Télécharger fichier source de SDL_mixer-1.2.12 depuis SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw64 && make && make install
SDL_Pango SDL_Pango
Tout d'abord, vous devrez préparer l'archive source et un patch qui est Tout d'abord, vous devrez préparer l'archive source et un patch qui est
@ -240,49 +251,71 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw64 && make && make install $ ./configure --prefix=/mingw64 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw64 && make && make install
Aller à la prochaine section "chaines d'outils MinGW 32bit (i686)", ou Aller à la prochaine section "chaines d'outils MinGW 32bit (i686)", ou
bien aller directement à la section "ImageMagick" si vous n'avez besoin bien aller directement à la section "ImageMagick" si vous n'avez besoin
que d'un environnement de travail 64bit. que d'un environnement de travail 64bit.
------------------------------------------------------- -------------------------------------------------------
Chaînes d'outils MinGW 32bit (i686) MinGW 32bit (i686) compiler and tools
Sous le shell MSYS2, exécutez la commande suivante pour installer outils Sous le shell MSYS2, exécutez la commande suivante pour installer 32bit
basiques pour le développement 32bit : compiler and basic development tools :
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
bibliothèques de dépendance 32bit (i686) pour Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" est un petit outil qui examine les fichiers exécutables de windows "ntldd" est un petit outil qui examine les fichiers exécutables de windows
en vue de lister les fichiers DLL (.dll) qui leur sont nécessaires. Le en vue de lister les fichiers DLL (.dll) qui leur sont nécessaires. Le
process de fabrication de Tux Paint pour fournir des fichiers binaires process de fabrication de Tux Paint pour fournir des fichiers binaires
s'en sert pour trouver les fichiers .dll requis. s'en sert pour trouver les fichiers .dll requis.
FLTK est un ensemble d'outils multiplateforme utilisé par "Tux Paint 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config
Config.". Vous pouvez ne pas l'installer si vous compilez seulement "Tux
Paint".
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx} You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-i686-libvorbis
$ pacman -S mingw-w64-i686-librsvg $ pacman -S mingw-w64-i686-librsvg
$ pacman -S mingw-w64-i686-fribidi $ pacman -S mingw-w64-i686-fribidi
$ pacman -S mingw-w64-i686-libimagequant $ pacman -S mingw-w64-i686-libimagequant
$ pacman -S mingw-w64-i686-fltk $ pacman -S mingw-w64-i686-fltk
$ pacman -S mingw-w64-i686-ntldd-git
💡 Nota : Fermez l'interpréteur de commandes avant de passer à la suite. 💡 Nota : Fermez l'interpréteur de commandes avant de passer à la suite.
Install SDL_Pango on the 32bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
Cette fois-ci, utilisez le shell MinGW "32bit". Ouvrez le shell depuis le Cette fois-ci, utilisez le shell MinGW "32bit". Ouvrez le shell depuis le
"Menu de Démarrage" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" "Menu de Démarrage" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
SDL_mixer
Télécharger fichier source de SDL_mixer-1.2.12 depuis SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw32 && make && make install
SDL_Pango SDL_Pango
Tout d'abord, vous devrez préparer l'archive source et un patch qui est Tout d'abord, vous devrez préparer l'archive source et un patch qui est
@ -301,6 +334,18 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw32 && make && make install $ ./configure --prefix=/mingw32 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw32 && make && make install
ImageMagick ImageMagick
ImageMagick est un ensemble d'outils en ligne de commande pour créer, ImageMagick est un ensemble d'outils en ligne de commande pour créer,

View file

@ -301,7 +301,7 @@
<p style="font-size: small;"> <p style="font-size: small;">
<em> <em>
novembre 3, 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt; mai 16, 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt;
</em> </em>
</p> </p>
</header> </header>
@ -334,7 +334,7 @@
<p> <p>
Sous le shell MSYS2, exécutez la commande suivante pour installer outils basiques pour le développement : <blockquote> Sous le shell MSYS2, exécutez la commande suivante pour installer outils basiques pour le développement : <blockquote>
<code> <code>
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -345,44 +345,44 @@
</p> </p>
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="64bit" id="64bit"> <a name="64bit" id="64bit">
Chaînes d'outils MinGW 64bit (x86_64) </a> MinGW 64bit (x86_64) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Sous le shell MSYS2, exécutez la commande suivante pour installer outils basiques pour le développement 64bit : <blockquote> Sous le shell MSYS2, exécutez la commande suivante pour installer 64bit compiler and basic development tools : <blockquote>
<code> <code>
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" est un petit outil qui examine les fichiers exécutables de windows en vue de lister les fichiers DLL (<code>.dll</code>) qui leur sont nécessaires. Le process de fabrication de Tux Paint pour fournir des fichiers binaires s'en sert pour trouver les fichiers <code>.dll</code> requis. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
bibliothèques de dépendance 64bit (x86_64) pour Tux Paint </h4> 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" est un petit outil qui examine les fichiers exécutables de windows en vue de lister les fichiers DLL (<code>.dll</code>) qui leur sont nécessaires. Le process de fabrication de Tux Paint pour fournir des fichiers binaires s'en sert pour trouver les fichiers <code>.dll</code> requis. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK est un ensemble d'outils multiplateforme utilisé par "Tux Paint Config.". Vous pouvez ne pas l'installer si vous compilez <em>seulement</em> "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-x86_64-libvorbis<br/>
$ pacman -S mingw-w64-x86_64-librsvg<br/> $ pacman -S mingw-w64-x86_64-librsvg<br/>
$ pacman -S mingw-w64-x86_64-fribidi<br/> $ pacman -S mingw-w64-x86_64-fribidi<br/>
$ pacman -S mingw-w64-x86_64-libimagequant<br/> $ pacman -S mingw-w64-x86_64-libimagequant<br/>
$ pacman -S mingw-w64-x86_64-fltk<br/> $ pacman -S mingw-w64-x86_64-fltk<br/>
$ pacman -S mingw-w64-x86_64-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -393,14 +393,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 64bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
Cette fois-ci, utilisez le shell MinGW "64bit". Ouvrez le shell depuis le "Menu de Démarrage" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p> Cette fois-ci, utilisez le shell MinGW "64bit". Ouvrez le shell depuis le "Menu de Démarrage" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Télécharger <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">fichier source de SDL_mixer-1.2.12</a> depuis <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -426,6 +444,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
<p> <p>
<i> <i>
Aller à la prochaine section "<a href="#32bit">chaines d'outils MinGW 32bit (i686)</a>", ou bien aller directement à la section "<a href="#imagemagick">ImageMagick</a>" si vous n'avez besoin que d'un environnement de travail 64bit. </i> Aller à la prochaine section "<a href="#32bit">chaines d'outils MinGW 32bit (i686)</a>", ou bien aller directement à la section "<a href="#imagemagick">ImageMagick</a>" si vous n'avez besoin que d'un environnement de travail 64bit. </i>
@ -434,44 +470,44 @@
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="32bit" id="32bit"> <a name="32bit" id="32bit">
Chaînes d'outils MinGW 32bit (i686) </a> MinGW 32bit (i686) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Sous le shell MSYS2, exécutez la commande suivante pour installer outils basiques pour le développement 32bit : <blockquote> Sous le shell MSYS2, exécutez la commande suivante pour installer 32bit compiler and basic development tools : <blockquote>
<code> <code>
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" est un petit outil qui examine les fichiers exécutables de windows en vue de lister les fichiers DLL (<code>.dll</code>) qui leur sont nécessaires. Le process de fabrication de Tux Paint pour fournir des fichiers binaires s'en sert pour trouver les fichiers <code>.dll</code> requis. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
bibliothèques de dépendance 32bit (i686) pour Tux Paint </h4> 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" est un petit outil qui examine les fichiers exécutables de windows en vue de lister les fichiers DLL (<code>.dll</code>) qui leur sont nécessaires. Le process de fabrication de Tux Paint pour fournir des fichiers binaires s'en sert pour trouver les fichiers <code>.dll</code> requis. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK est un ensemble d'outils multiplateforme utilisé par "Tux Paint Config.". Vous pouvez ne pas l'installer si vous compilez <em>seulement</em> "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-i686-libvorbis<br/>
$ pacman -S mingw-w64-i686-librsvg<br/> $ pacman -S mingw-w64-i686-librsvg<br/>
$ pacman -S mingw-w64-i686-fribidi<br/> $ pacman -S mingw-w64-i686-fribidi<br/>
$ pacman -S mingw-w64-i686-libimagequant<br/> $ pacman -S mingw-w64-i686-libimagequant<br/>
$ pacman -S mingw-w64-i686-fltk<br/> $ pacman -S mingw-w64-i686-fltk<br/>
$ pacman -S mingw-w64-i686-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -482,14 +518,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 32bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
Cette fois-ci, utilisez le shell MinGW "32bit". Ouvrez le shell depuis le "Menu de Démarrage" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p> Cette fois-ci, utilisez le shell MinGW "32bit". Ouvrez le shell depuis le "Menu de Démarrage" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Télécharger <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">fichier source de SDL_mixer-1.2.12</a> depuis <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -515,6 +569,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->

View file

@ -147,7 +147,7 @@ Simple DirectMedia Layer library (libSDL)
Windows Windows
3 de Novembro de 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp 16 de Maio de 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp
<dolphin6k@wmail.plala.or.jp> <dolphin6k@wmail.plala.or.jp>
Compiling Set-Up Compiling Set-Up
@ -177,7 +177,8 @@ Windows
Within the MSYS2 shell, run the following command to install basic Within the MSYS2 shell, run the following command to install basic
development tools: development tools:
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch
gperf
Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to
the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build
@ -185,41 +186,52 @@ Windows
------------------------------------------------------- -------------------------------------------------------
MinGW 64bit (x86_64) toolchains MinGW 64bit (x86_64) compiler and tools
Within the MSYS2 shell, run the following command to install basic 64bit Within the MSYS2 shell, run the following command to install 64bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
64bit (x86_64) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-x86_64-libvorbis
$ pacman -S mingw-w64-x86_64-librsvg $ pacman -S mingw-w64-x86_64-librsvg
$ pacman -S mingw-w64-x86_64-fribidi $ pacman -S mingw-w64-x86_64-fribidi
$ pacman -S mingw-w64-x86_64-libimagequant $ pacman -S mingw-w64-x86_64-libimagequant
$ pacman -S mingw-w64-x86_64-fltk $ pacman -S mingw-w64-x86_64-fltk
$ pacman -S mingw-w64-x86_64-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 64bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "64bit" shell. Open the shell from the "Start This time, use the MinGW "64bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw64 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -237,46 +249,69 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw64 && make && make install $ ./configure --prefix=/mingw64 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw64 && make && make install
Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to
the "ImageMagick" section if you need only a 64bit build environment. the "ImageMagick" section if you need only a 64bit build environment.
------------------------------------------------------- -------------------------------------------------------
MinGW 32bit (i686) toolchains MinGW 32bit (i686) compiler and tools
Within the MSYS2 shell, run the following command to install basic 32bit Within the MSYS2 shell, run the following command to install 32bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
32bit (i686) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-i686-libvorbis
$ pacman -S mingw-w64-i686-librsvg $ pacman -S mingw-w64-i686-librsvg
$ pacman -S mingw-w64-i686-fribidi $ pacman -S mingw-w64-i686-fribidi
$ pacman -S mingw-w64-i686-libimagequant $ pacman -S mingw-w64-i686-libimagequant
$ pacman -S mingw-w64-i686-fltk $ pacman -S mingw-w64-i686-fltk
$ pacman -S mingw-w64-i686-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 32bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "32bit" shell. Open the shell from the "Start This time, use the MinGW "32bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw32 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -294,6 +329,18 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw32 && make && make install $ ./configure --prefix=/mingw32 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw32 && make && make install
ImageMagick ImageMagick
ImageMagick is a compilation of command line tools to create, edit, ImageMagick is a compilation of command line tools to create, edit,

View file

@ -301,7 +301,7 @@
<p style="font-size: small;"> <p style="font-size: small;">
<em> <em>
3 de Novembro de 2021 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt; 16 de Maio de 2022 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt;
</em> </em>
</p> </p>
</header> </header>
@ -334,7 +334,7 @@
<p> <p>
Within the MSYS2 shell, run the following command to install basic development tools: <blockquote> Within the MSYS2 shell, run the following command to install basic development tools: <blockquote>
<code> <code>
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -345,44 +345,44 @@
</p> </p>
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="64bit" id="64bit"> <a name="64bit" id="64bit">
MinGW 64bit (x86_64) toolchains </a> MinGW 64bit (x86_64) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 64bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
64bit (x86_64) dependency libraries for Tux Paint </h4> 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-x86_64-libvorbis<br/>
$ pacman -S mingw-w64-x86_64-librsvg<br/> $ pacman -S mingw-w64-x86_64-librsvg<br/>
$ pacman -S mingw-w64-x86_64-fribidi<br/> $ pacman -S mingw-w64-x86_64-fribidi<br/>
$ pacman -S mingw-w64-x86_64-libimagequant<br/> $ pacman -S mingw-w64-x86_64-libimagequant<br/>
$ pacman -S mingw-w64-x86_64-fltk<br/> $ pacman -S mingw-w64-x86_64-fltk<br/>
$ pacman -S mingw-w64-x86_64-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -393,14 +393,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 64bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p> This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -426,6 +444,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
<p> <p>
<i> <i>
Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i> Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i>
@ -434,44 +470,44 @@
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="32bit" id="32bit"> <a name="32bit" id="32bit">
MinGW 32bit (i686) toolchains </a> MinGW 32bit (i686) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 32bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 32bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
32bit (i686) dependency libraries for Tux Paint </h4> 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-i686-libvorbis<br/>
$ pacman -S mingw-w64-i686-librsvg<br/> $ pacman -S mingw-w64-i686-librsvg<br/>
$ pacman -S mingw-w64-i686-fribidi<br/> $ pacman -S mingw-w64-i686-fribidi<br/>
$ pacman -S mingw-w64-i686-libimagequant<br/> $ pacman -S mingw-w64-i686-libimagequant<br/>
$ pacman -S mingw-w64-i686-fltk<br/> $ pacman -S mingw-w64-i686-fltk<br/>
$ pacman -S mingw-w64-i686-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -482,14 +518,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 32bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p> This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -515,6 +569,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->

View file

@ -144,7 +144,7 @@ Simple DirectMedia Layer library (libSDL)
Windows Windows
2021年11月 3日 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp 2022年5月16日 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp
<dolphin6k@wmail.plala.or.jp> <dolphin6k@wmail.plala.or.jp>
Compiling Set-Up Compiling Set-Up
@ -174,7 +174,8 @@ Windows
Within the MSYS2 shell, run the following command to install basic Within the MSYS2 shell, run the following command to install basic
development tools: development tools:
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch
gperf
Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to Proceed to the next "MinGW 64bit (x86_64) toolchains" section, or skip to
the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build the "MinGW 32bit (i686) toolchains" section if you need only a 32bit build
@ -182,41 +183,52 @@ Windows
------------------------------------------------------- -------------------------------------------------------
MinGW 64bit (x86_64) toolchains MinGW 64bit (x86_64) compiler and tools
Within the MSYS2 shell, run the following command to install basic 64bit Within the MSYS2 shell, run the following command to install 64bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
64bit (x86_64) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-x86_64-libvorbis
$ pacman -S mingw-w64-x86_64-librsvg $ pacman -S mingw-w64-x86_64-librsvg
$ pacman -S mingw-w64-x86_64-fribidi $ pacman -S mingw-w64-x86_64-fribidi
$ pacman -S mingw-w64-x86_64-libimagequant $ pacman -S mingw-w64-x86_64-libimagequant
$ pacman -S mingw-w64-x86_64-fltk $ pacman -S mingw-w64-x86_64-fltk
$ pacman -S mingw-w64-x86_64-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 64bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "64bit" shell. Open the shell from the "Start This time, use the MinGW "64bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw64 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -234,46 +246,69 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw64 && make && make install $ ./configure --prefix=/mingw64 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw64 && make && make install
Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to Proceed to the next "MinGW 32bit (i686) toolchains" section, or skip to
the "ImageMagick" section if you need only a 64bit build environment. the "ImageMagick" section if you need only a 64bit build environment.
------------------------------------------------------- -------------------------------------------------------
MinGW 32bit (i686) toolchains MinGW 32bit (i686) compiler and tools
Within the MSYS2 shell, run the following command to install basic 32bit Within the MSYS2 shell, run the following command to install 32bit
development tools: compiler and basic development tools:
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
32bit (i686) dependency libraries for Tux Paint
You can install tools and libraries required for compiling Tux Paint on
MSYS2/MINGW using "pacman" except for SDL_Pango.
"ntldd" is a small tool which examine windows executable files to list "ntldd" is a small tool which examine windows executable files to list
Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging Dynamic Link Library (.dll) files they depends on. Tux Paint's packaging
process for binary distribution uses it to find required .dll files. process for binary distribution uses it to find required .dll files.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config
You can install tools and libraries required for compiling Tux Paint and
Tux Paint Config on MSYS2/MINGW using "pacman" except for SDL_mixer,
SDL_Pango and libunibreak.
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can
skip installing it if you are only building "Tux Paint". skip installing it if you are only building "Tux Paint".
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx} $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
$ pacman -S mingw-w64-i686-libvorbis
$ pacman -S mingw-w64-i686-librsvg $ pacman -S mingw-w64-i686-librsvg
$ pacman -S mingw-w64-i686-fribidi $ pacman -S mingw-w64-i686-fribidi
$ pacman -S mingw-w64-i686-libimagequant $ pacman -S mingw-w64-i686-libimagequant
$ pacman -S mingw-w64-i686-fltk $ pacman -S mingw-w64-i686-fltk
$ pacman -S mingw-w64-i686-ntldd-git
💡 Note: Close the shell before proceeding to the remaining process. 💡 Note: Close the shell before proceeding to the remaining process.
Install SDL_Pango on the 32bit environment Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment
SDL_Pango should be installed manually. SDL_mixer, SDL_Pango and libunibreak should be installed manually.
This time, use the MinGW "32bit" shell. Open the shell from the "Start This time, use the MinGW "32bit" shell. Open the shell from the "Start
Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
SDL_mixer
Download source tar-ball of SDL_mixer-1.2.12 from SDL_mixer's page.
Build and install SDL_mixer as follows.
$ tar zxvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12/
$ ./configure --prefix=/mingw32 && make && make install
SDL_Pango SDL_Pango
At first, you have to prepare source tar-ball and a required patch in the At first, you have to prepare source tar-ball and a required patch in the
@ -291,6 +326,18 @@ Windows
$ patch -p0 < ../SDL_Pango-configure-extra-api.patch $ patch -p0 < ../SDL_Pango-configure-extra-api.patch
$ ./configure --prefix=/mingw32 && make && make install $ ./configure --prefix=/mingw32 && make && make install
libunibreak
libunibreak is required for compiling Tux Paint Config. You can skip
installing it if you are only building "Tux Paint".
You can fetch the source code from the git repositry and compile it as
follows.
$ git clone https://github.com/adah1972/libunibreak libunibreak
$ cd libunibreak
$ ./augogen.sh --prefix=/mingw32 && make && make install
ImageMagick ImageMagick
ImageMagick is a compilation of command line tools to create, edit, ImageMagick is a compilation of command line tools to create, edit,

View file

@ -301,7 +301,7 @@
<p style="font-size: small;"> <p style="font-size: small;">
<em> <em>
2021年11月 3日 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt; 2022年5月16日 Shin-ichi TOYAMA dolphin6k@wmail.plala.or.jp &lt;<a href="mailto:dolphin6k@wmail.plala.or.jp">dolphin6k@wmail.plala.or.jp</a>&gt;
</em> </em>
</p> </p>
</header> </header>
@ -334,7 +334,7 @@
<p> <p>
Within the MSYS2 shell, run the following command to install basic development tools: <blockquote> Within the MSYS2 shell, run the following command to install basic development tools: <blockquote>
<code> <code>
pacman -S base-devel msys2-devel git pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -345,44 +345,44 @@
</p> </p>
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="64bit" id="64bit"> <a name="64bit" id="64bit">
MinGW 64bit (x86_64) toolchains </a> MinGW 64bit (x86_64) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 64bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
64bit (x86_64) dependency libraries for Tux Paint </h4> 64bit (x86_64) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-x86_64-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-x86_64-libvorbis<br/>
$ pacman -S mingw-w64-x86_64-librsvg<br/> $ pacman -S mingw-w64-x86_64-librsvg<br/>
$ pacman -S mingw-w64-x86_64-fribidi<br/> $ pacman -S mingw-w64-x86_64-fribidi<br/>
$ pacman -S mingw-w64-x86_64-libimagequant<br/> $ pacman -S mingw-w64-x86_64-libimagequant<br/>
$ pacman -S mingw-w64-x86_64-fltk<br/> $ pacman -S mingw-w64-x86_64-fltk<br/>
$ pacman -S mingw-w64-x86_64-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -393,14 +393,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 64bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 64bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p> This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 64-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -426,6 +444,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw64 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
<p> <p>
<i> <i>
Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i> Proceed to the next "<a href="#32bit">MinGW 32bit (i686) toolchains</a>" section, or skip to the "<a href="#imagemagick">ImageMagick</a>" section if you need only a 64bit build environment. </i>
@ -434,44 +470,44 @@
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->
<hr size="1" noshade width="75%" /> <hr size="1" noshade width="75%" />
<section class="indent"><!-- H4: MinGW...toolchains --> <section class="indent"><!-- H4: MinGW...compiler and tools -->
<header> <header>
<h4> <h4>
<a name="32bit" id="32bit"> <a name="32bit" id="32bit">
MinGW 32bit (i686) toolchains </a> MinGW 32bit (i686) compiler and tools </a>
</h4> </h4>
</header> </header>
<p> <p>
Within the MSYS2 shell, run the following command to install basic 32bit development tools: <blockquote> Within the MSYS2 shell, run the following command to install 32bit compiler and basic development tools: <blockquote>
<code> <code>
pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
</code> </code>
</blockquote> </blockquote>
</p> </p>
<p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p>
</section><!-- H4: MinGW...toolchains --> </section><!-- H4: MinGW...toolchains -->
<section class="indent"><!-- H4: ...dependency libraries for Tux Paint --> <section class="indent"><!-- H4: ...dependency libraries for Tux Paint -->
<header> <header>
<h4> <h4>
32bit (i686) dependency libraries for Tux Paint </h4> 32bit (i686) dependency libraries for Tux Paint and Tux Paint Config </h4>
</header> </header>
<p> <p>
You can install tools and libraries required for compiling Tux Paint on MSYS2/MINGW using "<code>pacman</code>" except for SDL_Pango. </p> You can install tools and libraries required for compiling Tux Paint and Tux Paint Config on MSYS2/MINGW using "<code>pacman</code>" except for SDL_mixer, SDL_Pango and libunibreak. </p>
<p> <p>
"<code>ntldd</code>" is a small tool which examine windows executable files to list Dynamic Link Library (<code>.dll</code>) files they depends on. Tux Paint's packaging process for binary distribution uses it to find required <code>.dll</code> files. </p> FLTK is a cross-platform GUI toolkit used by "Tux Paint Config". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
FLTK is a cross-platform GUI toolkit used by "Tux Paint Config.". You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p> <p>
<blockquote> <blockquote>
<code> <code>
$ pacman -S mingw-w64-i686-SDL_{image,mixer,ttf,gfx}<br/> $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}<br/>
$ pacman -S mingw-w64-i686-libvorbis<br/>
$ pacman -S mingw-w64-i686-librsvg<br/> $ pacman -S mingw-w64-i686-librsvg<br/>
$ pacman -S mingw-w64-i686-fribidi<br/> $ pacman -S mingw-w64-i686-fribidi<br/>
$ pacman -S mingw-w64-i686-libimagequant<br/> $ pacman -S mingw-w64-i686-libimagequant<br/>
$ pacman -S mingw-w64-i686-fltk<br/> $ pacman -S mingw-w64-i686-fltk<br/>
$ pacman -S mingw-w64-i686-ntldd-git
</code> </code>
</blockquote> </blockquote>
</p> </p>
@ -482,14 +518,32 @@
<section class="indent"><!-- H4: Install SDL_Pango... --> <section class="indent"><!-- H4: Install SDL_Pango... -->
<header> <header>
<h4> <h4>
Install SDL_Pango on the 32bit environment </h4> Install SDL_mixer, SDL_Pango and libunibreak on the 32bit environment </h4>
</header> </header>
<p> <p>
SDL_Pango should be installed manually. </p> SDL_mixer, SDL_Pango and libunibreak should be installed manually. </p>
<p> <p>
This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p> This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -&gt; "MSYS2 64bit" -&gt; "MSYS2 MinGW 32-bit" </p>
<section class="indent"><!-- H5: SDL_mixer -->
<header>
<h5>SDL_mixer</h5>
</header>
<p>
Download <a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz">source tar-ball of SDL_mixer-1.2.12</a> from <a href="https://www.libsdl.org/projects/SDL_mixer/">SDL_mixer's page</a>. </p>
<p>
Build and install SDL_mixer as follows. <blockquote>
<code>
$ tar zxvf SDL_mixer-1.2.12.tar.gz<br/>
$ cd SDL_mixer-1.2.12/<br/>
$ ./configure --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: SDL_mixer -->
<section class="indent"><!-- H5: SDL_Pango --> <section class="indent"><!-- H5: SDL_Pango -->
<header> <header>
<h5>SDL_Pango</h5> <h5>SDL_Pango</h5>
@ -515,6 +569,24 @@
</p> </p>
</section><!-- H5: SDL_Pango --> </section><!-- H5: SDL_Pango -->
<section class="indent"><!-- H5: libunibreak -->
<header>
<h5>libunibreak</h5>
</header>
<p>
libunibreak is required for compiling Tux Paint Config. You can skip installing it if you are <em>only</em> building "Tux Paint". </p>
<p>
You can fetch the source code from the git repositry and compile it as follows. <blockquote>
<code>
$ git clone https://github.com/adah1972/libunibreak libunibreak<br/>
$ cd libunibreak<br/>
$ ./augogen.sh --prefix=/mingw32 &amp;&amp; make &amp;&amp; make install
</code>
</blockquote>
</p>
</section><!-- H5: libunibreak -->
</section><!-- H4: Install SDL_Pango... --> </section><!-- H4: Install SDL_Pango... -->