diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index ce7fa1ce7..d970e03b0 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -161,6 +161,9 @@ https://tuxpaint.org/
* Documentation updates:
----------------------
+ * Haiku build instructions added to INSTALL docs.
+ Luc 'Begasus' Schrijvers
Tux Paint is released under the GNU General Public License (GPL) (see "COPYING.txt" for details), and therefore the 'source code' to the program is available freely.
Download the latest MSYS2 environment from https://www.msys2.org/ and install it where you'd like (the default is "
- Open the MSYS2 shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MSYS" and execute following command:
+
@@ -322,29 +324,29 @@
C:\msys64")
+ Open the MSYS2 shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MSYS" and execute following command:
- $ yes "" | pacman -Syu
+ $ yes "" | pacman -Syu
This will update core system and the window will close automatically. Open the msys2 shell again and execute following command to finish remaining updating process.
- $ yes "" | pacman -Syu
+ $ yes "" | pacman -Syu
-
+
Within the MSYS2 shell, run the following command to install basic development tools:
- $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unix
+ $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unix
-
+
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 environment. @@ -363,7 +365,7 @@
Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools:
- $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
+ $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
@@ -384,8 +386,8 @@
- $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
@@ -402,7 +404,7 @@
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
+ This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 64-bit"You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw64 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw64 && make && make install
@@ -430,9 +432,9 @@
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
+ $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw64 && make && make install
@@ -457,7 +459,7 @@
Within the MSYS2 shell, run the following command to install 32bit compiler and basic development tools:
- $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
+ $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
@@ -478,8 +480,8 @@
- $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
@@ -496,7 +498,7 @@
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
+ This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 32-bit"You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw32 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw32 && make && make install
@@ -524,9 +526,9 @@
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
+ $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw32 && make && make install
@@ -553,7 +555,7 @@
Add the path to the directory in which ImageMagick is installed at the top of your "PATH" environment variable. For example:
- $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH
+ $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH
@@ -570,9 +572,9 @@
You can compile 64-bit binaries using "MSYS2 64bit" shell, and 32-bit binaries using "MSYS2 32bit" shell, respectively.
- $ tar zxvf tuxpaint-config-A.B.C.tar.gz
- $ mv tuxpaint-config-A.B.C tuxpaint-config
+ $ tar zxvf tuxpaint-config-A.B.C.tar.gz
+ $ mv tuxpaint-config-A.B.C tuxpaint-config
- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-config
+ $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-config
Now you can build Tux Paint Config. as follows:
- $ cd tuxpaint-config
- $ make win32
+ $ cd tuxpaint-config
+ $ make win32
@@ -636,8 +638,8 @@
- $ tar zxvf tuxpaint-A.B.C.tar.gz
- $ mv tuxpaint-A.B.C tuxpaint
+ $ tar zxvf tuxpaint-A.B.C.tar.gz
+ $ mv tuxpaint-A.B.C tuxpaint
- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaint
+ $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaint
Now you can build Tux Paint as follows:
- $ cd tuxpaint
- $ make bdist-win32
+ $ cd tuxpaint
+ $ make bdist-win32
@@ -762,6 +764,8 @@
- $ make
+ $ make
make" with "SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG" added:
- $ make SVG_LIB= SVG_CFLAGS=
+ $ make SVG_LIB= SVG_CFLAGS=
- 📜 Prior to version 0.9.18, Tux Paint used the libSDL_ttf library for rendering text using TrueType Fonts. Since 0.9.18, libSDL_Pango is used, as it has much greater support for internationalization. However, if you wish to disable the use of SDL_Pango, you may do so running "make" with "SDL_PANGO_LIB=" added:
-
- $ make SDL_PANGO_LIB=
-
-
- SDL_mixer dependency), you can run "make" with "SDL_MIXER_LIB=" added:
- $ make SDL_MIXER_LIB=
+ $ make SDL_MIXER_LIB=
- $ su
+ $ su
@@ -874,7 +863,7 @@
- # make install
+ # make install
@@ -883,7 +872,7 @@
- # exit
+ # exit
@@ -892,7 +881,7 @@
- $ sudo make install
+ $ sudo make install
@@ -941,10 +930,12 @@
💡 Note: This list is out of date. See "Makefile" and "Makefile-i18n" for a complete list.
Although Tux Paint is built without the Xcode IDE, Xcode itself is still required to build Tux Paint. Download it from the App Store, and launch it once to accept its license agreements. You may also need to install the Xcode command line tools using the command:
- $ xcode-select --install
+ $ xcode-select --install
@@ -1008,11 +999,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ sudo port install rust cargo
- $ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant/imagequant-sys
- $ cargo build --release # Must use cargo from MacPorts
- $ sudo make PREFIX=/opt/local install
+ $ sudo port install rust cargo
+ $ git clone https://github.com/ImageOptim/libimagequant.git
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release # Must use cargo from MacPorts
+ $ sudo make PREFIX=/opt/local install
@@ -1028,9 +1019,9 @@
sdl2_pango is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ git clone https://github.com/markuskimius/SDL2_Pango.git
- $ cd SDL2_Pango
- $ ./configure --prefix=/opt/local && make && sudo make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango.git
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/opt/local && make && sudo make install
@@ -1049,8 +1040,8 @@
Simply, run:
- % make
- % make install
+ % make
+ % make install
... to create the TuxPaint.app application bundle that can be run in-place or copied to /Applications. To create the DMG file for distribution, use 'make TuxPaint.dmg'.
@@ -1124,7 +1115,7 @@
Then uninstall all MacPorts packages:
- $ sudo port -fp uninstall installed
+ $ sudo port -fp uninstall installed
@@ -1144,14 +1135,14 @@
macOS for Apple Silicon requires all native Apple Silicon applications be signed, even if it is signed "ad-hoc" (anonymously). Because of this, compilers that produce native Apple Silicon applications sign all produced binaries and libraries as a part of the compilation process.* However, the Tux Paint compilation process modifies the libraries to be modular (using install_name_tool) so they can be added into the application bundle, which has the unfortunate side effect of breaking the signature. This can be addressed by signing the application bundle ad-hoc (example below) or using your own Apple Developer Identity if you have one. The DMG file, if needed, must be created after signing the App Bundle so the DMG file is created with signed App Bundle:
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
* For more information on the code signing requirements on the Apple Silicon, see https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes#:~:text=New%20in%20macOS,pass%20through%20Gatekeeper.
- If you get an error that the application bundle is already signed, remove it before signing::
+If you get an error that the application bundle is already signed, remove it before signing:
@@ -1167,9 +1158,9 @@- $ codesign --remove-signature TuxPaint.app + $ codesign --remove-signature TuxPaint.appTo build Tux Paint as a Universal Binary, compile Tux Paint for the Intel CPU and the Apple Silicon separately first. Then rename the app bundle for the Intel CPU to TuxPaint-x86_64.app, and the bundle for the Apple Silicon to TuxPaint-arm64.app, copy the app bundle from the Intel machine to the Apple Silicon machine, then use the provided
build-universal.shscript to combine the two application bundles as below. The produced bundle must be signed (see "Building for Apple Silicon" above for more details). The DMG file, if required, must be built after the signing:@@ -1177,6 +1168,8 @@- $ macos/build-universal.sh
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg + $ macos/build-universal.sh
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
- May 6, 2023 Luc Schrijvers <begasus@gmail.com> + May 7, 2023 Luc Schrijvers <begasus@gmail.com> (Edited by Bill Kendrick)
@@ -1262,24 +1257,60 @@ Prerequisites-Install the required develop packages in Terminal: -32bit: -pkgman install xcairo_x86_devel fribidi_x86_devel gdk_pixbuf_x86_devel -libiconv_x86_devel libimagequant_x86_devel gettext_x86_libintl -libpaper_x86_devel pango_x86_devel libpng16_x86_devel librsvg_x86_devel -libsdl2_x86_devel sdl2_image_x86_devel sdl2_gfx_x86_devel -sdl2_mixer_x86_devel sdl2_pango_x86_devel sdl2_ttf_x86_devel zlib_x86_devel -64bit: -pkgman install xcairo_devel fribidi_devel gdk_pixbuf_devel libiconv_devel -libimagequant_devel gettext_libintl libpaper_devel pango_devel -libpng16_devel librsvg_devel libsdl2_devel sdl2_image_devel sdl2_gfx_devel -sdl2_mixer_devel sdl2_pango_devel sdl2_ttf_devel zlib_devel - -For 32bit you need to swith to the new compiler (currently gcc 11.2.0) with -setarch x86 -+
+ Install the required develop packages in Terminal:
+ pkgman install
+ xcairo_x86_devel
+ fribidi_x86_devel
+ gdk_pixbuf_x86_devel
+ libiconv_x86_devel
+ libimagequant_x86_devel
+ gettext_x86_libintl
+ libpaper_x86_devel
+ pango_x86_devel
+ libpng16_x86_devel
+ librsvg_x86_devel
+ libsdl2_x86_devel
+ sdl2_image_x86_devel
+ sdl2_gfx_x86_devel
+ sdl2_mixer_x86_devel
+ sdl2_pango_x86_devel
+ sdl2_ttf_x86_devel
+ zlib_x86_devel
+
+
+ pkgman install
+ xcairo_devel
+ fribidi_devel
+ gdk_pixbuf_devel
+ libiconv_devel
+ libimagequant_devel
+ gettext_libintl
+ libpaper_devel
+ pango_devel
+ libpng16_devel
+ librsvg_devel
+ libsdl2_devel
+ sdl2_image_devel
+ sdl2_gfx_devel
+ sdl2_mixer_devel
+ sdl2_pango_devel
+ sdl2_ttf_devel
+ zlib_devel
+
+
+ For 32-bit you need to switch to the new compiler (currently gcc 11.2.0) with setarch x86
-cd tuxpaint-VERSION - -Now build Tux Paint: -make PREFIX=/boot/home/config/non-packaged -+
+ make PREFIX=/boot/home/config/non-packaged
+
-cd tuxpaint-stamps-VERSION - -Install the stamps: -make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/ -+
+ make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/
+
Tux Paint is released under the GNU General Public License (GPL) (see "COPYING.txt" for details), and therefore the 'source code' to the program is available freely.
+
Download the latest MSYS2 environment from https://www.msys2.org/ and install it where you'd like (the default is "C:\msys64")
- Open the MSYS2 shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MSYS" and execute following command:
+ Open the MSYS2 shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MSYS" and execute following command:- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuThis will update core system and the window will close automatically. Open the msys2 shell again and execute following command to finish remaining updating process.
- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuWithin the MSYS2 shell, run the following command to install basic development tools:
- +- $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unix + $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unixProceed 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 environment. @@ -363,7 +365,7 @@
Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools:
@@ -384,8 +386,8 @@- $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
@@ -402,7 +404,7 @@- $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
+ This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 64-bit"- @@ -412,9 +414,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -430,9 +432,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw64 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw64 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -457,7 +459,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw64 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw64 && make && make installWithin the MSYS2 shell, run the following command to install 32bit compiler and basic development tools:
@@ -478,8 +480,8 @@- $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
@@ -496,7 +498,7 @@- $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
+ This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 32-bit"+ @@ -506,9 +508,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -524,9 +526,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw32 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw32 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -553,7 +555,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw32 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw32 && make && make installAdd the path to the directory in which ImageMagick is installed at the top of your "PATH" environment variable. For example:
@@ -570,9 +572,9 @@ You can compile 64-bit binaries using "MSYS2 64bit" shell, and 32-bit binaries using "MSYS2 32bit" shell, respectively.- $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH + $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH
- - Select "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" from the "Start Menu" to open the 64bit shell.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 64-bit" from the "Start Menu" to open the 64bit shell.- - Select "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" from the "Start Menu" to open the 32bit shell.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 32-bit" from the "Start Menu" to open the 32bit shell.@@ -591,8 +593,8 @@ Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -603,7 +605,7 @@- $ tar zxvf tuxpaint-config-A.B.C.tar.gz
- $ mv tuxpaint-config-A.B.C tuxpaint-config
+ $ tar zxvf tuxpaint-config-A.B.C.tar.gz
+ $ mv tuxpaint-config-A.B.C tuxpaint-config
Fetch the developing source tree from git repository: @@ -614,8 +616,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-config + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-configNow you can build Tux Paint Config. as follows:
@@ -636,8 +638,8 @@- $ cd tuxpaint-config
- $ make win32
+ $ cd tuxpaint-config
+ $ make win32
Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -648,7 +650,7 @@- $ tar zxvf tuxpaint-A.B.C.tar.gz
- $ mv tuxpaint-A.B.C tuxpaint
+ $ tar zxvf tuxpaint-A.B.C.tar.gz
+ $ mv tuxpaint-A.B.C tuxpaint
Fetch the developing source tree from git repository: @@ -659,8 +661,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaint + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaintNow you can build Tux Paint as follows:
@@ -762,6 +764,8 @@- $ cd tuxpaint
- $ make bdist-win32
+ $ cd tuxpaint
+ $ make bdist-win32
+@@ -799,26 +803,11 @@ To disable SVG support (e.g., if your system is not currently supported by the Cairo library or other SVG-related dependencies), you can run " @@ -784,7 +788,7 @@
- $ make + $ makemake" with "SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG" added:- $ make SVG_LIB= SVG_CFLAGS= + $ make SVG_LIB= SVG_CFLAGS=- -- - -- Disabling Pango support (and hence Pango, Cairo, etc. dependencies):
-- 📜 Prior to version 0.9.18, Tux Paint used the
-libSDL_ttflibrary for rendering text using TrueType Fonts. Since 0.9.18,libSDL_Pangois used, as it has much greater support for internationalization. However, if you wish to disable the use of SDL_Pango, you may do so running "make" with "SDL_PANGO_LIB=" added:--- $ make SDL_PANGO_LIB= --@@ -865,7 +854,7 @@ @@ -829,7 +818,7 @@ If you don't have a sound card, or would prefer to build the program with no sound support (and therefore without a the
SDL_mixerdependency), you can run "make" with "SDL_MIXER_LIB=" added:- $ make SDL_MIXER_LIB= + $ make SDL_MIXER_LIB=@@ -874,7 +863,7 @@- $ su + $ su@@ -883,7 +872,7 @@- # make install + # make install@@ -892,7 +881,7 @@- # exit + # exit@@ -941,10 +930,12 @@- $ sudo make install + $ sudo make install💡 Note: This list is out of date. See "
-Makefile" and "Makefile-i18n" for a complete list.
Although Tux Paint is built without the Xcode IDE, Xcode itself is still required to build Tux Paint. Download it from the App Store, and launch it once to accept its license agreements. You may also need to install the Xcode command line tools using the command:
- $ xcode-select --install
+ $ xcode-select --install
@@ -1008,11 +999,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ sudo port install rust cargo
- $ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant/imagequant-sys
- $ cargo build --release # Must use cargo from MacPorts
- $ sudo make PREFIX=/opt/local install
+ $ sudo port install rust cargo
+ $ git clone https://github.com/ImageOptim/libimagequant.git
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release # Must use cargo from MacPorts
+ $ sudo make PREFIX=/opt/local install
@@ -1028,9 +1019,9 @@
sdl2_pango is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ git clone https://github.com/markuskimius/SDL2_Pango.git
- $ cd SDL2_Pango
- $ ./configure --prefix=/opt/local && make && sudo make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango.git
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/opt/local && make && sudo make install
@@ -1049,8 +1040,8 @@
Simply, run:
- % make
- % make install
+ % make
+ % make install
... to create the TuxPaint.app application bundle that can be run in-place or copied to /Applications. To create the DMG file for distribution, use 'make TuxPaint.dmg'.
@@ -1124,7 +1115,7 @@
Then uninstall all MacPorts packages:
- $ sudo port -fp uninstall installed
+ $ sudo port -fp uninstall installed
@@ -1144,14 +1135,14 @@
macOS for Apple Silicon requires all native Apple Silicon applications be signed, even if it is signed "ad-hoc" (anonymously). Because of this, compilers that produce native Apple Silicon applications sign all produced binaries and libraries as a part of the compilation process.* However, the Tux Paint compilation process modifies the libraries to be modular (using install_name_tool) so they can be added into the application bundle, which has the unfortunate side effect of breaking the signature. This can be addressed by signing the application bundle ad-hoc (example below) or using your own Apple Developer Identity if you have one. The DMG file, if needed, must be created after signing the App Bundle so the DMG file is created with signed App Bundle:
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
* For more information on the code signing requirements on the Apple Silicon, see https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes#:~:text=New%20in%20macOS,pass%20through%20Gatekeeper.
- If you get an error that the application bundle is already signed, remove it before signing::
+If you get an error that the application bundle is already signed, remove it before signing:
@@ -1167,9 +1158,9 @@- $ codesign --remove-signature TuxPaint.app + $ codesign --remove-signature TuxPaint.appTo build Tux Paint as a Universal Binary, compile Tux Paint for the Intel CPU and the Apple Silicon separately first. Then rename the app bundle for the Intel CPU to TuxPaint-x86_64.app, and the bundle for the Apple Silicon to TuxPaint-arm64.app, copy the app bundle from the Intel machine to the Apple Silicon machine, then use the provided
build-universal.shscript to combine the two application bundles as below. The produced bundle must be signed (see "Building for Apple Silicon" above for more details). The DMG file, if required, must be built after the signing:@@ -1177,6 +1168,8 @@- $ macos/build-universal.sh
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg + $ macos/build-universal.sh
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
- mayo 6, 2023 Luc Schrijvers <begasus@gmail.com> + mayo 7, 2023 Luc Schrijvers <begasus@gmail.com> (Edited by Bill Kendrick)
@@ -1262,24 +1257,60 @@ Prerequisites-Install the required develop packages in Terminal: -32bit: -pkgman install xcairo_x86_devel fribidi_x86_devel gdk_pixbuf_x86_devel -libiconv_x86_devel libimagequant_x86_devel gettext_x86_libintl -libpaper_x86_devel pango_x86_devel libpng16_x86_devel librsvg_x86_devel -libsdl2_x86_devel sdl2_image_x86_devel sdl2_gfx_x86_devel -sdl2_mixer_x86_devel sdl2_pango_x86_devel sdl2_ttf_x86_devel zlib_x86_devel -64bit: -pkgman install xcairo_devel fribidi_devel gdk_pixbuf_devel libiconv_devel -libimagequant_devel gettext_libintl libpaper_devel pango_devel -libpng16_devel librsvg_devel libsdl2_devel sdl2_image_devel sdl2_gfx_devel -sdl2_mixer_devel sdl2_pango_devel sdl2_ttf_devel zlib_devel - -For 32bit you need to swith to the new compiler (currently gcc 11.2.0) with -setarch x86 -+
+ Install the required develop packages in Terminal:
+ pkgman install
+ xcairo_x86_devel
+ fribidi_x86_devel
+ gdk_pixbuf_x86_devel
+ libiconv_x86_devel
+ libimagequant_x86_devel
+ gettext_x86_libintl
+ libpaper_x86_devel
+ pango_x86_devel
+ libpng16_x86_devel
+ librsvg_x86_devel
+ libsdl2_x86_devel
+ sdl2_image_x86_devel
+ sdl2_gfx_x86_devel
+ sdl2_mixer_x86_devel
+ sdl2_pango_x86_devel
+ sdl2_ttf_x86_devel
+ zlib_x86_devel
+
+
+ pkgman install
+ xcairo_devel
+ fribidi_devel
+ gdk_pixbuf_devel
+ libiconv_devel
+ libimagequant_devel
+ gettext_libintl
+ libpaper_devel
+ pango_devel
+ libpng16_devel
+ librsvg_devel
+ libsdl2_devel
+ sdl2_image_devel
+ sdl2_gfx_devel
+ sdl2_mixer_devel
+ sdl2_pango_devel
+ sdl2_ttf_devel
+ zlib_devel
+
+
+ For 32-bit you need to switch to the new compiler (currently gcc 11.2.0) with setarch x86
-cd tuxpaint-VERSION - -Now build Tux Paint: -make PREFIX=/boot/home/config/non-packaged -+
+ make PREFIX=/boot/home/config/non-packaged
+
-cd tuxpaint-stamps-VERSION - -Install the stamps: -make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/ -+
+ make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/
+
Tux Paint est publié sous la licence publique générale GNU (GPL) (voir "COPYING.txt" pour plus de détails), et donc le 'code source' du programme est disponible gratuitement.
+
Téléchargez le dernier environnement MSYS2 à partir de https://www.msys2.org/ et installez-le où vous voulez (par défaut "C:\msys64")
- Open the MSYS2 shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MSYS" and execute following command:
+ Open the MSYS2 shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MSYS" and execute following command:- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuThis will update core system and the window will close automatically. Open the msys2 shell again and execute following command to finish remaining updating process.
- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuSous le shell MSYS2, exécutez la commande suivante pour installer outils basiques pour le développement :
- +- $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unix + $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unixAllez à 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 qu'un environnement de travail 32bit. @@ -363,7 +365,7 @@
Sous le shell MSYS2, exécutez la commande suivante pour installer 64bit compiler and basic development tools :
@@ -384,8 +386,8 @@- $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
@@ -402,7 +404,7 @@- $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- Cette fois-ci, utilisez le shell MinGW "64bit". Ouvrez le shell depuis le "Menu de Démarrage" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
+ This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 64-bit"- @@ -412,9 +414,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -430,9 +432,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw64 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw64 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -457,7 +459,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw64 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw64 && make && make installSous le shell MSYS2, exécutez la commande suivante pour installer 32bit compiler and basic development tools :
@@ -478,8 +480,8 @@- $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
@@ -496,7 +498,7 @@- $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- Cette fois-ci, utilisez le shell MinGW "32bit". Ouvrez le shell depuis le "Menu de Démarrage" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
+ This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 32-bit"+ @@ -506,9 +508,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -524,9 +526,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw32 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw32 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -553,7 +555,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw32 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw32 && make && make installAjoutez le chemin où ImageMagick est installé au début de votre variable d'environnement "PATH". Par exemple :
@@ -570,9 +572,9 @@ You can compile 64-bit binaries using "MSYS2 64bit" shell, and 32-bit binaries using "MSYS2 32bit" shell, respectively.- $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH + $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH
- - Choisissez "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" dans le "Menu de Démarrage" pour ouvrir le shell 64bit.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 64-bit" from the "Start Menu" to open the 64bit shell.- - Choisissez "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" dans le "Menu de Démarrage" pour ouvrir le shell 32bit.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 32-bit" from the "Start Menu" to open the 32bit shell.@@ -591,8 +593,8 @@ Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -603,7 +605,7 @@- $ tar zxvf tuxpaint-config-A.B.C.tar.gz
- $ mv tuxpaint-config-A.B.C tuxpaint-config
+ $ tar zxvf tuxpaint-config-A.B.C.tar.gz
+ $ mv tuxpaint-config-A.B.C tuxpaint-config
Fetch the developing source tree from git repository: @@ -614,8 +616,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-config + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-configNow you can build Tux Paint Config. as follows:
@@ -636,8 +638,8 @@- $ cd tuxpaint-config
- $ make win32
+ $ cd tuxpaint-config
+ $ make win32
Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -648,7 +650,7 @@- $ tar zxvf tuxpaint-A.B.C.tar.gz
- $ mv tuxpaint-A.B.C tuxpaint
+ $ tar zxvf tuxpaint-A.B.C.tar.gz
+ $ mv tuxpaint-A.B.C tuxpaint
Fetch the developing source tree from git repository: @@ -659,8 +661,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaint + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaintNow you can build Tux Paint as follows:
@@ -762,6 +764,8 @@- $ cd tuxpaint
- $ make bdist-win32
+ $ cd tuxpaint
+ $ make bdist-win32
+@@ -799,26 +803,11 @@ Pour désactiver le support de SVG (par ex. si votre système n'a pas de bibliothèque Cairo, ou d'autres choses dont SVG est dépendant), vous pouvez exécuter " @@ -784,7 +788,7 @@
- $ make + $ makemake" avec "SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG" :- $ make SVG_LIB= SVG_CFLAGS= + $ make SVG_LIB= SVG_CFLAGS=- -- - -- Désactivation du support Pango (donc des dépendances Pango, Cairo, etc ...)
-- 📜 Avant la version 0.9.18, Tuxpaint utilisait la bibliothèque
-libSDL_ttfpour gérer les fichiers utilisant les fontes True Type. Depuis la 09.18libSDL_Pangoest utilisée, car il permet un meilleur support pour l'internationalisation. Cependant, si vous voulez désactiver l'utilisation de SDL_Pango, vous pouvez le faire en exécutant "make" avec "SDL_PANGO_LIB=" :--- $ make SDL_PANGO_LIB= --@@ -865,7 +854,7 @@ @@ -829,7 +818,7 @@ Si vous n'avez pas de carte son ou si vous préférez créer le programme sans support sonore (et donc sans dépendance
SDL_mixer), vous pouvez exécuter "make" avec "SDL_MIXER_LIB=" comme paramètre :- $ make SDL_MIXER_LIB= + $ make SDL_MIXER_LIB=@@ -874,7 +863,7 @@- $ su + $ su@@ -883,7 +872,7 @@- # make install + # make install@@ -892,7 +881,7 @@- # exit + # exit@@ -941,10 +930,12 @@- $ sudo make install + $ sudo make install💡 Note: This list is out of date. See "
-Makefile" and "Makefile-i18n" for a complete list.
Bien Tux Paint puisse être construit sans Xcode IDE, ce dernier est toujours nécessaire. Téléchargez le = partir de l' the App Store, et lancez le une fois pour accepter ses accords de licence. Vous pouvez aussi installer les outils de ligne de commande de Xcode en tapant la commande :
- $ xcode-select --install
+ $ xcode-select --install
@@ -1008,11 +999,11 @@
libimagequant n'est pas disponible sur MacPorts à cette heure. Il peut être installé sur /opt/local (comme pour MacPorts) pour la bibliothèque devant être incluse dans TuxPaint.dmg.
- $ sudo port install rust cargo
- $ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant/imagequant-sys
- $ cargo build --release # Must use cargo from MacPorts
- $ sudo make PREFIX=/opt/local install
+ $ sudo port install rust cargo
+ $ git clone https://github.com/ImageOptim/libimagequant.git
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release # Must use cargo from MacPorts
+ $ sudo make PREFIX=/opt/local install
@@ -1028,9 +1019,9 @@
sdl2_pango is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ git clone https://github.com/markuskimius/SDL2_Pango.git
- $ cd SDL2_Pango
- $ ./configure --prefix=/opt/local && make && sudo make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango.git
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/opt/local && make && sudo make install
@@ -1049,8 +1040,8 @@
Tapez simplement :
- % make
- % make install
+ % make
+ % make install
... to create the TuxPaint.app application bundle that can be run in-place or copied to /Applications. To create the DMG file for distribution, use 'make TuxPaint.dmg'.
@@ -1124,7 +1115,7 @@
Then uninstall all MacPorts packages:
- $ sudo port -fp uninstall installed
+ $ sudo port -fp uninstall installed
@@ -1144,14 +1135,14 @@
macOS for Apple Silicon requires all native Apple Silicon applications be signed, even if it is signed "ad-hoc" (anonymously). Because of this, compilers that produce native Apple Silicon applications sign all produced binaries and libraries as a part of the compilation process.* However, the Tux Paint compilation process modifies the libraries to be modular (using install_name_tool) so they can be added into the application bundle, which has the unfortunate side effect of breaking the signature. This can be addressed by signing the application bundle ad-hoc (example below) or using your own Apple Developer Identity if you have one. The DMG file, if needed, must be created after signing the App Bundle so the DMG file is created with signed App Bundle:
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
* For more information on the code signing requirements on the Apple Silicon, see https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes#:~:text=New%20in%20macOS,pass%20through%20Gatekeeper.
- If you get an error that the application bundle is already signed, remove it before signing::
+If you get an error that the application bundle is already signed, remove it before signing:
@@ -1167,9 +1158,9 @@- $ codesign --remove-signature TuxPaint.app + $ codesign --remove-signature TuxPaint.appTo build Tux Paint as a Universal Binary, compile Tux Paint for the Intel CPU and the Apple Silicon separately first. Then rename the app bundle for the Intel CPU to TuxPaint-x86_64.app, and the bundle for the Apple Silicon to TuxPaint-arm64.app, copy the app bundle from the Intel machine to the Apple Silicon machine, then use the provided
build-universal.shscript to combine the two application bundles as below. The produced bundle must be signed (see "Building for Apple Silicon" above for more details). The DMG file, if required, must be built after the signing:@@ -1177,6 +1168,8 @@- $ macos/build-universal.sh
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg + $ macos/build-universal.sh
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
- mai 6, 2023 Luc Schrijvers <begasus@gmail.com> + mai 7, 2023 Luc Schrijvers <begasus@gmail.com> (Edited by Bill Kendrick)
@@ -1262,24 +1257,60 @@ Prérequis-Install the required develop packages in Terminal: -32bit: -pkgman install xcairo_x86_devel fribidi_x86_devel gdk_pixbuf_x86_devel -libiconv_x86_devel libimagequant_x86_devel gettext_x86_libintl -libpaper_x86_devel pango_x86_devel libpng16_x86_devel librsvg_x86_devel -libsdl2_x86_devel sdl2_image_x86_devel sdl2_gfx_x86_devel -sdl2_mixer_x86_devel sdl2_pango_x86_devel sdl2_ttf_x86_devel zlib_x86_devel -64bit: -pkgman install xcairo_devel fribidi_devel gdk_pixbuf_devel libiconv_devel -libimagequant_devel gettext_libintl libpaper_devel pango_devel -libpng16_devel librsvg_devel libsdl2_devel sdl2_image_devel sdl2_gfx_devel -sdl2_mixer_devel sdl2_pango_devel sdl2_ttf_devel zlib_devel - -For 32bit you need to swith to the new compiler (currently gcc 11.2.0) with -setarch x86 -+
+ Install the required develop packages in Terminal:
+ pkgman install
+ xcairo_x86_devel
+ fribidi_x86_devel
+ gdk_pixbuf_x86_devel
+ libiconv_x86_devel
+ libimagequant_x86_devel
+ gettext_x86_libintl
+ libpaper_x86_devel
+ pango_x86_devel
+ libpng16_x86_devel
+ librsvg_x86_devel
+ libsdl2_x86_devel
+ sdl2_image_x86_devel
+ sdl2_gfx_x86_devel
+ sdl2_mixer_x86_devel
+ sdl2_pango_x86_devel
+ sdl2_ttf_x86_devel
+ zlib_x86_devel
+
+
+ pkgman install
+ xcairo_devel
+ fribidi_devel
+ gdk_pixbuf_devel
+ libiconv_devel
+ libimagequant_devel
+ gettext_libintl
+ libpaper_devel
+ pango_devel
+ libpng16_devel
+ librsvg_devel
+ libsdl2_devel
+ sdl2_image_devel
+ sdl2_gfx_devel
+ sdl2_mixer_devel
+ sdl2_pango_devel
+ sdl2_ttf_devel
+ zlib_devel
+
+
+ For 32-bit you need to switch to the new compiler (currently gcc 11.2.0) with setarch x86
-cd tuxpaint-VERSION - -Now build Tux Paint: -make PREFIX=/boot/home/config/non-packaged -+
+ make PREFIX=/boot/home/config/non-packaged
+
-cd tuxpaint-stamps-VERSION - -Install the stamps: -make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/ -+
+ make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/
+
Tux Paint publícase baixo a Licenza Pública Xeral de GNU (GPL) (consulte «COPYING.txt» para máis detalles) e, polo tanto, o «código fonte» do programa está dispoñíbel libremente.
+
Download the latest MSYS2 environment from https://www.msys2.org/ and install it where you'd like (the default is "C:\msys64")
- Open the MSYS2 shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MSYS" and execute following command:
+ Open the MSYS2 shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MSYS" and execute following command:- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuThis will update core system and the window will close automatically. Open the msys2 shell again and execute following command to finish remaining updating process.
- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuWithin the MSYS2 shell, run the following command to install basic development tools:
- +- $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unix + $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unixProceed 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 environment. @@ -363,7 +365,7 @@
Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools:
@@ -384,8 +386,8 @@- $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
@@ -402,7 +404,7 @@- $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
+ This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 64-bit"- @@ -412,9 +414,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -430,9 +432,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw64 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw64 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -457,7 +459,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw64 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw64 && make && make installWithin the MSYS2 shell, run the following command to install 32bit compiler and basic development tools:
@@ -478,8 +480,8 @@- $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
@@ -496,7 +498,7 @@- $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
+ This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 32-bit"+ @@ -506,9 +508,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -524,9 +526,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw32 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw32 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -553,7 +555,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw32 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw32 && make && make installAdd the path to the directory in which ImageMagick is installed at the top of your "PATH" environment variable. For example:
@@ -570,9 +572,9 @@ You can compile 64-bit binaries using "MSYS2 64bit" shell, and 32-bit binaries using "MSYS2 32bit" shell, respectively.- $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH + $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH
- - Select "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" from the "Start Menu" to open the 64bit shell.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 64-bit" from the "Start Menu" to open the 64bit shell.- - Select "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" from the "Start Menu" to open the 32bit shell.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 32-bit" from the "Start Menu" to open the 32bit shell.@@ -591,8 +593,8 @@ Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -603,7 +605,7 @@- $ tar zxvf tuxpaint-config-A.B.C.tar.gz
- $ mv tuxpaint-config-A.B.C tuxpaint-config
+ $ tar zxvf tuxpaint-config-A.B.C.tar.gz
+ $ mv tuxpaint-config-A.B.C tuxpaint-config
Fetch the developing source tree from git repository: @@ -614,8 +616,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-config + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-configNow you can build Tux Paint Config. as follows:
@@ -636,8 +638,8 @@- $ cd tuxpaint-config
- $ make win32
+ $ cd tuxpaint-config
+ $ make win32
Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -648,7 +650,7 @@- $ tar zxvf tuxpaint-A.B.C.tar.gz
- $ mv tuxpaint-A.B.C tuxpaint
+ $ tar zxvf tuxpaint-A.B.C.tar.gz
+ $ mv tuxpaint-A.B.C tuxpaint
Fetch the developing source tree from git repository: @@ -659,8 +661,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaint + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaintNow you can build Tux Paint as follows:
@@ -762,6 +764,8 @@- $ cd tuxpaint
- $ make bdist-win32
+ $ cd tuxpaint
+ $ make bdist-win32
+@@ -799,26 +803,11 @@ Para desactivar a compatibilidade con SVG (por exemplo, se o seu sistema non é compatíbel coa biblioteca de Cairo ou outras dependencias relacionadas co SVG), pode executar « @@ -784,7 +788,7 @@
- $ make + $ makemake» engadindo «SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG»:- $ make SVG_LIB= SVG_CFLAGS= + $ make SVG_LIB= SVG_CFLAGS=- -- - -- Desactivar a compatibilidade de «Pango» (e, polo tanto, as dependencias de «Pango, Cairo, etc.»:
-- 📜 Antes da versión 0.9.18, Tux Paint utilizaba a biblioteca
-libSDL_ttfpara renderizar texto usando tipos de letra TrueType. Dende o 0.9.18 úsaselibSDL_Pango, xa que ten unha mellor compatibilidade coa internacionalización. Non obstante, se quere desactivar o uso de SDL_Pango, pode facelo executando «make» engadindo «SDL_PANGO_LIB=»:--- $ make SDL_PANGO_LIB= --@@ -865,7 +854,7 @@ @@ -829,7 +818,7 @@ Se non te unha tarxeta de son ou prefire construír o programa sen asistencia de son (e polo tanto sen a dependencia
SDL_mixer), pode executar «make» con «SDL_MIXER_LIB=» engadido:- $ make SDL_MIXER_LIB= + $ make SDL_MIXER_LIB=@@ -874,7 +863,7 @@- $ su + $ su@@ -883,7 +872,7 @@- # make install + # make install@@ -892,7 +881,7 @@- # exit + # exit@@ -941,10 +930,12 @@- $ sudo make install + $ sudo make install💡 Note: This list is out of date. See "
-Makefile" and "Makefile-i18n" for a complete list.
Although Tux Paint is built without the Xcode IDE, Xcode itself is still required to build Tux Paint. Download it from the App Store, and launch it once to accept its license agreements. You may also need to install the Xcode command line tools using the command:
- $ xcode-select --install
+ $ xcode-select --install
@@ -1008,11 +999,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ sudo port install rust cargo
- $ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant/imagequant-sys
- $ cargo build --release # Must use cargo from MacPorts
- $ sudo make PREFIX=/opt/local install
+ $ sudo port install rust cargo
+ $ git clone https://github.com/ImageOptim/libimagequant.git
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release # Must use cargo from MacPorts
+ $ sudo make PREFIX=/opt/local install
@@ -1028,9 +1019,9 @@
sdl2_pango is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ git clone https://github.com/markuskimius/SDL2_Pango.git
- $ cd SDL2_Pango
- $ ./configure --prefix=/opt/local && make && sudo make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango.git
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/opt/local && make && sudo make install
@@ -1049,8 +1040,8 @@
Simply, run:
- % make
- % make install
+ % make
+ % make install
... to create the TuxPaint.app application bundle that can be run in-place or copied to /Applications. To create the DMG file for distribution, use 'make TuxPaint.dmg'.
@@ -1124,7 +1115,7 @@
Then uninstall all MacPorts packages:
- $ sudo port -fp uninstall installed
+ $ sudo port -fp uninstall installed
@@ -1144,14 +1135,14 @@
macOS for Apple Silicon requires all native Apple Silicon applications be signed, even if it is signed "ad-hoc" (anonymously). Because of this, compilers that produce native Apple Silicon applications sign all produced binaries and libraries as a part of the compilation process.* However, the Tux Paint compilation process modifies the libraries to be modular (using install_name_tool) so they can be added into the application bundle, which has the unfortunate side effect of breaking the signature. This can be addressed by signing the application bundle ad-hoc (example below) or using your own Apple Developer Identity if you have one. The DMG file, if needed, must be created after signing the App Bundle so the DMG file is created with signed App Bundle:
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
* For more information on the code signing requirements on the Apple Silicon, see https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes#:~:text=New%20in%20macOS,pass%20through%20Gatekeeper.
- If you get an error that the application bundle is already signed, remove it before signing::
+If you get an error that the application bundle is already signed, remove it before signing:
@@ -1167,9 +1158,9 @@- $ codesign --remove-signature TuxPaint.app + $ codesign --remove-signature TuxPaint.appTo build Tux Paint as a Universal Binary, compile Tux Paint for the Intel CPU and the Apple Silicon separately first. Then rename the app bundle for the Intel CPU to TuxPaint-x86_64.app, and the bundle for the Apple Silicon to TuxPaint-arm64.app, copy the app bundle from the Intel machine to the Apple Silicon machine, then use the provided
build-universal.shscript to combine the two application bundles as below. The produced bundle must be signed (see "Building for Apple Silicon" above for more details). The DMG file, if required, must be built after the signing:@@ -1177,6 +1168,8 @@- $ macos/build-universal.sh
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg + $ macos/build-universal.sh
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
- 6 de Maio de 2023 Luc Schrijvers <begasus@gmail.com> + 7 de Maio de 2023 Luc Schrijvers <begasus@gmail.com> (Edited by Bill Kendrick)
@@ -1262,24 +1257,60 @@ Prerequisites-Install the required develop packages in Terminal: -32bit: -pkgman install xcairo_x86_devel fribidi_x86_devel gdk_pixbuf_x86_devel -libiconv_x86_devel libimagequant_x86_devel gettext_x86_libintl -libpaper_x86_devel pango_x86_devel libpng16_x86_devel librsvg_x86_devel -libsdl2_x86_devel sdl2_image_x86_devel sdl2_gfx_x86_devel -sdl2_mixer_x86_devel sdl2_pango_x86_devel sdl2_ttf_x86_devel zlib_x86_devel -64bit: -pkgman install xcairo_devel fribidi_devel gdk_pixbuf_devel libiconv_devel -libimagequant_devel gettext_libintl libpaper_devel pango_devel -libpng16_devel librsvg_devel libsdl2_devel sdl2_image_devel sdl2_gfx_devel -sdl2_mixer_devel sdl2_pango_devel sdl2_ttf_devel zlib_devel - -For 32bit you need to swith to the new compiler (currently gcc 11.2.0) with -setarch x86 -+
+ Install the required develop packages in Terminal:
+ pkgman install
+ xcairo_x86_devel
+ fribidi_x86_devel
+ gdk_pixbuf_x86_devel
+ libiconv_x86_devel
+ libimagequant_x86_devel
+ gettext_x86_libintl
+ libpaper_x86_devel
+ pango_x86_devel
+ libpng16_x86_devel
+ librsvg_x86_devel
+ libsdl2_x86_devel
+ sdl2_image_x86_devel
+ sdl2_gfx_x86_devel
+ sdl2_mixer_x86_devel
+ sdl2_pango_x86_devel
+ sdl2_ttf_x86_devel
+ zlib_x86_devel
+
+
+ pkgman install
+ xcairo_devel
+ fribidi_devel
+ gdk_pixbuf_devel
+ libiconv_devel
+ libimagequant_devel
+ gettext_libintl
+ libpaper_devel
+ pango_devel
+ libpng16_devel
+ librsvg_devel
+ libsdl2_devel
+ sdl2_image_devel
+ sdl2_gfx_devel
+ sdl2_mixer_devel
+ sdl2_pango_devel
+ sdl2_ttf_devel
+ zlib_devel
+
+
+ For 32-bit you need to switch to the new compiler (currently gcc 11.2.0) with setarch x86
-cd tuxpaint-VERSION - -Now build Tux Paint: -make PREFIX=/boot/home/config/non-packaged -+
+ make PREFIX=/boot/home/config/non-packaged
+
-cd tuxpaint-stamps-VERSION - -Install the stamps: -make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/ -+
+ make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/
+
Tux Paint is released under the GNU General Public License (GPL) (see "COPYING.txt" for details), and therefore the 'source code' to the program is available freely.
+
Download the latest MSYS2 environment from https://www.msys2.org/ and install it where you'd like (the default is "C:\msys64")
- Open the MSYS2 shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MSYS" and execute following command:
+ Open the MSYS2 shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MSYS" and execute following command:- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuThis will update core system and the window will close automatically. Open the msys2 shell again and execute following command to finish remaining updating process.
- +- $ yes "" | pacman -Syu + $ yes "" | pacman -SyuWithin the MSYS2 shell, run the following command to install basic development tools:
- +- $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unix + $ yes "" | pacman -S make automake-wrapper autoconf-wrapper libtool git zip patch gperf dos2unixProceed 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 environment. @@ -363,7 +365,7 @@
Within the MSYS2 shell, run the following command to install 64bit compiler and basic development tools:
@@ -384,8 +386,8 @@- $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-x86_64-{gcc,pkgconf,ntldd-git}
@@ -402,7 +404,7 @@- $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-x86_64-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-x86_64-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 64-bit"
+ This time, use the MinGW "64bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 64-bit"- @@ -412,9 +414,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -430,9 +432,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw64 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw64 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -457,7 +459,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw64 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw64 && make && make installWithin the MSYS2 shell, run the following command to install 32bit compiler and basic development tools:
@@ -478,8 +480,8 @@- $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git} + $ yes "" | pacman -S mingw-w64-i686-{gcc,pkgconf,ntldd-git}
@@ -496,7 +498,7 @@- $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
- $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
+ $ pacman -S mingw-w64-i686-SDL_{image,ttf,gfx}
+ $ pacman -S mingw-w64-i686-{librsvg,fribidi,libimagequant,fltk}
SDL2_Pango and libunibreak should be installed manually.
- This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" -> "MSYS2 64bit" -> "MSYS2 MinGW 32-bit"
+ This time, use the MinGW "32bit" shell. Open the shell from the "Start Menu" → "MSYS2 64bit" → "MSYS2 MinGW 32-bit"+ @@ -506,9 +508,9 @@ You can fetch the source code from the Mark K. Kim's git repositry, compile and install it as follows.
@@ -524,9 +526,9 @@- $ git clone https://github.com/markuskimius/SDL2_Pango
- $ cd SDL2_Pango
- $ ./configure --prefix=/mingw32 && make && make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/mingw32 && make && make install
You can fetch the source code from the git repositry and compile it as follows.
@@ -553,7 +555,7 @@- $ git clone https://github.com/adah1972/libunibreak libunibreak
- $ cd libunibreak
- $ ./augogen.sh --prefix=/mingw32 && make && make install + $ git clone https://github.com/adah1972/libunibreak libunibreak
+ $ cd libunibreak
+ $ ./augogen.sh --prefix=/mingw32 && make && make installAdd the path to the directory in which ImageMagick is installed at the top of your "PATH" environment variable. For example:
@@ -570,9 +572,9 @@ You can compile 64-bit binaries using "MSYS2 64bit" shell, and 32-bit binaries using "MSYS2 32bit" shell, respectively.- $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH + $ export PATH=/c/Program\ Files/ImageMagick-7.0.10-Q16-HDRI:$PATH
- - Select "MSYS2 64bit" -> "MSYS2 MinGW 64-bit" from the "Start Menu" to open the 64bit shell.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 64-bit" from the "Start Menu" to open the 64bit shell.- - Select "MSYS2 64bit" -> "MSYS2 MinGW 32-bit" from the "Start Menu" to open the 32bit shell.
+ Select "MSYS2 64bit" → "MSYS2 MinGW 32-bit" from the "Start Menu" to open the 32bit shell.@@ -591,8 +593,8 @@ Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -603,7 +605,7 @@- $ tar zxvf tuxpaint-config-A.B.C.tar.gz
- $ mv tuxpaint-config-A.B.C tuxpaint-config
+ $ tar zxvf tuxpaint-config-A.B.C.tar.gz
+ $ mv tuxpaint-config-A.B.C tuxpaint-config
Fetch the developing source tree from git repository: @@ -614,8 +616,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-config + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint-config tuxpaint-configNow you can build Tux Paint Config. as follows:
@@ -636,8 +638,8 @@- $ cd tuxpaint-config
- $ make win32
+ $ cd tuxpaint-config
+ $ make win32
Expand the tar-ball and change the directory name so that the final packaging process can find related files. @@ -648,7 +650,7 @@- $ tar zxvf tuxpaint-A.B.C.tar.gz
- $ mv tuxpaint-A.B.C tuxpaint
+ $ tar zxvf tuxpaint-A.B.C.tar.gz
+ $ mv tuxpaint-A.B.C tuxpaint
Fetch the developing source tree from git repository: @@ -659,8 +661,8 @@- $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaint + $ git clone https://git.code.sf.net/p/tuxpaint/tuxpaint tuxpaintNow you can build Tux Paint as follows:
@@ -762,6 +764,8 @@- $ cd tuxpaint
- $ make bdist-win32
+ $ cd tuxpaint
+ $ make bdist-win32
+@@ -799,26 +803,11 @@ To disable SVG support (e.g., if your system is not currently supported by the Cairo library or other SVG-related dependencies), you can run " @@ -784,7 +788,7 @@
- $ make + $ makemake" with "SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG" added:- $ make SVG_LIB= SVG_CFLAGS= + $ make SVG_LIB= SVG_CFLAGS=- -- - -- Disabling Pango support (and hence Pango, Cairo, etc. dependencies):
-- 📜 Prior to version 0.9.18, Tux Paint used the
-libSDL_ttflibrary for rendering text using TrueType Fonts. Since 0.9.18,libSDL_Pangois used, as it has much greater support for internationalization. However, if you wish to disable the use of SDL_Pango, you may do so running "make" with "SDL_PANGO_LIB=" added:--- $ make SDL_PANGO_LIB= --@@ -865,7 +854,7 @@ @@ -829,7 +818,7 @@ If you don't have a sound card, or would prefer to build the program with no sound support (and therefore without a the
SDL_mixerdependency), you can run "make" with "SDL_MIXER_LIB=" added:- $ make SDL_MIXER_LIB= + $ make SDL_MIXER_LIB=@@ -874,7 +863,7 @@- $ su + $ su@@ -883,7 +872,7 @@- # make install + # make install@@ -892,7 +881,7 @@- # exit + # exit@@ -941,10 +930,12 @@- $ sudo make install + $ sudo make install💡 Note: This list is out of date. See "
-Makefile" and "Makefile-i18n" for a complete list.
Although Tux Paint is built without the Xcode IDE, Xcode itself is still required to build Tux Paint. Download it from the App Store, and launch it once to accept its license agreements. You may also need to install the Xcode command line tools using the command:
- $ xcode-select --install
+ $ xcode-select --install
@@ -1008,11 +999,11 @@
libimagequant is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ sudo port install rust cargo
- $ git clone https://github.com/ImageOptim/libimagequant.git
- $ cd libimagequant/imagequant-sys
- $ cargo build --release # Must use cargo from MacPorts
- $ sudo make PREFIX=/opt/local install
+ $ sudo port install rust cargo
+ $ git clone https://github.com/ImageOptim/libimagequant.git
+ $ cd libimagequant/imagequant-sys
+ $ cargo build --release # Must use cargo from MacPorts
+ $ sudo make PREFIX=/opt/local install
@@ -1028,9 +1019,9 @@
sdl2_pango is not available from MacPorts as of this writing. It can be installed from the source code as follows. It should be installed to /opt/local (same as MacPorts) for the library to be included in TuxPaint.dmg.
- $ git clone https://github.com/markuskimius/SDL2_Pango.git
- $ cd SDL2_Pango
- $ ./configure --prefix=/opt/local && make && sudo make install
+ $ git clone https://github.com/markuskimius/SDL2_Pango.git
+ $ cd SDL2_Pango
+ $ ./configure --prefix=/opt/local && make && sudo make install
@@ -1049,8 +1040,8 @@
Simply, run:
- % make
- % make install
+ % make
+ % make install
... to create the TuxPaint.app application bundle that can be run in-place or copied to /Applications. To create the DMG file for distribution, use 'make TuxPaint.dmg'.
@@ -1124,7 +1115,7 @@
Then uninstall all MacPorts packages:
- $ sudo port -fp uninstall installed
+ $ sudo port -fp uninstall installed
@@ -1144,14 +1135,14 @@
macOS for Apple Silicon requires all native Apple Silicon applications be signed, even if it is signed "ad-hoc" (anonymously). Because of this, compilers that produce native Apple Silicon applications sign all produced binaries and libraries as a part of the compilation process.* However, the Tux Paint compilation process modifies the libraries to be modular (using install_name_tool) so they can be added into the application bundle, which has the unfortunate side effect of breaking the signature. This can be addressed by signing the application bundle ad-hoc (example below) or using your own Apple Developer Identity if you have one. The DMG file, if needed, must be created after signing the App Bundle so the DMG file is created with signed App Bundle:
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
* For more information on the code signing requirements on the Apple Silicon, see https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-universal-apps-release-notes#:~:text=New%20in%20macOS,pass%20through%20Gatekeeper.
- If you get an error that the application bundle is already signed, remove it before signing::
+If you get an error that the application bundle is already signed, remove it before signing:
@@ -1167,9 +1158,9 @@- $ codesign --remove-signature TuxPaint.app + $ codesign --remove-signature TuxPaint.appTo build Tux Paint as a Universal Binary, compile Tux Paint for the Intel CPU and the Apple Silicon separately first. Then rename the app bundle for the Intel CPU to TuxPaint-x86_64.app, and the bundle for the Apple Silicon to TuxPaint-arm64.app, copy the app bundle from the Intel machine to the Apple Silicon machine, then use the provided
build-universal.shscript to combine the two application bundles as below. The produced bundle must be signed (see "Building for Apple Silicon" above for more details). The DMG file, if required, must be built after the signing:@@ -1177,6 +1168,8 @@- $ macos/build-universal.sh
- $ codesign -s - TuxPaint.app
- $ make TuxPaint.dmg + $ macos/build-universal.sh
+ $ codesign -s - TuxPaint.app
+ $ make TuxPaint.dmg
- 2023年5月 6日 Luc Schrijvers <begasus@gmail.com> + 2023年5月 7日 Luc Schrijvers <begasus@gmail.com> (Edited by Bill Kendrick)
@@ -1262,24 +1257,60 @@ Prerequisites-Install the required develop packages in Terminal: -32bit: -pkgman install xcairo_x86_devel fribidi_x86_devel gdk_pixbuf_x86_devel -libiconv_x86_devel libimagequant_x86_devel gettext_x86_libintl -libpaper_x86_devel pango_x86_devel libpng16_x86_devel librsvg_x86_devel -libsdl2_x86_devel sdl2_image_x86_devel sdl2_gfx_x86_devel -sdl2_mixer_x86_devel sdl2_pango_x86_devel sdl2_ttf_x86_devel zlib_x86_devel -64bit: -pkgman install xcairo_devel fribidi_devel gdk_pixbuf_devel libiconv_devel -libimagequant_devel gettext_libintl libpaper_devel pango_devel -libpng16_devel librsvg_devel libsdl2_devel sdl2_image_devel sdl2_gfx_devel -sdl2_mixer_devel sdl2_pango_devel sdl2_ttf_devel zlib_devel - -For 32bit you need to swith to the new compiler (currently gcc 11.2.0) with -setarch x86 -+
+ Install the required develop packages in Terminal:
+ pkgman install
+ xcairo_x86_devel
+ fribidi_x86_devel
+ gdk_pixbuf_x86_devel
+ libiconv_x86_devel
+ libimagequant_x86_devel
+ gettext_x86_libintl
+ libpaper_x86_devel
+ pango_x86_devel
+ libpng16_x86_devel
+ librsvg_x86_devel
+ libsdl2_x86_devel
+ sdl2_image_x86_devel
+ sdl2_gfx_x86_devel
+ sdl2_mixer_x86_devel
+ sdl2_pango_x86_devel
+ sdl2_ttf_x86_devel
+ zlib_x86_devel
+
+
+ pkgman install
+ xcairo_devel
+ fribidi_devel
+ gdk_pixbuf_devel
+ libiconv_devel
+ libimagequant_devel
+ gettext_libintl
+ libpaper_devel
+ pango_devel
+ libpng16_devel
+ librsvg_devel
+ libsdl2_devel
+ sdl2_image_devel
+ sdl2_gfx_devel
+ sdl2_mixer_devel
+ sdl2_pango_devel
+ sdl2_ttf_devel
+ zlib_devel
+
+
+ For 32-bit you need to switch to the new compiler (currently gcc 11.2.0) with setarch x86
-cd tuxpaint-VERSION - -Now build Tux Paint: -make PREFIX=/boot/home/config/non-packaged -+
+ make PREFIX=/boot/home/config/non-packaged
+
-cd tuxpaint-stamps-VERSION - -Install the stamps: -make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/ -+
+ make install-all DATA_PREFIX=/boot/home/config/non-packaged/share/tuxpaint/
+