FreeBSD Bugzilla – Attachment 148789 Details for
Bug 193422
[NEW PORT] games/openra: Command & Conquer: Red Alert engine written in Mono
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar, v4
openra.shar (text/plain), 6.18 KB, created by
Jan Beich
on 2014-10-30 04:15:59 UTC
(
hide
)
Description:
shar, v4
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2014-10-30 04:15:59 UTC
Size:
6.18 KB
patch
obsolete
>#!/bin/sh ># This is a shell archive >echo x games/openra >mkdir -p games/openra > /dev/null 2>&1 >echo x games/openra/distinfo >sed 's/^X//' > games/openra/distinfo << 'SHAR_END' >XSHA256 (openra-20141029.tar.gz) = 4c3f8224a7ad9d3cb78c3ce2696850246ba0d9703cbd91bf5a42806b09c26a36 >XSIZE (openra-20141029.tar.gz) = 15340674 >SHAR_END >echo x games/openra/Makefile >sed 's/^X//' > games/openra/Makefile << 'SHAR_END' >X# $FreeBSD$ >X >XPORTNAME= openra >XPORTVERSION= 20141029 >XCATEGORIES= games >X >XMAINTAINER= jbeich@vfemail.net >XCOMMENT= Multiplayer re-envisioning of early RTS games by Westwood Studios >X >XLICENSE= GPLv3 >X >XLIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ >X libgdiplus.so:${PORTSDIR}/x11-toolkits/libgdiplus >X >XUSE_GITHUB= yes >XGH_ACCOUNT= ${GH_PROJECT} >XGH_PROJECT= OpenRA >XGH_TAGNAME= release-${PORTVERSION} >XGH_COMMIT= e5948ba >X >XNO_ARCH= yes >XUSES= gmake lua:51,run mono openal:soft >XUSE_SDL= sdl2 >XINSTALLS_ICONS= yes >XMAKE_ENV= prefix="${PREFIX}" >XMAKE_ARGS= VERSION="${GH_TAGNAME}" >XINSTALL_TARGET= install-all install-linux-shortcuts >XDATADIR= ${PREFIX}/lib/${PORTNAME} >XPORTDATA= * >XPORTDOCS= * >X >XOPTIONS_DEFINE= DOCS TEST ZENITY >XOPTIONS_DEFAULT=ZENITY >X >XDOCS_BUILD_DEPENDS=markdown:${PORTSDIR}/textproc/markdown >XDOCS_ALL_TARGET=docs >X >XTEST_MAKE_ENV= HOME="${WRKDIR}" >XTEST_ALL_TARGET=test >X >XZENITY_RUN_DEPENDS=xdg-open:${PORTSDIR}/devel/xdg-utils \ >X zenity:${PORTSDIR}/x11/zenity >XZENITY_DESC= Use native crash dialog >X >X.include <bsd.port.options.mk> >X >Xpost-patch: >X ${REINPLACE_CMD} -e 's/Linux/${OPSYS}/' \ >X -e 's/crashdialog/gamemonitor/' \ >X -e '/^mods:/s/$$/ version/' \ >X -e '/^docs:/s/$$/ all/' \ >X -e '/^test:/s/$$/ all/' \ >X ${WRKSRC}/Makefile >X ${REINPLACE_CMD} -e '/linux/{ p; s//${OPSYS:tl}/; }' \ >X ${WRKSRC}/thirdparty/*.config* >X ${SED} 's/@LIBLUA51@/liblua-${LUA_VER}.so/' \ >X ${WRKSRC}/thirdparty/Eluant.dll.config.in \ >X >${WRKSRC}/Eluant.dll.config >X# DragonFly lacks BSD suffix >X ${REINPLACE_CMD} -e 's/"BSD"/"${OPSYS}"/' \ >X ${WRKSRC}/OpenRA.Game/Platform.cs >X >Xpost-build: >X.if ${PORT_OPTIONS:MDOCS} >X @${ECHO_MSG} Generating HTML documentation... >X @for f in ${WRKSRC}/*.md; do \ >X markdown $$f >$${f%.md}.html; \ >X done >X.endif >X >Xpost-install: >X.if ${PORT_OPTIONS:MDOCS} >X @${MKDIR} ${STAGEDIR}${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} >X.endif >X >X.include <bsd.port.mk> >SHAR_END >echo x games/openra/pkg-descr >sed 's/^X//' > games/openra/pkg-descr << 'SHAR_END' >XA reimplementation of the Command & Conquer: Red Alert game engine >Xusing .NET/Mono, OpenGL, OpenAL and SDL. It includes reimagninations >Xof Command & Conquer: Red Alert, Command & Conquer: Tiberian Dawn as >Xwell as Dune 2000. These combine the classic gameplay of the originals >Xwith modern improvements such as unit veterancy and the fog of war. >X >XWWW: http://www.openra.net >SHAR_END >echo x games/openra/files >mkdir -p games/openra/files > /dev/null 2>&1 >echo x games/openra/pkg-plist >sed 's/^X//' > games/openra/pkg-plist << 'SHAR_END' >Xbin/openra >Xbin/openra-editor >Xshare/applications/openra-editor.desktop >Xshare/applications/openra.desktop >Xshare/icons/128x128/apps/openra.png >Xshare/icons/16x16/apps/openra.png >Xshare/icons/32x32/apps/openra-editor.png >Xshare/icons/32x32/apps/openra.png >Xshare/icons/48x48/apps/openra-editor.png >Xshare/icons/48x48/apps/openra.png >Xshare/icons/64x64/apps/openra.png >Xshare/icons/scalable/apps/openra.svg >SHAR_END >echo x games/openra/files/patch-xamarin-bug23319 >sed 's/^X//' > games/openra/files/patch-xamarin-bug23319 << 'SHAR_END' >X# https://bugzilla.xamarin.com/show_bug.cgi?id=23319 >X# https://github.com/mono/mono/commit/1d94d17 >X >X--- OpenRA.Game/Exts.cs~ >X+++ OpenRA.Game/Exts.cs >X@@ -375,7 +375,7 @@ namespace OpenRA >X for (var i = 0; i < width; i++) >X for (var j = 0; j < height; j++) >X result[i, j] = i <= ts.GetUpperBound(0) && j <= ts.GetUpperBound(1) >X- ? ts[i, j] : t; >X+ ? (ts[i, j]) : t; >X return result; >X } >X >X--- OpenRA.Mods.RA/Render/WithMuzzleFlash.cs~ >X+++ OpenRA.Mods.RA/Render/WithMuzzleFlash.cs >X@@ -50,7 +50,7 @@ namespace OpenRA.Mods.RA.Render >X var turreted = self.TraitsImplementing<Turreted>() >X .FirstOrDefault(t => t.Name == arm.Info.Turret); >X >X- getFacing = turreted != null ? () => turreted.TurretFacing : >X+ getFacing = turreted != null ? (() => turreted.TurretFacing) : >X facing != null ? (Func<int>)(() => facing.Facing) : () => 0; >X >X var muzzleFlash = new Animation(self.World, render.GetImage(self), getFacing); >SHAR_END >echo x games/openra/files/patch-Makefile >sed 's/^X//' > games/openra/files/patch-Makefile << 'SHAR_END' >X# Without zenity(1) fallback to either WinForms or no crash dialog >X >X--- Makefile~ >X+++ Makefile >X@@ -357,10 +357,28 @@ install-linux-desktop: >X install-linux-scripts: >X @echo "#!/bin/sh" > openra >X @echo 'cd "$(gameinstalldir)"' >> openra >X- @echo 'mono OpenRA.Game.exe "$$@"' >> openra >X+ @echo 'ZENITY=`which zenity`' >> openra >X+ @echo 'if [ -z "$$ZENITY" ] && (' >> openra >X+ @echo ' # from mono/io-layer/processes.c' >> openra >X+ @echo ' hash xdg-open 2>/dev/null ||' >> openra >X+ @echo ' hash gnome-open 2>/dev/null ||' >> openra >X+ @echo ' hash kfmclient 2>/dev/null)' >> openra >X+ @echo 'then' >> openra >X+ @echo ' mono OpenRA.exe "$$@"' >> openra >X+ @echo 'else' >> openra >X+ @echo ' mono OpenRA.Game.exe "$$@"' >> openra >X+ @echo 'fi' >> openra >X @echo 'if [ $$? != 0 ]' >> openra >X @echo 'then' >> openra >X- @echo 'ZENITY=`which zenity` || echo "OpenRA needs zenity installed to display a graphical error dialog. See ~/.openra. for log files."' >> openra >X+ @echo ' if [ -z "$$ZENITY" ]' >> openra >X+ @echo ' then' >> openra >X+ @echo ' echo' >> openra >X+ @echo ' echo "OpenRA has encountered a fatal error."' >> openra >X+ @echo ' echo "Log Files are available in ~/.openra."' >> openra >X+ @echo ' echo' >> openra >X+ @echo ' echo "See https://github.com/OpenRA/OpenRA/wiki/FAQ"' >> openra >X+ @echo ' exit 1' >> openra >X+ @echo ' fi' >> openra >X @echo '$$ZENITY --question --title "OpenRA" --text "OpenRA has encountered a fatal error.\nLog Files are available in ~/.openra." --ok-label "Quit" --cancel-label "View FAQ" || xdg-open https://github.com/OpenRA/OpenRA/wiki/FAQ' >> openra >X @echo 'exit 1' >> openra >X @echo 'fi' >> openra >SHAR_END >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 193422
:
146993
|
146994
|
146998
|
147008
|
147505
|
147506
|
147507
|
147508
|
147511
|
147768
|
147769
|
148785
|
148786
|
148787
|
148788
| 148789 |
148790