pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tuxpaint-config: Switch to FLTK 1.4



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Wed Jan 22 18:40:04 2025 +0100
Changeset:	a504aee6dfae5a825639ba79a34ce8f98d8d7f76

Modified Files:
	Makefile
Added Files:
	tuxpaint-config/COMMIT_MSG
	tuxpaint-config/DESCR
	tuxpaint-config/Makefile
	tuxpaint-config/PLIST
	tuxpaint-config/distinfo
	tuxpaint-config/patches/patch-Makefile
	tuxpaint-config/patches/patch-src_defaults.cxx

Log Message:
tuxpaint-config: Switch to FLTK 1.4

- Add patch for missing header

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a504aee6dfae5a825639ba79a34ce8f98d8d7f76

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                       |  1 +
 tuxpaint-config/COMMIT_MSG                     |  3 +
 tuxpaint-config/DESCR                          |  5 ++
 tuxpaint-config/Makefile                       | 30 ++++++++++
 tuxpaint-config/PLIST                          | 80 ++++++++++++++++++++++++++
 tuxpaint-config/distinfo                       |  7 +++
 tuxpaint-config/patches/patch-Makefile         | 15 +++++
 tuxpaint-config/patches/patch-src_defaults.cxx | 13 +++++
 8 files changed, 154 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 33d137f053..8307fd721e 100644
--- a/Makefile
+++ b/Makefile
@@ -5732,6 +5732,7 @@ SUBDIR+=	tutos
 SUBDIR+=	tuxanci
 SUBDIR+=	tuxanci-server
 SUBDIR+=	tuxguitar
+SUBDIR+=	tuxpaint-config
 SUBDIR+=	tuxpaint-cvs
 SUBDIR+=	tuxtype2
 SUBDIR+=	tvmet
diff --git a/tuxpaint-config/COMMIT_MSG b/tuxpaint-config/COMMIT_MSG
new file mode 100644
index 0000000000..a002b4a3c6
--- /dev/null
+++ b/tuxpaint-config/COMMIT_MSG
@@ -0,0 +1,3 @@
+graphics/tuxpaint-config: Switch to FLTK 1.4
+
+- Add patch for missing header
diff --git a/tuxpaint-config/DESCR b/tuxpaint-config/DESCR
new file mode 100644
index 0000000000..29761a0a08
--- /dev/null
+++ b/tuxpaint-config/DESCR
@@ -0,0 +1,5 @@
+"Tux Paint Config" is a graphical configuration tool for "Tux
+Paint." It provides a point-and-click interface that allows parents
+and teachers to alter Tux Paint's behavior -- disable sound effects,
+run in full-screen mode, etc. -- without needing to manipulate a
+text-based configuration file.
diff --git a/tuxpaint-config/Makefile b/tuxpaint-config/Makefile
new file mode 100644
index 0000000000..77b753e40d
--- /dev/null
+++ b/tuxpaint-config/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME=		tuxpaint-config-0.0.25
+PKGREVISION=		2
+CATEGORIES=		graphics
+MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=tuxpaint/}
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		http://www.tuxpaint.org/
+COMMENT=		Configuration program for tuxpaint
+LICENSE=		gnu-gpl-v2
+
+USE_LANGUAGES=		c++
+USE_TOOLS+=		gmake msgfmt pkg-config
+
+INSTALL_MAKE_FLAGS+=	PREFIX=${PREFIX}
+INSTALL_MAKE_FLAGS+=	MAN_PREFIX=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=		CFLAGS=${CFLAGS:Q}
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../print/libpaper/buildlink3.mk"
+.include "../../textproc/libunibreak/buildlink3.mk"
+.include "../../wip/fltk14-devel/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/tuxpaint-config/PLIST b/tuxpaint-config/PLIST
new file mode 100644
index 0000000000..ed941606e2
--- /dev/null
+++ b/tuxpaint-config/PLIST
@@ -0,0 +1,80 @@
+@comment $NetBSD$
+bin/tuxpaint-config
+include/X11/pixmaps/tuxpaint-config.xpm
+man/man1/tuxpaint-config.1
+share/applications/tuxpaint-config.desktop
+share/doc/tuxpaint-config/AUTHORS.txt
+share/doc/tuxpaint-config/CHANGES.txt
+share/doc/tuxpaint-config/COPYING.txt
+share/doc/tuxpaint-config/README.txt
+share/doc/tuxpaint-config/TODO.txt
+share/doc/tuxpaint-config/html/README.html
+share/icons/hicolor/16x16/apps/tuxpaint-config.png
+share/icons/hicolor/32x32/apps/tuxpaint-config.png
+share/icons/hicolor/48x48/apps/tuxpaint-config.png
+share/locale/ach/LC_MESSAGES/tuxpaint-config.mo
+share/locale/an/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ar/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ast/LC_MESSAGES/tuxpaint-config.mo
+share/locale/bg/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ca/LC_MESSAGES/tuxpaint-config.mo
+share/locale/cgg/LC_MESSAGES/tuxpaint-config.mo
+share/locale/cs/LC_MESSAGES/tuxpaint-config.mo
+share/locale/da/LC_MESSAGES/tuxpaint-config.mo
+share/locale/de/LC_MESSAGES/tuxpaint-config.mo
+share/locale/el/LC_MESSAGES/tuxpaint-config.mo
+share/locale/en_GB/LC_MESSAGES/tuxpaint-config.mo
+share/locale/eo/LC_MESSAGES/tuxpaint-config.mo
+share/locale/es/LC_MESSAGES/tuxpaint-config.mo
+share/locale/eu/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ff/LC_MESSAGES/tuxpaint-config.mo
+share/locale/fi/LC_MESSAGES/tuxpaint-config.mo
+share/locale/fr/LC_MESSAGES/tuxpaint-config.mo
+share/locale/gd/LC_MESSAGES/tuxpaint-config.mo
+share/locale/gl/LC_MESSAGES/tuxpaint-config.mo
+share/locale/hi/LC_MESSAGES/tuxpaint-config.mo
+share/locale/hy/LC_MESSAGES/tuxpaint-config.mo
+share/locale/id/LC_MESSAGES/tuxpaint-config.mo
+share/locale/is/LC_MESSAGES/tuxpaint-config.mo
+share/locale/it/LC_MESSAGES/tuxpaint-config.mo
+share/locale/iu/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ja/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ka/LC_MESSAGES/tuxpaint-config.mo
+share/locale/kab/LC_MESSAGES/tuxpaint-config.mo
+share/locale/lv/LC_MESSAGES/tuxpaint-config.mo
+share/locale/mn/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ms/LC_MESSAGES/tuxpaint-config.mo
+share/locale/nl/LC_MESSAGES/tuxpaint-config.mo
+share/locale/nn/LC_MESSAGES/tuxpaint-config.mo
+share/locale/pl/LC_MESSAGES/tuxpaint-config.mo
+share/locale/pt/LC_MESSAGES/tuxpaint-config.mo
+share/locale/pt_BR/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ro/LC_MESSAGES/tuxpaint-config.mo
+share/locale/ru/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sat/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sk/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sl/LC_MESSAGES/tuxpaint-config.mo
+share/locale/son/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sq/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sr/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sr@latin/LC_MESSAGES/tuxpaint-config.mo
+share/locale/sv/LC_MESSAGES/tuxpaint-config.mo
+share/locale/tr/LC_MESSAGES/tuxpaint-config.mo
+share/locale/uk/LC_MESSAGES/tuxpaint-config.mo
+share/locale/vec/LC_MESSAGES/tuxpaint-config.mo
+share/locale/vi/LC_MESSAGES/tuxpaint-config.mo
+share/locale/zh_CN/LC_MESSAGES/tuxpaint-config.mo
+share/locale/zh_TW/LC_MESSAGES/tuxpaint-config.mo
+share/locale/zu/LC_MESSAGES/tuxpaint-config.mo
+share/pixmaps/tuxpaint-config.png
+share/tuxpaint-config/images/icon-win32.ico
+share/tuxpaint-config/images/icon.png
+share/tuxpaint-config/images/icon16x16.png
+share/tuxpaint-config/images/icon32x32.png
+share/tuxpaint-config/images/icon32x32.xpm
+share/tuxpaint-config/images/icon48x48.png
+share/tuxpaint-config/images/win32-icon16x16x16.png
+share/tuxpaint-config/images/win32-icon16x16x256.png
+share/tuxpaint-config/images/win32-icon32x32x16.png
+share/tuxpaint-config/images/win32-icon32x32x256.png
+share/tuxpaint-config/images/win32-icon48x48x256.png
diff --git a/tuxpaint-config/distinfo b/tuxpaint-config/distinfo
new file mode 100644
index 0000000000..976ca23a7d
--- /dev/null
+++ b/tuxpaint-config/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (tuxpaint-config-0.0.25.tar.gz) = 6734c115e99d3a35eebe90c4c590bfda6d6cf2c38e0cae1cbb14f19b95d18ac8
+SHA512 (tuxpaint-config-0.0.25.tar.gz) = e572f69605e98e862fb89035303c7700ecc03b6401bdbd7340199324d02355aa7f95683bc46cf24a2076ac7bdd27593311b9de9d68ce1e8173dc357898ac6c35
+Size (tuxpaint-config-0.0.25.tar.gz) = 893708 bytes
+SHA1 (patch-Makefile) = 29b063317eb6f2f58dcb4f5e54bf0c259fc1f74a
+SHA1 (patch-src_defaults.cxx) = 5990e6c4d70f6e00534fef479f2ad9c69fa6705f
diff --git a/tuxpaint-config/patches/patch-Makefile b/tuxpaint-config/patches/patch-Makefile
new file mode 100644
index 0000000000..3d84cd5336
--- /dev/null
+++ b/tuxpaint-config/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Ensure that trans directory is made before trying to put files in it.
+
+--- Makefile.orig	2018-08-28 17:18:29.000000000 +0000
++++ Makefile
+@@ -406,7 +406,7 @@ endif
+ 
+ # Build the translation files for gettext
+ 
+-$(MOFILES): trans/%.mo: src/po/%.po
++$(MOFILES): trans/%.mo: src/po/%.po trans
+ 	msgfmt -o $@ $<
+ 
+ .PHONY: translations
diff --git a/tuxpaint-config/patches/patch-src_defaults.cxx b/tuxpaint-config/patches/patch-src_defaults.cxx
new file mode 100644
index 0000000000..3d8c088c9a
--- /dev/null
+++ b/tuxpaint-config/patches/patch-src_defaults.cxx
@@ -0,0 +1,13 @@
+$NetBSD$
+
+Include missing header.
+
+--- src/defaults.cxx.orig	2024-10-25 23:21:16.000000000 +0000
++++ src/defaults.cxx
+@@ -1,5 +1,6 @@
+ #include <libintl.h>
+ #include <math.h>
++#include <stdlib.h>
+ #include "defaults.h"
+ #include "string.h"
+ 


Home | Main Index | Thread Index | Old Index