Installation tweaks to Makefile
* Install Tux Paint docs into a version-numbered directory (e.g., "/usr/local/share/doc/tuxpaint-0.9.23/") * Launcher icon installation location adjustments: * .../X11R6/include/X11/pixmaps/ -> .../share/pixmaps/ * Using kde4config (vs kdeconfig); not putting things in "Graphics" subdir. * Removed gnome-config stuff
This commit is contained in:
parent
5e88f0473b
commit
edae5fc771
4 changed files with 111 additions and 110 deletions
54
Makefile
54
Makefile
|
|
@ -164,12 +164,11 @@ LIBDIR=$(PREFIX)
|
||||||
|
|
||||||
# Magic Tool plug-ins
|
# Magic Tool plug-ins
|
||||||
INCLUDE_PREFIX:=$(DESTDIR)$(PREFIX)/include
|
INCLUDE_PREFIX:=$(DESTDIR)$(PREFIX)/include
|
||||||
MAGIC_PREFIX:=$(DESTDIR)$(LIBDIR)/lib/tuxpaint/plugins
|
MAGIC_PREFIX:=$(DESTDIR)$(LIBDIR)/lib$(LIBDIRSUFFIX)/tuxpaint/plugins
|
||||||
|
|
||||||
|
|
||||||
# Docs and man page:
|
# Docs and man page:
|
||||||
DOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint
|
DOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint-$(VER_VERSION)
|
||||||
DEVDOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint-dev
|
DEVDOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint-$(VER_VERSION)/tuxpaint-dev
|
||||||
MAN_PREFIX:=$(DESTDIR)$(PREFIX)/share/man
|
MAN_PREFIX:=$(DESTDIR)$(PREFIX)/share/man
|
||||||
DEVMAN_PREFIX:=$(DESTDIR)$(PREFIX)/share/man
|
DEVMAN_PREFIX:=$(DESTDIR)$(PREFIX)/share/man
|
||||||
|
|
||||||
|
|
@ -189,10 +188,10 @@ endif
|
||||||
|
|
||||||
# Icons and launchers:
|
# Icons and launchers:
|
||||||
ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
|
ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
|
||||||
X11_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/X11R6/include/X11/pixmaps
|
X11_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
|
||||||
GNOME_PREFIX:=$(shell gnome-config --prefix 2> /dev/null)
|
|
||||||
KDE_PREFIX:=$(shell kde-config --install apps --expandvars 2> /dev/null)
|
KDE_PREFIX:=$(shell kde-config --install xdgdata-apps --expandvars 2> /dev/null)
|
||||||
KDE_ICON_PREFIX:=$(shell kde-config --install icon --expandvars 2> /dev/null)
|
KDE_ICON_PREFIX:=$(shell kde4-config --install icon --expandvars 2> /dev/null)
|
||||||
|
|
||||||
# Maemo flag
|
# Maemo flag
|
||||||
MAEMOFLAG:=
|
MAEMOFLAG:=
|
||||||
|
|
@ -464,7 +463,7 @@ trans:
|
||||||
windows_ARCH_INSTALL:=
|
windows_ARCH_INSTALL:=
|
||||||
osx_ARCH_INSTALL:=install-macbundle TuxPaint.dmg
|
osx_ARCH_INSTALL:=install-macbundle TuxPaint.dmg
|
||||||
beos_ARCH_INSTALL:=install-haiku
|
beos_ARCH_INSTALL:=install-haiku
|
||||||
linux_ARCH_INSTALL:=install-gnome install-kde install-kde-icons
|
linux_ARCH_INSTALL:=install-kde install-kde-icons
|
||||||
ARCH_INSTALL:=$($(OS)_ARCH_INSTALL)
|
ARCH_INSTALL:=$($(OS)_ARCH_INSTALL)
|
||||||
|
|
||||||
# "make install" installs all of the various parts
|
# "make install" installs all of the various parts
|
||||||
|
|
@ -604,15 +603,10 @@ clean:
|
||||||
# are the same as they were when you installed, of course!!!
|
# are the same as they were when you installed, of course!!!
|
||||||
.PHONY: uninstall
|
.PHONY: uninstall
|
||||||
uninstall: uninstall-i18n
|
uninstall: uninstall-i18n
|
||||||
-if [ "x$(GNOME_PREFIX)" != "x" ]; then \
|
-rm /usr/share/applications/tuxpaint.desktop; \
|
||||||
rm $(GNOME_PREFIX)/share/applications/tuxpaint.desktop; \
|
-rm /usr/share/pixmaps/tuxpaint.png; \
|
||||||
rm $(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \
|
|
||||||
else \
|
|
||||||
rm /usr/share/applications/tuxpaint.desktop; \
|
|
||||||
rm /usr/share/pixmaps/tuxpaint.png; \
|
|
||||||
fi
|
|
||||||
-if [ "x$(KDE_PREFIX)" != "x" ]; then \
|
-if [ "x$(KDE_PREFIX)" != "x" ]; then \
|
||||||
rm $(KDE_PREFIX)/Graphics/tuxpaint.desktop; \
|
rm $(KDE_PREFIX)/tuxpaint.desktop; \
|
||||||
fi
|
fi
|
||||||
-rm $(ICON_PREFIX)/tuxpaint.png
|
-rm $(ICON_PREFIX)/tuxpaint.png
|
||||||
-rm $(X11_ICON_PREFIX)/tuxpaint.xpm
|
-rm $(X11_ICON_PREFIX)/tuxpaint.xpm
|
||||||
|
|
@ -757,21 +751,6 @@ echo-install-example-templates:
|
||||||
install-example-templates: echo-install-example-templates install-example-template-dirs $(INSTALLED_TEMPLATES)
|
install-example-templates: echo-install-example-templates install-example-template-dirs $(INSTALLED_TEMPLATES)
|
||||||
|
|
||||||
|
|
||||||
# Install a launcher icon in the Gnome menu
|
|
||||||
.PHONY: install-gnome
|
|
||||||
install-gnome:
|
|
||||||
@echo
|
|
||||||
@echo "...Installing launcher icon into GNOME..."
|
|
||||||
@if [ "x$(GNOME_PREFIX)" != "x" ]; then \
|
|
||||||
install -d $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps; \
|
|
||||||
cp data/images/icon.png $(DESTDIR)/$(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \
|
|
||||||
chmod 644 $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \
|
|
||||||
install -d $(DESTDIR)$(GNOME_PREFIX)/share/applications; \
|
|
||||||
cp src/tuxpaint.desktop $(DESTDIR)$(GNOME_PREFIX)/share/applications/; \
|
|
||||||
chmod 644 $(DESTDIR)$(GNOME_PREFIX)/share/applications/tuxpaint.desktop; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Install a launcher icon for the Nokia 770.
|
# Install a launcher icon for the Nokia 770.
|
||||||
.PHONY: install-nokia770
|
.PHONY: install-nokia770
|
||||||
install-nokia770:
|
install-nokia770:
|
||||||
|
|
@ -803,10 +782,11 @@ install-kde:
|
||||||
@echo
|
@echo
|
||||||
@echo "...Installing launcher icon into KDE..."
|
@echo "...Installing launcher icon into KDE..."
|
||||||
@if [ "x$(KDE_PREFIX)" != "x" ]; then \
|
@if [ "x$(KDE_PREFIX)" != "x" ]; then \
|
||||||
install -d $(DESTDIR)$(KDE_PREFIX)/Graphics; \
|
install -d $(DESTDIR)$(KDE_PREFIX); \
|
||||||
cp src/tuxpaint.desktop $(DESTDIR)$(KDE_PREFIX)/Graphics/; \
|
cp src/tuxpaint.desktop $(DESTDIR)$(KDE_PREFIX)/; \
|
||||||
chmod 644 $(DESTDIR)$(KDE_PREFIX)/Graphics/tuxpaint.desktop; \
|
chmod 644 $(DESTDIR)$(KDE_PREFIX)/tuxpaint.desktop; \
|
||||||
fi
|
fi
|
||||||
|
kbuildsycoca4
|
||||||
|
|
||||||
.PHONY: install-kde-icons
|
.PHONY: install-kde-icons
|
||||||
install-kde-icons:
|
install-kde-icons:
|
||||||
|
|
@ -851,10 +831,8 @@ install-kde-icons:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Install the PNG icon (for GNOME, KDE, etc.)
|
# Install the PNG icon (for KDE desktop, etc.)
|
||||||
# and the 24-color 32x32 XPM (for other Window managers):
|
# and the 24-color 32x32 XPM (for other Window managers):
|
||||||
|
|
||||||
# FIXME: Should this also use $(DESTDIR)?
|
|
||||||
.PHONY: install-icon
|
.PHONY: install-icon
|
||||||
install-icon:
|
install-icon:
|
||||||
@echo
|
@echo
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ $Id$
|
||||||
DEALINGS IN THE SOFTWARE.
|
DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
Pere Pujal i Carabantes <perepujal@gmail.com> for gluing all toghether
|
Pere Pujal i Carabantes <perepujal@gmail.com> for gluing all toghether
|
||||||
|
|
||||||
|
|
||||||
Joystick control
|
Joystick control
|
||||||
Ankit Choudary <ankit.goaldecided@gmail.com>, as part of GSOC 2010,
|
Ankit Choudary <ankit.goaldecided@gmail.com>, as part of GSOC 2010,
|
||||||
|
|
@ -350,10 +350,10 @@ $Id$
|
||||||
|
|
||||||
* Voice of Tux the Penguin
|
* Voice of Tux the Penguin
|
||||||
Daniel 'TuxthePenguin' Alston <supertuxfansite@gmail.com>
|
Daniel 'TuxthePenguin' Alston <supertuxfansite@gmail.com>
|
||||||
|
|
||||||
* Cartoon
|
* Cartoon
|
||||||
* "cartoon6.wav" from http://www.grsites.com/
|
* "cartoon6.wav" from http://www.grsites.com/
|
||||||
|
|
||||||
* Many others taken from various sources on the web.
|
* Many others taken from various sources on the web.
|
||||||
|
|
||||||
* Edited using SOX
|
* Edited using SOX
|
||||||
|
|
@ -422,7 +422,7 @@ $Id$
|
||||||
http://soundbible.com/417-Right-Channel-Scramble.html
|
http://soundbible.com/417-Right-Channel-Scramble.html
|
||||||
Right channel scramble by Mike Koenig
|
Right channel scramble by Mike Koenig
|
||||||
Creative Commons attribution licence 3.0
|
Creative Commons attribution licence 3.0
|
||||||
|
|
||||||
* Calligraphy sound (calligraphy.ogg)
|
* Calligraphy sound (calligraphy.ogg)
|
||||||
http://soundbible.com/214-Tearing-Paper.html
|
http://soundbible.com/214-Tearing-Paper.html
|
||||||
Tearing Paper by Mike Koenig
|
Tearing Paper by Mike Koenig
|
||||||
|
|
@ -541,7 +541,7 @@ $Id$
|
||||||
|
|
||||||
* Bosnian
|
* Bosnian
|
||||||
Samir Ribić
|
Samir Ribić
|
||||||
|
|
||||||
* Breton
|
* Breton
|
||||||
Korvigelloù An Drouizi (Philippe) <drouizig@drouizig.org>
|
Korvigelloù An Drouizi (Philippe) <drouizig@drouizig.org>
|
||||||
|
|
||||||
|
|
@ -584,7 +584,7 @@ $Id$
|
||||||
* Croatian
|
* Croatian
|
||||||
Nedjeljko Jedvaj <jedvaj.nedeljko@lexunit.com>
|
Nedjeljko Jedvaj <jedvaj.nedeljko@lexunit.com>
|
||||||
Paulo Pavačić
|
Paulo Pavačić
|
||||||
|
|
||||||
* Czech
|
* Czech
|
||||||
Peter Sterba <sterba@sterba.com>
|
Peter Sterba <sterba@sterba.com>
|
||||||
Martin <barin@email.cz>
|
Martin <barin@email.cz>
|
||||||
|
|
@ -647,14 +647,14 @@ $Id$
|
||||||
|
|
||||||
* Gaelic (Scottish)
|
* Gaelic (Scottish)
|
||||||
Fòram na Gàidhlig
|
Fòram na Gàidhlig
|
||||||
|
|
||||||
* Galician
|
* Galician
|
||||||
Leandro Regueiro <leandro.regueiro@gmail.com>
|
Leandro Regueiro <leandro.regueiro@gmail.com>
|
||||||
Miguel Bouzada
|
Miguel Bouzada
|
||||||
|
|
||||||
* Georgian and Georgian TrueType Font (GPL)
|
* Georgian and Georgian TrueType Font (GPL)
|
||||||
Gia Shervashidze <giasher@gmail.com>
|
Gia Shervashidze <giasher@gmail.com>
|
||||||
|
|
||||||
* German
|
* German
|
||||||
Fabian Franz <FabianFranz@gmx.de>
|
Fabian Franz <FabianFranz@gmx.de>
|
||||||
Roland Illig <roland.illig@gmx.de>
|
Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
@ -662,7 +662,7 @@ $Id$
|
||||||
Burkhard Lück <lueck@hube-lueck.de>
|
Burkhard Lück <lueck@hube-lueck.de>
|
||||||
Holger Wansing
|
Holger Wansing
|
||||||
Pfannenstein Erik (website)
|
Pfannenstein Erik (website)
|
||||||
|
|
||||||
* Gronings
|
* Gronings
|
||||||
J.F.M. Lange <jfm.lange@hky.de>
|
J.F.M. Lange <jfm.lange@hky.de>
|
||||||
|
|
||||||
|
|
@ -714,7 +714,7 @@ $Id$
|
||||||
Simona Riva <simona.riva@tiscali.it>
|
Simona Riva <simona.riva@tiscali.it>
|
||||||
Marco Milanesi <kpanic@pavia.linux.it>
|
Marco Milanesi <kpanic@pavia.linux.it>
|
||||||
Flavio Pastor <flavio.pastore@zonaitalia.it>
|
Flavio Pastor <flavio.pastore@zonaitalia.it>
|
||||||
|
|
||||||
* Japanese
|
* Japanese
|
||||||
TOYAMA Shin-ichi <shin1@wmail.plala.or.jp>
|
TOYAMA Shin-ichi <shin1@wmail.plala.or.jp>
|
||||||
|
|
||||||
|
|
@ -757,10 +757,10 @@ $Id$
|
||||||
|
|
||||||
* Korean
|
* Korean
|
||||||
Mark K. Kim <mkkim214@gmail.com>
|
Mark K. Kim <mkkim214@gmail.com>
|
||||||
|
|
||||||
* Korean Input Method
|
* Korean Input Method
|
||||||
Mark K. Kim <mkkim214@gmail.com>
|
Mark K. Kim <mkkim214@gmail.com>
|
||||||
|
|
||||||
* Kurdish
|
* Kurdish
|
||||||
Amed Çeko Jiyan <amedcj@gmail.com>
|
Amed Çeko Jiyan <amedcj@gmail.com>
|
||||||
|
|
||||||
|
|
@ -885,12 +885,12 @@ $Id$
|
||||||
Silvio Faria <sirofa2003@yahoo.com.br>
|
Silvio Faria <sirofa2003@yahoo.com.br>
|
||||||
Adorilson Bezerra de Araujo <adorilson@gmail.com>
|
Adorilson Bezerra de Araujo <adorilson@gmail.com>
|
||||||
Frederico Goncalves Guimaraes <frederico@teia.bio.br>
|
Frederico Goncalves Guimaraes <frederico@teia.bio.br>
|
||||||
|
|
||||||
* Portuguese (Portugal)
|
* Portuguese (Portugal)
|
||||||
Sergio Marques <smarquespt@gmail.com>
|
Sergio Marques <smarquespt@gmail.com>
|
||||||
Ricardo Cruz <rpmcruz@clix.pt>
|
Ricardo Cruz <rpmcruz@clix.pt>
|
||||||
Helder Correia <helder.pereira.correia@gmail.com>
|
Helder Correia <helder.pereira.correia@gmail.com>
|
||||||
|
|
||||||
* Romanian
|
* Romanian
|
||||||
Sorin Paliga <sorin.paliga@gmail.com>
|
Sorin Paliga <sorin.paliga@gmail.com>
|
||||||
Laurentiu Buzdugan
|
Laurentiu Buzdugan
|
||||||
|
|
@ -924,7 +924,7 @@ $Id$
|
||||||
|
|
||||||
* Serbian latin
|
* Serbian latin
|
||||||
Ivana <reci.ne.silvesteru@gmail.com>
|
Ivana <reci.ne.silvesteru@gmail.com>
|
||||||
|
|
||||||
* Shuswap (Secwepemctín)
|
* Shuswap (Secwepemctín)
|
||||||
Neskie Manuel <neskiem@gmail.com>
|
Neskie Manuel <neskiem@gmail.com>
|
||||||
|
|
||||||
|
|
@ -1044,24 +1044,25 @@ $Id$
|
||||||
|
|
||||||
* Zapoteco
|
* Zapoteco
|
||||||
Rodrigo Perez Ramirez and Indigenas Sin Fronteras <isf_mx@yahoo.com>
|
Rodrigo Perez Ramirez and Indigenas Sin Fronteras <isf_mx@yahoo.com>
|
||||||
|
|
||||||
* Zulu
|
* Zulu
|
||||||
sipho <sipho@translate.org.za>
|
sipho <sipho@translate.org.za>
|
||||||
|
|
||||||
* Ports and Packaging
|
* Ports and Packaging
|
||||||
|
|
||||||
* Windows 32-bit coding and builds
|
* Windows 32-bit coding and builds
|
||||||
|
TOYAMA Shin-ichi <shin1@wmail.plala.or.jp>
|
||||||
John Popplewell <john@johnnypops.demon.co.uk>
|
John Popplewell <john@johnnypops.demon.co.uk>
|
||||||
|
|
||||||
* Tweaks to help Windows cross-compiling under Linux
|
* Tweaks to help Windows cross-compiling under Linux
|
||||||
Volker Grabsch <vog@notjusthosting.com>
|
Volker Grabsch <vog@notjusthosting.com>
|
||||||
|
|
||||||
* Mac OS X coding and builds
|
* Mac OS X coding and builds
|
||||||
|
Mark K. Kim <mkkim214@gmail.com>
|
||||||
Martin Fuhrer <mfuhrer@users.sourceforge.net>
|
Martin Fuhrer <mfuhrer@users.sourceforge.net>
|
||||||
Darrell Walisser <walisser@mac.com> [retired]
|
Darrell Walisser <walisser@mac.com> [retired]
|
||||||
Eric Poncet <http://www.linguasoft.com/>
|
Eric Poncet <http://www.linguasoft.com/>
|
||||||
Harvey Ginter <harveyginter@gmail.com>
|
Harvey Ginter <harveyginter@gmail.com>
|
||||||
Mark K. Kim <mkkim214@gmail.com>
|
|
||||||
Robert Buj Gelonch <rbuj@users.sf.net>
|
Robert Buj Gelonch <rbuj@users.sf.net>
|
||||||
|
|
||||||
* Maemo (Nokia 770 and N880) coding and builds
|
* Maemo (Nokia 770 and N880) coding and builds
|
||||||
|
|
@ -1080,6 +1081,7 @@ $Id$
|
||||||
Richard June <rjune@bravegnuworld.com> [backup]
|
Richard June <rjune@bravegnuworld.com> [backup]
|
||||||
|
|
||||||
* Slackware Linux packages
|
* Slackware Linux packages
|
||||||
|
Tim Dickson <dickson.tim@googlemail.com>
|
||||||
Torsten Giebl <wizard@turricane.org>
|
Torsten Giebl <wizard@turricane.org>
|
||||||
|
|
||||||
* NetBSD packages
|
* NetBSD packages
|
||||||
|
|
|
||||||
|
|
@ -179,9 +179,26 @@ $Id$
|
||||||
Robert Buj Gelonch <rbuj@users.sf.net>
|
Robert Buj Gelonch <rbuj@users.sf.net>
|
||||||
Mark K. Kim <mkkim214@gmail.com>
|
Mark K. Kim <mkkim214@gmail.com>
|
||||||
|
|
||||||
* Allow to override build date (in order to make builds reproducible)
|
* Allow override override build date (in order to make builds reproducible)
|
||||||
|
("SOURCE_DATE_EPOCH")
|
||||||
by Chris Lamb, pushed by Bernhard M. Wiedemann
|
by Chris Lamb, pushed by Bernhard M. Wiedemann
|
||||||
|
|
||||||
|
* Allow specifying a suffix to the "lib" directory where
|
||||||
|
magic tools are installed.
|
||||||
|
("LIBDIRSUFFIX")
|
||||||
|
Tim Dickson <dickson.tim@googlemail.com>
|
||||||
|
|
||||||
|
* Install Tux Paint docs into a version-numbered directory
|
||||||
|
(e.g., "/usr/local/share/doc/tuxpaint-0.9.23/")
|
||||||
|
Tim Dickson <dickson.tim@googlemail.com>
|
||||||
|
|
||||||
|
* Launcher icon installation location adjustments:
|
||||||
|
* .../X11R6/include/X11/pixmaps/ -> .../share/pixmaps/
|
||||||
|
* Using kde4config (vs kdeconfig); not putting things in "Graphics" subdir.
|
||||||
|
* Removed gnome-config stuff
|
||||||
|
Tim Dickson <dickson.tim@googlemail.com>
|
||||||
|
Bill Kendrick <bill@newbreedsoftware.com>
|
||||||
|
|
||||||
* Other Improvements:
|
* Other Improvements:
|
||||||
-------------------
|
-------------------
|
||||||
* Reformatted source code via GNU Indent tool; should
|
* Reformatted source code via GNU Indent tool; should
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,11 @@ INSTALL.txt for Tux Paint
|
||||||
|
|
||||||
Tux Paint - A simple drawing program for children.
|
Tux Paint - A simple drawing program for children.
|
||||||
|
|
||||||
Copyright 2002-2007 by Bill Kendrick and others
|
Copyright (c) 2002-2018
|
||||||
bill@newbreedsoftware.com
|
Various contributors (see below, and AUTHORS.txt)
|
||||||
http://www.tuxpaint.org/
|
http://www.tuxpaint.org/
|
||||||
|
|
||||||
June 27, 2002 - July 12, 2007
|
June 27, 2002 - August 19, 2018
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ Requirements:
|
||||||
The Windows version of Tux Paint comes pre-packaged with the
|
The Windows version of Tux Paint comes pre-packaged with the
|
||||||
necessary pre-compiled libraries (in ".DLL" form), so no extra
|
necessary pre-compiled libraries (in ".DLL" form), so no extra
|
||||||
downloading is needed.
|
downloading is needed.
|
||||||
|
|
||||||
libSDL
|
libSDL
|
||||||
------
|
------
|
||||||
Tux Paint requires the Simple DirectMedia Layer Library (libSDL),
|
Tux Paint requires the Simple DirectMedia Layer Library (libSDL),
|
||||||
|
|
@ -55,7 +55,7 @@ Requirements:
|
||||||
free, LGPL'd libraries. Under Linux, just like SDL, they should
|
free, LGPL'd libraries. Under Linux, just like SDL, they should
|
||||||
either already be installed, or are readily available for installation
|
either already be installed, or are readily available for installation
|
||||||
as part of your Linux distribution.
|
as part of your Linux distribution.
|
||||||
|
|
||||||
libPNG
|
libPNG
|
||||||
------
|
------
|
||||||
Tux Paint uses PNG (Portable Network Graphics) format for its
|
Tux Paint uses PNG (Portable Network Graphics) format for its
|
||||||
|
|
@ -127,7 +127,7 @@ Requirements:
|
||||||
tools.)
|
tools.)
|
||||||
|
|
||||||
http://netpbm.sourceforge.net/
|
http://netpbm.sourceforge.net/
|
||||||
|
|
||||||
|
|
||||||
Compiling and Installation:
|
Compiling and Installation:
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
@ -141,25 +141,25 @@ Compiling and Installation:
|
||||||
----------
|
----------
|
||||||
Tux Paint comes pre-compiled for Windows, so no compilation is
|
Tux Paint comes pre-compiled for Windows, so no compilation is
|
||||||
necessary.
|
necessary.
|
||||||
|
|
||||||
As of February 2005 (starting with Tux Paint 0.9.15), the Makefile
|
As of February 2005 (starting with Tux Paint 0.9.15), the Makefile
|
||||||
includes support for building on a Windows system using MinGW/MSYS.
|
includes support for building on a Windows system using MinGW/MSYS.
|
||||||
( http://www.mingw.org/ )
|
( http://www.mingw.org/ )
|
||||||
|
|
||||||
After configuring the environment and building and installing all the
|
After configuring the environment and building and installing all the
|
||||||
dependencies, use these commands, in MSYS, to build, install and run:
|
dependencies, use these commands, in MSYS, to build, install and run:
|
||||||
|
|
||||||
Prior to version 0.9.20:
|
Prior to version 0.9.20:
|
||||||
|
|
||||||
$ make win32
|
$ make win32
|
||||||
$ make install-win32
|
$ make install-win32
|
||||||
$ tuxpaint
|
$ tuxpaint
|
||||||
|
|
||||||
Version 0.9.20 and beyond:
|
Version 0.9.20 and beyond:
|
||||||
|
|
||||||
$ make
|
$ make
|
||||||
$ make install
|
$ make install
|
||||||
$ tuxpaint
|
$ tuxpaint
|
||||||
|
|
||||||
Use the following command to build a version suitable for
|
Use the following command to build a version suitable for
|
||||||
redistribution with the installer or in a zip-file:
|
redistribution with the installer or in a zip-file:
|
||||||
|
|
@ -176,7 +176,7 @@ Compiling and Installation:
|
||||||
here:
|
here:
|
||||||
|
|
||||||
http://johnnypops.demon.co.uk/mingw/index.html
|
http://johnnypops.demon.co.uk/mingw/index.html
|
||||||
|
|
||||||
Read the relevant notes if building for Win9X/ME.
|
Read the relevant notes if building for Win9X/ME.
|
||||||
|
|
||||||
Installer:
|
Installer:
|
||||||
|
|
@ -202,7 +202,7 @@ Compiling and Installation:
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
To change program settings, right-click on the TuxPaint shortcut
|
To change program settings, right-click on the TuxPaint shortcut
|
||||||
and select 'Properties' (at the bottom).
|
and select 'Properties' (at the bottom).
|
||||||
|
|
||||||
Make sure the 'Shortcut' tab is selected in the window that
|
Make sure the 'Shortcut' tab is selected in the window that
|
||||||
appears, and examine the 'Target:' field. You should see
|
appears, and examine the 'Target:' field. You should see
|
||||||
something like this :
|
something like this :
|
||||||
|
|
@ -211,7 +211,7 @@ Compiling and Installation:
|
||||||
|
|
||||||
You can now add command-line options which will be enabled when
|
You can now add command-line options which will be enabled when
|
||||||
you double-click the icon.
|
you double-click the icon.
|
||||||
|
|
||||||
For example, to make the game run in fullscreen mode,
|
For example, to make the game run in fullscreen mode,
|
||||||
with simple shapes (no rotation option) and in French,
|
with simple shapes (no rotation option) and in French,
|
||||||
add the options (after 'TuxPaint.exe'), like so:
|
add the options (after 'TuxPaint.exe'), like so:
|
||||||
|
|
@ -219,11 +219,11 @@ Compiling and Installation:
|
||||||
"C:\Program Files\TuxPaint\TuxPaint.exe" -f -s --lang french
|
"C:\Program Files\TuxPaint\TuxPaint.exe" -f -s --lang french
|
||||||
|
|
||||||
(See "README.txt" for a full list of available command-line options.)
|
(See "README.txt" for a full list of available command-line options.)
|
||||||
|
|
||||||
If you make a mistake or it all disappears use Ctrl-Z to undo or
|
If you make a mistake or it all disappears use Ctrl-Z to undo or
|
||||||
just hit the [ESC] key and the box will close with no changes made
|
just hit the [ESC] key and the box will close with no changes made
|
||||||
(unless you pushed the "Apply" button!).
|
(unless you pushed the "Apply" button!).
|
||||||
|
|
||||||
When you have finished, click "OK."
|
When you have finished, click "OK."
|
||||||
|
|
||||||
If Something Goes Wrong
|
If Something Goes Wrong
|
||||||
|
|
@ -232,12 +232,12 @@ Compiling and Installation:
|
||||||
nothing happens, it is probably because some of these command-line
|
nothing happens, it is probably because some of these command-line
|
||||||
options are wrong. Open an Explorer like before, and look for a file
|
options are wrong. Open an Explorer like before, and look for a file
|
||||||
called 'stderr.txt' in the TuxPaint folder.
|
called 'stderr.txt' in the TuxPaint folder.
|
||||||
|
|
||||||
It will contain a description of what was wrong. Usually it will
|
It will contain a description of what was wrong. Usually it will
|
||||||
just be due to incorrect character-case (capital 'Z' instead
|
just be due to incorrect character-case (capital 'Z' instead
|
||||||
of lowercase 'z') or a missing (or extra) '-' (dash).
|
of lowercase 'z') or a missing (or extra) '-' (dash).
|
||||||
|
|
||||||
|
|
||||||
Linux/Unix Users:
|
Linux/Unix Users:
|
||||||
-----------------
|
-----------------
|
||||||
Compiling:
|
Compiling:
|
||||||
|
|
@ -277,6 +277,11 @@ Compiling and Installation:
|
||||||
|
|
||||||
$ make SDL_MIXER_LIB=
|
$ make SDL_MIXER_LIB=
|
||||||
|
|
||||||
|
Other options:
|
||||||
|
--------------
|
||||||
|
Various other options (e.g., installation paths) may be overridden;
|
||||||
|
see them in "Makefile" for further details.
|
||||||
|
|
||||||
If you get errors:
|
If you get errors:
|
||||||
------------------
|
------------------
|
||||||
If you receive any errors during compile-time, make sure you have
|
If you receive any errors during compile-time, make sure you have
|
||||||
|
|
@ -328,40 +333,40 @@ Compiling and Installation:
|
||||||
|
|
||||||
Other variables are:
|
Other variables are:
|
||||||
BIN_PREFIX
|
BIN_PREFIX
|
||||||
Where the "tuxpaint" binary will be installed.
|
Where the "tuxpaint" binary will be installed.
|
||||||
(Set to "$(PREFIX)/bin" by default - e.g., "/usr/local/bin")
|
(Set to "$(PREFIX)/bin" by default - e.g., "/usr/local/bin")
|
||||||
|
|
||||||
DATA_PREFIX
|
DATA_PREFIX
|
||||||
Where the data files (sound, graphics, brushes, stamps, fonts)
|
Where the data files (sound, graphics, brushes, stamps, fonts)
|
||||||
will go, and where Tux Paint will look for them when it's run.
|
will go, and where Tux Paint will look for them when it's run.
|
||||||
(Set to "$(PREFIX)/share/tuxpaint")
|
(Set to "$(PREFIX)/share/tuxpaint")
|
||||||
|
|
||||||
DOC_PREFIX
|
DOC_PREFIX
|
||||||
Where the documentation text files (the "docs" directory) will go.
|
Where the documentation text files (the "docs" directory) will go.
|
||||||
(Set to "$(PREFIX)/share/doc/tuxpaint")
|
(Set to "$(PREFIX)/share/doc/tuxpaint")
|
||||||
|
|
||||||
MAN_PREFIX
|
MAN_PREFIX
|
||||||
Where the manual page for Tux Paint will go.
|
Where the manual page for Tux Paint will go.
|
||||||
(Set to "$(PREFIX)/share/man")
|
(Set to "$(PREFIX)/share/man")
|
||||||
|
|
||||||
ICON_PREFIX $(PREFIX)/share/pixmaps
|
ICON_PREFIX $(PREFIX)/share/pixmaps
|
||||||
X11_ICON_PREFIX $(PREFIX)/X11R6/include/X11/pixmaps
|
X11_ICON_PREFIX $(PREFIX)/X11R6/include/X11/pixmaps
|
||||||
GNOME_PREFIX $(PREFIX)/share/gnome/apps/Graphics
|
GNOME_PREFIX $(PREFIX)/share/gnome/apps/Graphics
|
||||||
KDE_PREFIX $(PREFIX)/share/applnk/Graphics
|
KDE_PREFIX $(PREFIX)/share/applnk/Graphics
|
||||||
Where the icons and launchers (for GNOME and KDE) will go.
|
Where the icons and launchers (for GNOME and KDE) will go.
|
||||||
|
|
||||||
LOCALE_PREFIX
|
LOCALE_PREFIX
|
||||||
Where the translation files for Tux Paint will go, and where
|
Where the translation files for Tux Paint will go, and where
|
||||||
Tux Paint will look for them.
|
Tux Paint will look for them.
|
||||||
(Set to "$(PREFIX)/share/locale/")
|
(Set to "$(PREFIX)/share/locale/")
|
||||||
(Final location of a translation file will be
|
(Final location of a translation file will be
|
||||||
under the locale's directory (e.g., "es" for Spanish),
|
under the locale's directory (e.g., "es" for Spanish),
|
||||||
within the "LC_MESSAGES" subdirectory.)
|
within the "LC_MESSAGES" subdirectory.)
|
||||||
|
|
||||||
FIXME: This list is out of date. See Makefile and Makefile-i18n for
|
FIXME: This list is out of date. See Makefile and Makefile-i18n for
|
||||||
a complete list.
|
a complete list.
|
||||||
|
|
||||||
|
|
||||||
Uninstalling Tux Paint:
|
Uninstalling Tux Paint:
|
||||||
-----------------------
|
-----------------------
|
||||||
Windows
|
Windows
|
||||||
|
|
@ -404,4 +409,3 @@ Uninstalling Tux Paint:
|
||||||
superuser mode:
|
superuser mode:
|
||||||
|
|
||||||
# exit
|
# exit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue