-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
adc1a67
commit 97f4587
Showing
454 changed files
with
129,928 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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,93 @@ | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# 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, see <http://www.gnu.org/licenses/>. | ||
# | ||
# Authors: Jiri Konecny <[email protected]> | ||
|
||
|
||
# Arguments: | ||
# | ||
# PREFIX -- Set prefix for the installation (/usr is default) | ||
# DESTDIR -- Where you want to install | ||
# | ||
|
||
ifeq ($(shell uname -s),Darwin) | ||
CFLAGS ?= -O2 -I/opt/X11/include | ||
LFLAGS ?= -L/opt/X11/lib -lGL -lX11 | ||
PYTHON = python2.7 -m py_compile | ||
SED = sed -i '' -e | ||
else | ||
CFLAGS ?= -O2 | ||
LFLAGS ?= -lGL -lX11 | ||
PYTHON = python2 -m py_compile | ||
SED = sed -i | ||
endif | ||
CC = gcc $(CFLAGS) | ||
GZIP = gzip | ||
SHELL := /bin/bash | ||
|
||
PREFIX ?= /usr | ||
DESTDIR ?= # root dir | ||
|
||
sharedir := $(DESTDIR)$(PREFIX)/share | ||
bindir := $(DESTDIR)$(PREFIX)/bin | ||
execdir := $(DESTDIR)$(PREFIX)/libexec | ||
|
||
|
||
all: build | ||
|
||
clean: | ||
$(RM) ./python/*.pyc | ||
$(RM) ./python/lib/*.pyc | ||
$(RM) ./bin/check_dd | ||
$(RM) ./bin/playonlinux | ||
$(RM) ./bin/playonlinux-pkg | ||
$(RM) ./ChangeLog | ||
|
||
build: | ||
$(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd $(LFLAGS) | ||
$(PYTHON) ./python/*.py | ||
$(PYTHON) ./python/lib/*.py | ||
echo -e '#!/bin/bash\nGDK_BACKEND=x11 ${sharedir}/playonlinux/playonlinux "$$@"\nexit 0' > ./bin/playonlinux | ||
echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit 0' > ./bin/playonlinux-pkg | ||
chmod +x ./bin/playonlinux | ||
chmod +x ./bin/playonlinux-pkg | ||
$(SED) 's/\(\["DEBIAN_PACKAGE"\]\s*=\s*\)"FALSE"/\1"TRUE"/' \ | ||
./python/lib/Variables.py | ||
|
||
install: | ||
install -d $(bindir) | ||
install -d $(execdir) | ||
install -d $(sharedir)/pixmaps | ||
install -d $(sharedir)/applications | ||
install -d $(sharedir)/appdata | ||
install -d $(sharedir)/playonlinux/bin | ||
install -d $(sharedir)/man/man1 | ||
install -d $(sharedir)/locale | ||
$(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz | ||
$(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz | ||
cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop | ||
cp ./etc/PlayOnLinux.appdata.xml $(sharedir)/appdata/PlayOnLinux.appdata.xml | ||
cp ./etc/playonlinux.png $(sharedir)/pixmaps/playonlinux.png | ||
cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png | ||
cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png | ||
cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/ | ||
cp ./bin/playonlinux-check_dd $(execdir)/ | ||
cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE} $(sharedir)/playonlinux/ | ||
cp -R ./{bash,etc,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/ | ||
cp -R ./lang/locale/* $(sharedir)/locale/ | ||
|
||
changelog: | ||
(GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) | ||
|
||
.PHONY: all clean build install changelog | ||
|
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,47 @@ | ||
# PlayOnLinux and PlayOnMac 4 (POL-POM-4) | ||
|
||
Note: [Phoenicis PlayOnLinux and PlayOnMac 5](https://www.phoenicis.org/) is currently under development. Please clone [Phoenicis PlayOnLinux and PlayOnMac 5 repository](https://github.com/PhoenicisOrg/phoenicis) if you want to contribute. | ||
|
||
PlayOnLinux and PlayOnMac 4 allows you to install and use non-native applications on your favorite operating system. | ||
|
||
Supported operating systems: | ||
|
||
* GNU/Linux | ||
* macOS | ||
|
||
Supported engines: | ||
|
||
* [Wine](https://www.winehq.org/) | ||
|
||
|
||
# What is PlayOnLinux? | ||
|
||
PlayOnLinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®. | ||
|
||
Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and efficient solution to this problem. | ||
|
||
|
||
# What are PlayOnLinux’s features? | ||
|
||
Here is a non-exhaustive list of the interesting points to know: | ||
* You don’t have to own a Microsoft Windows license to use PlayOnLinux. | ||
* PlayOnLinux is based on [Wine](https://www.winehq.org/), and so profits from all its features yet it keeps the user from having to deal with its complexity. | ||
* PlayOnLinux is [free software](https://en.wikipedia.org/wiki/Free_software). | ||
* PlayOnLinux uses Bash and Python. | ||
|
||
Nevertheless, PlayOnLinux has some bugs, as every piece of software: | ||
* Occasional performance decrease (image may be less fluid and graphics less detailed). | ||
* Not all games are supported. Nevertheless, you can use our manual installation module. | ||
|
||
For more information, visit http://www.playonlinux.com | ||
|
||
|
||
## Translate | ||
PlayOnLinux/PlayOnMac 4 is localized using Launchpad: https://translations.launchpad.net/playonlinux | ||
If your language is not listed, please create an [issue](https://github.com/PlayOnLinux/POL-POM-4/issues). | ||
|
||
|
||
## Community | ||
* Issues or ideas: https://github.com/PhoenicisOrg/phoenicis/issues | ||
* Forums : http://www.playonlinux.com/en/forums.html | ||
* Slack : https://join.slack.com/phoenicis-org/shared_invite/MTkzMTMwMjM3MjcxLTE0OTY1MTQzNzktY2IzOTE2NmE3NA |
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,203 @@ | ||
We would like to thanks the following translators: | ||
|
||
Xavier Besnard <[email protected]> | ||
--- generated from launchpad.net --- | ||
65GYgzf from https://launchpad.net/~65gygzf | ||
@l3x1k0 from https://launchpad.net/~djkora3 | ||
Adalbert Mate Saric from https://launchpad.net/~saric-adalbert349 | ||
Adam Czabara from https://launchpad.net/~adam-czabara | ||
Adam Maćkowiak from https://launchpad.net/~admc | ||
Ade Malsasa Akbar from https://launchpad.net/~rockmania52 | ||
Adi Roiban from https://launchpad.net/~adiroiban | ||
Adolfo Jayme from https://launchpad.net/~fitojb | ||
Aiguanachein from https://launchpad.net/~aiguanachein | ||
Akira Nakagawa from https://launchpad.net/~matyapiro31 | ||
Alejandro Pérez from https://launchpad.net/~alexperezalonso | ||
Aleksi Kinnunen from https://launchpad.net/~aleksi-kinnunen | ||
Alex Toorchyn from https://launchpad.net/~ilex | ||
AlexEriksson from https://launchpad.net/~l6unchpad-net | ||
Alfred Løvgren from https://launchpad.net/~norsk-norman1-deactivatedaccount | ||
Alfredo Hernández from https://launchpad.net/~aldomann | ||
Ali Isingor from https://launchpad.net/~isingor | ||
Almin Islamović from https://launchpad.net/~almin-islamovic | ||
André Gondim from https://launchpad.net/~andregondim | ||
Angelescu from https://launchpad.net/~titus0818 | ||
Aniruddha Adhikary from https://launchpad.net/~tuxboy | ||
Anthony Harrington from https://launchpad.net/~untaintableangel | ||
Anton Shestakov from https://launchpad.net/~av6 | ||
Antonio Vázquez Blanco from https://launchpad.net/~antoniovazquezblanco | ||
Aymeric PETIT from https://launchpad.net/~mulx | ||
BalintX from https://launchpad.net/~koczkahun | ||
Bill from https://launchpad.net/~cges30901 | ||
Bruno Veilleux from https://launchpad.net/~le-gros-rat | ||
Burys from https://launchpad.net/~radek-bury | ||
Camille PÂRIS from https://launchpad.net/~camilleparisfr | ||
Carlos Eduardo Alves from https://launchpad.net/~kmiksi | ||
Carnalbeast from https://launchpad.net/~carnalbeast | ||
Chris Thornett from https://launchpad.net/~cthornett | ||
Christian Titze from https://launchpad.net/~christitze | ||
Christiansen from https://launchpad.net/~happylinux | ||
Colix from https://launchpad.net/~greenice | ||
Cuneyt Oktay from https://launchpad.net/~cuneytoktay | ||
Cédric VALMARY (Tot en òc) from https://launchpad.net/~cvalmary | ||
Daniel Bernal Dotú from https://launchpad.net/~dbernal87 | ||
Dennis Baudys from https://launchpad.net/~thecondordb | ||
Diego Garcia from https://launchpad.net/~diegogarciamendoza | ||
Dirgita from https://launchpad.net/~dirgita | ||
Dmitriy Koshel from https://launchpad.net/~gaim4a | ||
Dusan Kazik from https://launchpad.net/~prescott66 | ||
Dylandy from https://launchpad.net/~steven80919 | ||
Einar Svensen from https://launchpad.net/~support-coman | ||
Emanuele Salvi from https://launchpad.net/~e-salvi1992 | ||
Emmanouel Kapernaros from https://launchpad.net/~kapcom01 | ||
Esben Aaberg from https://launchpad.net/~esben-aaberg | ||
Eshin Kunishima from https://launchpad.net/~pentiumx7 | ||
Ettore Atalan from https://launchpad.net/~atalanttore | ||
Fabiano Leite from https://launchpad.net/~fabiano-marechal | ||
Francesco Placco from https://launchpad.net/~frapla | ||
Gal_Escriban from https://launchpad.net/~delio444 | ||
Georg Engelmann from https://launchpad.net/~georg-engelmann | ||
Gergely Szarka from https://launchpad.net/~gszarka | ||
Giedrius Baronas from https://launchpad.net/~g-baronas | ||
Henrique Bittancourt Gouveia from https://launchpad.net/~gafanhotto | ||
Herbert Kunkel from https://launchpad.net/~diablogeiger | ||
Horia Duțescu from https://launchpad.net/~hvd-deactivatedaccount-deactivatedaccount | ||
Hyun-Seok, Choi from https://launchpad.net/~chs1217 | ||
Igor Seryogin from https://launchpad.net/~igor.seryogin | ||
Igor Zinovyev from https://launchpad.net/~zinigor | ||
Ilja Lobanov from https://launchpad.net/~lisiano256 | ||
Ilya Gorbachevsky from https://launchpad.net/~igorbachevsky | ||
Ismael Ferreras from https://launchpad.net/~swyterzone | ||
Jack Random from https://launchpad.net/~w-jack | ||
Jakob Kramer from https://launchpad.net/~jakobk | ||
Jamie Quinlan from https://launchpad.net/~jaymeskeller | ||
Jan Němec from https://launchpad.net/~nemec-jan123 | ||
Johannes Huber from https://launchpad.net/~huber-johannes | ||
Johnsonas from https://launchpad.net/~uran54 | ||
Jonatan Zeidler from https://launchpad.net/~jonius | ||
Jonathan Hepp from https://launchpad.net/~jonathan-hepp | ||
Juno from https://launchpad.net/~feen | ||
Karim Oulad Chalha from https://launchpad.net/~herr-linux | ||
Kenan Dervišević from https://launchpad.net/~kenan3008 | ||
Kobzeci from https://launchpad.net/~zeki | ||
Konki from https://launchpad.net/~pavel-konkol | ||
Kęstutis Triponis from https://launchpad.net/~kestutis.triponis | ||
Lasse Liehu from https://launchpad.net/~lliehu | ||
Leandro Fonseca from https://launchpad.net/~leandro-456 | ||
Luuk Verkleij from https://launchpad.net/~luukverkleij | ||
Mangraviti from https://launchpad.net/~vitormangraviti | ||
Mantas Kriaučiūnas from https://launchpad.net/~mantas | ||
Mantas Tumas from https://launchpad.net/~ozarux | ||
Martín V. from https://launchpad.net/~martinvukovic | ||
Mat3910 from https://launchpad.net/~gaillard-mathieu-39 | ||
Matej Urbančič from https://launchpad.net/~mateju | ||
Max_ym from https://launchpad.net/~kontact-cat | ||
Meriuță Cornel from https://launchpad.net/~meriutacornel-c | ||
Michal Lelek from https://launchpad.net/~kozodoj | ||
Michal Pavleje from https://launchpad.net/~unioner-deactivatedaccount | ||
MichelGustafssonHeld from https://launchpad.net/~okabekudo | ||
Miguel Anxo Bouzada from https://launchpad.net/~mbouzada | ||
Mihkel Tõnnov from https://launchpad.net/~v6lur | ||
Mikael Hiort af Ornäs from https://launchpad.net/~lakritslemmel | ||
Miroslav Remák from https://launchpad.net/~miroslavr256 | ||
Mister Q from https://launchpad.net/~misterq | ||
Moki Ding from https://launchpad.net/~moki-forum | ||
Monkey from https://launchpad.net/~monkey-libre | ||
Muhammad Radifar from https://launchpad.net/~m-radifar05 | ||
Nacho Perea from https://launchpad.net/~nacho.perea | ||
Naive D. Jack from https://launchpad.net/~naivejack | ||
Nick Andrik from https://launchpad.net/~andrikos | ||
Nicolae Crefelean from https://launchpad.net/~kneekoo | ||
Niv Coheny from https://launchpad.net/~niv | ||
Oleg Koptev from https://launchpad.net/~koptev-oleg | ||
Osman Tosun from https://launchpad.net/~rainman-neu | ||
PERRUSSEL Valentin from https://launchpad.net/~blondvador-esl | ||
Papp Bence from https://launchpad.net/~sclegnrbs | ||
Patryk Rajba from https://launchpad.net/~patrykr | ||
Paweł from https://launchpad.net/~click1992 | ||
PedroDH from https://launchpad.net/~pedro-n-veloso | ||
Petr R. from https://launchpad.net/~ateps-r | ||
Pierre Etchemaite from https://launchpad.net/~petchema | ||
Pietro Acinapura from https://launchpad.net/~pietro-ac | ||
Praveen Illa from https://launchpad.net/~telugulinux | ||
Ptitphysik from https://launchpad.net/~amalpeyre | ||
Quentin PÂRIS from https://launchpad.net/~qparis | ||
Rasmus Christian Christensen from https://launchpad.net/~rasmuschr1973 | ||
Richard Somlói from https://launchpad.net/~ricsipontaz | ||
Richard Sparrow from https://launchpad.net/~richard-sparrow | ||
Roberto Marson from https://launchpad.net/~robs87 | ||
Rodolfo Guagnini from https://launchpad.net/~rodolfo-lagalaxia | ||
Rokhmat Sudiana Bakhtiar from https://launchpad.net/~spaceterz | ||
Ronaldo Luiz Pedroso from https://launchpad.net/~ronaldo-luiz-pedroso | ||
Ronin Dusette from https://launchpad.net/~ronindusette | ||
Rui from https://launchpad.net/~mrrst0914 | ||
S.Victor from https://launchpad.net/~thadd | ||
Satrya Pratama from https://launchpad.net/~airshipster | ||
SenzaiSh0w from https://launchpad.net/~ardidu26 | ||
Sigitas Kalinas from https://launchpad.net/~skalinas | ||
Simen from https://launchpad.net/~simen-burud | ||
Svetoslav Stefanov from https://launchpad.net/~svetlisashkov | ||
Szymon 'simpo' Porwolik from https://launchpad.net/~szporwolik | ||
Tadeáš Pařík from https://launchpad.net/~pariktadeas | ||
Tanel Mae from https://launchpad.net/~tanelmae | ||
Teromene from https://launchpad.net/~teromene | ||
Thambaru Wijesekara from https://launchpad.net/~thambaru | ||
Tiago Hillebrandt from https://launchpad.net/~tiagohillebrandt | ||
Tiago S. from https://launchpad.net/~tiagosdot | ||
Tian Jing from https://launchpad.net/~oppop007 | ||
Tobias Bannert from https://launchpad.net/~toba | ||
Tranciur from https://launchpad.net/~damjan-cvetko | ||
Tuomas Lähteenmäki from https://launchpad.net/~lahtis | ||
UaHummer from https://launchpad.net/~uahummer | ||
Vatin from https://launchpad.net/~vatin-p | ||
Vlad Golubev from https://launchpad.net/~golubev-vld | ||
Vítor Avelino from https://launchpad.net/~vitoravelino | ||
Wei Hsiang Hung from https://launchpad.net/~koalahong | ||
Wylmer Wang from https://launchpad.net/~wantinghard | ||
Xuacu Saturio from https://launchpad.net/~xuacusk8 | ||
Yaron from https://launchpad.net/~sh-yaron | ||
Yiğit Anıl from https://launchpad.net/~yigitan | ||
Zeidler from https://launchpad.net/~jonatan-zeidler | ||
Zhaofeng Li from https://launchpad.net/~li-zhao-feng | ||
abdo alrhman aiman from https://launchpad.net/~abdo.alrhman.aiman | ||
abuyop from https://launchpad.net/~abuyop | ||
bouchard renaud from https://launchpad.net/~renaud-bouchard | ||
bram from https://launchpad.net/~bram-w | ||
dos santos raphael from https://launchpad.net/~dossant-raphael | ||
emp from https://launchpad.net/~emp500 | ||
fragarch from https://launchpad.net/~fragarch | ||
gerva from https://launchpad.net/~iosonogerva | ||
gogo from https://launchpad.net/~trebelnik-stefina | ||
havoc from https://launchpad.net/~taproot97 | ||
jordicoma from https://launchpad.net/~jordicoma22 | ||
kanito8a from https://launchpad.net/~kanito8a-gmail | ||
kayalemao from https://launchpad.net/~kayalemao | ||
linuxseven from https://launchpad.net/~linuxseven | ||
lisovszki from https://launchpad.net/~lisovszki | ||
luisah from https://launchpad.net/~luisah | ||
lyyser from https://launchpad.net/~lyyser | ||
martinamca from https://launchpad.net/~martinamca | ||
minchul lee from https://launchpad.net/~minchulmando | ||
niilos from https://launchpad.net/~niilos | ||
pan_pewny from https://launchpad.net/~rayman-1996 | ||
peregrine from https://launchpad.net/~andrej1741 | ||
qysnn from https://launchpad.net/~qysnn1 | ||
raymond from https://launchpad.net/~raymondv | ||
rm from https://launchpad.net/~r-m333-deactivatedaccount | ||
rob from https://launchpad.net/~rvdb | ||
robas from https://launchpad.net/~v-grobas | ||
[email protected] from https://launchpad.net/~robin-rootad | ||
rogue-spectre from https://launchpad.net/~rogue-spectre | ||
slmb from https://launchpad.net/~fqa101 | ||
someone from https://launchpad.net/~somehow | ||
stephane from https://launchpad.net/~georget-stephane | ||
student4 from https://launchpad.net/~iputnik-msn | ||
zaenal arifin from https://launchpad.net/~www-pilihankedua | ||
[email protected] from https://launchpad.net/~zs-dani1 | ||
zvacet from https://launchpad.net/~ivicakolic | ||
Şâkir Aşçı from https://launchpad.net/~sakirasci | ||
Ђорђе Васиљевић from https://launchpad.net/~susexe | ||
Микола Ткач from https://launchpad.net/~stuartlittle1970 | ||
Радослав Иванов from https://launchpad.net/~reckku | ||
Саша Петровић from https://launchpad.net/~salepetronije | ||
赵驰 from https://launchpad.net/~teddyherry |
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,46 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright (C) 2007-2010 PlayOnLinux Team | ||
# Copyright (C) 2008 Pâris Quentin | ||
|
||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2 of the License, or | ||
# (at your option) any later version. | ||
|
||
# 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. | ||
|
||
# Allow to call a POL Bash statement from Python | ||
|
||
# Usage POL_Command (--init) (--prefix [PrefixName]|[Shortcut Name]) [Command] | ||
# Example POL_Command "Internet Explorer 6" Set_OS winxp | ||
|
||
[ "$PLAYONLINUX" = "" ] && exit 0 | ||
source "$PLAYONLINUX/lib/sources" | ||
|
||
[ "$1" == "--init" ] && INIT="TRUE" && shift | ||
|
||
[ "$INIT" = "TRUE" ] && POL_SetupWindow_Init | ||
|
||
if [ "$1" = "--prefix" ] | ||
then | ||
shift | ||
export PREFIXNAME="$1" | ||
export WINEPREFIX="$POL_USER_ROOT/wineprefix/$1" | ||
else | ||
export WINEPREFIX="$(detect_wineprefix "$1")" | ||
fi | ||
export TITLE="$1" | ||
shift | ||
#[ "$WINEVERSION" = "" ] || Use_WineVersion $WINEVERSION | ||
"$@" | ||
|
||
[ "$INIT" = "TRUE" ] && POL_SetupWindow_Close | ||
exit |
Oops, something went wrong.