This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
133 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,7 @@ | |
|
||
# Python stuff | ||
__pycache__/ | ||
|
||
# Debian | ||
mcpil_*-*.deb | ||
deb/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# | ||
# Makefile | ||
# | ||
# Copyright 2020 Alvarito050506 <[email protected]> | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU Lesser General Public License as published by | ||
# the Free Software Foundation; version 3 of the License. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
# MA 02110-1301, USA. | ||
# | ||
# | ||
|
||
pack: | ||
mkdir -p ./deb/ | ||
cp -a ./res/. ./deb/ | ||
cp ./src/mcpil.py ./deb/usr/bin/mcpil | ||
cp ./src/mcpim.py ./deb/usr/bin/mcpim | ||
chmod a+x ./deb/usr/bin/mcpil | ||
chmod a+x ./deb/usr/bin/mcpim | ||
@echo "Package: mcpil" > ./deb/DEBIAN/control | ||
@echo "Version: 0.5.0" >> ./deb/DEBIAN/control | ||
@echo "Priority: optional" >> ./deb/DEBIAN/control | ||
@echo "Architecture: armhf" >> ./deb/DEBIAN/control | ||
@echo "Depends: libmcpi, mcpi-proxy, mcpi-central, libmodpi, python3" >> ./deb/DEBIAN/control | ||
@echo "Maintainer: Alvarito050506 <[email protected]>" >> ./deb/DEBIAN/control | ||
@echo "Homepage: https://mcpi.tk" >> ./deb/DEBIAN/control | ||
@echo "Vcs-Browser: https://github.com/MCPI-Devs/proxy" >> ./deb/DEBIAN/control | ||
@echo "Vcs-Git: https://github.com/MCPI-Devs/proxy.git" >> ./deb/DEBIAN/control | ||
@echo "Description: Minecraft Pi Proxy to allow players to connect to remote servers.\n" >> ./deb/DEBIAN/control | ||
dpkg-deb -b ./deb/ ./mcpil_0.5.0-1.deb | ||
|
||
|
||
clean: | ||
rm -rf ./deb/ | ||
rm -f ./mcpil_*-*.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Empty file.
Submodule libmcpi
deleted from
86c941
Submodule mcpi-central
deleted from
eae4b1
Submodule modpi
deleted from
67297f
Submodule proxy
deleted from
805af1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
bspatch /opt/minecraft-pi/minecraft-pi /opt/minecraft-pi/minecraft-pe /opt/minecraft-pi/pi2pe.bsdiff | ||
rm -f /opt/minecraft-pi/pi2pe.bsdiff |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
cd /opt/minecraft-pi || exit | ||
|
||
if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status \ | ||
/proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null; then | ||
export LD_PRELOAD=libbcm_host.so.1.0 | ||
export LD_LIBRARY_PATH=lib/mesa | ||
else | ||
export LD_LIBRARY_PATH=lib/brcm | ||
fi | ||
|
||
export LD_PRELOAD=/usr/lib/libmodpi.so | ||
|
||
./minecraft-pe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
cd /opt/minecraft-pi || exit | ||
|
||
if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status \ | ||
/proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null; then | ||
export LD_PRELOAD=libbcm_host.so.1.0 | ||
export LD_LIBRARY_PATH=lib/mesa | ||
else | ||
export LD_LIBRARY_PATH=lib/brcm | ||
fi | ||
|
||
export LD_PRELOAD="/usr/lib/libmodpi.so $LD_PRELOAD" | ||
|
||
./minecraft-pi |
2 changes: 1 addition & 1 deletion
2
build/res/tk.mcpi.mcpil.desktop → .../share/applications/tk.mcpi.mcpil.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.