Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/powermanga powermanga: Update to 0.93.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae366eb23ccb
branches:  trunk
changeset: 432134:ae366eb23ccb
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 19 11:37:56 2020 +0000

description:
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

diffstat:

 games/powermanga/Makefile                      |  55 ++++++++++++-------------
 games/powermanga/PLIST                         |   6 ++-
 games/powermanga/distinfo                      |  13 ++---
 games/powermanga/patches/patch-ab              |  13 ------
 games/powermanga/patches/patch-ad              |  33 ---------------
 games/powermanga/patches/patch-src_Makefile.am |  36 +++++++++++++++++
 6 files changed, 73 insertions(+), 83 deletions(-)

diffs (220 lines):

diff -r dfcab25e3703 -r ae366eb23ccb games/powermanga/Makefile
--- a/games/powermanga/Makefile Tue May 19 11:23:38 2020 +0000
+++ b/games/powermanga/Makefile Tue May 19 11:37:56 2020 +0000
@@ -1,55 +1,52 @@
-# $NetBSD: Makefile,v 1.30 2018/07/04 13:40:19 jperkin Exp $
+# $NetBSD: Makefile,v 1.31 2020/05/19 11:37:56 nia Exp $
 
-DISTNAME=      powermanga-0.90
-PKGREVISION=   2
+DISTNAME=      powermanga-0.93.1
 CATEGORIES=    games
 MASTER_SITES=  http://linux.tlk.fr/games/Powermanga/download/
+EXTRACT_SUFX=  .tgz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://linux.tlk.fr/games/Powermanga/
 COMMENT=       Arcade 2D shoot-em-up game
 LICENSE=       gnu-gpl-v3
 
+GNU_CONFIGURE= yes
 USE_LANGUAGES= c c++
-GNU_CONFIGURE= yes
+USE_TOOLS+=    autoconf automake autoreconf
 
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
 MAKE_ENV+=             TOUCH=${TOUCH:Q} WRKSRC=${WRKSRC}
 LDFLAGS.DragonFly=     -lm
 LDFLAGS.SunOS+=                -lm
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${X11_TYPE} == "modular"
-CONFIGURE_ARGS+=       --x-includes=${PREFIX}/include
-CONFIGURE_ARGS+=       --x-libraries=${PREFIX}/lib
-.endif
-
 SUBST_CLASSES+=                path
 SUBST_STAGE.path=      pre-configure
 SUBST_SED.path+=       -e "s,/games/powermanga,/powermanga,g"
 SUBST_MESSAGE.path=    Fixing support file installation paths.
-SUBST_FILES.path+=     data/Makefile.in
-SUBST_FILES.path+=     data/curves/Makefile.in
-SUBST_FILES.path+=     data/levels/curves_phase/Makefile.in
-SUBST_FILES.path+=     data/levels/grids_phase/Makefile.in
-SUBST_FILES.path+=     graphics/Makefile.in
-SUBST_FILES.path+=     graphics/bitmap/Makefile.in
-SUBST_FILES.path+=     graphics/bitmap/fonts/Makefile.in
-SUBST_FILES.path+=     graphics/sprites/Makefile.in
-SUBST_FILES.path+=     graphics/sprites/guardians/Makefile.in
-SUBST_FILES.path+=     graphics/sprites/meteors/Makefile.in
-SUBST_FILES.path+=     graphics/sprites/spaceships/Makefile.in
-SUBST_FILES.path+=     graphics/sprites/stars/Makefile.in
+SUBST_FILES.path+=     data/levels/grids_phase/Makefile.am
+SUBST_FILES.path+=     data/levels/curves_phase/Makefile.am
+SUBST_FILES.path+=     data/Makefile.am
+SUBST_FILES.path+=     data/curves/Makefile.am
+SUBST_FILES.path+=     texts/Makefile.am
+SUBST_FILES.path+=     graphics/bitmap/fonts/Makefile.am
+SUBST_FILES.path+=     graphics/bitmap/Makefile.am
+SUBST_FILES.path+=     graphics/sprites/guardians/Makefile.am
+SUBST_FILES.path+=     graphics/sprites/stars/Makefile.am
+SUBST_FILES.path+=     graphics/sprites/meteors/Makefile.am
+SUBST_FILES.path+=     graphics/sprites/Makefile.am
+SUBST_FILES.path+=     graphics/sprites/spaceships/Makefile.am
+SUBST_FILES.path+=     graphics/Makefile.am
+SUBST_FILES.path+=     src/Makefile.am
+SUBST_FILES.path+=     sounds/handheld_console/Makefile.am
+SUBST_FILES.path+=     sounds/Makefile.am
+SUBST_FILES.path+=     Makefile.am
 SUBST_FILES.path+=     powermanga.6
-SUBST_FILES.path+=     sounds/Makefile.in
-SUBST_FILES.path+=     sounds/handheld_console/Makefile.in
 SUBST_FILES.path+=     src/tools.c
-SUBST_FILES.path+=     texts/Makefile.in
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -fi
 
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/libXxf86dga/buildlink3.mk"
-.include "../../x11/libXxf86vm/buildlink3.mk"
-.include "../../x11/xorgproto/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r dfcab25e3703 -r ae366eb23ccb games/powermanga/PLIST
--- a/games/powermanga/PLIST    Tue May 19 11:23:38 2020 +0000
+++ b/games/powermanga/PLIST    Tue May 19 11:37:56 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/09/02 11:38:01 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/05/19 11:37:56 nia Exp $
 bin/powermanga
 man/man6/powermanga.6
 share/powermanga/data/curves/bezier_curve_000.bin
@@ -384,9 +384,13 @@
 share/powermanga/sounds/sound_yellow_gem.wav
 share/powermanga/texts/about_en.txt
 share/powermanga/texts/about_fr.txt
+share/powermanga/texts/about_it.txt
 share/powermanga/texts/order_en.txt
 share/powermanga/texts/order_fr.txt
+share/powermanga/texts/order_it.txt
 share/powermanga/texts/scroll_en.txt
 share/powermanga/texts/scroll_fr.txt
+share/powermanga/texts/scroll_it.txt
 share/powermanga/texts/text_en.txt
 share/powermanga/texts/text_fr.txt
+share/powermanga/texts/text_it.txt
diff -r dfcab25e3703 -r ae366eb23ccb games/powermanga/distinfo
--- a/games/powermanga/distinfo Tue May 19 11:23:38 2020 +0000
+++ b/games/powermanga/distinfo Tue May 19 11:37:56 2020 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 20:57:01 agc Exp $
+$NetBSD: distinfo,v 1.7 2020/05/19 11:37:56 nia Exp $
 
-SHA1 (powermanga-0.90.tar.gz) = 50ca2844f8d3fa53af89e94aeb6dd10d7b320cc8
-RMD160 (powermanga-0.90.tar.gz) = 2f7e9cc50fd97de7131b726732acffcd5a0deaea
-SHA512 (powermanga-0.90.tar.gz) = eb0d363e60088ca9b849aa88e0e51667cd2e4519cdf04d851495ad03394e1ee58ad1b881ca3011652ea0fb23a8af7ee6e78943985511b6d66e0d33c43c734052
-Size (powermanga-0.90.tar.gz) = 11412193 bytes
-SHA1 (patch-ab) = 1173f73ac26a25402c31d771578a3ca188b367f6
-SHA1 (patch-ad) = 58c7089a05d7b23d929de1ff5eae1b5141c68553
+SHA1 (powermanga-0.93.1.tgz) = 1afed179a80eefe590887184f665a4c35c8b9dc6
+RMD160 (powermanga-0.93.1.tgz) = baebf0eafa772d6fc827855022bd27e68ba1c716
+SHA512 (powermanga-0.93.1.tgz) = 852c0b4550db6c9e4ecd380077d390327f6649b6e8ab4cad246f23e7335e8622008f9fc753e2f474bf9cf7a5654b071e3f117f6a2b5be72ea53709912f4a0f41
+Size (powermanga-0.93.1.tgz) = 11855703 bytes
+SHA1 (patch-src_Makefile.am) = cc4a9a19dd152d0a01989fe6e3b555fe19f19b0c
diff -r dfcab25e3703 -r ae366eb23ccb games/powermanga/patches/patch-ab
--- a/games/powermanga/patches/patch-ab Tue May 19 11:23:38 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2009/09/02 11:38:01 wiz Exp $
-
---- Makefile.in.orig   2007-09-04 08:41:05.000000000 +0000
-+++ Makefile.in
-@@ -82,7 +82,7 @@ DIST_ARCHIVES = $(distdir).tar.gz
- GZIP_ENV = --best
- distuninstallcheck_listfiles = find . -type f -print
- distcleancheck_listfiles = find . -type f -print
--pkgdatadir = $(mandir)
-+pkgdatadir = $(mandir)/man6
- ACLOCAL = @ACLOCAL@
- AMDEP_FALSE = @AMDEP_FALSE@
- AMDEP_TRUE = @AMDEP_TRUE@
diff -r dfcab25e3703 -r ae366eb23ccb games/powermanga/patches/patch-ad
--- a/games/powermanga/patches/patch-ad Tue May 19 11:23:38 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2009/09/02 11:38:01 wiz Exp $
-
---- src/Makefile.in.orig       2007-09-04 08:41:04.000000000 +0000
-+++ src/Makefile.in
-@@ -220,8 +220,8 @@ target_alias = @target_alias@
- target_cpu = @target_cpu@
- target_os = @target_os@
- target_vendor = @target_vendor@
--gamesdir = $(prefix)/games
--scoredir = /var/games
-+gamesdir = $(prefix)/bin
-+scoredir = $(localstatedir)/games
- score = powermanga.hi
- powermanga_SOURCES = $(SOURCES_MAIN) $(SOURCES_EXTRA)
- #powermanga_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@
-@@ -1247,13 +1247,10 @@ uninstall-am: uninstall-gamesPROGRAMS un
- 
- 
- install-data-hook:
--      -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga"
--      -chmod 2755 "$(DESTDIR)/$(gamesdir)/powermanga"
--      $(INSTALL) -d $(DESTDIR)/$(scoredir)
--      -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
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
diff -r dfcab25e3703 -r ae366eb23ccb games/powermanga/patches/patch-src_Makefile.am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/powermanga/patches/patch-src_Makefile.am    Tue May 19 11:37:56 2020 +0000
@@ -0,0 +1,36 @@
+$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


Home | Main Index | Thread Index | Old Index