Package Details: playonlinux5-git r2160.1c7cad3c-1

Git Clone URL: https://aur.archlinux.org/playonlinux5-git.git (read-only)
Package Base: playonlinux5-git
Description: GUI for managing Windows programs under linux (development version based on Java)
Upstream URL: http://www.playonlinux.com/
Keywords: playonlinux playonlinux5 pol pol5 wine
Licenses: GPL
Submitter: captain
Maintainer: None
Last Packager: kbumsik
Votes: 30
Popularity: 0.000862
First Submitted: 2015-11-13 11:07
Last Updated: 2018-12-09 22:09

Pinned Comments

ProfessorKaos64 commented on 2016-11-18 16:16

Latest dev news:
https://www.playonlinux.com/en/news.html

Note:
PlayOnLinux.sh was modified and includes a path to Java 8, allowing non-destructive running of PlayOnLinux5 with default Java not set to Java 8. See: https://wiki.archlinux.org/index.php/java for more. There is not need to force users to set default Java to Java 8 at this time.

There is a Qt version being developed, but it is far from test-ready.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

ProfessorKaos64 commented on 2017-01-14 20:34

Removed JAVA_HOME for build, not needed with java 8 as default. Fixed up launcher version of java needed. Talked to some regulars in the IRC channel, no problem with the makedeps seen (I trust this particular users judgment).

ProfessorKaos64 commented on 2017-01-12 14:40

Yes I will get to this Det. I started a new job, so please allow me some time. I'll try to get to this today.

Det commented on 2017-01-10 08:26

Bump? Wrong makedep, redundant export on PKGBUILD line 49 and an incorrect version check on the launcher (should be 8 not 7).

Det commented on 2017-01-04 16:09

Well, no, I'm specifically _not_ doing that, because you are the maintainer and the one who should know what his own package does, test it and understand how to edit it in the future. I already gave you almost the exact changes you would need, and you clearly don't know which one to use or which one I'm talking about. That is precisely _counter-productive_.

Also, are you sure about the JAVA_HOME? None of the "Required By" of community/maven even mention it in the build(): https://www.archlinux.org/packages/community/any/maven/

p.s. I'm not sure what do you mean by "The launcher uses 'java', on my system, '/usr/bin/java'"... do you know what PATH means? That's why you're prefixing it with the absolute path when the default is less than 8: so that then it's _not_ /usr/bin/java (the check is currently wrong, checks for less than 7).

E: Also, the 'gradle' thing in the Wiki must be a mistake: http://wiki.playonlinux.com/index.php/Building_PlayOnLinux_5#Dependencies_2. It uses Maven, not Gradle.. lol.

ProfessorKaos64 commented on 2017-01-04 00:46

Det,

..yes JAVA_HOME is required for the build. I appreciate the suggestions, but it is far more productive to suggest a patch/PKGBUILD with updates if you have a particular correction. I added the java-runtime >= 8 to the depends field, you are correct there. The launcher uses 'java', on my system, '/usr/bin/java'. If you fine a way to build, test it first* and suggest a patch (preferably via a clean chroot or makechrootpkg).

Det commented on 2017-01-03 06:26

Ugh.

1) Again, does the line 47 really need JAVA_HOME? If not, you can leave out the entire first if part and just prefix PATH when the default Java is wrong.

2) You. Need. To. Depend. On. java-runtime>=7 or java-runtime>=8. Which one? But either one.

3) The launcher too. Does it depend on Java>=7 or Java>=8? I asked a couple of times, but you just pasted the statement without any further info. Assumably it's the same, so if it needs JDK>=8 for compilation, you got to have JRE>=8 for running it (http://stackoverflow.com/q/4061965/1821548).

E: Yeah, it's definitely 8: https://github.com/PlayOnLinux/POL-POM-5/blob/master/pom.xml#L107

ProfessorKaos64 commented on 2017-01-03 02:56

Det, there was an error in the PKGBUILD statement for line 47, but I fixed it up. Let me know if this works for you

Det commented on 2016-12-27 17:16

Umm. I'm talking about the PKGBUILD. Line 47, to be precise: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=playonlinux5-git#n47. For the launcher you can just use the 'else' part, because the default Java is already included in the PATH. You don't need JAVA_HOME there at all:

if (( $(archlinux-java get | cut -d "-" -f2) < 7 )); then
 export PATH=$(ls -d /usr/lib/jvm/java-{7,8,9}-* 2>/dev/null | head -1):$PATH
fi

Also, this still doesn't depend on JRE>=7 (java-runtime), which you need for _running_ it. Make dependencies can be removed after build.

E: You probably don't need JAVA_HOME for Maven either? You can replace that (the line 47) with the following, but make sure to get the minimum JDK makedep version right.

if (( $(archlinux-java get | cut -d "-" -f2) < 8 )); then
 export PATH=$(ls /usr/lib/jvm/java-{8,9}-*/bin/javac 2>/dev/null | cut -d "/" -f-5 | head -1):$PATH
fi

E2: Does it require Java 8 after all?

ProfessorKaos64 commented on 2016-12-26 19:04

Det, changes implemented.

ProfessorKaos64 commented on 2016-12-26 16:52

Ok, I see, I have to go to an after Holiday lunch, and I'll look to shaping it up this afternoon. Busy time :P Apparently, the old script refernces javafx class, not the main app. I noticed I could not install anything after opening POL5. See: https://github.com/PlayOnLinux/POL-POM-5/issues/334 if you want to help or can clarify.