diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile index 6ff2e5f71d3e..deb6634d495f 100644 --- a/games/tuxpaint/Makefile +++ b/games/tuxpaint/Makefile @@ -1,69 +1,69 @@ PORTNAME= tuxpaint -PORTVERSION= 0.9.28 -PORTREVISION= 5 +PORTVERSION= 0.9.32 CATEGORIES= games MASTER_SITES= SF -DISTNAME= ${PORTNAME}-${PORTVERSION}-sdl2 +#DISTNAME= ${PORTNAME}-${PORTVERSION}-sdl2 MAINTAINER= wen@FreeBSD.org COMMENT= Drawing program designed for young children WWW= https://www.tuxpaint.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt LIB_DEPENDS= libfribidi.so:converters/fribidi \ libpaper.so:print/libpaper \ libimagequant.so:graphics/libimagequant \ libpng16.so:graphics/png \ - libharfbuzz.so:print/harfbuzz + libharfbuzz.so:print/harfbuzz \ + libSDL2_Pango.so:x11-toolkits/sdl2_pango RUN_DEPENDS= anytopnm:graphics/netpbm \ bash:shells/bash USES= gettext gmake gnome gperf magick:7,build pkgconfig \ python sdl shebangfix SHEBANG_FILES= src/tuxpaint-import.sh \ fonts/locale/zh_tw_docs/maketuxfont.py USE_GNOME= librsvg2 cairo USE_SDL= gfx2 image2 mixer2 sdl2 ttf2 MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ PREFIX="${PREFIX}" \ MAN_PREFIX="${STAGEDIR}${PREFIX}/share/man" \ DEVMAN_PREFIX="${STAGEDIR}${PREFIX}/share/man" \ X11_ICON_PREFIX="${STAGEDIR}${PREFIX}/share/pixmaps" \ GNOME_PREFIX="${PREFIX}" \ ARCH_INSTALL="" \ OPTFLAGS="${CFLAGS} -DHAVE_STRCASESTR" \ SHARED_FLAGS="-shared -fPIC" \ GPERF="${GPERF}" MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-gettext install-im install-magic-plugins \ install-magic-plugin-dev install-default-config \ install-example-stamps install-example-starters \ install-icon install-bin install-importscript \ install-data install-doc install-man PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: @${RM} -r ${WRKSRC}/fonts/locale/vi_docs post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tuxpaint @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tuxpaint/plugins/*.so .include diff --git a/games/tuxpaint/distinfo b/games/tuxpaint/distinfo index c633b0260213..e2c19d626f35 100644 --- a/games/tuxpaint/distinfo +++ b/games/tuxpaint/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1655169113 -SHA256 (tuxpaint-0.9.28-sdl2.tar.gz) = 4f1ed9330feab324070b93630d79ced50ccc4816ab76750119f012b5d904709d -SIZE (tuxpaint-0.9.28-sdl2.tar.gz) = 15029692 +TIMESTAMP = 1717399898 +SHA256 (tuxpaint-0.9.32.tar.gz) = 09cce22241481dc1360fc4bc5d4da1d31815d7a2563b9e9fa217a672ba974bf2 +SIZE (tuxpaint-0.9.32.tar.gz) = 22757137 diff --git a/games/tuxpaint/files/patch-Makefile b/games/tuxpaint/files/patch-Makefile index be9e5afa0106..45d49dbf7644 100644 --- a/games/tuxpaint/files/patch-Makefile +++ b/games/tuxpaint/files/patch-Makefile @@ -1,52 +1,50 @@ ---- Makefile.orig 2020-12-12 07:42:50 UTC +--- Makefile.orig 2024-06-04 06:21:39 UTC +++ Makefile -@@ -166,10 +166,10 @@ INCLUDE_PREFIX:=$(DESTDIR)$(PREFIX)/include +@@ -250,9 +250,9 @@ MAGIC_PREFIX:=$(DESTDIR)$(LIBDIR)/lib$(LIBDIRSUFFIX)/t MAGIC_PREFIX:=$(DESTDIR)$(LIBDIR)/lib$(LIBDIRSUFFIX)/tuxpaint/plugins # Docs and man page: -DOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint-$(VER_VERSION) --DEVDOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint-$(VER_VERSION)/tuxpaint-dev -MAN_PREFIX:=$(DESTDIR)$(PREFIX)/share/man -DEVMAN_PREFIX:=$(DESTDIR)$(PREFIX)/share/man +DOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint -+DEVDOC_PREFIX:=$(DESTDIR)$(PREFIX)/share/doc/tuxpaint/tuxpaint/dev +MAN_PREFIX:=$(DESTDIR)$(PREFIX)/man +DEVMAN_PREFIX:=$(DESTDIR)$(PREFIX)/man # BASH tab-completion file: COMPLETIONDIR:=$(DESTDIR)/etc/bash_completion.d -@@ -647,8 +647,8 @@ install-default-config: +@@ -794,8 +794,8 @@ install-default-config: @echo @echo "...Installing default config file..." @install -d $(CONFDIR) - @cp src/tuxpaint.conf $(CONFDIR) - @chmod 644 $(CONFDIR)/tuxpaint.conf + @cp src/tuxpaint.conf $(CONFDIR)/tuxpaint.conf.sample + @chmod 644 $(CONFDIR)/tuxpaint.conf.sample # Install BASH completion file: .PHONY: install-bash-completion -@@ -1217,10 +1217,10 @@ tp-magic-config: src/tp-magic-config.sh.in +@@ -1414,10 +1414,10 @@ tp-magic-config: src/tp-magic-config.sh.in @echo "...Generating 'Magic' tool API configuration script..." @sed -e s/__VERSION__/$(VER_VERSION)/ \ -e s/__APIVERSION__/$(MAGIC_API_VERSION)/ \ - -e s=__INCLUDE__=$(INCLUDE_PREFIX)/tuxpaint= \ - -e s=__DATAPREFIX__=$(DATA_PREFIX)= \ - -e s=__PLUGINPREFIX__=$(MAGIC_PREFIX)= \ - -e s=__PLUGINDOCPREFIX__=$(DOC_PREFIX)/magic-docs= \ + -e s=__INCLUDE__=$(patsubst $(DESTDIR)%,%,$(INCLUDE_PREFIX))/tuxpaint= \ + -e s=__DATAPREFIX__=$(patsubst $(DESTDIR)%,%,DATA_PREFIX)= \ + -e s=__PLUGINPREFIX__=$(patsubst $(DESTDIR)%,%,MAGIC_PREFIX)= \ + -e s=__PLUGINDOCPREFIX__=$(patsubst $(DESTDIR)%,%,DOC_PREFIX)/magic-docs= \ src/tp-magic-config.sh.in \ > tp-magic-config -@@ -1243,7 +1243,7 @@ linux_PLUGIN_LIBS:= +@@ -1453,7 +1453,7 @@ PLUGIN_LIBS:=$($(OS)_PLUGIN_LIBS) + linux_PLUGIN_LIBS:= PLUGIN_LIBS:=$($(OS)_PLUGIN_LIBS) - #MAGIC_CFLAGS:=-g3 -O2 -fvisibility=hidden -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(MAGIC_SDL_CPPFLAGS) -Isrc/ --MAGIC_CFLAGS:=-g3 -O2 -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(MAGIC_SDL_CPPFLAGS) -Isrc/ $(ARCH_CFLAGS) -+MAGIC_CFLAGS:=$(OPTFLAGS) -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(MAGIC_SDL_CPPFLAGS) -Isrc/ $(ARCH_CFLAGS) +-MAGIC_CFLAGS:=-g3 -O2 $(FASTMATH) -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(MAGIC_SDL_CPPFLAGS) -Isrc/ $(ARCH_CFLAGS) ++MAGIC_CFLAGS:=$(OPTFLAGS) $(FASTMATH) -fno-common -W -Wstrict-prototypes -Wmissing-prototypes -Wall $(MAGIC_SDL_CPPFLAGS) -Isrc/ $(ARCH_CFLAGS) SHARED_FLAGS:=-shared -fpic -lm MAGIC_C:=$(wildcard magic/src/*.c) diff --git a/games/tuxpaint/pkg-plist b/games/tuxpaint/pkg-plist index 7bb3c7c23fbb..babc7823551a 100644 --- a/games/tuxpaint/pkg-plist +++ b/games/tuxpaint/pkg-plist @@ -1,195 +1,207 @@ bin/tp-magic-config bin/tuxpaint bin/tuxpaint-import @sample %%ETCDIR%%/tuxpaint.conf.sample include/tuxpaint/tp_magic_api.h lib/tuxpaint/plugins/alien.so lib/tuxpaint/plugins/blind.so -lib/tuxpaint/plugins/blocks_chalk_drip.so +lib/tuxpaint/plugins/blocks_etc.so +lib/tuxpaint/plugins/bloom.so lib/tuxpaint/plugins/blur.so lib/tuxpaint/plugins/bricks.so lib/tuxpaint/plugins/calligraphy.so lib/tuxpaint/plugins/cartoon.so lib/tuxpaint/plugins/checkerboard.so lib/tuxpaint/plugins/clone.so +lib/tuxpaint/plugins/colorsep.so lib/tuxpaint/plugins/confetti.so lib/tuxpaint/plugins/distortion.so lib/tuxpaint/plugins/emboss.so lib/tuxpaint/plugins/fade_darken.so lib/tuxpaint/plugins/fisheye.so lib/tuxpaint/plugins/flower.so lib/tuxpaint/plugins/foam.so lib/tuxpaint/plugins/fold.so lib/tuxpaint/plugins/fretwork.so lib/tuxpaint/plugins/glasstile.so +lib/tuxpaint/plugins/googlyeyes.so lib/tuxpaint/plugins/grass.so lib/tuxpaint/plugins/halftone.so +lib/tuxpaint/plugins/kaleidox.so lib/tuxpaint/plugins/kalidescope.so lib/tuxpaint/plugins/light.so lib/tuxpaint/plugins/lightning.so +lib/tuxpaint/plugins/maze.so lib/tuxpaint/plugins/metalpaint.so lib/tuxpaint/plugins/mirror_flip.so lib/tuxpaint/plugins/mosaic_shaped.so lib/tuxpaint/plugins/mosaic.so +lib/tuxpaint/plugins/n_pt_persp.so lib/tuxpaint/plugins/negative.so lib/tuxpaint/plugins/noise.so lib/tuxpaint/plugins/perspective.so lib/tuxpaint/plugins/pixels.so lib/tuxpaint/plugins/puzzle.so lib/tuxpaint/plugins/rails.so lib/tuxpaint/plugins/rainbow.so lib/tuxpaint/plugins/rain.so lib/tuxpaint/plugins/realrainbow.so lib/tuxpaint/plugins/reflection.so +lib/tuxpaint/plugins/ribbon.so lib/tuxpaint/plugins/ripples.so lib/tuxpaint/plugins/rosette.so lib/tuxpaint/plugins/sharpen.so lib/tuxpaint/plugins/shift.so +lib/tuxpaint/plugins/smooth.so lib/tuxpaint/plugins/smudge.so lib/tuxpaint/plugins/snow.so lib/tuxpaint/plugins/stretch.so lib/tuxpaint/plugins/string.so +lib/tuxpaint/plugins/swirls.so lib/tuxpaint/plugins/tint.so lib/tuxpaint/plugins/toothpaste.so lib/tuxpaint/plugins/tornado.so +lib/tuxpaint/plugins/trochoids.so lib/tuxpaint/plugins/tv.so lib/tuxpaint/plugins/waves.so lib/tuxpaint/plugins/xor.so share/man/es_ES.UTF-8/man1/tuxpaint.1.gz share/man/fr_FR.UTF-8/man1/tuxpaint.1.gz +share/man/is_IS.UTF-8/man1/tuxpaint.1.gz share/man/gl_ES.UTF-8/man1/tuxpaint.1.gz share/man/ja_JP.UTF-8/man1/tuxpaint.1.gz +share/man/sq_AL.UTF-8/man1/tuxpaint.1.gz share/man/man1/tp-magic-config.1.gz share/man/man1/tuxpaint.1.gz share/man/man1/tuxpaint-import.1.gz share/locale/ach/LC_MESSAGES/tuxpaint.mo share/locale/af/LC_MESSAGES/tuxpaint.mo share/locale/ak/LC_MESSAGES/tuxpaint.mo share/locale/am/LC_MESSAGES/tuxpaint.mo share/locale/an/LC_MESSAGES/tuxpaint.mo share/locale/ar/LC_MESSAGES/tuxpaint.mo share/locale/as/LC_MESSAGES/tuxpaint.mo share/locale/ast/LC_MESSAGES/tuxpaint.mo share/locale/az/LC_MESSAGES/tuxpaint.mo share/locale/be/LC_MESSAGES/tuxpaint.mo share/locale/bg/LC_MESSAGES/tuxpaint.mo share/locale/bm/LC_MESSAGES/tuxpaint.mo share/locale/bn/LC_MESSAGES/tuxpaint.mo share/locale/bo/LC_MESSAGES/tuxpaint.mo share/locale/br/LC_MESSAGES/tuxpaint.mo share/locale/brx/LC_MESSAGES/tuxpaint.mo share/locale/bs/LC_MESSAGES/tuxpaint.mo share/locale/ca/LC_MESSAGES/tuxpaint.mo share/locale/ca@valencia/LC_MESSAGES/tuxpaint.mo share/locale/cgg/LC_MESSAGES/tuxpaint.mo share/locale/cs/LC_MESSAGES/tuxpaint.mo share/locale/cy/LC_MESSAGES/tuxpaint.mo share/locale/da/LC_MESSAGES/tuxpaint.mo share/locale/de/LC_MESSAGES/tuxpaint.mo share/locale/doi/LC_MESSAGES/tuxpaint.mo share/locale/el/LC_MESSAGES/tuxpaint.mo share/locale/en_AU/LC_MESSAGES/tuxpaint.mo share/locale/en_CA/LC_MESSAGES/tuxpaint.mo share/locale/en_GB/LC_MESSAGES/tuxpaint.mo share/locale/en_ZA/LC_MESSAGES/tuxpaint.mo share/locale/eo/LC_MESSAGES/tuxpaint.mo share/locale/es/LC_MESSAGES/tuxpaint.mo share/locale/es_MX/LC_MESSAGES/tuxpaint.mo share/locale/et/LC_MESSAGES/tuxpaint.mo share/locale/eu/LC_MESSAGES/tuxpaint.mo share/locale/fa/LC_MESSAGES/tuxpaint.mo share/locale/ff/LC_MESSAGES/tuxpaint.mo share/locale/fi/LC_MESSAGES/tuxpaint.mo share/locale/fo/LC_MESSAGES/tuxpaint.mo share/locale/fr/LC_MESSAGES/tuxpaint.mo share/locale/ga/LC_MESSAGES/tuxpaint.mo share/locale/gd/LC_MESSAGES/tuxpaint.mo share/locale/gl/LC_MESSAGES/tuxpaint.mo share/locale/gos/LC_MESSAGES/tuxpaint.mo share/locale/gu/LC_MESSAGES/tuxpaint.mo share/locale/he/LC_MESSAGES/tuxpaint.mo share/locale/hi/LC_MESSAGES/tuxpaint.mo share/locale/hr/LC_MESSAGES/tuxpaint.mo share/locale/hu/LC_MESSAGES/tuxpaint.mo share/locale/hy/LC_MESSAGES/tuxpaint.mo share/locale/id/LC_MESSAGES/tuxpaint.mo share/locale/is/LC_MESSAGES/tuxpaint.mo share/locale/it/LC_MESSAGES/tuxpaint.mo share/locale/iu/LC_MESSAGES/tuxpaint.mo share/locale/ja/LC_MESSAGES/tuxpaint.mo share/locale/ka/LC_MESSAGES/tuxpaint.mo share/locale/kab/LC_MESSAGES/tuxpaint.mo share/locale/km/LC_MESSAGES/tuxpaint.mo share/locale/kn/LC_MESSAGES/tuxpaint.mo share/locale/ko/LC_MESSAGES/tuxpaint.mo share/locale/kok/LC_MESSAGES/tuxpaint.mo share/locale/kok@roman/LC_MESSAGES/tuxpaint.mo share/locale/ks/LC_MESSAGES/tuxpaint.mo share/locale/ks@devanagari/LC_MESSAGES/tuxpaint.mo share/locale/ku/LC_MESSAGES/tuxpaint.mo share/locale/lb/LC_MESSAGES/tuxpaint.mo share/locale/lg/LC_MESSAGES/tuxpaint.mo share/locale/lt/LC_MESSAGES/tuxpaint.mo share/locale/lv/LC_MESSAGES/tuxpaint.mo share/locale/mai/LC_MESSAGES/tuxpaint.mo share/locale/mk/LC_MESSAGES/tuxpaint.mo share/locale/ml/LC_MESSAGES/tuxpaint.mo share/locale/mn/LC_MESSAGES/tuxpaint.mo share/locale/mni/LC_MESSAGES/tuxpaint.mo share/locale/mni@meiteimayek/LC_MESSAGES/tuxpaint.mo share/locale/mr/LC_MESSAGES/tuxpaint.mo share/locale/ms/LC_MESSAGES/tuxpaint.mo share/locale/nb/LC_MESSAGES/tuxpaint.mo share/locale/ne/LC_MESSAGES/tuxpaint.mo share/locale/nl/LC_MESSAGES/tuxpaint.mo share/locale/nn/LC_MESSAGES/tuxpaint.mo share/locale/nr/LC_MESSAGES/tuxpaint.mo share/locale/nso/LC_MESSAGES/tuxpaint.mo share/locale/oc/LC_MESSAGES/tuxpaint.mo share/locale/oj/LC_MESSAGES/tuxpaint.mo share/locale/or/LC_MESSAGES/tuxpaint.mo share/locale/pa/LC_MESSAGES/tuxpaint.mo share/locale/pl/LC_MESSAGES/tuxpaint.mo share/locale/pt_BR/LC_MESSAGES/tuxpaint.mo share/locale/pt/LC_MESSAGES/tuxpaint.mo share/locale/ro/LC_MESSAGES/tuxpaint.mo share/locale/ru/LC_MESSAGES/tuxpaint.mo share/locale/rw/LC_MESSAGES/tuxpaint.mo share/locale/sa/LC_MESSAGES/tuxpaint.mo share/locale/sat/LC_MESSAGES/tuxpaint.mo share/locale/sat@olchiki/LC_MESSAGES/tuxpaint.mo share/locale/sc/LC_MESSAGES/tuxpaint.mo share/locale/sd/LC_MESSAGES/tuxpaint.mo share/locale/sd@devanagari/LC_MESSAGES/tuxpaint.mo share/locale/shs/LC_MESSAGES/tuxpaint.mo share/locale/si/LC_MESSAGES/tuxpaint.mo share/locale/sk/LC_MESSAGES/tuxpaint.mo share/locale/sl/LC_MESSAGES/tuxpaint.mo share/locale/son/LC_MESSAGES/tuxpaint.mo share/locale/sq/LC_MESSAGES/tuxpaint.mo share/locale/sr/LC_MESSAGES/tuxpaint.mo share/locale/sr@latin/LC_MESSAGES/tuxpaint.mo share/locale/su/LC_MESSAGES/tuxpaint.mo share/locale/sv/LC_MESSAGES/tuxpaint.mo share/locale/sw/LC_MESSAGES/tuxpaint.mo share/locale/ta/LC_MESSAGES/tuxpaint.mo share/locale/te/LC_MESSAGES/tuxpaint.mo share/locale/th/LC_MESSAGES/tuxpaint.mo share/locale/tl/LC_MESSAGES/tuxpaint.mo share/locale/tlh/LC_MESSAGES/tuxpaint.mo share/locale/tr/LC_MESSAGES/tuxpaint.mo share/locale/tw/LC_MESSAGES/tuxpaint.mo share/locale/uk/LC_MESSAGES/tuxpaint.mo share/locale/ur/LC_MESSAGES/tuxpaint.mo share/locale/ve/LC_MESSAGES/tuxpaint.mo share/locale/vec/LC_MESSAGES/tuxpaint.mo share/locale/vi/LC_MESSAGES/tuxpaint.mo share/locale/wa/LC_MESSAGES/tuxpaint.mo share/locale/wo/LC_MESSAGES/tuxpaint.mo share/locale/xh/LC_MESSAGES/tuxpaint.mo share/locale/zam/LC_MESSAGES/tuxpaint.mo share/locale/zh_CN/LC_MESSAGES/tuxpaint.mo share/locale/zh_TW/LC_MESSAGES/tuxpaint.mo share/locale/zu/LC_MESSAGES/tuxpaint.mo share/pixmaps/tuxpaint.png share/pixmaps/tuxpaint.xpm