FreeBSD Bugzilla – Attachment 192177 Details for
Bug 227265
[NEW PORT] games/openjk: Community effort to maintain Jedi Academy + Jedi Outcast
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar
openjk.shar (text/plain), 7.86 KB, created by
Piotr Kubaj
on 2018-04-03 18:29:25 UTC
(
hide
)
Description:
shar
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-04-03 18:29:25 UTC
Size:
7.86 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># openjk ># openjk/pkg-plist ># openjk/files ># openjk/files/patch-code_game_bg__pmove.cpp ># openjk/files/patch-code_rd-vanilla_G2__API.cpp ># openjk/files/patch-CMakeModules_InstallConfig.cmake ># openjk/files/jasp.in ># openjk/files/patch-codemp_rd-vanilla_G2__API.cpp ># openjk/files/jamp.in ># openjk/pkg-message ># openjk/distinfo ># openjk/Makefile ># openjk/pkg-descr ># >echo c - openjk >mkdir -p openjk > /dev/null 2>&1 >echo x - openjk/pkg-plist >sed 's/^X//' >openjk/pkg-plist << '2d8177b60812e4c9ba95046b175b8ae6' >Xbin/jamp >Xbin/jasp >Xshare/JediAcademy/OpenJK/cgame%%ARCH%%.so >Xshare/JediAcademy/OpenJK/jagame%%ARCH%%.so >Xshare/JediAcademy/OpenJK/jampgame%%ARCH%%.so >Xshare/JediAcademy/OpenJK/ui%%ARCH%%.so >Xshare/JediAcademy/base/cgame%%ARCH%%.so >Xshare/JediAcademy/base/jampgame%%ARCH%%.so >Xshare/JediAcademy/base/ui%%ARCH%%.so >Xshare/JediAcademy/openjk.%%ARCH%% >Xshare/JediAcademy/openjk_sp.%%ARCH%% >Xshare/JediAcademy/openjkded.%%ARCH%% >Xshare/JediAcademy/rd-vanilla_%%ARCH%%.so >Xshare/JediAcademy/rdsp-vanilla_%%ARCH%%.so >2d8177b60812e4c9ba95046b175b8ae6 >echo c - openjk/files >mkdir -p openjk/files > /dev/null 2>&1 >echo x - openjk/files/patch-code_game_bg__pmove.cpp >sed 's/^X//' >openjk/files/patch-code_game_bg__pmove.cpp << '2085f7a356af025810c81894dad1e52c' >X--- code/game/bg_pmove.cpp.orig 2018-04-03 13:02:59 UTC >X+++ code/game/bg_pmove.cpp >X@@ -10565,7 +10565,6 @@ qboolean PM_SaberLocked( void ) >X #endif >X gi.G2API_GetBoneAnimIndex( &gent->ghoul2[gent->playerModel], gent->lowerLumbarBone, >X (cg.time?cg.time:level.time), ¤tFrame, &junk, &junk, &junk, &junk2, NULL ); >X- assert( ret ); // this would be pretty bad, the below code seems to assume the call succeeds. -gil >X >X strength = G_SaberLockStrength( gent ); >X if ( PM_InSaberLockOld( pm->ps->torsoAnim ) ) >2085f7a356af025810c81894dad1e52c >echo x - openjk/files/patch-code_rd-vanilla_G2__API.cpp >sed 's/^X//' >openjk/files/patch-code_rd-vanilla_G2__API.cpp << '86001e2fc78786818fecbe4bb99b5373' >X--- code/rd-vanilla/G2_API.cpp.orig 2018-04-03 13:22:01 UTC >X+++ code/rd-vanilla/G2_API.cpp >X@@ -30,6 +30,9 @@ along with this program; if not, see <http://www.gnu.o >X #include "tr_common.h" >X #include "../ghoul2/G2.h" >X #include "../qcommon/MiniHeap.h" >X+#ifdef __FreeBSD__ >X+#include <unistd.h> >X+#endif >X >X #ifdef FINAL_BUILD >X #define G2API_DEBUG (0) // please don't change this >X@@ -730,8 +733,6 @@ void RestoreGhoul2InfoArray() >X #endif // _DEBUG >X singleton->Deserialize ((const char *)data, size); >X R_Free ((void *)data); >X- >X- assert (read == size); >X } >X } >X >X@@ -743,8 +744,6 @@ void SaveGhoul2InfoArray() >X size_t written = >X #endif // _DEBUG >X singleton->Serialize ((char *)data); >X- >X- assert (written == size); >X >X if ( !ri.PD_Store (PERSISTENT_G2DATA, data, size) ) >X { >86001e2fc78786818fecbe4bb99b5373 >echo x - openjk/files/patch-CMakeModules_InstallConfig.cmake >sed 's/^X//' >openjk/files/patch-CMakeModules_InstallConfig.cmake << '2d0d7750d8ba0693394e816b7bde00b4' >X--- CMakeModules/InstallConfig.cmake.orig 2018-04-03 14:33:06 UTC >X+++ CMakeModules/InstallConfig.cmake >X@@ -17,8 +17,8 @@ >X #============================================================================ >X >X # Subdirectories to package JK2 and JKA into >X-set(JKAInstallDir "JediAcademy") >X-set(JK2InstallDir "JediOutcast") >X+set(JKAInstallDir "share/JediAcademy") >X+set(JK2InstallDir "share/JediOutcast") >X >X # Install components >X set(JKAMPCoreComponent "JKAMPCore") >X@@ -160,4 +160,4 @@ set(CPACK_PACKAGE_DIRECTORY ${PACKAGE_DIR}) >X set(CPACK_BINARY_ZIP ON) # always create at least a zip file >X set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0) # prevent additional directory in zip >X >X-include(CPack) >X\ No newline at end of file >X+include(CPack) >2d0d7750d8ba0693394e816b7bde00b4 >echo x - openjk/files/jasp.in >sed 's/^X//' >openjk/files/jasp.in << '6986ec720f2f98dcb0f7407f37245898' >X#!/bin/sh >X >Xcd %%PREFIX%%/share/JediAcademy && ./openjk_sp.%%ARCH%% >6986ec720f2f98dcb0f7407f37245898 >echo x - openjk/files/patch-codemp_rd-vanilla_G2__API.cpp >sed 's/^X//' >openjk/files/patch-codemp_rd-vanilla_G2__API.cpp << '4ec0eea3b12237f64c96f3971eff6dc8' >X--- codemp/rd-vanilla/G2_API.cpp.orig 2018-04-03 13:34:41 UTC >X+++ codemp/rd-vanilla/G2_API.cpp >X@@ -668,8 +668,6 @@ void RestoreGhoul2InfoArray() >X #endif >X singleton->Deserialize ((const char *)data, size); >X Z_Free ((void *)data); >X- >X- assert (read == size); >X } >X } >X >X@@ -681,8 +679,6 @@ void SaveGhoul2InfoArray() >X size_t written = >X #endif >X singleton->Serialize ((char *)data); >X- >X- assert (written == size); >X >X if ( !ri.PD_Store (PERSISTENT_G2DATA, data, size) ) >X { >4ec0eea3b12237f64c96f3971eff6dc8 >echo x - openjk/files/jamp.in >sed 's/^X//' >openjk/files/jamp.in << '5c2f434707e5477f1f7b6aa6e78abb4e' >X#!/bin/sh >X >Xcd %%PREFIX%%/share/JediAcademy && ./openjk.%%ARCH%% >5c2f434707e5477f1f7b6aa6e78abb4e >echo x - openjk/pkg-message >sed 's/^X//' >openjk/pkg-message << '0791ce2559750dabc0fe7e6aee136c7d' >XOpenJK requires the original game files from Star Wars: Jedi Knight: >XJedi Academy to work properly. These can come from an original CD or >Xfrom GOG.com. >X >XIf using the GOG.com version, you must extract the files from >Xsetup_star_wars_jedi_knight_-_jedi_academy_1.01_(a)_(10331)_(g).exe >Xusing the innoextract package. >X >XThe files will be in a directory named app. Inside the app directory, >Xthere is a GameData directory. Inside the GameData directory, there is >Xa directory named base. This base directory must be moved to >X~/.local/share/openjk >X >XThe easiest way to do this is to follow these steps: >X$ mkdir -p ~/.local/share/openjk >X$ innoextract setup_star_wars_jedi_knight_-_jedi_academy_1.01_(a)_(10331)_(g).exe >X$ cd app/GameData >X$ cp -R base ~/.local/share/openjk >X >XYou can then delete everything else that is extracted from the exe, >Xsuch as the tmp directory. >X >XThe multiplayer game binary is jamp and the single player game binary >Xis jasp. >X >XIf you own a copy of Star Wars: Jedi Knight: Jedi Outcast, its game >Xfiles may be used to play that game, though upstream makes no >Xguarantees on your success in playing this game. >0791ce2559750dabc0fe7e6aee136c7d >echo x - openjk/distinfo >sed 's/^X//' >openjk/distinfo << '41624b1884d7e07ed4205d02b193e8ef' >XTIMESTAMP = 1522760202 >XSHA256 (JACoders-OpenJK-g20180401-c62c0f2_GH0.tar.gz) = a6dde2b0a5362f2005d8ae6aad7cde9a5ed52edc32e96286dac07f7ccab06d14 >XSIZE (JACoders-OpenJK-g20180401-c62c0f2_GH0.tar.gz) = 12511192 >41624b1884d7e07ed4205d02b193e8ef >echo x - openjk/Makefile >sed 's/^X//' >openjk/Makefile << 'd4d7b0e7663ff6bdb6f3acc4b750377e' >X# Created by: Piotr Kubaj <pkubaj@anongoth.pl> >X# $FreeBSD$ >X >XPORTNAME= openjk >XPORTVERSION= g20180401 >XCATEGORIES= games >X >XMAINTAINER= pkubaj@anongoth.pl >XCOMMENT= Community effort to maintain Jedi Academy + Jedi Outcast >X >XLICENSE= GPLv2 >X >XLIB_DEPENDS= libpng.so:graphics/png >X >XUSES= compiler:c++11-lang cmake:outsource jpeg localbase >XUSE_GL= gl glu >XUSE_SDL= sdl2 >XUSE_XORG= x11 >XSUB_FILES= jamp \ >X jasp >XSUB_LIST= ARCH="${ARCH}" >XPLIST_SUB= ARCH="${ARCH}" >X >XUSE_GITHUB= yes >XGH_ACCOUNT= JACoders >XGH_PROJECT= OpenJK >XGH_TAGNAME= c62c0f2 >X >Xpost-install: >X ${INSTALL_SCRIPT} ${WRKDIR}/jamp ${STAGEDIR}${PREFIX}/bin >X ${INSTALL_SCRIPT} ${WRKDIR}/jasp ${STAGEDIR}${PREFIX}/bin >X >X.include <bsd.port.mk> >d4d7b0e7663ff6bdb6f3acc4b750377e >echo x - openjk/pkg-descr >sed 's/^X//' >openjk/pkg-descr << '5bda73782ff16b35b0801018e0c1fe6e' >XOpenJK is an effort by the JACoders group to maintain and improve the game >Xengines on which the Jedi Academy (JA) and Jedi Outcast (JO) games run on, >Xwhile maintaining full backwards compatibility with the existing games. >XThis project does not attempt to rebalance or otherwise modify core gameplay. >X >XWWW: https://openjk.org >5bda73782ff16b35b0801018e0c1fe6e >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 227265
: 192177