pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/powermanga



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue May 19 11:37:56 UTC 2020

Modified Files:
        pkgsrc/games/powermanga: Makefile PLIST distinfo
Added Files:
        pkgsrc/games/powermanga/patches: patch-src_Makefile.am
Removed Files:
        pkgsrc/games/powermanga/patches: patch-ab patch-ad

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/games/powermanga/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/powermanga/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/games/powermanga/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/games/powermanga/patches/patch-ab
cvs rdiff -u -r1.3 -r0 pkgsrc/games/powermanga/patches/patch-ad
cvs rdiff -u -r0 -r1.1 pkgsrc/games/powermanga/patches/patch-src_Makefile.am

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

Modified files:

Index: pkgsrc/games/powermanga/Makefile
diff -u pkgsrc/games/powermanga/Makefile:1.30 pkgsrc/games/powermanga/Makefile:1.31
--- pkgsrc/games/powermanga/Makefile:1.30       Wed Jul  4 13:40:19 2018
+++ pkgsrc/games/powermanga/Makefile    Tue May 19 11:37:56 2020
@@ -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
 
-USE_LANGUAGES= c c++
 GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+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"

Index: pkgsrc/games/powermanga/PLIST
diff -u pkgsrc/games/powermanga/PLIST:1.4 pkgsrc/games/powermanga/PLIST:1.5
--- pkgsrc/games/powermanga/PLIST:1.4   Wed Sep  2 11:38:01 2009
+++ pkgsrc/games/powermanga/PLIST       Tue May 19 11:37:56 2020
@@ -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_upgrade_sp
 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

Index: pkgsrc/games/powermanga/distinfo
diff -u pkgsrc/games/powermanga/distinfo:1.6 pkgsrc/games/powermanga/distinfo:1.7
--- pkgsrc/games/powermanga/distinfo:1.6        Tue Nov  3 20:57:01 2015
+++ pkgsrc/games/powermanga/distinfo    Tue May 19 11:37:56 2020
@@ -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

Added files:

Index: pkgsrc/games/powermanga/patches/patch-src_Makefile.am
diff -u /dev/null pkgsrc/games/powermanga/patches/patch-src_Makefile.am:1.1
--- /dev/null   Tue May 19 11:37:56 2020
+++ pkgsrc/games/powermanga/patches/patch-src_Makefile.am       Tue May 19 11:37:56 2020
@@ -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