Tue May 19 11:37:56 2020 UTC ()
powermanga: Update to 0.93.1

2015-06-28
Powermanga 0.93.1
- Fixes the speed of the stars after a new game that follows congratulation.
- Clears all gems after the final boss. Thanks to Josh Triplett for the report
  (Debian #764009)
- Disable insecure temporary file "/tmp/powermanga-log.txt". Thanks to
  Josh Triplett for the report (Debian #764144)
- Translation of the man page in French.
- Fix file permissions in HTML directory. Thanks to  nemysisbsd for
  the report.
- Allows the joystick to be configured either from the command line or
  from the config file. Thanks to Maurerp for the patch.
- The __FUNCTION__ macro has been replaced by __func__ macro. ISO C does not
  support ���__FUNCTION__��� predefined identifier. (Debian #778072)
- Remove -Werror and -pedantic flags for non-test builds.

2014-09-20
Powermanga 0.93
- Fix man page: The option to play the game in fullscreen mode
   must be --fullscreen not --full. (Patch Debian)
- Added keywords and a comment in German and French to the desktop file
  (Patch Debian)
- Fix configure.ac: Add custom CFLAGS (Patch Debian)
- Fix segmentation fault in the About menu (English version)
- Fixes wrong joystick behaviour in display_sdl.c and allows the ship to move
  to the left side again. Thanks to Kalle Olavi Niemitalo for the report
  (Debian #561670)
- Allow compilation with Clang

2014-08-19
Powermanga 0.92
- Fix Debian bug #478213
- Fix configure.ac: replace AM_CONFIG_HEADER to AC_CONFIG_HEADERS
- Add  explicitly link with needed libm, fix Debian bug #632945
- Fix PNG_iTXt_SUPPORTED support
- Add italian language
- Fix negative coordinates explosions that caused a segmentation fault.

2012-08-26
Powermanga 0.91
- Update "configure.ac" file.
- Fix compilation warnings (GCC 4.6.3 and Visual Studio)
- Fix alignment constraint (ARM and MIPS processors)
- Adds the ability to export all the game's graphics in PNG files
  using the command line.
- Build test (without sound support) with Visual Studio and run
  successfully on Windows Mobile (HTC Touch P3450)
- Recognizes all the joysticks connected at startup
- Rewrites the file "music_game.zik" with Milkytracker.
  Now the library "SDL_mixer" can read and play this module.
- The application switches to pause when it loses focus.
- Minor bugfixes and improvements


(nia)
diff -r1.30 -r1.31 pkgsrc/games/powermanga/Makefile
diff -r1.4 -r1.5 pkgsrc/games/powermanga/PLIST
diff -r1.6 -r1.7 pkgsrc/games/powermanga/distinfo
diff -r1.2 -r0 pkgsrc/games/powermanga/patches/patch-ab
diff -r1.3 -r0 pkgsrc/games/powermanga/patches/patch-ad
diff -r0 -r1.1 pkgsrc/games/powermanga/patches/patch-src_Makefile.am

cvs diff -r1.30 -r1.31 pkgsrc/games/powermanga/Makefile (expand / switch to unified diff)

--- pkgsrc/games/powermanga/Makefile 2018/07/04 13:40:19 1.30
+++ pkgsrc/games/powermanga/Makefile 2020/05/19 11:37:56 1.31
@@ -1,55 +1,52 @@ @@ -1,55 +1,52 @@
1# $NetBSD: Makefile,v 1.30 2018/07/04 13:40:19 jperkin Exp $ 1# $NetBSD: Makefile,v 1.31 2020/05/19 11:37:56 nia Exp $
2 2
3DISTNAME= powermanga-0.90 3DISTNAME= powermanga-0.93.1
4PKGREVISION= 2 
5CATEGORIES= games 4CATEGORIES= games
6MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/ 5MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/
 6EXTRACT_SUFX= .tgz
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://linux.tlk.fr/games/Powermanga/ 9HOMEPAGE= http://linux.tlk.fr/games/Powermanga/
10COMMENT= Arcade 2D shoot-em-up game 10COMMENT= Arcade 2D shoot-em-up game
11LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
12 12
13USE_LANGUAGES= c c++ 
14GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
 14USE_LANGUAGES= c c++
 15USE_TOOLS+= autoconf automake autoreconf
15 16
16CONFIGURE_ARGS+= --localstatedir=${VARBASE} 17CONFIGURE_ARGS+= --localstatedir=${VARBASE}
17MAKE_ENV+= TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC} 18MAKE_ENV+= TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC}
18LDFLAGS.DragonFly= -lm 19LDFLAGS.DragonFly= -lm
19LDFLAGS.SunOS+= -lm 20LDFLAGS.SunOS+= -lm
20 21
21.include "../../mk/bsd.prefs.mk" 
22 
23.if ${X11_TYPE} == "modular" 
24CONFIGURE_ARGS+= --x-includes=${PREFIX}/include 
25CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib 
26.endif 
27 
28SUBST_CLASSES+= path 22SUBST_CLASSES+= path
29SUBST_STAGE.path= pre-configure 23SUBST_STAGE.path= pre-configure
30SUBST_SED.path+= -e "s,/games/powermanga,/powermanga,g" 24SUBST_SED.path+= -e "s,/games/powermanga,/powermanga,g"
31SUBST_MESSAGE.path= Fixing support file installation paths. 25SUBST_MESSAGE.path= Fixing support file installation paths.
32SUBST_FILES.path+= data/Makefile.in 26SUBST_FILES.path+= data/levels/grids_phase/Makefile.am
33SUBST_FILES.path+= data/curves/Makefile.in 27SUBST_FILES.path+= data/levels/curves_phase/Makefile.am
34SUBST_FILES.path+= data/levels/curves_phase/Makefile.in 28SUBST_FILES.path+= data/Makefile.am
35SUBST_FILES.path+= data/levels/grids_phase/Makefile.in 29SUBST_FILES.path+= data/curves/Makefile.am
36SUBST_FILES.path+= graphics/Makefile.in 30SUBST_FILES.path+= texts/Makefile.am
37SUBST_FILES.path+= graphics/bitmap/Makefile.in 31SUBST_FILES.path+= graphics/bitmap/fonts/Makefile.am
38SUBST_FILES.path+= graphics/bitmap/fonts/Makefile.in 32SUBST_FILES.path+= graphics/bitmap/Makefile.am
39SUBST_FILES.path+= graphics/sprites/Makefile.in 33SUBST_FILES.path+= graphics/sprites/guardians/Makefile.am
40SUBST_FILES.path+= graphics/sprites/guardians/Makefile.in 34SUBST_FILES.path+= graphics/sprites/stars/Makefile.am
41SUBST_FILES.path+= graphics/sprites/meteors/Makefile.in 35SUBST_FILES.path+= graphics/sprites/meteors/Makefile.am
42SUBST_FILES.path+= graphics/sprites/spaceships/Makefile.in 36SUBST_FILES.path+= graphics/sprites/Makefile.am
43SUBST_FILES.path+= graphics/sprites/stars/Makefile.in 37SUBST_FILES.path+= graphics/sprites/spaceships/Makefile.am
 38SUBST_FILES.path+= graphics/Makefile.am
 39SUBST_FILES.path+= src/Makefile.am
 40SUBST_FILES.path+= sounds/handheld_console/Makefile.am
 41SUBST_FILES.path+= sounds/Makefile.am
 42SUBST_FILES.path+= Makefile.am
44SUBST_FILES.path+= powermanga.6 43SUBST_FILES.path+= powermanga.6
45SUBST_FILES.path+= sounds/Makefile.in 
46SUBST_FILES.path+= sounds/handheld_console/Makefile.in 
47SUBST_FILES.path+= src/tools.c 44SUBST_FILES.path+= src/tools.c
48SUBST_FILES.path+= texts/Makefile.in 45
 46pre-configure:
 47 cd ${WRKSRC} && autoreconf -fi
49 48
50.include "../../audio/SDL_mixer/buildlink3.mk" 49.include "../../audio/SDL_mixer/buildlink3.mk"
51.include "../../devel/SDL/buildlink3.mk" 50.include "../../devel/SDL/buildlink3.mk"
52.include "../../x11/libXxf86dga/buildlink3.mk" 51.include "../../graphics/png/buildlink3.mk"
53.include "../../x11/libXxf86vm/buildlink3.mk" 
54.include "../../x11/xorgproto/buildlink3.mk" 
55.include "../../mk/bsd.pkg.mk" 52.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/games/powermanga/PLIST (expand / switch to unified diff)

--- pkgsrc/games/powermanga/PLIST 2009/09/02 11:38:01 1.4
+++ pkgsrc/games/powermanga/PLIST 2020/05/19 11:37:56 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.4 2009/09/02 11:38:01 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.5 2020/05/19 11:37:56 nia Exp $
2bin/powermanga 2bin/powermanga
3man/man6/powermanga.6 3man/man6/powermanga.6
4share/powermanga/data/curves/bezier_curve_000.bin 4share/powermanga/data/curves/bezier_curve_000.bin
5share/powermanga/data/curves/bezier_curve_001.bin 5share/powermanga/data/curves/bezier_curve_001.bin
6share/powermanga/data/curves/bezier_curve_002.bin 6share/powermanga/data/curves/bezier_curve_002.bin
7share/powermanga/data/curves/bezier_curve_003.bin 7share/powermanga/data/curves/bezier_curve_003.bin
8share/powermanga/data/curves/bezier_curve_004.bin 8share/powermanga/data/curves/bezier_curve_004.bin
9share/powermanga/data/curves/bezier_curve_005.bin 9share/powermanga/data/curves/bezier_curve_005.bin
10share/powermanga/data/curves/bezier_curve_006.bin 10share/powermanga/data/curves/bezier_curve_006.bin
11share/powermanga/data/curves/bezier_curve_007.bin 11share/powermanga/data/curves/bezier_curve_007.bin
12share/powermanga/data/curves/bezier_curve_008.bin 12share/powermanga/data/curves/bezier_curve_008.bin
13share/powermanga/data/curves/bezier_curve_009.bin 13share/powermanga/data/curves/bezier_curve_009.bin
14share/powermanga/data/curves/bezier_curve_010.bin 14share/powermanga/data/curves/bezier_curve_010.bin
@@ -374,19 +374,23 @@ share/powermanga/sounds/sound_medium_exp @@ -374,19 +374,23 @@ share/powermanga/sounds/sound_medium_exp
374share/powermanga/sounds/sound_purple_gem.wav 374share/powermanga/sounds/sound_purple_gem.wav
375share/powermanga/sounds/sound_red_gem.wav 375share/powermanga/sounds/sound_red_gem.wav
376share/powermanga/sounds/sound_select_closed_option.wav 376share/powermanga/sounds/sound_select_closed_option.wav
377share/powermanga/sounds/sound_select_option.wav 377share/powermanga/sounds/sound_select_option.wav
378share/powermanga/sounds/sound_small_explosion_1.wav 378share/powermanga/sounds/sound_small_explosion_1.wav
379share/powermanga/sounds/sound_small_explosion_2.wav 379share/powermanga/sounds/sound_small_explosion_2.wav
380share/powermanga/sounds/sound_small_explosion_3.wav 380share/powermanga/sounds/sound_small_explosion_3.wav
381share/powermanga/sounds/sound_small_explosion_4.wav 381share/powermanga/sounds/sound_small_explosion_4.wav
382share/powermanga/sounds/sound_spaceship_fire.wav 382share/powermanga/sounds/sound_spaceship_fire.wav
383share/powermanga/sounds/sound_upgrade_spaceship.wav 383share/powermanga/sounds/sound_upgrade_spaceship.wav
384share/powermanga/sounds/sound_yellow_gem.wav 384share/powermanga/sounds/sound_yellow_gem.wav
385share/powermanga/texts/about_en.txt 385share/powermanga/texts/about_en.txt
386share/powermanga/texts/about_fr.txt 386share/powermanga/texts/about_fr.txt
 387share/powermanga/texts/about_it.txt
387share/powermanga/texts/order_en.txt 388share/powermanga/texts/order_en.txt
388share/powermanga/texts/order_fr.txt 389share/powermanga/texts/order_fr.txt
 390share/powermanga/texts/order_it.txt
389share/powermanga/texts/scroll_en.txt 391share/powermanga/texts/scroll_en.txt
390share/powermanga/texts/scroll_fr.txt 392share/powermanga/texts/scroll_fr.txt
 393share/powermanga/texts/scroll_it.txt
391share/powermanga/texts/text_en.txt 394share/powermanga/texts/text_en.txt
392share/powermanga/texts/text_fr.txt 395share/powermanga/texts/text_fr.txt
 396share/powermanga/texts/text_it.txt

cvs diff -r1.6 -r1.7 pkgsrc/games/powermanga/distinfo (expand / switch to unified diff)

--- pkgsrc/games/powermanga/distinfo 2015/11/03 20:57:01 1.6
+++ pkgsrc/games/powermanga/distinfo 2020/05/19 11:37:56 1.7
@@ -1,8 +1,7 @@ @@ -1,8 +1,7 @@
1$NetBSD: distinfo,v 1.6 2015/11/03 20:57:01 agc Exp $ 1$NetBSD: distinfo,v 1.7 2020/05/19 11:37:56 nia Exp $
2 2
3SHA1 (powermanga-0.90.tar.gz) = 50ca2844f8d3fa53af89e94aeb6dd10d7b320cc8 3SHA1 (powermanga-0.93.1.tgz) = 1afed179a80eefe590887184f665a4c35c8b9dc6
4RMD160 (powermanga-0.90.tar.gz) = 2f7e9cc50fd97de7131b726732acffcd5a0deaea 4RMD160 (powermanga-0.93.1.tgz) = baebf0eafa772d6fc827855022bd27e68ba1c716
5SHA512 (powermanga-0.90.tar.gz) = eb0d363e60088ca9b849aa88e0e51667cd2e4519cdf04d851495ad03394e1ee58ad1b881ca3011652ea0fb23a8af7ee6e78943985511b6d66e0d33c43c734052 5SHA512 (powermanga-0.93.1.tgz) = 852c0b4550db6c9e4ecd380077d390327f6649b6e8ab4cad246f23e7335e8622008f9fc753e2f474bf9cf7a5654b071e3f117f6a2b5be72ea53709912f4a0f41
6Size (powermanga-0.90.tar.gz) = 11412193 bytes 6Size (powermanga-0.93.1.tgz) = 11855703 bytes
7SHA1 (patch-ab) = 1173f73ac26a25402c31d771578a3ca188b367f6 7SHA1 (patch-src_Makefile.am) = cc4a9a19dd152d0a01989fe6e3b555fe19f19b0c
8SHA1 (patch-ad) = 58c7089a05d7b23d929de1ff5eae1b5141c68553 

File Deleted: pkgsrc/games/powermanga/patches/Attic/patch-ab

File Deleted: pkgsrc/games/powermanga/patches/Attic/patch-ad

File Added: pkgsrc/games/powermanga/patches/patch-src_Makefile.am
$NetBSD: patch-src_Makefile.am,v 1.1 2020/05/19 11:37:56 nia Exp $

- Install binaries to the usual location.
- Fix setup for score directory.

--- src/Makefile.am.orig	2014-10-18 20:06:20.000000000 +0000
+++ src/Makefile.am
@@ -1,6 +1,6 @@
 
-gamesdir = $(prefix)/games
-scoredir = /var/games/powermanga
+gamesdir = $(bindir)
+scoredir = $(localstatedir)/games/powermanga
 score = powermanga.hi
 
 games_PROGRAMS = powermanga
@@ -11,15 +11,10 @@ powermanga_CFLAGS = -DPREFIX=\"$(prefix)
 powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ -lm
 
 install-data-hook:
-	-chown root:games "$(DESTDIR)/$(gamesdir)/powermanga"
-	-chmod 2755 "$(DESTDIR)/$(gamesdir)/powermanga"
-	$(INSTALL) -d $(DESTDIR)/$(scoredir)
-	$(INSTALL) -d $(DESTDIR)/$(mandir)/fr/man6/
-	$(INSTALL) -c -m 644 ../man/powermanga.fr.6 $(DESTDIR)/$(mandir)/fr/man6/powermanga.6
-	-for suffix in "-easy" "" "-hard"; do \
-	  touch "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
-	  chown root:games "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
-	  chmod 644 "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
+	$(BSD_INSTALL_DATA_DIR) $(DESTDIR)/$(scoredir)
+	@for suffix in "-easy" "" "-hard"; do \
+	  $(TOUCH) "$(WRKSRC)/$(score)$$suffix" && \
+	  $(BSD_INSTALL_GAME_DATA) "$(WRKSRC)/$(score)$$suffix" $(DESTDIR)/$(scoredir)/; \
 	done
 
 if ASSEMBLY