pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/openjazz
Module Name: pkgsrc
Committed By: charlotte
Date: Thu Mar 2 03:44:39 UTC 2023
Added Files:
pkgsrc/games/openjazz: DESCR Makefile PLIST distinfo
pkgsrc/games/openjazz/patches: patch-src_io_network.cpp
Log Message:
games/openjazz: Import package
OpenJazz is a free, open-source version of the classic Jazz Jackrabbit
games.
OpenJazz can be compiled on a wide range of operating systems, including
Windows, macOS, GNU/Linux and *BSD. Also ports are available for some
homebrew platforms, for example Wii and PSP.
To play, you will need the files from one of the original games.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/openjazz/DESCR \
pkgsrc/games/openjazz/Makefile pkgsrc/games/openjazz/PLIST \
pkgsrc/games/openjazz/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/openjazz/patches/patch-src_io_network.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/games/openjazz/DESCR
diff -u /dev/null pkgsrc/games/openjazz/DESCR:1.1
--- /dev/null Thu Mar 2 03:44:39 2023
+++ pkgsrc/games/openjazz/DESCR Thu Mar 2 03:44:39 2023
@@ -0,0 +1,8 @@
+OpenJazz is a free, open-source version of the classic Jazz Jackrabbit
+games.
+
+OpenJazz can be compiled on a wide range of operating systems, including
+Windows, macOS, GNU/Linux and *BSD. Also ports are available for some
+homebrew platforms, for example Wii and PSP.
+
+To play, you will need the files from one of the original games.
Index: pkgsrc/games/openjazz/Makefile
diff -u /dev/null pkgsrc/games/openjazz/Makefile:1.1
--- /dev/null Thu Mar 2 03:44:39 2023
+++ pkgsrc/games/openjazz/Makefile Thu Mar 2 03:44:39 2023
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2023/03/02 03:44:39 charlotte Exp $
+
+DISTNAME= openjazz-20190106
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=AlisterT/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= charlotte%NetBSD.org@localhost
+COMMENT= Open source reimplementation of the Jazz Jackrabbit games
+LICENSE= gnu-gpl-v2
+
+EXTRACT_USING= gtar
+USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
+USE_TOOLS+= automake autoconf autoreconf pkg-config
+
+pre-configure:
+ ${RUN} cd ${WRKSRC} && autoreconf -fiv
+
+.include "../../audio/libmodplug/buildlink3.mk"
+.include "../../audio/libxmp/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/openjazz/PLIST
diff -u /dev/null pkgsrc/games/openjazz/PLIST:1.1
--- /dev/null Thu Mar 2 03:44:39 2023
+++ pkgsrc/games/openjazz/PLIST Thu Mar 2 03:44:39 2023
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2023/03/02 03:44:39 charlotte Exp $
+bin/OpenJazz
+share/applications/OpenJazz.desktop
+share/icons/hicolor/48x48/apps/OpenJazz.png
+share/icons/hicolor/scalable/apps/OpenJazz.svg
+share/openjazz/openjazz.000
Index: pkgsrc/games/openjazz/distinfo
diff -u /dev/null pkgsrc/games/openjazz/distinfo:1.1
--- /dev/null Thu Mar 2 03:44:39 2023
+++ pkgsrc/games/openjazz/distinfo Thu Mar 2 03:44:39 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/03/02 03:44:39 charlotte Exp $
+
+BLAKE2s (openjazz-20190106-20190106.tar.gz) = 7f83dfe5079ee6525bcd0a548746e0d09f44db393a655291b17c7b215978c8fb
+SHA512 (openjazz-20190106-20190106.tar.gz) = 94d23e832a35684b2e6f39020629ed72da6994021331926424a07dd10028de197fb8fee9cfe494a6af6c3f4613575a65796abd8753f3b38904804404a4f0fafb
+Size (openjazz-20190106-20190106.tar.gz) = 219717 bytes
+SHA1 (patch-src_io_network.cpp) = c9b1560c2e1b25e4071a4ef627f63a8e961a28c5
Index: pkgsrc/games/openjazz/patches/patch-src_io_network.cpp
diff -u /dev/null pkgsrc/games/openjazz/patches/patch-src_io_network.cpp:1.1
--- /dev/null Thu Mar 2 03:44:39 2023
+++ pkgsrc/games/openjazz/patches/patch-src_io_network.cpp Thu Mar 2 03:44:39 2023
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_io_network.cpp,v 1.1 2023/03/02 03:44:39 charlotte Exp $
+
+Use correct timeval struct for NetBSD.
+
+--- src/io/network.cpp.orig 2019-01-06 13:41:53.000000000 +0000
++++ src/io/network.cpp
+@@ -63,6 +63,8 @@
+ #include <sys/select.h>
+ #endif
+
++#include <sys/time.h>
++
+ /**
+ * Initialise networking.
+ */
+@@ -174,7 +176,7 @@ int Network::join (char *address) {
+ #ifdef USE_SOCKETS
+ sockaddr_in sockAddr;
+ fd_set writefds;
+- timeval timeouttv;
++ struct timeval timeouttv;
+ unsigned int timeout;
+ int sock, con;
+
Home |
Main Index |
Thread Index |
Old Index