summaryrefslogtreecommitdiff
path: root/graphics/tuxpaint
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-09-27 11:07:23 +0000
committerwiz <wiz@pkgsrc.org>2002-09-27 11:07:23 +0000
commit0e3e70051344d92efc4d0b3f5a215c128d702fab (patch)
tree9eb0207a52bc72c50da8f076d6ec74f80e54052f /graphics/tuxpaint
parent6ba77285eeeffaad1e270533405477a8561cefda (diff)
downloadpkgsrc-0e3e70051344d92efc4d0b3f5a215c128d702fab.tar.gz
Initial import of tuxpaint-2002.09.25 into pkgsrc.
"Tux Paint" is a drawing program for young children. It provides a simple interface and fixed canvas size, and will provide access to previous images using a thumbnail browser (e.g., no access to the underlying filesystem). Unlike popular drawing programs like "The GIMP," it has a very limited toolset. However, it provides a much simpler interface, and has entertaining, child-oriented additions such as sound effects.
Diffstat (limited to 'graphics/tuxpaint')
-rw-r--r--graphics/tuxpaint/DESCR8
-rw-r--r--graphics/tuxpaint/Makefile19
-rw-r--r--graphics/tuxpaint/PLIST224
-rw-r--r--graphics/tuxpaint/distinfo6
-rw-r--r--graphics/tuxpaint/patches/patch-aa41
-rw-r--r--graphics/tuxpaint/patches/patch-ab22
6 files changed, 320 insertions, 0 deletions
diff --git a/graphics/tuxpaint/DESCR b/graphics/tuxpaint/DESCR
new file mode 100644
index 00000000000..79d0a544e12
--- /dev/null
+++ b/graphics/tuxpaint/DESCR
@@ -0,0 +1,8 @@
+"Tux Paint" is a drawing program for young children. It provides
+a simple interface and fixed canvas size, and will provide access
+to previous images using a thumbnail browser (e.g., no access to
+the underlying filesystem).
+
+Unlike popular drawing programs like "The GIMP," it has a very
+limited toolset. However, it provides a much simpler interface,
+and has entertaining, child-oriented additions such as sound effects.
diff --git a/graphics/tuxpaint/Makefile b/graphics/tuxpaint/Makefile
new file mode 100644
index 00000000000..6b060b90120
--- /dev/null
+++ b/graphics/tuxpaint/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/27 11:07:23 wiz Exp $
+#
+
+DISTNAME= tuxpaint-2002.09.25
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.newbreedsoftware.com/tuxpaint/
+COMMENT= drawing program for small children
+
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+
+.include "../../audio/SDL-mixer/buildlink2.mk"
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../devel/SDL_ttf/buildlink2.mk"
+.include "../../graphics/SDL-image/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/tuxpaint/PLIST b/graphics/tuxpaint/PLIST
new file mode 100644
index 00000000000..d295af4130c
--- /dev/null
+++ b/graphics/tuxpaint/PLIST
@@ -0,0 +1,224 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/27 11:07:23 wiz Exp $
+bin/tuxpaint
+bin/tuxpaint-import
+share/doc/tuxpaint/AUTHORS.txt
+share/doc/tuxpaint/CHANGES.txt
+share/doc/tuxpaint/COPYING.txt
+share/doc/tuxpaint/PNG.txt
+share/doc/tuxpaint/README.txt
+share/doc/tuxpaint/TODO.txt
+share/doc/tuxpaint/da/README.txt
+share/doc/tuxpaint/de/ANBRINGEN.txt
+share/doc/tuxpaint/de/AUTOREN.txt
+share/doc/tuxpaint/de/FAQ.txt
+share/doc/tuxpaint/de/GELESEN_MIR.txt
+share/doc/tuxpaint/de/KOPIE.txt
+share/doc/tuxpaint/de/PNG.txt
+share/doc/tuxpaint/es/AUTORES.txt
+share/doc/tuxpaint/es/COPIADO.txt
+share/doc/tuxpaint/es/FAQ.txt
+share/doc/tuxpaint/es/INSTALACION.txt
+share/doc/tuxpaint/es/LEEME.txt
+share/doc/tuxpaint/es/PNG.txt
+share/doc/tuxpaint/fi/AUTHORS.txt
+share/doc/tuxpaint/fi/COPYING.txt
+share/doc/tuxpaint/fi/FAQ.txt
+share/doc/tuxpaint/fi/INSTALL.txt
+share/doc/tuxpaint/fi/PNG.txt
+share/doc/tuxpaint/fi/README.txt
+share/doc/tuxpaint/fr/AUTHORS.txt
+share/doc/tuxpaint/fr/COPIER.txt
+share/doc/tuxpaint/fr/FAQ.txt
+share/doc/tuxpaint/fr/INSTALL.txt
+share/doc/tuxpaint/fr/PNG.txt
+share/doc/tuxpaint/fr/README.txt
+share/doc/tuxpaint/it/AUTHORS.txt
+share/doc/tuxpaint/it/COPIATURA.txt
+share/doc/tuxpaint/it/FAQ.txt
+share/doc/tuxpaint/it/INSTALL.txt
+share/doc/tuxpaint/it/PNG.txt
+share/doc/tuxpaint/it/README.txt
+share/doc/tuxpaint/nl/AUTHORS.txt
+share/doc/tuxpaint/nl/COPYING_nl.txt
+share/doc/tuxpaint/nl/FAQ.txt
+share/doc/tuxpaint/nl/INSTALL.txt
+share/doc/tuxpaint/nl/PNG.txt
+share/doc/tuxpaint/nl/README.txt
+share/doc/tuxpaint/nn/AUTHORS.txt
+share/doc/tuxpaint/nn/COPYING.txt
+share/doc/tuxpaint/nn/FAQ.txt
+share/doc/tuxpaint/nn/INSTALLERING.txt
+share/doc/tuxpaint/nn/PNG.txt
+share/doc/tuxpaint/nn/README.txt
+share/doc/tuxpaint/tr/AUTHORS.txt
+share/doc/tuxpaint/tr/COPYING_tr.txt
+share/doc/tuxpaint/tr/FAQ.txt
+share/doc/tuxpaint/tr/INSTALL.txt
+share/doc/tuxpaint/tr/PNG.txt
+share/doc/tuxpaint/tr/README.txt
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/is/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/nn/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/tuxpaint.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/tuxpaint.mo
+share/tuxpaint/brushes/round_06.png
+share/tuxpaint/brushes/round_12.png
+share/tuxpaint/brushes/round_24.png
+share/tuxpaint/brushes/round_36.png
+share/tuxpaint/brushes/round_fuzz.png
+share/tuxpaint/brushes/round_seethru.png
+share/tuxpaint/brushes/slash_10_lt.png
+share/tuxpaint/brushes/slash_10_rt.png
+share/tuxpaint/brushes/slash_16_lt.png
+share/tuxpaint/brushes/slash_16_rt.png
+share/tuxpaint/brushes/slash_20_lt.png
+share/tuxpaint/brushes/slash_20_rt.png
+share/tuxpaint/brushes/spray.png
+share/tuxpaint/brushes/x.png
+share/tuxpaint/fonts/default_font.ttf
+share/tuxpaint/fonts/efont_serif.ttf
+share/tuxpaint/fonts/efont_serif_b.ttf
+share/tuxpaint/fonts/efont_serif_bi.ttf
+share/tuxpaint/fonts/efont_serif_i.ttf
+share/tuxpaint/images/icon-win32.png
+share/tuxpaint/images/icon.png
+share/tuxpaint/images/icon16x16.png
+share/tuxpaint/images/icon32x32.png
+share/tuxpaint/images/icon32x32.xpm
+share/tuxpaint/images/icon48x48.png
+share/tuxpaint/images/magic/blocks.png
+share/tuxpaint/images/magic/blur.png
+share/tuxpaint/images/magic/chalk.png
+share/tuxpaint/images/magic/drip.png
+share/tuxpaint/images/magic/fade.png
+share/tuxpaint/images/magic/fill.png
+share/tuxpaint/images/magic/flip.png
+share/tuxpaint/images/magic/mirror.png
+share/tuxpaint/images/magic/negative.png
+share/tuxpaint/images/magic/rainbow.png
+share/tuxpaint/images/magic/sparkles.png
+share/tuxpaint/images/magic/thick.png
+share/tuxpaint/images/magic/thin.png
+share/tuxpaint/images/shapes/circle.png
+share/tuxpaint/images/shapes/circle_f.png
+share/tuxpaint/images/shapes/diamond.png
+share/tuxpaint/images/shapes/diamond_f.png
+share/tuxpaint/images/shapes/oval.png
+share/tuxpaint/images/shapes/oval_f.png
+share/tuxpaint/images/shapes/pentagon.png
+share/tuxpaint/images/shapes/pentagon_f.png
+share/tuxpaint/images/shapes/rectangle.png
+share/tuxpaint/images/shapes/rectangle_f.png
+share/tuxpaint/images/shapes/square.png
+share/tuxpaint/images/shapes/square_f.png
+share/tuxpaint/images/shapes/triangle.png
+share/tuxpaint/images/shapes/triangle_f.png
+share/tuxpaint/images/title.jpg
+share/tuxpaint/images/titles/brushes.png
+share/tuxpaint/images/titles/colors.png
+share/tuxpaint/images/titles/letters.png
+share/tuxpaint/images/titles/magic.png
+share/tuxpaint/images/titles/nocolors.png
+share/tuxpaint/images/titles/none.png
+share/tuxpaint/images/titles/shapes.png
+share/tuxpaint/images/titles/stamps.png
+share/tuxpaint/images/titles/tools.png
+share/tuxpaint/images/tools/brush.png
+share/tuxpaint/images/tools/eraser.png
+share/tuxpaint/images/tools/lines.png
+share/tuxpaint/images/tools/magic.png
+share/tuxpaint/images/tools/new.png
+share/tuxpaint/images/tools/open.png
+share/tuxpaint/images/tools/print.png
+share/tuxpaint/images/tools/quit.png
+share/tuxpaint/images/tools/redo.png
+share/tuxpaint/images/tools/save.png
+share/tuxpaint/images/tools/shapes.png
+share/tuxpaint/images/tools/stamp.png
+share/tuxpaint/images/tools/text.png
+share/tuxpaint/images/tools/undo.png
+share/tuxpaint/images/tux/bored.png
+share/tuxpaint/images/tux/default.png
+share/tuxpaint/images/tux/great.png
+share/tuxpaint/images/tux/kiss.png
+share/tuxpaint/images/tux/oops.png
+share/tuxpaint/images/tux/wait.png
+share/tuxpaint/images/ui/back.png
+share/tuxpaint/images/ui/btn_down.png
+share/tuxpaint/images/ui/btn_off.png
+share/tuxpaint/images/ui/btn_up.png
+share/tuxpaint/images/ui/color_btn_down.png
+share/tuxpaint/images/ui/color_btn_up.png
+share/tuxpaint/images/ui/cursor_down.png
+share/tuxpaint/images/ui/cursor_up.png
+share/tuxpaint/images/ui/erase.png
+share/tuxpaint/images/ui/no.png
+share/tuxpaint/images/ui/open.png
+share/tuxpaint/images/ui/paintcan.png
+share/tuxpaint/images/ui/progress.png
+share/tuxpaint/images/ui/scroll_down.png
+share/tuxpaint/images/ui/scroll_down_off.png
+share/tuxpaint/images/ui/scroll_up.png
+share/tuxpaint/images/ui/scroll_up_off.png
+share/tuxpaint/images/ui/sparkles.png
+share/tuxpaint/images/ui/yes.png
+share/tuxpaint/sounds/bleep.wav
+share/tuxpaint/sounds/blocks.wav
+share/tuxpaint/sounds/blur.wav
+share/tuxpaint/sounds/bubble.wav
+share/tuxpaint/sounds/chalk.wav
+share/tuxpaint/sounds/click.wav
+share/tuxpaint/sounds/drip.wav
+share/tuxpaint/sounds/eraser1.wav
+share/tuxpaint/sounds/eraser2.wav
+share/tuxpaint/sounds/fade.wav
+share/tuxpaint/sounds/flip.wav
+share/tuxpaint/sounds/giggle.wav
+share/tuxpaint/sounds/harp.wav
+share/tuxpaint/sounds/keyclick.wav
+share/tuxpaint/sounds/line_end.wav
+share/tuxpaint/sounds/line_start.wav
+share/tuxpaint/sounds/mirror.wav
+share/tuxpaint/sounds/negative.wav
+share/tuxpaint/sounds/paint1.wav
+share/tuxpaint/sounds/paint2.wav
+share/tuxpaint/sounds/paint3.wav
+share/tuxpaint/sounds/paint4.wav
+share/tuxpaint/sounds/prompt.wav
+share/tuxpaint/sounds/rainbow.wav
+share/tuxpaint/sounds/return.wav
+share/tuxpaint/sounds/save.wav
+share/tuxpaint/sounds/scroll.wav
+share/tuxpaint/sounds/sparkles1.wav
+share/tuxpaint/sounds/sparkles2.wav
+share/tuxpaint/sounds/stamp.wav
+share/tuxpaint/sounds/thick.wav
+share/tuxpaint/sounds/thin.wav
+@dirrm share/tuxpaint/sounds
+@dirrm share/tuxpaint/images/ui
+@dirrm share/tuxpaint/images/tux
+@dirrm share/tuxpaint/images/tools
+@dirrm share/tuxpaint/images/titles
+@dirrm share/tuxpaint/images/shapes
+@dirrm share/tuxpaint/images/magic
+@dirrm share/tuxpaint/images
+@dirrm share/tuxpaint/fonts
+@dirrm share/tuxpaint/brushes
+@dirrm share/tuxpaint
+@dirrm share/doc/tuxpaint/tr
+@dirrm share/doc/tuxpaint/nn
+@dirrm share/doc/tuxpaint/nl
+@dirrm share/doc/tuxpaint/it
+@dirrm share/doc/tuxpaint/fr
+@dirrm share/doc/tuxpaint/fi
+@dirrm share/doc/tuxpaint/es
+@dirrm share/doc/tuxpaint/de
+@dirrm share/doc/tuxpaint/da
+@dirrm share/doc/tuxpaint
diff --git a/graphics/tuxpaint/distinfo b/graphics/tuxpaint/distinfo
new file mode 100644
index 00000000000..4a7a2c9ea99
--- /dev/null
+++ b/graphics/tuxpaint/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/09/27 11:07:23 wiz Exp $
+
+SHA1 (tuxpaint-2002.09.25.tar.gz) = 41360e635a0b2eb8628edd0675433f8a9907f6a7
+Size (tuxpaint-2002.09.25.tar.gz) = 876510 bytes
+SHA1 (patch-aa) = 157dda6f920ed2ace184add1092be4a04d33a334
+SHA1 (patch-ab) = 1a444f6ff01e1ff7f407ada47c0436de1297effc
diff --git a/graphics/tuxpaint/patches/patch-aa b/graphics/tuxpaint/patches/patch-aa
new file mode 100644
index 00000000000..48ff9fec0f8
--- /dev/null
+++ b/graphics/tuxpaint/patches/patch-aa
@@ -0,0 +1,41 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/09/27 11:07:23 wiz Exp $
+
+--- Makefile.orig Wed Sep 25 20:32:04 2002
++++ Makefile
+@@ -11,7 +11,7 @@
+
+ # Where to install things:
+
+-PREFIX=/usr/local
++#PREFIX=/usr/local
+
+
+ # Program:
+@@ -27,7 +27,7 @@ DATA_PREFIX=$(PREFIX)/share/tuxpaint/
+ # Docs and man page:
+
+ DOC_PREFIX=$(PREFIX)/share/doc/tuxpaint/
+-MAN_PREFIX=$(PREFIX)/share/man/
++MAN_PREFIX=$(PREFIX)/man/
+
+
+ # Icons and launchers:
+@@ -59,7 +59,7 @@ SDL_CFLAGS=$(shell sdl-config --cflags)
+
+ # The entire set of CFLAGS:
+
+-CFLAGS=-O2 -Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
++CFLAGS+=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
+ -D$(NOSOUNDFLAG) -DDOC_PREFIX=\"$(DOC_PREFIX)\" \
+ -DLOCALEDIR=\"$(LOCALE_PREFIX)\"
+
+@@ -91,8 +91,7 @@ nosound:
+ # to do this as superuser ("root"))
+
+ install: install-bin install-data install-man install-doc \
+- install-gnome install-kde install-kde-icons \
+- install-icon install-gettext install-importscript
++ install-gettext install-importscript
+ @echo
+ @echo "All done! Now (preferably NOT as 'root' superuser),"
+ @echo "you can type the command 'tuxpaint' to run the program!!!"
diff --git a/graphics/tuxpaint/patches/patch-ab b/graphics/tuxpaint/patches/patch-ab
new file mode 100644
index 00000000000..7f49eb62a8c
--- /dev/null
+++ b/graphics/tuxpaint/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/09/27 11:07:23 wiz Exp $
+
+--- src/tuxpaint.c.orig Wed Sep 25 22:29:34 2002
++++ src/tuxpaint.c
+@@ -6162,8 +6162,15 @@ char * get_fname(char * name)
+ #else
+ if (getenv("HOME") != NULL)
+ {
+- snprintf(f, sizeof(f), "%s/.tuxpaint/%s",
+- getenv("HOME"), name);
++ if (*name == '\0') {
++ snprintf(f, sizeof(f), "%s/.tuxpaint",
++ getenv("HOME"));
++ }
++ else
++ {
++ snprintf(f, sizeof(f), "%s/.tuxpaint/%s",
++ getenv("HOME"), name);
++ }
+ }
+ else
+ {