FreeBSD Bugzilla – Attachment 206019 Details for
Bug 239411
games/minecraft-client: add xrandr dependency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
minecraft-client
minecraft.diff (text/plain), 2.90 KB, created by
voidanix
on 2019-07-23 20:59:36 UTC
(
hide
)
Description:
minecraft-client
Filename:
MIME Type:
Creator:
voidanix
Created:
2019-07-23 20:59:36 UTC
Size:
2.90 KB
patch
obsolete
>diff --git a/games/minecraft-client/Makefile b/games/minecraft-client/Makefile >index e20611c17..1e8144cfc 100644 >--- a/games/minecraft-client/Makefile >+++ b/games/minecraft-client/Makefile >@@ -1,53 +1,54 @@ > # Created by: Martin Kropfinger > # $FreeBSD$ > > PORTNAME= minecraft-client > PORTVERSION= 1.7.9 >-PORTREVISION= 4 >+PORTREVISION= 5 > CATEGORIES= games java > MASTER_SITES= http://s3.amazonaws.com/Minecraft.Download/launcher/:minecraft \ > http://media-mcw.cursecdn.com/c/c5/:icon > DISTFILES= Minecraft.jar:minecraft \ > Grass.png:icon > DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} > EXTRACT_ONLY= > > MAINTAINER= ports@FreeBSD.org > COMMENT= Client for the block building game > >-RUN_DEPENDS= ${JAVALIBDIR}/lwjgl/lwjgl.jar:games/lwjgl >+RUN_DEPENDS= ${JAVALIBDIR}/lwjgl/lwjgl.jar:games/lwjgl \ >+ xrandr:x11/xrandr > > USES= openal > USE_JAVA= yes > JAVA_OS= native > JAVA_VENDOR= openjdk > JAVA_VERSION= 1.8+ > > DESKTOP_ENTRIES="Minecraft" \ > "Block building game" \ > "${PREFIX}/share/pixmaps/minecraft-client.png" \ > "${PORTNAME}" \ > "Game;Java;" \ > false > > NO_ARCH= yes > NO_BUILD= yes > NO_WRKSUBDIR= yes > > do-install: > @${MKDIR} ${STAGEDIR}${DATADIR} > ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Minecraft.jar \ > ${STAGEDIR}${DATADIR}/Minecraft.jar > ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Grass.png \ > ${STAGEDIR}${PREFIX}/share/pixmaps/minecraft-client.png > ${SED} -e 's|=JAVA_HOME|=${JAVA_HOME}|' \ > -e 's|PREFIX|${PREFIX}|' \ > -e 's|JAVA_CMD|${JAVA}|' ${FILESDIR}/minecraft-client \ > > ${WRKDIR}/minecraft-client > ${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/Notifier.java \ > > ${WRKDIR}/Notifier.java > ${INSTALL_SCRIPT} ${WRKDIR}/minecraft-client ${STAGEDIR}${PREFIX}/bin > ${INSTALL_SCRIPT} ${FILESDIR}/minecraft-runtime ${STAGEDIR}${DATADIR} > ${INSTALL_DATA} ${WRKDIR}/Notifier.java ${STAGEDIR}${DATADIR} > > .include <bsd.port.mk> >diff --git a/games/minecraft-client/files/minecraft-client b/games/minecraft-client/files/minecraft-client >index b66391b5f..8c3e65e0b 100644 >--- a/games/minecraft-client/files/minecraft-client >+++ b/games/minecraft-client/files/minecraft-client >@@ -1,19 +1,19 @@ > #!/bin/sh > export JAVA_HOME=JAVA_HOME > > # The first time warn the user to set the runtime executable in place of java > if [ ! -e "${HOME}/.minecraft/notified-runtime" ] ; then > if [ ! -d "${HOME}/.minecraft" ] ; then > mkdir ${HOME}/.minecraft > fi > touch ${HOME}/.minecraft/notified-runtime 2>/dev/null > > # No .minecraft dir, lets display the first time notification > javac -d /tmp /usr/local/share/minecraft-client/Notifier.java > cd /tmp > # Run this as a background task, so that it appears over the launcher > ( sleep 3; java Notifier ; rm Notifier*.class ) & > fi > > exec ${JAVA_HOME}/bin/java -Djava.nio.file.spi.DefaultFileSystemProvider=sun.nio.fs.BsdFileSystemProvider \ >- -Dos.name=Linux -jar /usr/local/share/minecraft-client/Minecraft.jar >+ -jar /usr/local/share/minecraft-client/Minecraft.jar
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239411
: 206019